* Package: net-misc/clockspeed-0.62-r8:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking clockspeed-0.62.tar.gz to /var/tmp/portage/net-misc/clockspeed-0.62-r8/work >>> Unpacking leapsecs.dat.20081114 to /var/tmp/portage/net-misc/clockspeed-0.62-r8/work unpack leapsecs.dat.20081114: file format not recognized. Ignoring. >>> Source unpacked in /var/tmp/portage/net-misc/clockspeed-0.62-r8/work >>> Preparing source in /var/tmp/portage/net-misc/clockspeed-0.62-r8/work/clockspeed-0.62 ... * Applying clockspeed-0.62-gentoo.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/clockspeed-0.62-r8/work/clockspeed-0.62 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/clockspeed-0.62-r8/work/clockspeed-0.62 ... make -j4 ( cat warn-auto.sh; \ echo CC=\'`head -n 1 conf-cc`\'; \ echo LD=\'`head -n 1 conf-ld`\' \ ) > auto-ccld.sh nroff -man taiclock.1 > taiclock.0 nroff -man taiclockd.1 > taiclockd.0 nroff -man clockspeed.1 > clockspeed.0 nroff -man clockview.1 > clockview.0 nroff -man sntpclock.1 > sntpclock.0 nroff -man clockadd.1 > clockadd.0 cat auto-ccld.sh make-compile.sh > make-compile cat auto-ccld.sh find-systype.sh > find-systype chmod 755 make-compile cat auto-ccld.sh make-makelib.sh > make-makelib chmod 755 make-makelib chmod 755 find-systype cat auto-ccld.sh make-load.sh > make-load ./find-systype > systype chmod 755 make-load ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \ compile ( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > \ makelib ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load chmod 755 compile ./compile ip.c chmod 755 makelib chmod 755 load ./compile error.c ./compile error_str.c ./compile byte_chr.c ./compile str_diff.c ./compile byte_copy.c ./compile str_len.c ./compile byte_zero.c ./compile byte_diff.c ./compile byte_cr.c ./compile strerr_die.c ./compile strerr_sys.c ./compile subfderr.c ./compile substdi.c ./compile substdo.c ./compile substdio.c ./compile substdio_copy.c ( ( ./compile tryulong64.c && ./load tryulong64 && \ ./tryulong64 ) >/dev/null 2>&1 \ && cat uint64.h1 || cat uint64.h2 ) > uint64.h ( ./compile trysysel.c >/dev/null 2>&1 \ && cat select.h2 || cat select.h1 ) > select.h ./compile leapsecs_init.c ./compile fmt_uint.c rm -f trysysel.o trysysel ./compile fmt_str.c rm -f tryulong64.o tryulong64 ./compile fmt_uint0.c ./compile scan_ulong.c ./compile fmt_ulong.c ( ( ./compile trylsock.c && \ ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 \ && echo -lsocket -lnsl || exit 0 ) > socket.lib ./compile sntpclock.c ( ( ./compile tryrdtsc.c && ./load tryrdtsc && ./tryrdtsc \ ) >/dev/null 2>&1 \ && echo \#define HASRDTSC 1 || exit 0 ) > hasrdtsc.h ( ( ./compile trygethr.c && ./load trygethr ) >/dev/null \ 2>&1 \ && echo \#define HASGETHRTIME 1 || exit 0 ) > hasgethr.h sntpclock.c: In function ‘main’: sntpclock.c:172:9: warning: implicit declaration of function ‘getpid’ [-Wimplicit-function-declaration] 172 | u = getpid(); | ^~~~~~ sntpclock.c:238:3: warning: implicit declaration of function ‘_exit’ [-Wimplicit-function-declaration] 238 | _exit(0); | ^~~~~ sntpclock.c:238:3: warning: incompatible implicit declaration of built-in function ‘_exit’ [-Wbuiltin-declaration-mismatch] rm -f trylsock.o trylsock rm -f trygethr.o ./compile auto-str.c ./compile open_read.c auto-str.c:8:6: warning: conflicting types for built-in function ‘puts’; expected ‘int(const char *)’ [-Wbuiltin-declaration-mismatch] 8 | void puts(s) | ^~~~ auto-str.c:4:1: note: ‘puts’ is declared in header ‘’ 3 | #include "exit.h" +++ |+#include 4 | rm -f tryrdtsc.o tryrdtsc ./compile open_trunc.c ./compile open_write.c ( ( ./compile trymkffo.c && ./load trymkffo ) >/dev/null \ 2>&1 \ && echo \#define HASMKFIFO 1 || exit 0 ) > hasmkffo.h ./compile instcheck.c ./compile hier.c instcheck.c: In function ‘d’: instcheck.c:59:7: warning: implicit declaration of function ‘chdir’ [-Wimplicit-function-declaration] 59 | if (chdir(home) == -1) | ^~~~~ hier.c: In function ‘hier’: hier.c:5:3: warning: implicit declaration of function ‘d’ [-Wimplicit-function-declaration] 5 | d("/var/lib","clockspeed",-1,-1,0755); | ^ hier.c:7:3: warning: implicit declaration of function ‘c’ [-Wimplicit-function-declaration] 7 | c("/","var/lib/clockspeed","leapsecs.dat",-1,-1,0644); | ^ hier.c:9:3: warning: implicit declaration of function ‘h’ [-Wimplicit-function-declaration] 9 | h(auto_home,-1,-1,0755); | ^ ./compile clockview.c ./compile taiclockd.c rm -f trymkffo.o trymkffo ./compile clockadd.c ./compile install.c clockview.c: In function ‘main’: clockview.c:52:3: warning: implicit declaration of function ‘gettimeofday’ [-Wimplicit-function-declaration] 52 | gettimeofday(&tv,(struct timezone *) 0); | ^~~~~~~~~~~~ install.c: In function ‘h’: install.c:20:7: warning: implicit declaration of function ‘mkdir’ [-Wimplicit-function-declaration] 20 | if (mkdir(home,0700) == -1) | ^~~~~ install.c:23:7: warning: implicit declaration of function ‘chown’ [-Wimplicit-function-declaration] 23 | if (chown(home,uid,gid) == -1) | ^~~~~ install.c:25:7: warning: implicit declaration of function ‘chmod’ [-Wimplicit-function-declaration] 25 | if (chmod(home,mode) == -1) | ^~~~~ install.c: In function ‘d’: install.c:36:7: warning: implicit declaration of function ‘chdir’ [-Wimplicit-function-declaration] 36 | if (chdir(home) == -1) | ^~~~~ install.c: In function ‘c’: install.c:63:7: warning: implicit declaration of function ‘fchdir’ [-Wimplicit-function-declaration] 63 | if (fchdir(fdsourcedir) == -1) | ^~~~~~ install.c:88:3: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration] 88 | close(fdin); | ^~~~~ install.c:91:7: warning: implicit declaration of function ‘fsync’ [-Wimplicit-function-declaration] 91 | if (fsync(fdout) == -1) | ^~~~~ install.c: In function ‘main’: install.c:146:3: warning: implicit declaration of function ‘umask’ [-Wimplicit-function-declaration] 146 | umask(077); | ^~~~~ ./makelib error.a error.o error_str.o ./makelib str.a str_len.o str_diff.o byte_diff.o \ byte_chr.o byte_copy.o byte_cr.o byte_zero.o ./makelib strerr.a strerr_sys.o strerr_die.o ./makelib substdio.a substdio.o substdi.o substdo.o \ subfderr.o substdio_copy.o ./compile taiclock.c ./compile leapsecs_read.c ./compile taia_now.c leapsecs_read.c: In function ‘leapsecs_read’: leapsecs_read.c:23:19: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 23 | if (leapsecs) free(leapsecs); | ^~~~ leapsecs_read.c:7:1: note: include ‘’ or provide a declaration of ‘free’ 6 | #include "leapsecs.h" +++ |+#include 7 | leapsecs_read.c:23:19: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 23 | if (leapsecs) free(leapsecs); | ^~~~ leapsecs_read.c:23:19: note: include ‘’ or provide a declaration of ‘free’ leapsecs_read.c:29:30: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration] 29 | if (fstat(fd,&st) == -1) { close(fd); return -1; } | ^~~~~ leapsecs_read.c:31:22: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] 31 | t = (struct tai *) malloc(st.st_size); | ^~~~~~ leapsecs_read.c:31:22: note: include ‘’ or provide a declaration of ‘malloc’ leapsecs_read.c:31:22: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] leapsecs_read.c:31:22: note: include ‘’ or provide a declaration of ‘malloc’ leapsecs_read.c:34:7: warning: implicit declaration of function ‘read’ [-Wimplicit-function-declaration] 34 | n = read(fd,(char *) t,st.st_size); | ^~~~ leapsecs_read.c:36:26: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 36 | if (n != st.st_size) { free(t); return -1; } | ^~~~ leapsecs_read.c:36:26: note: include ‘’ or provide a declaration of ‘free’ leapsecs_read.c:45:17: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 45 | if (leapsecs) free(leapsecs); | ^~~~ leapsecs_read.c:45:17: note: include ‘’ or provide a declaration of ‘free’ ./compile taia_unpack.c ./compile taia_less.c taiclock.c: In function ‘main’: taiclock.c:97:9: warning: implicit declaration of function ‘getpid’ [-Wimplicit-function-declaration] 97 | u = getpid(); | ^~~~~~ taiclock.c:156:3: warning: implicit declaration of function ‘_exit’ [-Wimplicit-function-declaration] 156 | _exit(0); | ^~~~~ taiclock.c:156:3: warning: incompatible implicit declaration of built-in function ‘_exit’ [-Wbuiltin-declaration-mismatch] ./compile taia_add.c ./compile taia_sub.c ./compile taia_half.c ./compile leapsecs_add.c ./compile tai_unpack.c ./compile taia_pack.c ./compile tai_pack.c ./makelib fs.a fmt_str.o fmt_uint.o fmt_uint0.o \ fmt_ulong.o scan_ulong.o ./compile clockspeed.c ./load auto-str substdio.a error.a str.a ./makelib open.a open_read.o open_trunc.o open_write.o clockspeed.c: In function ‘savederiv’: clockspeed.c:118:48: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration] 118 | if (write(fd,buf,sizeof buf) < sizeof buf) { close(fd); return; } | ^~~~~ clockspeed.c:119:7: warning: implicit declaration of function ‘fsync’ [-Wimplicit-function-declaration] 119 | if (fsync(fd) == -1) { close(fd); return; } | ^~~~~ clockspeed.c:122:3: warning: implicit declaration of function ‘rename’ [-Wimplicit-function-declaration] 122 | rename("/var/lib/clockspeed/atto.tmp","/var/lib/clockspeed/atto"); /* if it fails, bummer */ | ^~~~~~ clockspeed.c: In function ‘main’: clockspeed.c:136:7: warning: implicit declaration of function ‘chdir’ [-Wimplicit-function-declaration] 136 | if (chdir(auto_home) == -1) _exit(1); | ^~~~~ clockspeed.c:137:3: warning: implicit declaration of function ‘umask’ [-Wimplicit-function-declaration] 137 | umask(033); | ^~~~~ ./compile fifo.c ./load clockadd strerr.a substdio.a error.a str.a ./makelib libtai.a tai_pack.o tai_unpack.o taia_add.o \ taia_half.o taia_less.o taia_now.o taia_pack.o taia_sub.o \ taia_unpack.o leapsecs_add.o leapsecs_init.o leapsecs_read.o ./auto-str auto_home `head -n 1 conf-home` > auto_home.c ./load clockview strerr.a substdio.a error.a str.a fs.a ./compile auto_home.c ./load clockspeed auto_home.o fifo.o open.a error.a str.a \ fs.a ./load instcheck hier.o auto_home.o strerr.a substdio.a \ error.a str.a ./load install hier.o auto_home.o strerr.a substdio.a \ open.a error.a str.a ./load taiclock ip.o libtai.a strerr.a substdio.a error.a \ str.a fs.a `cat socket.lib` ./load sntpclock ip.o libtai.a strerr.a substdio.a error.a \ str.a fs.a `cat socket.lib` ./load taiclockd libtai.a strerr.a substdio.a error.a \ str.a `cat socket.lib` >>> Source compiled. * Skipping make test/check due to ebuild restriction. >>> Test phase [disabled because of RESTRICT=test]: net-misc/clockspeed-0.62-r8 >>> Install net-misc/clockspeed-0.62-r8 into /var/tmp/portage/net-misc/clockspeed-0.62-r8/image >>> Completed installing net-misc/clockspeed-0.62-r8 into /var/tmp/portage/net-misc/clockspeed-0.62-r8/image * Final size of build directory: 1100 KiB (1.0 MiB) * Final size of installed tree: 204 KiB * * QA Notice: Package triggers severe warnings which indicate that it * may exhibit random runtime failures. * * sntpclock.c:172:9: warning: implicit declaration of function ‘getpid’ [-Wimplicit-function-declaration] * sntpclock.c:238:3: warning: implicit declaration of function ‘_exit’ [-Wimplicit-function-declaration] * sntpclock.c:238:3: warning: incompatible implicit declaration of built-in function ‘_exit’ [-Wbuiltin-declaration-mismatch] * auto-str.c:8:6: warning: conflicting types for built-in function ‘puts’; expected ‘int(const char *)’ [-Wbuiltin-declaration-mismatch] * instcheck.c:59:7: warning: implicit declaration of function ‘chdir’ [-Wimplicit-function-declaration] * hier.c:5:3: warning: implicit declaration of function ‘d’ [-Wimplicit-function-declaration] * hier.c:7:3: warning: implicit declaration of function ‘c’ [-Wimplicit-function-declaration] * hier.c:9:3: warning: implicit declaration of function ‘h’ [-Wimplicit-function-declaration] * clockview.c:52:3: warning: implicit declaration of function ‘gettimeofday’ [-Wimplicit-function-declaration] * install.c:20:7: warning: implicit declaration of function ‘mkdir’ [-Wimplicit-function-declaration] * install.c:23:7: warning: implicit declaration of function ‘chown’ [-Wimplicit-function-declaration] * install.c:25:7: warning: implicit declaration of function ‘chmod’ [-Wimplicit-function-declaration] * install.c:36:7: warning: implicit declaration of function ‘chdir’ [-Wimplicit-function-declaration] * install.c:63:7: warning: implicit declaration of function ‘fchdir’ [-Wimplicit-function-declaration] * install.c:88:3: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration] * install.c:91:7: warning: implicit declaration of function ‘fsync’ [-Wimplicit-function-declaration] * install.c:146:3: warning: implicit declaration of function ‘umask’ [-Wimplicit-function-declaration] * leapsecs_read.c:23:19: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] * leapsecs_read.c:23:19: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] * leapsecs_read.c:29:30: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration] * leapsecs_read.c:31:22: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] * leapsecs_read.c:31:22: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] * leapsecs_read.c:34:7: warning: implicit declaration of function ‘read’ [-Wimplicit-function-declaration] * leapsecs_read.c:36:26: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] * leapsecs_read.c:45:17: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] * taiclock.c:97:9: warning: implicit declaration of function ‘getpid’ [-Wimplicit-function-declaration] * taiclock.c:156:3: warning: implicit declaration of function ‘_exit’ [-Wimplicit-function-declaration] * taiclock.c:156:3: warning: incompatible implicit declaration of built-in function ‘_exit’ [-Wbuiltin-declaration-mismatch] * clockspeed.c:118:48: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration] * clockspeed.c:119:7: warning: implicit declaration of function ‘fsync’ [-Wimplicit-function-declaration] * clockspeed.c:122:3: warning: implicit declaration of function ‘rename’ [-Wimplicit-function-declaration] * clockspeed.c:136:7: warning: implicit declaration of function ‘chdir’ [-Wimplicit-function-declaration] * clockspeed.c:137:3: warning: implicit declaration of function ‘umask’ [-Wimplicit-function-declaration] * * Please file a bug about this at https://bugs.gentoo.org/ * with the maintainer of the package. * * ERROR: net-misc/clockspeed-0.62-r8::gentoo failed: * install aborted due to severe warnings shown above * * Call stack: * misc-functions.sh, line 670: Called install_qa_check * misc-functions.sh, line 134: Called source 'install_symlink_html_docs' * 90gcc-warnings, line 197: Called gcc_warn_check * 90gcc-warnings, line 183: Called die * The specific snippet of code: * die "install aborted due to severe warnings shown above" * * If you need support, post the output of `emerge --info '=net-misc/clockspeed-0.62-r8::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/clockspeed-0.62-r8::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:clockspeed-0.62-r8:20221120-192637.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/clockspeed-0.62-r8/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/clockspeed-0.62-r8/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/clockspeed-0.62-r8/image' * S: '/var/tmp/portage/net-misc/clockspeed-0.62-r8/work/clockspeed-0.62'