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
buildroot "make all" fails with: fakeroot error / This may be due to a lack of SYSV IPC support. (and update-alternatives fix does not work) #4067
Comments
I have a fix: Add: before
got it from here. |
The fix is to update the host-fakeroot build to use the tcp transport by default in buildroot. I'm working on upstreaming this fix. --- a/package/fakeroot/fakeroot.mk +HOST_FAKEROOT_CONF_OPTS = --with-ipc=tcp |
Got a bit more background and figuring out right path based on some additional history. https://bugs.busybox.net/show_bug.cgi?id=11366 Proposed fix |
Some environments, e.g. first gen WSL, do not support SysV IPC. Enforce the use of TCP transport instead which should be universally available. Fixes: FS#3317 Ref: microsoft/WSL#4067 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Some environments, e.g. first gen WSL, do not support SysV IPC. Enforce the use of TCP transport instead which should be universally available. Fixes: FS#3317 Ref: microsoft/WSL#4067 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Some environments, e.g. first gen WSL, do not support SysV IPC. Enforce the use of TCP transport instead which should be universally available. Fixes: FS#3317 Ref: microsoft/WSL#4067 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Your Windows build number: (Type
ver
at a Windows Command Prompt)Microsoft Windows [Version 10.0.17763.503]
What you're doing and what's happening: (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)
trying to build an ARM os with:
:buildroot-2019.02$ make all
What's wrong / what should be happening instead:
fails with:
fakeroot, while creating message channels: Function not implemented This may be due to a lack of SYSV IPC support. fakeroot: error while starting the ``faked' daemon. kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] fs/tar/tar.mk:16: recipe for target '/home/kdubious/buildroot/buildroot-2019.02/output/images/rootfs.tar' failed make[1]: *** [/home/kdubious/buildroot/buildroot-2019.02/output/images/rootfs.tar] Error 1 Makefile:84: recipe for target '_all' failed make: *** [_all] Error 2
Strace of the failing command, if applicable: (If
some_command
is failing, then runstrace -o some_command.strace -f some_command some_args
, and link the contents ofsome_command.strace
in a gist here).Not sure what should go here.
I saw this solution in several places:
sudo update-alternatives --set fakeroot /usr/bin/fakeroot-tcp
but it did not work for me.
The text was updated successfully, but these errors were encountered: