Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 821692 Details for
Bug 875536
net-misc/netkit-bootpd-2.4-r1 - readfile.c: error: implicit declaration of function ctime [-Werror=implicit-function-declaration]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-misc:netkit-bootpd-2.4-r1:20221005-205238.log
net-misc:netkit-bootpd-2.4-r1:20221005-205238.log (text/plain), 10.28 KB, created by
Toralf Förster
on 2022-10-05 21:14:59 UTC
(
hide
)
Description:
net-misc:netkit-bootpd-2.4-r1:20221005-205238.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-05 21:14:59 UTC
Size:
10.28 KB
patch
obsolete
> * Package: net-misc/netkit-bootpd-2.4-r1: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 bootpd-2.4.tar.gz to /var/tmp/portage/net-misc/netkit-bootpd-2.4-r1/work >>>> Source unpacked in /var/tmp/portage/net-misc/netkit-bootpd-2.4-r1/work >>>> Preparing source in /var/tmp/portage/net-misc/netkit-bootpd-2.4-r1/work/bootpd-2.4 ... > * Applying netkit-bootpd-2.4.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-misc/netkit-bootpd-2.4-r1/work/bootpd-2.4 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-misc/netkit-bootpd-2.4-r1/work/bootpd-2.4 ... >make -j4 linux >make CC="x86_64-pc-linux-gnu-gcc" \ > SYSDEFS="-Dlinux" \ > SYSLIBS="" \ > LOG_FACILITY="-DLOG_BOOTP=LOG_LOCAL2" \ > OPTDEFS="-DSYSLOG -DDEBUG" >make[1]: Entering directory '/var/tmp/portage/net-misc/netkit-bootpd-2.4-r1/work/bootpd-2.4' >x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c bootpd.c >x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c dovend.c >x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c readfile.c >x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c hash.c >readfile.c: In function âreadtabâ: >readfile.c:347:33: error: implicit declaration of function âctimeâ [-Werror=implicit-function-declaration] > 347 | strcpy(timestr, ctime(&(st.st_mtime))); > | ^~~~~ >readfile.c:67:1: note: âctimeâ is defined in header â<time.h>â; did you forget to â#include <time.h>â? > 66 | #include "bootpd.h" > +++ |+#include <time.h> > 67 | >readfile.c:347:33: warning: passing argument 2 of âstrcpyâ makes pointer from integer without a cast [-Wint-conversion] > 347 | strcpy(timestr, ctime(&(st.st_mtime))); > | ^~~~~~~~~~~~~~~~~~~~~ > | | > | int >In file included from /usr/include/features.h:490, > from /usr/include/errno.h:25, > from /usr/include/sys/errno.h:1, > from readfile.c:37: >/usr/include/bits/string_fortified.h:77:1: note: expected âconst char * restrictâ but argument is of type âintâ > 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >bootpd.c: In function âmainâ: >bootpd.c:484:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > 484 | if ((int) signal(SIGHUP, catcher) < 0) { > | ^ >bootpd.c:488:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > 488 | if ((int) signal(SIGUSR1, catcher) < 0) { > | ^ >x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c dumptab.c >x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c lookup.c >dumptab.c: In function âdump_hostâ: >dumptab.c:263:50: warning: format â%ldâ expects argument of type âlong intâ, but argument 3 has type âint32_tâ {aka âintâ} [-Wformat=] > 263 | fprintf(fp, "\\\n\t:to=%ld:", hp->time_offset); > | ~~^ ~~~~~~~~~~~~~~~ > | | | > | | int32_t {aka int} > | long int > | %d >x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c getif.c >x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c hwaddr.c >x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c tzone.c >x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -DLOG_BOOTP=LOG_LOCAL2 -c report.c >x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c bootpef.c >x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c bootpgw.c >x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c bootptest.c >x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c print-bootp.c >bootptest.c:117:1: error: return type defaults to âintâ [-Werror=implicit-int] > 117 | main(argc, argv) > | ^~~~ >bootptest.c: In function âmainâ: >bootptest.c:289:25: error: implicit declaration of function âgetpidâ; did you mean âgetifâ? [-Werror=implicit-function-declaration] > 289 | xid = (int32_t) getpid(); > | ^~~~~~ > | getif >bootptest.c:305:21: error: implicit declaration of function âgetetherâ [-Werror=implicit-function-declaration] > 305 | if (getether(ifr->ifr_name, eaddr)) { > | ^~~~~~~~ >bootptest.c:315:17: error: implicit declaration of function âgethostnameâ; did you mean âgethostbynameâ? [-Werror=implicit-function-declaration] > 315 | gethostname(hostname, sizeof(hostname)); > | ^~~~~~~~~~~ > | gethostbyname >bootptest.c:344:21: error: implicit declaration of function âreadâ; did you mean âfreadâ? [-Werror=implicit-function-declaration] > 344 | n = read(fd, bp->bp_vend, n); > | ^~~~ > | fread >bootptest.c:345:17: error: implicit declaration of function âcloseâ; did you mean âpcloseâ? [-Werror=implicit-function-declaration] > 345 | close(fd); > | ^~~~~ > | pclose >bootptest.c:367:9: error: implicit declaration of function âsend_requestâ [-Werror=implicit-function-declaration] > 367 | send_request(s); > | ^~~~~~~~~~~~ >bootptest.c: At top level: >bootptest.c:425:1: error: return type defaults to âintâ [-Werror=implicit-int] > 425 | send_request(s) > | ^~~~~~~~~~~~ >print-bootp.c: In function âbootp_printâ: >print-bootp.c:149:21: error: implicit declaration of function âprintfnâ; did you mean âprintfâ? [-Werror=implicit-function-declaration] > 149 | if (printfn(bp->bp_sname, ep)) { > | ^~~~~~~ > | printf >print-bootp.c: In function ârfc1048_printâ: >print-bootp.c:313:40: warning: format â%dâ expects argument of type âintâ, but argument 3 has type âlong intâ [-Wformat=] > 313 | printf(" |(%d>%d)", len, ep - bp); > | ~^ ~~~~~~~ > | | | > | int long int > | %ld >x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSYSLOG -DVEND_CMU -DDEBUG -DSYSLOG -DDEBUG -Dlinux -c getether.c >cc1: some warnings being treated as errors >make[1]: *** [Makefile:183: bootptest.o] Error 1 >make[1]: *** Waiting for unfinished jobs.... >getether.c:330:1: error: return type defaults to âintâ [-Werror=implicit-int] > 330 | getether(ifname, eap) > | ^~~~~~~~ >getether.c: In function âgetetherâ: >getether.c:348:9: error: implicit declaration of function âcloseâ; did you mean âcloselogâ? [-Werror=implicit-function-declaration] > 348 | close(fd); > | ^~~~~ > | closelog >cc1: some warnings being treated as errors >make[1]: *** [Makefile:183: getether.o] Error 1 >cc1: some warnings being treated as errors >make[1]: *** [Makefile:183: print-bootp.o] Error 1 >cc1: some warnings being treated as errors >make[1]: *** [Makefile:183: readfile.o] Error 1 >make[1]: Leaving directory '/var/tmp/portage/net-misc/netkit-bootpd-2.4-r1/work/bootpd-2.4' >make: *** [Makefile:127: linux] Error 2 > * ERROR: net-misc/netkit-bootpd-2.4-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-misc/netkit-bootpd-2.4-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-misc/netkit-bootpd-2.4-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/net-misc:netkit-bootpd-2.4-r1:20221005-205238.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/netkit-bootpd-2.4-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-misc/netkit-bootpd-2.4-r1/temp/environment'. > * Working directory: '/var/tmp/portage/net-misc/netkit-bootpd-2.4-r1/work/bootpd-2.4' > * S: '/var/tmp/portage/net-misc/netkit-bootpd-2.4-r1/work/bootpd-2.4' >
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 875536
:
821680
|
821683
|
821686
|
821689
| 821692 |
821695