mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1948] 0.9.54 compilation fails on RasPi 2 #1303
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#1303
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @drgibbon on GitHub (May 19, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1948
I'm trying to compile Firejail 0.09.54 on a RasPi 2 (kernel 4.14.37), and I'm running into this error during
make:I noticed this in the
configureoutput:the gcc version is 5.5.0.
@netblue30 commented on GitHub (May 19, 2018):
Possible fix in mainline git, you can give it a try. It could be a problem with the way glibc is installed on your system. Run the following command and put the output here:
Thanks for the bug!
@reinerh commented on GitHub (May 19, 2018):
@drgibbon Do you have linux-libc-dev installed?
@netblue30
I don't think that workaround is required. It looks like a missing library.
@drgibbon commented on GitHub (May 20, 2018):
@netblue30 Build now works with latest master :) As for the grep:
@reinerh I'm not sure what
linux-libc-devis, I'm running Slackware ARM (SARPi community).@reinerh commented on GitHub (May 20, 2018):
@drgibbon Sorry, I assumed you were using Raspbian.
linux-libc-dev is a Debian package that ships Linux kernel headers. As you can see in my grep results, they contain the defines for the syscall numbers.
I would expect that a similar package is available in Slackware.
Edit: the /usr/include/asm-generic/unistd.h header is in the kernel-headers package in Slackware.
I recommend that you install it and rebuild, because otherwise firejail does not know about the pkey_mprotect syscall.
@netblue30 Can we remove the workaround again? It only silently drops support for the syscall, even though it's just because of a missing header. Maybe we can check during configure for the the header.
@drgibbon commented on GitHub (May 20, 2018):
@reinerh Ah, actually my kernel headers package is out of date compared with the kernel I'm running. This is probably the culprit then?
@reinerh commented on GitHub (May 20, 2018):
Yes, that could also be the problem, that your header is so old that the syscall define is not included yet.
@netblue30 commented on GitHub (May 20, 2018):
Reverted, thanks @reinerh
@drgibbon commented on GitHub (May 20, 2018):
Confirming that updating the kernel headers gives a successful build on 0.9.54. Sorry for the noise!