[GH-ISSUE #1566] build failure on alpine linux (musl libc) aarch64 #1040

Closed
opened 2026-05-05 07:20:46 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @ncopa on GitHub (Sep 20, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1566

Build fails when building on aarch64 with this error:

make[1]: Entering directory '/home/ncopa/aports/community/firejail/src/firejail-0.9.50/src/fseccomp'
gcc  -DVERSION='"0.9.50"'  -DPREFIX='"/usr"'  -DSYSCONFDIR='"/etc/firejail"' -DLIBDIR='"/usr/lib"' -DHAVE_X11 
-DHAVE_PRIVATE_HOME  -DHAVE_OVERLAYFS -DHAVE_SECCOMP -DHAVE_GLOBALCFG -DHAVE_SECCOMP_H -DHAVE_CHROOT -DHAVE_NETWORK -DHAVE_USERNS -DHAVE_BIND -DHAVE_FILE_TRANSFER -DHAVE_WHITELIST -fstack-protector-all -D_FORTIFY_SOURCE=
2 -fPIE -pie -Wformat -Wformat-security  -c syscall.c -o syscall.o
syscall.c:277:2: error: expected expression before '}' token
  },
  ^

smells like there are some missing include for the SYS_* defines.

Originally created by @ncopa on GitHub (Sep 20, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1566 Build fails when building on aarch64 with this error: ```` make[1]: Entering directory '/home/ncopa/aports/community/firejail/src/firejail-0.9.50/src/fseccomp' gcc -DVERSION='"0.9.50"' -DPREFIX='"/usr"' -DSYSCONFDIR='"/etc/firejail"' -DLIBDIR='"/usr/lib"' -DHAVE_X11 -DHAVE_PRIVATE_HOME -DHAVE_OVERLAYFS -DHAVE_SECCOMP -DHAVE_GLOBALCFG -DHAVE_SECCOMP_H -DHAVE_CHROOT -DHAVE_NETWORK -DHAVE_USERNS -DHAVE_BIND -DHAVE_FILE_TRANSFER -DHAVE_WHITELIST -fstack-protector-all -D_FORTIFY_SOURCE= 2 -fPIE -pie -Wformat -Wformat-security -c syscall.c -o syscall.o syscall.c:277:2: error: expected expression before '}' token }, ^ ```` smells like there are some missing include for the `SYS_*` defines.
Author
Owner

@reinerh commented on GitHub (Sep 20, 2017):

@ncopa, you can cherry-pick c3acf2d222 to fix that failure.
See also #1504.

<!-- gh-comment-id:330819110 --> @reinerh commented on GitHub (Sep 20, 2017): @ncopa, you can cherry-pick c3acf2d222589bf9d94cacfe180ab38fa46c9cb1 to fix that failure. See also #1504.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1040
No description provided.