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