Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 815389 Details for
Bug 874021
games-arcade/netris-0.52-r3 - game.c: error: call to undeclared function getopt; ISO C99 and later do
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
games-arcade:netris-0.52-r3:20221002-120528.log
games-arcade:netris-0.52-r3:20221002-120528.log (text/plain), 3.85 KB, created by
Toralf Förster
on 2022-10-02 12:14:45 UTC
(
hide
)
Description:
games-arcade:netris-0.52-r3:20221002-120528.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-02 12:14:45 UTC
Size:
3.85 KB
patch
obsolete
> * Package: games-arcade/netris-0.52-r3:0 > * Repository: gentoo > * Maintainer: games@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking netris-0.52.tar.gz to /var/tmp/portage/games-arcade/netris-0.52-r3/work >>>> Unpacking netris_0.52-10.debian.tar.xz to /var/tmp/portage/games-arcade/netris-0.52-r3/work >>>> Source unpacked in /var/tmp/portage/games-arcade/netris-0.52-r3/work >>>> Preparing source in /var/tmp/portage/games-arcade/netris-0.52-r3/work/netris-0.52 ... > * Applying 01_multi-games-with-scoring ... > [ ok ] > * Applying 02_line-count-patch ... > [ ok ] > * Applying 03_staircase-effect-fix ... > [ ok ] > * Applying 04_robot-close-fixup ... > [ ok ] > * Applying 05_init-static-vars ... > [ ok ] > * Applying 06_curses.c-include-term.h ... > [ ok ] > * Applying 07_curses.c-include-time.h ... > [ ok ] > * Applying 08_various-fixes ... > [ ok ] > * Applying 09_ipv6 ... > [ ok ] > * Applying 10_fix-memory-leak ... > [ ok ] > * Applying netris-0.52-tinfo.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/games-arcade/netris-0.52-r3/work/netris-0.52 ... >Checking for libraries >Checking for on_exit() >Checking for sigprocmask() >Checking for getopt.h >Checking for memory.h >Creating Makefile >Creating config.h >Running 'make depend' >Creating version.c >proto.h changed >Checking dependencies > >Now do a 'make' > >>>> Source configured. >'/var/tmp/portage/games-arcade/netris-0.52-r3/temp/clang14.log' -> '/var/tmp/clang/games-arcade/netris-0.52-r3/clang14.log' >'/var/tmp/portage/games-arcade/netris-0.52-r3/temp/clang15.log' -> '/var/tmp/clang/games-arcade/netris-0.52-r3/clang15.log' >>>> Compiling source in /var/tmp/portage/games-arcade/netris-0.52-r3/work/netris-0.52 ... >make -j4 >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c game.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c curses.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c shapes.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c board.c >curses.c:291:21: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > printw("Seed: %d", initSeed); > ~~ ^~~~~~~~ > %ld >curses.c:294:24: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > printw("Speed: %dms", speed / 1000); > ~~ ^~~~~~~~~~~~ > %ld >game.c:388:15: error: call to undeclared function 'getopt'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > while ((ch = getopt(argc, argv, "hHRs:r:Fk:c:woDSCp:i:")) != -1) > ^ >1 error generated. >make: *** [Makefile:25: game.o] Error 1 >make: *** Waiting for unfinished jobs.... >2 warnings generated. > * ERROR: games-arcade/netris-0.52-r3::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=games-arcade/netris-0.52-r3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=games-arcade/netris-0.52-r3::gentoo'`. > * The complete build log is located at '/var/log/portage/games-arcade:netris-0.52-r3:20221002-120528.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-arcade/netris-0.52-r3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/games-arcade/netris-0.52-r3/temp/environment'. > * Working directory: '/var/tmp/portage/games-arcade/netris-0.52-r3/work/netris-0.52' > * S: '/var/tmp/portage/games-arcade/netris-0.52-r3/work/netris-0.52' >
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 874021
:
815377
|
815380
|
815383
|
815386
| 815389 |
815392