* Package: sys-apps/cinit-0.2.1 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking cinit-0.2.1.tar.bz2 to /var/tmp/portage/sys-apps/cinit-0.2.1/work >>> Source unpacked in /var/tmp/portage/sys-apps/cinit-0.2.1/work >>> Preparing source in /var/tmp/portage/sys-apps/cinit-0.2.1/work/cinit-0.2.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/cinit-0.2.1/work/cinit-0.2.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/cinit-0.2.1/work/cinit-0.2.1 ... make -j1 CC=x86_64-gentoo-linux-musl-gcc LD=x86_64-gentoo-linux-musl-gcc 'CFLAGS=-O2 -pipe -march=native -I.' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' STRIP=/bin/true all ./bin/cinit.mkheader > config.h x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -I. -c -o serv/sigio.o serv/sigio.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -I. -c -o serv/cinit.o serv/cinit.c In file included from serv/cinit.c:34: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -I. -c -o serv/list.o serv/list.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -I. -c -o serv/run_init_svc.o serv/run_init_svc.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -I. -c -o serv/panic.o serv/panic.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -I. -c -o serv/sig_reboot.o serv/sig_reboot.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -I. -c -o serv/sig_child.o serv/sig_child.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -I. -c -o client/msg_svc_on_off.o client/msg_svc_on_off.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -I. -c -o client/msg_change_status.o client/msg_change_status.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -I. -c -o client/run_svc.o client/run_svc.c client/run_svc.c: In function ‘run_svc’: client/run_svc.c:31:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 31 | if(! (int) getcwd(pathtmp,PATH_MAX)) { | ^ client/run_svc.c:43:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 43 | if(! (int) getcwd(abspath,PATH_MAX)) { | ^ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -I. -c -o client/exec_svc.o client/exec_svc.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -I. -c -o client/respawn_svc.o client/respawn_svc.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -I. -c -o client/run_run_svcs.o client/run_run_svcs.c client/run_run_svcs.c: In function ‘run_run_svcs’: client/run_run_svcs.c:24:17: error: ‘PATH_MAX’ undeclared (first use in this function) 24 | char pathbuf[PATH_MAX+1]; | ^~~~~~~~ client/run_run_svcs.c:24:17: note: each undeclared identifier is reported only once for each function it appears in make: *** [: client/run_run_svcs.o] Error 1 * ERROR: sys-apps/cinit-0.2.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/cinit-0.2.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/cinit-0.2.1::gentoo'`. * The complete build log is located at '/var/log/portage/sys-apps:cinit-0.2.1:20200402-190710.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/cinit-0.2.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/cinit-0.2.1/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/cinit-0.2.1/work/cinit-0.2.1' * S: '/var/tmp/portage/sys-apps/cinit-0.2.1/work/cinit-0.2.1'