Comment 1 for bug 1915359

Revision history for this message
Huw Wilkins (huwshimi) wrote :

I seem to have got things mostly working by doing:

cd src/machine-resources/
sudo make install

Then doing `make sampledata` finishes successfully.

However, doing `make all` now fails with:

```
...
rm: cannot remove 'src/machine-resources/vendor/github.com/jaypipes/pcidb/parse_test.go': Permission denied
rm: cannot remove 'src/machine-resources/vendor/github.com/jaypipes/pcidb/.gitignore': Permission denied
rm: cannot remove 'src/machine-resources/vendor/github.com/jaypipes/pcidb/context.go': Permission denied
rm: cannot remove 'src/machine-resources/vendor/github.com/jaypipes/pcidb/discover.go': Permission denied
rm: cannot remove 'src/machine-resources/vendor/github.com/jaypipes/pcidb/Gopkg.toml': Permission denied
make[1]: *** [Makefile:34: vendor] Error 1
make[1]: Leaving directory '/home/ubuntu/maas/src/machine-resources'
make: *** [Makefile:155: machine-resources-vendor] Error 2
```