Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 835253 Details for
Bug 882307
net-misc/clockspeed-0.62-r8: sntpclock.c:172:9: warning: implicit declaration of function ‘getpid’ [-Wimplicit-function-declaration]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-misc:clockspeed-0.62-r8:20221120-192637.log
net-misc:clockspeed-0.62-r8:20221120-192637.log (text/plain), 17.04 KB, created by
Toralf Förster
on 2022-11-20 20:16:18 UTC
(
hide
)
Description:
net-misc:clockspeed-0.62-r8:20221120-192637.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-11-20 20:16:18 UTC
Size:
17.04 KB
patch
obsolete
> * 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 â<stdio.h>â > 3 | #include "exit.h" > +++ |+#include <stdio.h> > 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 â<stdlib.h>â or provide a declaration of âfreeâ > 6 | #include "leapsecs.h" > +++ |+#include <stdlib.h> > 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 â<stdlib.h>â 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 â<stdlib.h>â 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 â<stdlib.h>â 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 â<stdlib.h>â 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 â<stdlib.h>â 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' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 882307
:
835241
|
835243
|
835245
|
835247
|
835249
|
835251
| 835253