You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ apk add build-base linux-headers gawk(1/23) Installing libgcc (14.2.0-r4)(2/23) Installing jansson (2.14-r4)(3/23) Installing libstdc++ (14.2.0-r4)(4/23) Installing zstd-libs (1.5.6-r2)(5/23) Installing binutils (2.43.1-r1)(6/23) Installing libmagic (5.46-r2)(7/23) Installing file (5.46-r2)(8/23) Installing libgomp (14.2.0-r4)(9/23) Installing libatomic (14.2.0-r4)(10/23) Installing gmp (6.3.0-r2)(11/23) Installing isl26 (0.26-r1)(12/23) Installing mpfr4 (4.2.1-r0)(13/23) Installing mpc1 (1.3.1-r1)(14/23) Installing gcc (14.2.0-r4)(15/23) Installing libstdc++-dev (14.2.0-r4)(16/23) Installing musl-dev (1.2.5-r8)(17/23) Installing g++ (14.2.0-r4)(18/23) Installing make (4.4.1-r2)(19/23) Installing fortify-headers (1.1-r5)(20/23) Installing patch (2.7.6-r10)(21/23) Installing build-base (0.5-r3)(22/23) Installing gawk (5.3.1-r0)(23/23) Installing linux-headers (6.6-r1)Executing busybox-1.37.0-r9.triggerOK: 250 MiB in 38 packages
$ ./ci/printenv.shnproc: 2kernel: Linux 5.15.154+ #1 SMP Sat May 4 12:14:42 UTC 2024 x86_64distro: Alpine Linux v3.21sh: /bin/busyboxuser: uid=0(root) gid=0(root)[/etc/os-release]NAME="Alpine Linux"ID=alpineVERSION_ID=3.21.2PRETTY_NAME="Alpine Linux v3.21"HOME_URL="https://alpinelinux.org/"BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"
$ ./configure --prefix=/usr || (cat config.log;exit 1)checking for gcc... gccchecking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables... checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether the compiler supports GNU C... yeschecking whether gcc accepts -g... yeschecking for gcc option to enable C11 features... none neededchecking for codespell... nochecking for cppcheck... nochecking for gawk... gawkchecking for gzip... gzipchecking for scan-build... nochecking for strip... stripchecking for tar... tarchecking whether C compiler accepts -MMD -MP... yeschecking whether C compiler accepts -D_FORTIFY_SOURCE=2... yeschecking whether C compiler accepts -mindirect-branch=thunk... yeschecking whether C compiler accepts -fstack-clash-protection... yeschecking whether C compiler accepts -fstack-protector-strong... yeschecking for pkg-config... nochecking for stdio.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for strings.h... yeschecking for sys/stat.h... yeschecking for sys/types.h... yeschecking for unistd.h... yeschecking for linux/landlock.h... yeschecking for linux/seccomp.h... yesconfigure: creating ./config.statusconfig.status: creating config.mkconfig.status: creating config.shCompile options: CC: gcc CFLAGS: -g -O2 CPPFLAGS: LDFLAGS: EXTRA_CFLAGS: -D_FORTIFY_SOURCE=2 -mindirect-branch=thunk -fstack-clash-protection -fstack-protector-strong DEPS_CFLAGS: -MMD -MP EXTRA_LDFLAGS: LIBS: fatal warnings: gcov instrumentation: install as a SUID executable: -DHAVE_SUID install contrib scripts: yes prefix: /usr sysconfdir: /etc Spectre compiler patch: yesFeatures: allow tmpfs as regular user: -DHAVE_USERTMPFS always enforce filters: apparmor: busybox workaround: no chroot: -DHAVE_CHROOT DBUS proxy support: -DHAVE_DBUSPROXY disable user profiles: enable --output logging: -DHAVE_OUTPUT file transfer support: -DHAVE_FILE_TRANSFER global config: -DHAVE_GLOBALCFG IDS support: Landlock support: -DHAVE_LANDLOCK manpage support: -DHAVE_MAN network: -DHAVE_NETWORK overlayfs support: private home support: -DHAVE_PRIVATE_HOME private lib support: sandbox check: -DHAVE_SANDBOX_CHECK SELinux labeling support: user namespace: -DHAVE_USERNS X11 sandboxing support: -DHAVE_X11
Errors:
$ make[...]make -C src/libtrace/make[1]: Entering directory '/builds/Firejail/firejail_ci/src/libtrace'gcc -ggdb -O2 -DVERSION='"0.9.73"' -Wall -Wextra -Wformat -Wformat-security -fstack-protector-all -DPREFIX='"/usr"' -DSYSCONFDIR='"/etc/firejail"' -DLIBDIR='"/usr/lib"' -DBINDIR='"/usr/bin"' -DVARDIR='"/var/lib/firejail"' -MMD -MP -fPIC -g -O2 -c ../../src/libtrace/libtrace.c -o ../../src/libtrace/libtrace.o../../src/libtrace/libtrace.c:451:59: warning: 'struct stat64' declared inside parameter list will not be visible outside of this definition or declaration 451 | typedef int (*orig_stat64_t)(const char *pathname, struct stat64 *statbuf); | ^~~~~~../../src/libtrace/libtrace.c:453:41: warning: 'struct stat64' declared inside parameter list will not be visible outside of this definition or declaration 453 | int stat64(const char *pathname, struct stat64 *statbuf) { | ^~~~~~../../src/libtrace/libtrace.c: In function 'stat64':../../src/libtrace/libtrace.c:457:40: error: passing argument 2 of 'orig_stat64' from incompatible pointer type [-Wincompatible-pointer-types] 457 | int rv = orig_stat64(pathname, statbuf); | ^~~~~~~ | | | struct stat64 *../../src/libtrace/libtrace.c:457:40: note: expected 'struct stat64 *' but argument is of type 'struct stat64 *'../../src/libtrace/libtrace.c: At top level:../../src/libtrace/libtrace.c:476:60: warning: 'struct stat64' declared inside parameter list will not be visible outside of this definition or declaration 476 | typedef int (*orig_lstat64_t)(const char *pathname, struct stat64 *statbuf); | ^~~~~~../../src/libtrace/libtrace.c:478:42: warning: 'struct stat64' declared inside parameter list will not be visible outside of this definition or declaration 478 | int lstat64(const char *pathname, struct stat64 *statbuf) { | ^~~~~~../../src/libtrace/libtrace.c: In function 'lstat64':../../src/libtrace/libtrace.c:482:41: error: passing argument 2 of 'orig_lstat64' from incompatible pointer type [-Wincompatible-pointer-types] 482 | int rv = orig_lstat64(pathname, statbuf); | ^~~~~~~ | | | struct stat64 *../../src/libtrace/libtrace.c:482:41: note: expected 'struct stat64 *' but argument is of type 'struct stat64 *'make[1]: Leaving directory '/builds/Firejail/firejail_ci/src/libtrace'make[1]: *** [../../src/so.mk:25: ../../src/libtrace/libtrace.o] Error 1make: *** [Makefile:72: src/libtrace/libtrace.so] Error 2
Environment
Name/version/arch of the Linux kernel (uname -srm): Linux 5.15.154+ #1 SMP Sat May 4 12:14:42 UTC 2024 x86_64
Name/version of the Linux distribution (e.g. "Ubuntu 20.04" or "Arch Linux"):
Alpine Linux v3.21
Name/version of the C compiler (e.g. "gcc 14.1.1-1"): gcc (14.2.0-r4)
Name/version of the libc (e.g. "glibc 2.40-1"): musl-dev (1.2.5-r8)
Name/version of the Linux API headers (e.g. "linux-api-headers 6.10-1" on
Arch Linux): linux-headers (6.6-r1)
Version of the source code being built (git rev-parse HEAD): e6de48c
Build log[1]:
$ make
[...]
make -C src/libtrace/
make[1]: Entering directory '/builds/Firejail/firejail_ci/src/libtrace'
gcc -ggdb -O2 -DVERSION='"0.9.73"' [...] -c ../../src/libtrace/libtrace.c -o ../../src/libtrace/libtrace.o
../../src/libtrace/libtrace.c:451:59: warning: 'struct stat64' declared inside parameter list will not be visible outside of this definition or declaration
451 | typedef int (*orig_stat64_t)(const char *pathname, struct stat64 *statbuf);
| ^~~~~~
../../src/libtrace/libtrace.c:453:41: warning: 'struct stat64' declared inside parameter list will not be visible outside of this definition or declaration
453 | int stat64(const char *pathname, struct stat64 *statbuf) {
| ^~~~~~
../../src/libtrace/libtrace.c: In function 'stat64':
../../src/libtrace/libtrace.c:457:40: error: passing argument 2 of 'orig_stat64' from incompatible pointer type [-Wincompatible-pointer-types]
457 | int rv = orig_stat64(pathname, statbuf);
| ^~~~~~~
| |
| struct stat64 *
../../src/libtrace/libtrace.c:457:40: note: expected 'struct stat64 *' but argument is of type 'struct stat64 *'
../../src/libtrace/libtrace.c: At top level:
../../src/libtrace/libtrace.c:476:60: warning: 'struct stat64' declared inside parameter list will not be visible outside of this definition or declaration
476 | typedef int (*orig_lstat64_t)(const char *pathname, struct stat64 *statbuf);
| ^~~~~~
../../src/libtrace/libtrace.c:478:42: warning: 'struct stat64' declared inside parameter list will not be visible outside of this definition or declaration
478 | int lstat64(const char *pathname, struct stat64 *statbuf) {
| ^~~~~~
../../src/libtrace/libtrace.c: In function 'lstat64':
../../src/libtrace/libtrace.c:482:41: error: passing argument 2 of 'orig_lstat64' from incompatible pointer type [-Wincompatible-pointer-types]
482 | int rv = orig_lstat64(pathname, statbuf);
| ^~~~~~~
| |
| struct stat64 *
../../src/libtrace/libtrace.c:482:41: note: expected 'struct stat64 *' but argument is of type 'struct stat64 *'
make[1]: Leaving directory '/builds/Firejail/firejail_ci/src/libtrace'
Environment: gcc (14.2.0-r4), musl-dev (1.2.5-r8) on Alpine Linux v3.21.
Relates to netblue30#6610.
[1] https://gitlab.com/Firejail/firejail_ci/-/jobs/8853165146
Description
The
build_src_package
(Alpine/musl) GitLab CI job is currently failing.Steps to Reproduce
From https://gitlab.com/Firejail/firejail_ci/-/jobs/8853165146:
install/configure
Errors:
Environment
uname -srm
):Linux 5.15.154+ #1 SMP Sat May 4 12:14:42 UTC 2024 x86_64
Alpine Linux v3.21
Arch Linux): linux-headers (6.6-r1)
git rev-parse HEAD
):e6de48c
Relates to:
The text was updated successfully, but these errors were encountered: