-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permissions issue when running buildrump.sh clean checkout #77
Comments
Well that should not happen, but it's hard to know what exactly goes wrong without being able to repeat the problem. Can you poke around a bit to see what the relevant directory/file owner/group and modes are? |
So the problem (per investigation on irc) is that the file system does not support hard links, which results in |
I had this same problem, trying to build on vagrant (on the vboxsf filesystem). You can workaround with The netbsd docs do say that the filesystem on the build host must support hard links. One way to alter the behaviour would be to change
to
|
I think you should just be able to run buildrump.sh (I assume that's what you mean by buildroot) as:
If that helps, maybe you can make buildrump.sh autodetect it, and that will fix the issue for buildnb.sh too (by which I assume you mean the rumpctrl build script). |
SHA: 760c6a9
./buildrump.sh on a ubuntu server 14.04 virt
trucated
echo '# ' "install " /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/man1/rump_server.1; echo "/home/vagrant/ws-uk/rumprun/buildrump.sh/obj/tooldir/bin/x86_64--netbsd-install -U -l h -r -o root -g wheel -m 444 /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/man1/rump_allserver.1 /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/man1/rump_server.1" && /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/tooldir/bin/x86_64--netbsd-install -U -l h -r -o root -g wheel -m 444 /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/man1/rump_allserver.1 /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/man1/rump_server.1
install /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/man1/rump_server.1
/home/vagrant/ws-uk/rumprun/buildrump.sh/obj/tooldir/bin/x86_64--netbsd-install -U -l h -r -o root -g wheel -m 444 /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/man1/rump_allserver.1 /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/man1/rump_server.1
--- /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/cat1/rump_server.0 ---
echo '# ' "install " /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/cat1/rump_server.0; echo "/home/vagrant/ws-uk/rumprun/buildrump.sh/obj/tooldir/bin/x86_64--netbsd-install -U -l h -r -o root -g wheel -m 444 /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/cat1/rump_allserver.0 /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/cat1/rump_server.0" && /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/tooldir/bin/x86_64--netbsd-install -U -l h -r -o root -g wheel -m 444 /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/cat1/rump_allserver.0 /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/cat1/rump_server.0
install /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/cat1/rump_server.0
/home/vagrant/ws-uk/rumprun/buildrump.sh/obj/tooldir/bin/x86_64--netbsd-install -U -l h -r -o root -g wheel -m 444 /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/cat1/rump_allserver.0 /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/cat1/rump_server.0
--- /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/man1/rump_server.1 ---
x86_64--netbsd-install: link /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/man1/rump_allserver.1 -> /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/man1/rump_server.1: Operation not permitted
*** [/home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/man1/rump_server.1] Error code 1
nbmake[1]: stopped in /home/vagrant/ws-uk/rumprun/buildrump.sh/src/usr.bin/rump_allserver
--- /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/cat1/rump_server.0 ---
x86_64--netbsd-install: link /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/cat1/rump_allserver.0 -> /home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/cat1/rump_server.0: Operation not permitted
*** [/home/vagrant/ws-uk/rumprun/buildrump.sh/obj/dest.stage/usr/share/man/cat1/rump_server.0] Error code 1
nbmake[1]: stopped in /home/vagrant/ws-uk/rumprun/buildrump.sh/src/usr.bin/rump_allserver
2 errors
nbmake[1]: stopped in /home/vagrant/ws-uk/rumprun/buildrump.sh/src/usr.bin/rump_allserver
*** [install-/home/vagrant/ws-uk/rumprun/buildrump.sh/src/usr.bin/rump_allserver] Error code 2
nbmake: stopped in /home/vagrant/ws-uk/rumprun/buildrump.sh/src
1 error
nbmake: stopped in /home/vagrant/ws-uk/rumprun/buildrump.sh/src
The text was updated successfully, but these errors were encountered: