* Package: games-puzzle/greedy-0.2.0-r1 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking greedy-0.2.0.tar.gz to /var/tmp/portage/games-puzzle/greedy-0.2.0-r1/work >>> Source unpacked in /var/tmp/portage/games-puzzle/greedy-0.2.0-r1/work >>> Preparing source in /var/tmp/portage/games-puzzle/greedy-0.2.0-r1/work/greedy-0.2.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-puzzle/greedy-0.2.0-r1/work/greedy-0.2.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-puzzle/greedy-0.2.0-r1/work/greedy-0.2.0 ... make -j1 CC=x86_64-gentoo-linux-musl-gcc 'LDLIBS=-lncurses -ltinfo ' greedy x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 greedy.c -lncurses -ltinfo -o greedy greedy.c: In function ‘main’: greedy.c:101:20: warning: implicit declaration of function ‘getopt’; did you mean ‘getsubopt’? [-Wimplicit-function-declaration] 101 | while ( (optchr = getopt(argc, argv, "t")) != EOF) { | ^~~~~~ | getsubopt greedy.c:112:8: warning: implicit declaration of function ‘time’ [-Wimplicit-function-declaration] 112 | srand(time((time_t *) 0)); | ^~~~ greedy.c:112:14: error: ‘time_t’ undeclared (first use in this function); did you mean ‘timeout’? 112 | srand(time((time_t *) 0)); | ^~~~~~ | timeout greedy.c:112:14: note: each undeclared identifier is reported only once for each function it appears in greedy.c:112:22: error: expected expression before ‘)’ token 112 | srand(time((time_t *) 0)); | ^ greedy.c: In function ‘game’: greedy.c:391:3: warning: implicit declaration of function ‘usleep’ [-Wimplicit-function-declaration] 391 | usleep(80000L); | ^~~~~~ greedy.c: In function ‘openScoreFile’: greedy.c:656:8: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] 656 | if ( strcmp(mode, "r") == 0) | ^~~~~~ make: *** [: greedy] Error 1 * ERROR: games-puzzle/greedy-0.2.0-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-puzzle/greedy-0.2.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-puzzle/greedy-0.2.0-r1::gentoo'`. * The complete build log is located at '/var/log/portage/games-puzzle:greedy-0.2.0-r1:20200407-104854.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-puzzle/greedy-0.2.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-puzzle/greedy-0.2.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-puzzle/greedy-0.2.0-r1/work/greedy-0.2.0' * S: '/var/tmp/portage/games-puzzle/greedy-0.2.0-r1/work/greedy-0.2.0'