Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 625182 Details for
Bug 714212
net-ftp/linksys-tftp-1.2.1-r3 : main.c: error: O_RDONLY undeclared (first use in this function)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-ftp:linksys-tftp-1.2.1-r3:20200324-135426.log
net-ftp:linksys-tftp-1.2.1-r3:20200324-135426.log (text/plain), 12.98 KB, created by
Toralf Förster
on 2020-03-24 15:59:03 UTC
(
hide
)
Description:
net-ftp:linksys-tftp-1.2.1-r3:20200324-135426.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-03-24 15:59:03 UTC
Size:
12.98 KB
patch
obsolete
> * Package: net-ftp/linksys-tftp-1.2.1-r3 > * Repository: gentoo > * Maintainer: embedded@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking linksys-tftp-1.2.1.tar.bz2 to /var/tmp/portage/net-ftp/linksys-tftp-1.2.1-r3/work >>>> Source unpacked in /var/tmp/portage/net-ftp/linksys-tftp-1.2.1-r3/work >>>> Preparing source in /var/tmp/portage/net-ftp/linksys-tftp-1.2.1-r3/work/linksys-tftp-1.2.1 ... > * Applying linksys-tftp-1.2.1-r1-header.patch ... > [ ok ] > * Applying linksys-tftp-1.2.1-r1-Makefile.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-ftp/linksys-tftp-1.2.1-r3/work/linksys-tftp-1.2.1 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-ftp/linksys-tftp-1.2.1-r3/work/linksys-tftp-1.2.1 ... >make -j1 CC=x86_64-gentoo-linux-musl-gcc >x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -I. -Dsin=sin_x -c -o main.o main.c >main.c: In function âmainâ: >main.c:117:5: warning: type of âargcâ defaults to âintâ [-Wimplicit-int] > 117 | int main(argc, argv) > | ^~~~ >main.c:149:3: warning: implicit declaration of function âcommandâ [-Wimplicit-function-declaration] > 149 | command(top); > | ^~~~~~~ >main.c: At top level: >main.c:154:1: warning: return type defaults to âintâ [-Wimplicit-int] > 154 | setpeer(argc, argv) > | ^~~~~~~ >main.c: In function âsetpeerâ: >main.c:162:3: warning: âreturnâ with no value, in function returning non-void > 162 | return; > | ^~~~~~ >main.c:154:1: note: declared here > 154 | setpeer(argc, argv) > | ^~~~~~~ >main.c:171:25: warning: implicit declaration of function âinet_addrâ [-Wimplicit-function-declaration] > 171 | sin.sin_addr.s_addr = inet_addr(argv[1]); > | ^~~~~~~~~ >main.c:175:4: warning: âreturnâ with no value, in function returning non-void > 175 | return; > | ^~~~~~ >main.c:154:1: note: declared here > 154 | setpeer(argc, argv) > | ^~~~~~~ >main.c:185:4: warning: âreturnâ with no value, in function returning non-void > 185 | return; > | ^~~~~~ >main.c:154:1: note: declared here > 154 | setpeer(argc, argv) > | ^~~~~~~ >main.c: At top level: >main.c:204:1: warning: return type defaults to âintâ [-Wimplicit-int] > 204 | modecmd(argc, argv) > | ^~~~~~~ >main.c: In function âmodecmdâ: >main.c:204:1: warning: type of âargcâ defaults to âintâ [-Wimplicit-int] >main.c:212:3: warning: âreturnâ with no value, in function returning non-void > 212 | return; > | ^~~~~~ >main.c:204:1: note: declared here > 204 | modecmd(argc, argv) > | ^~~~~~~ >main.c:219:4: warning: implicit declaration of function âsetmodeâ [-Wimplicit-function-declaration] > 219 | setmode(p->m_mode); > | ^~~~~~~ >main.c:220:4: warning: âreturnâ with no value, in function returning non-void > 220 | return; > | ^~~~~~ >main.c:204:1: note: declared here > 204 | modecmd(argc, argv) > | ^~~~~~~ >main.c:234:2: warning: âreturnâ with no value, in function returning non-void > 234 | return; > | ^~~~~~ >main.c:204:1: note: declared here > 204 | modecmd(argc, argv) > | ^~~~~~~ >main.c: At top level: >main.c:237:1: warning: return type defaults to âintâ [-Wimplicit-int] > 237 | setbinary(argc, argv) > | ^~~~~~~~~ >main.c: In function âsetbinaryâ: >main.c:237:1: warning: type of âargcâ defaults to âintâ [-Wimplicit-int] >main.c: At top level: >main.c:242:1: warning: return type defaults to âintâ [-Wimplicit-int] > 242 | setascii(argc, argv) > | ^~~~~~~~ >main.c: In function âsetasciiâ: >main.c:242:1: warning: type of âargcâ defaults to âintâ [-Wimplicit-int] >main.c: At top level: >main.c:247:1: warning: return type defaults to âintâ [-Wimplicit-int] > 247 | setmode(newmode) > | ^~~~~~~ >main.c:259:1: warning: return type defaults to âintâ [-Wimplicit-int] > 259 | put(argc, argv) > | ^~~ >main.c: In function âputâ: >main.c:259:1: warning: type of âargcâ defaults to âintâ [-Wimplicit-int] >main.c:267:3: warning: implicit declaration of function âputusageâ [-Wimplicit-function-declaration] > 267 | putusage(argv[0]); > | ^~~~~~~~ >main.c:268:3: warning: âreturnâ with no value, in function returning non-void > 268 | return; > | ^~~~~~ >main.c:259:1: note: declared here > 259 | put(argc, argv) > | ^~~ >main.c:273:3: warning: âreturnâ with no value, in function returning non-void > 273 | return; > | ^~~~~~ >main.c:259:1: note: declared here > 259 | put(argc, argv) > | ^~~ >main.c:276:8: warning: implicit declaration of function âopenâ; did you mean âpopenâ? [-Wimplicit-function-declaration] > 276 | fd = open(cp, O_RDONLY); > | ^~~~ > | popen >main.c:276:17: error: âO_RDONLYâ undeclared (first use in this function) > 276 | fd = open(cp, O_RDONLY); > | ^~~~~~~~ >main.c:276:17: note: each undeclared identifier is reported only once for each function it appears in >main.c:279:4: warning: âreturnâ with no value, in function returning non-void > 279 | return; > | ^~~~~~ >main.c:259:1: note: declared here > 259 | put(argc, argv) > | ^~~ >main.c:285:16: warning: passing argument 2 of âsendfileâ makes integer from pointer without a cast [-Wint-conversion] > 285 | sendfile(fd, cp, mode, linkpass); > | ^~ > | | > | char * >In file included from main.c:46: >/usr/include/sys/sendfile.h:11:23: note: expected âintâ but argument is of type âchar *â > 11 | ssize_t sendfile(int, int, off_t *, size_t); > | ^~~ >main.c:285:20: warning: passing argument 3 of âsendfileâ from incompatible pointer type [-Wincompatible-pointer-types] > 285 | sendfile(fd, cp, mode, linkpass); > | ^~~~ > | | > | char * >In file included from main.c:46: >/usr/include/sys/sendfile.h:11:28: note: expected âoff_t *â {aka âlong int *â} but argument is of type âchar *â > 11 | ssize_t sendfile(int, int, off_t *, size_t); > | ^~~~~~~ >main.c:285:26: warning: passing argument 4 of âsendfileâ makes integer from pointer without a cast [-Wint-conversion] > 285 | sendfile(fd, cp, mode, linkpass); > | ^~~~~~~~ > | | > | char * >In file included from main.c:46: >/usr/include/sys/sendfile.h:11:37: note: expected âsize_tâ {aka âlong unsigned intâ} but argument is of type âchar *â > 11 | ssize_t sendfile(int, int, off_t *, size_t); > | ^~~~~~ >main.c:286:3: warning: âreturnâ with no value, in function returning non-void > 286 | return; > | ^~~~~~ >main.c:259:1: note: declared here > 259 | put(argc, argv) > | ^~~ >main.c: At top level: >main.c:289:1: warning: return type defaults to âintâ [-Wimplicit-int] > 289 | putusage(s) > | ^~~~~~~~ >main.c:298:1: warning: return type defaults to âintâ [-Wimplicit-int] > 298 | get(argc, argv) > | ^~~ >main.c: In function âgetâ: >main.c:298:1: warning: type of âargcâ defaults to âintâ [-Wimplicit-int] >main.c:306:3: warning: implicit declaration of function âgetusageâ; did you mean âputusageâ? [-Wimplicit-function-declaration] > 306 | getusage(argv[0]); > | ^~~~~~~~ > | putusage >main.c:307:3: warning: âreturnâ with no value, in function returning non-void > 307 | return; > | ^~~~~~ >main.c:298:1: note: declared here > 298 | get(argc, argv) > | ^~~ >main.c:312:3: warning: âreturnâ with no value, in function returning non-void > 312 | return; > | ^~~~~~ >main.c:298:1: note: declared here > 298 | get(argc, argv) > | ^~~ >main.c:315:8: warning: implicit declaration of function âcreatâ [-Wimplicit-function-declaration] > 315 | fd = creat(cp, 0644); > | ^~~~~ >main.c:318:4: warning: âreturnâ with no value, in function returning non-void > 318 | return; > | ^~~~~~ >main.c:298:1: note: declared here > 298 | get(argc, argv) > | ^~~ >main.c:324:3: warning: implicit declaration of function ârecvfileâ [-Wimplicit-function-declaration] > 324 | recvfile(fd, cp, mode, linkpass); > | ^~~~~~~~ >main.c:326:3: warning: âreturnâ with no value, in function returning non-void > 326 | return; > | ^~~~~~ >main.c:298:1: note: declared here > 298 | get(argc, argv) > | ^~~ >main.c: At top level: >main.c:329:1: warning: return type defaults to âintâ [-Wimplicit-int] > 329 | getusage(s) > | ^~~~~~~~ >main.c:337:1: warning: return type defaults to âintâ [-Wimplicit-int] > 337 | setrexmt(argc, argv) > | ^~~~~~~~ >main.c: In function âsetrexmtâ: >main.c:337:1: warning: type of âargcâ defaults to âintâ [-Wimplicit-int] >main.c:346:3: warning: implicit declaration of function âmakeargvâ [-Wimplicit-function-declaration] > 346 | makeargv(); > | ^~~~~~~~ >main.c:352:3: warning: âreturnâ with no value, in function returning non-void > 352 | return; > | ^~~~~~ >main.c:337:1: note: declared here > 337 | setrexmt(argc, argv) > | ^~~~~~~~ >main.c: At top level: >main.c:363:1: warning: return type defaults to âintâ [-Wimplicit-int] > 363 | settimeout(argc, argv) > | ^~~~~~~~~~ >main.c: In function âsettimeoutâ: >main.c:363:1: warning: type of âargcâ defaults to âintâ [-Wimplicit-int] >main.c:378:3: warning: âreturnâ with no value, in function returning non-void > 378 | return; > | ^~~~~~ >main.c:363:1: note: declared here > 363 | settimeout(argc, argv) > | ^~~~~~~~~~ >main.c: At top level: >main.c:387:1: warning: return type defaults to âintâ [-Wimplicit-int] > 387 | status(argc, argv) > | ^~~~~~ >main.c: In function âstatusâ: >main.c:387:1: warning: type of âargcâ defaults to âintâ [-Wimplicit-int] >main.c: At top level: >main.c:410:1: warning: return type defaults to âintâ [-Wimplicit-int] > 410 | command(top) > | ^~~~~~~ >main.c: In function âgetcmdâ: >main.c:453:12: warning: âreturnâ with no value, in function returning non-void > 453 | if(!name) return; > | ^~~~~~ >main.c:443:1: note: declared here > 443 | getcmd(name) > | ^~~~~~ >main.c: At top level: >main.c:475:1: warning: return type defaults to âintâ [-Wimplicit-int] > 475 | makeargv() > | ^~~~~~~~ >main.c:498:1: warning: return type defaults to âintâ [-Wimplicit-int] > 498 | quit() > | ^~~~ >main.c:506:1: warning: return type defaults to âintâ [-Wimplicit-int] > 506 | help(argc, argv) > | ^~~~ >main.c: In function âhelpâ: >main.c:515:14: warning: field width specifier â*â expects argument of type âintâ, but argument 2 has type âlong unsigned intâ [-Wformat=] > 515 | printf("%-*s\t%s\n", HELPINDENT, c->name, c->help); > | ~~^~ > | | > | int >main.c:516:3: warning: âreturnâ with no value, in function returning non-void > 516 | return; > | ^~~~~~ >main.c:506:1: note: declared here > 506 | help(argc, argv) > | ^~~~ >main.c: At top level: >main.c:532:1: warning: return type defaults to âintâ [-Wimplicit-int] > 532 | settrace() > | ^~~~~~~~ >main.c:539:1: warning: return type defaults to âintâ [-Wimplicit-int] > 539 | setverbose() > | ^~~~~~~~~~ >main.c:545:1: warning: return type defaults to âintâ [-Wimplicit-int] > 545 | setblocksize(argc, argv) > | ^~~~~~~~~~~~ >main.c: In function âsetblocksizeâ: >main.c:545:1: warning: type of âargcâ defaults to âintâ [-Wimplicit-int] >main.c:560:3: warning: âreturnâ with no value, in function returning non-void > 560 | return; > | ^~~~~~ >main.c:545:1: note: declared here > 545 | setblocksize(argc, argv) > | ^~~~~~~~~~~~ >main.c: At top level: >main.c:568:1: warning: return type defaults to âintâ [-Wimplicit-int] > 568 | banner() { > | ^~~~~~ >main.c: In function âbannerâ: >main.c:573:2: warning: âreturnâ with no value, in function returning non-void > 573 | return; > | ^~~~~~ >main.c:568:1: note: declared here > 568 | banner() { > | ^~~~~~ >make: *** [<builtin>: main.o] Error 1 > * ERROR: net-ftp/linksys-tftp-1.2.1-r3::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-ftp/linksys-tftp-1.2.1-r3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-ftp/linksys-tftp-1.2.1-r3::gentoo'`. > * The complete build log is located at '/var/log/portage/net-ftp:linksys-tftp-1.2.1-r3:20200324-135426.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-ftp/linksys-tftp-1.2.1-r3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-ftp/linksys-tftp-1.2.1-r3/temp/environment'. > * Working directory: '/var/tmp/portage/net-ftp/linksys-tftp-1.2.1-r3/work/linksys-tftp-1.2.1' > * S: '/var/tmp/portage/net-ftp/linksys-tftp-1.2.1-r3/work/linksys-tftp-1.2.1'
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 714212
:
625174
|
625176
|
625178
|
625180
| 625182 |
625184