* Package: sys-process/daemontools-0.76-r11:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking daemontools-0.76.tar.gz to /var/tmp/portage/sys-process/daemontools-0.76-r11/work >>> Unpacking daemontools-0.76-man-20020131.tar.gz to /var/tmp/portage/sys-process/daemontools-0.76-r11/work >>> Source unpacked in /var/tmp/portage/sys-process/daemontools-0.76-r11/work >>> Preparing source in /var/tmp/portage/sys-process/daemontools-0.76-r11/work/admin/daemontools-0.76/src ... * Applying 0.76-errno.patch ... [ ok ] * Applying 0.76-C99-decls.patch ... [ ok ] * Applying 0.76-makefile.patch ... [ ok ] * Applying 0.76-implicit-func-decl-clang16.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-process/daemontools-0.76-r11/work/admin/daemontools-0.76/src ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-process/daemontools-0.76-r11/work/admin/daemontools-0.76/src ... make -j4 rm -f compile rm -f makelib rm -f choose cat print-ar.sh > makelib cat print-cc.sh > compile rm -f load cat warn-auto.sh choose.sh \ | sed s}HOME}"`head -n 1 home`"}g \ > choose chmod 555 compile chmod 555 makelib cat print-ld.sh > load rm -f svscanboot ./compile tai64n.c cat warn-auto.sh svscanboot.sh \ | sed s}HOME}"`head -n 1 home`"}g \ > svscanboot chmod 555 load chmod 555 choose ./compile tai64nlocal.c ./compile byte_chr.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c tai64n.c chmod 555 svscanboot x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c byte_chr.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c tai64nlocal.c ./compile byte_copy.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c byte_copy.c ./compile byte_cr.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c byte_cr.c ./compile byte_diff.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c byte_diff.c ./compile byte_rchr.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c byte_rchr.c ./compile fmt_uint.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c fmt_uint.c ./compile fmt_uint0.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c fmt_uint0.c ./compile fmt_ulong.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c fmt_ulong.c ./compile scan_ulong.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c scan_ulong.c ./compile str_chr.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c str_chr.c ./compile str_diff.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c str_diff.c ./compile str_len.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c str_len.c ./compile str_start.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c str_start.c ./choose c trydrent direntry.h1 direntry.h2 > direntry.h ./compile alloc.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c alloc.c ./compile alloc_re.c ./compile buffer.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c alloc_re.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c buffer.c ./compile buffer_0.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c buffer_0.c ./compile buffer_1.c ./compile buffer_2.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c buffer_1.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c buffer_2.c ./compile buffer_get.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c buffer_get.c ./compile buffer_put.c ./compile buffer_read.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c buffer_read.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c buffer_put.c ./compile buffer_write.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c buffer_write.c buffer_put.c: In function ‘allwrite’: buffer_put.c:13:15: warning: passing argument 2 of ‘op’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 13 | w = op(fd,buf,len); | ^~~ buffer_put.c:13:15: note: expected ‘char *’ but argument is of type ‘const char *’ buffer_put.c: In function ‘buffer_putalign’: buffer_put.c:40:29: warning: passing argument 3 of ‘byte_copy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 40 | byte_copy(s->x + s->p,n,buf); s->p += n; buf += n; len -= n; | ^~~ In file included from buffer_put.c:5: byte.h:8:48: note: expected ‘char *’ but argument is of type ‘const char *’ 8 | void byte_copy(char *to, unsigned int n, char *from); | ~~~~~~^~~~ buffer_put.c:44:29: warning: passing argument 3 of ‘byte_copy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 44 | byte_copy(s->x + s->p,len,buf); | ^~~ byte.h:8:48: note: expected ‘char *’ but argument is of type ‘const char *’ 8 | void byte_copy(char *to, unsigned int n, char *from); | ~~~~~~^~~~ buffer_put.c: In function ‘buffer_put’: buffer_put.c:66:29: warning: passing argument 3 of ‘byte_copy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | byte_copy(s->x + s->p,len,buf); | ^~~ byte.h:8:48: note: expected ‘char *’ but argument is of type ‘const char *’ 8 | void byte_copy(char *to, unsigned int n, char *from); | ~~~~~~^~~~ ./compile coe.c ./compile env.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c coe.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c env.c ./compile error.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c error.c ./compile error_str.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c error_str.c ./compile fd_copy.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c fd_copy.c ./compile fd_move.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c fd_move.c ./choose cl trymkffo hasmkffo.h1 hasmkffo.h2 > hasmkffo.h ./choose cl tryflock hasflock.h1 hasflock.h2 > hasflock.h ./compile ndelay_off.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c ndelay_off.c ./compile ndelay_on.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c ndelay_on.c ./compile open_append.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c open_append.c ./compile open_read.c ./compile open_trunc.c ./compile open_write.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c open_read.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c open_trunc.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c open_write.c ./compile openreadclose.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c openreadclose.c ./compile pathexec_env.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c pathexec_env.c ./compile pathexec_run.c ./compile chkshsgr.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c pathexec_run.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c chkshsgr.c In file included from pathexec_env.c:6: pathexec_env.c: In function ‘pathexec’: pathexec_env.c:55:42: warning: passing argument 3 of ‘byte_diff’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | if (byte_equal(plus.s + j,split,e[t])) byte.h:12:48: note: in definition of macro ‘byte_equal’ 12 | #define byte_equal(s,n,t) (!byte_diff((s),(n),(t))) | ^ byte.h:10:46: note: expected ‘char *’ but argument is of type ‘const char *’ 10 | int byte_diff(char *s, unsigned int n, char *t); | ~~~~~~^ pathexec_env.c:68:14: error: passing argument 1 of ‘alloc_free’ from incompatible pointer type [-Wincompatible-pointer-types] 68 | alloc_free(e); | ^ | | | const char ** In file included from pathexec_env.c:4: alloc.h:7:23: note: expected ‘char *’ but argument is of type ‘const char **’ 7 | void alloc_free(char *x); | ~~~~~~^ make: *** [Makefile:240: pathexec_env.o] Error 1 make: *** Waiting for unfinished jobs.... pathexec_run.c: In function ‘pathexec_run’: pathexec_run.c:19:17: error: passing argument 2 of ‘execve’ from incompatible pointer type [-Wincompatible-pointer-types] 19 | execve(file,argv,envp); | ^~~~ | | | const char * const* In file included from pathexec_run.c:3: /usr/include/unistd.h:572:52: note: expected ‘char * const*’ but argument is of type ‘const char * const*’ 572 | extern int execve (const char *__path, char *const __argv[], | ~~~~~~~~~~~~^~~~~~~~ pathexec_run.c:19:22: error: passing argument 3 of ‘execve’ from incompatible pointer type [-Wincompatible-pointer-types] 19 | execve(file,argv,envp); | ^~~~ | | | const char * const* /usr/include/unistd.h:573:32: note: expected ‘char * const*’ but argument is of type ‘const char * const*’ 573 | char *const __envp[]) __THROW __nonnull ((1, 2)); | ~~~~~~~~~~~~^~~~~~~~ pathexec_run.c:36:18: error: passing argument 2 of ‘execve’ from incompatible pointer type [-Wincompatible-pointer-types] 36 | execve(tmp.s,argv,envp); | ^~~~ | | | const char * const* /usr/include/unistd.h:572:52: note: expected ‘char * const*’ but argument is of type ‘const char * const*’ 572 | extern int execve (const char *__path, char *const __argv[], | ~~~~~~~~~~~~^~~~~~~~ pathexec_run.c:36:23: error: passing argument 3 of ‘execve’ from incompatible pointer type [-Wincompatible-pointer-types] 36 | execve(tmp.s,argv,envp); | ^~~~ | | | const char * const* /usr/include/unistd.h:573:32: note: expected ‘char * const*’ but argument is of type ‘const char * const*’ 573 | char *const __envp[]) __THROW __nonnull ((1, 2)); | ~~~~~~~~~~~~^~~~~~~~ make: *** [Makefile:244: pathexec_run.o] Error 1 * ERROR: sys-process/daemontools-0.76-r11::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-process/daemontools-0.76-r11::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-process/daemontools-0.76-r11::gentoo'`. * The complete build log is located at '/var/log/portage/sys-process:daemontools-0.76-r11:20231215-214818.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-process/daemontools-0.76-r11/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-process/daemontools-0.76-r11/temp/environment'. * Working directory: '/var/tmp/portage/sys-process/daemontools-0.76-r11/work/admin/daemontools-0.76/src' * S: '/var/tmp/portage/sys-process/daemontools-0.76-r11/work/admin/daemontools-0.76/src'