* Package: games-board/natch-2.4-r1 * 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 Natch-2.4.tar.gz to /var/tmp/portage/games-board/natch-2.4-r1/work >>> Source unpacked in /var/tmp/portage/games-board/natch-2.4-r1/work >>> Preparing source in /var/tmp/portage/games-board/natch-2.4-r1/work/Natch-2.4 ... * Applying natch-2.4-format.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-board/natch-2.4-r1/work/Natch-2.4 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --libdir=/usr/lib64 checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for gengetopt... /usr/bin/gengetopt checking for gawk... (cached) gawk checking for the txtc compiler... yes checking for library containing initscr... -lncurses checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for strings.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for working memcmp... yes checking for strdup... yes checking for getopt_long... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating test/Makefile config.status: creating txtc.sh config.status: creating config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/games-board/natch-2.4-r1/work/Natch-2.4 ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/games-board/natch-2.4-r1/work/Natch-2.4' Making all in src make[2]: Entering directory '/var/tmp/portage/games-board/natch-2.4-r1/work/Natch-2.4/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -fshort-enums -DNDEBUG -O3 -O2 -pipe -march=native -c main.c main.c: In function ‘readForsythe’: main.c:685:6: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 685 | fgets( buffer, MAX_LINE_SIZE, fd ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -fshort-enums -DNDEBUG -O3 -O2 -pipe -march=native -c cmdline.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -fshort-enums -DNDEBUG -O3 -O2 -pipe -march=native -c distance.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -fshort-enums -DNDEBUG -O3 -O2 -pipe -march=native -c pcpj.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -fshort-enums -DNDEBUG -O3 -O2 -pipe -march=native -c distimmo.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -fshort-enums -DNDEBUG -O3 -O2 -pipe -march=native -c pcpj_deb.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -fshort-enums -DNDEBUG -O3 -O2 -pipe -march=native -c pcpjcapt.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -fshort-enums -DNDEBUG -O3 -O2 -pipe -march=native -c trajet.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -fshort-enums -DNDEBUG -O3 -O2 -pipe -march=native -c explorat.c explorat.c: In function ‘explorationCoups’: explorat.c:848:36: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 848 | if ( ! MainPrintPositionLevel > 0 || MainFD != stdout ) | ^ explorat.c:848:11: note: add parentheses around left hand side expression to silence this warning 848 | if ( ! MainPrintPositionLevel > 0 || MainFD != stdout ) | ^~~~~~~~~~~~~~~~~~~~~~~~ | ( ) x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -fshort-enums -DNDEBUG -O3 -O2 -pipe -march=native -c pcpjcoup.c pcpjcoup.c: In function ‘listeCoups’: pcpjcoup.c:326:31: warning: comparison between ‘square_t’ {aka ‘const enum ’} and ‘enum ’ [-Wenum-compare] 326 | if ( datas->board[ f1 ] == INDEX_CASE_VIDE && | ^~ pcpjcoup.c:327:24: warning: comparison between ‘square_t’ {aka ‘const enum ’} and ‘enum ’ [-Wenum-compare] 327 | datas->board[ g1 ] == INDEX_CASE_VIDE && | ^~ pcpjcoup.c:342:31: warning: comparison between ‘square_t’ {aka ‘const enum ’} and ‘enum ’ [-Wenum-compare] 342 | if ( datas->board[ f8 ] == INDEX_CASE_VIDE && | ^~ pcpjcoup.c:343:24: warning: comparison between ‘square_t’ {aka ‘const enum ’} and ‘enum ’ [-Wenum-compare] 343 | datas->board[ g8 ] == INDEX_CASE_VIDE && | ^~ pcpjcoup.c:363:31: warning: comparison between ‘square_t’ {aka ‘const enum ’} and ‘enum ’ [-Wenum-compare] 363 | if ( datas->board[ d1 ] == INDEX_CASE_VIDE && | ^~ pcpjcoup.c:364:24: warning: comparison between ‘square_t’ {aka ‘const enum ’} and ‘enum ’ [-Wenum-compare] 364 | datas->board[ c1 ] == INDEX_CASE_VIDE && | ^~ pcpjcoup.c:365:24: warning: comparison between ‘square_t’ {aka ‘const enum ’} and ‘enum ’ [-Wenum-compare] 365 | datas->board[ b1 ] == INDEX_CASE_VIDE && | ^~ pcpjcoup.c:380:31: warning: comparison between ‘square_t’ {aka ‘const enum ’} and ‘enum ’ [-Wenum-compare] 380 | if ( datas->board[ d8 ] == INDEX_CASE_VIDE && | ^~ pcpjcoup.c:381:24: warning: comparison between ‘square_t’ {aka ‘const enum ’} and ‘enum ’ [-Wenum-compare] 381 | datas->board[ c8 ] == INDEX_CASE_VIDE && | ^~ pcpjcoup.c:382:24: warning: comparison between ‘square_t’ {aka ‘const enum ’} and ‘enum ’ [-Wenum-compare] 382 | datas->board[ b8 ] == INDEX_CASE_VIDE && | ^~ pcpjcoup.c:604:33: warning: comparison between ‘square_t’ {aka ‘const enum ’} and ‘enum ’ [-Wenum-compare] 604 | if ( datas->board[ field ] == INDEX_CASE_VIDE ) | ^~ pcpjcoup.c:628:39: warning: comparison between ‘square_t’ {aka ‘const enum ’} and ‘enum ’ [-Wenum-compare] 628 | datas->board[ field + deltaPion ] == INDEX_CASE_VIDE ) | ^~ pcpjcoup.c:648:9: warning: comparison between ‘square_t’ {aka ‘const enum ’} and ‘piece_index_t’ {aka ‘const enum ’} [-Wenum-compare] 648 | == p->pieceCapturante || | ^~ pcpjcoup.c:650:9: warning: comparison between ‘square_t’ {aka ‘const enum ’} and ‘piece_index_t’ {aka ‘const enum ’} [-Wenum-compare] 650 | == p->pieceCapturante ) ) | ^~ pcpjcoup.c:654:6: warning: comparison between ‘square_t’ {aka ‘const enum ’} and ‘piece_index_t’ {aka ‘const enum ’} [-Wenum-compare] 654 | == p->pieceCapturante ) | ^~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -fshort-enums -DNDEBUG -O3 -O2 -pipe -march=native -c hash.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -fshort-enums -DNDEBUG -O3 -O2 -pipe -march=native -c pcpjtool.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -fshort-enums -DNDEBUG -O3 -O2 -pipe -march=native -c myHashTable.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -fshort-enums -DNDEBUG -O3 -O2 -pipe -march=native -c langues.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -fshort-enums -DNDEBUG -O3 -O2 -pipe -march=native -c screen.c screen.c: In function ‘screen’: screen.c:259:14: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 259 | sprintf( s, "%ld", nb_position ); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from common.h:34, from screen.c:26: /usr/include/bits/stdio2.h:34:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ screen.c:260:5: warning: pointer targets in passing argument 2 of ‘waddnstr’ differ in signedness [-Wpointer-sign] 260 | ScreenPutString( s, ATTR_WHITE_ON_BLACK, 9, 2 ); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from screen.h:36, from screen.c:30: /usr/include/curses.h:823:47: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 823 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ screen.c:262:14: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 262 | sprintf( s, StrCoupsRestants, white_spare_moves, black_spare_moves ); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from common.h:34, from screen.c:26: /usr/include/bits/stdio2.h:34:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ screen.c:263:18: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 263 | if ( strlen( s ) > 9 ) s[ 9 ] = '\0'; | ^ | | | unsigned char * In file included from common.h:39, from screen.c:26: /usr/include/string.h:384:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ screen.c:264:5: warning: pointer targets in passing argument 2 of ‘waddnstr’ differ in signedness [-Wpointer-sign] 264 | ScreenPutString( s, ATTR_WHITE_ON_BLACK, 8, 3 ); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from screen.h:36, from screen.c:30: /usr/include/curses.h:823:47: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 823 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ In file included from /usr/include/string.h:494, from common.h:39, from screen.c:26: In function ‘strcpy’, inlined from ‘screenPosition’ at screen.c:158:2, inlined from ‘screenInit’ at screen.c:233:5: /usr/include/bits/string_fortified.h:90:10: warning: ‘__builtin___strcpy_chk’ accessing between 0 and 51 bytes at offsets 0 and 9 may overlap up to 42 bytes at offset [49, 9] [-Wrestrict] 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -fshort-enums -DNDEBUG -O3 -O2 -pipe -march=native -c moves_order.c moves_order.c:646:1: warning: ‘delete_one_move’ defined but not used [-Wunused-function] 646 | delete_one_move( one_move_t* one_move ) | ^~~~~~~~~~~~~~~ moves_order.c:359:1: warning: ‘collect_all_moves’ defined but not used [-Wunused-function] 359 | collect_all_moves( | ^~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -fshort-enums -DNDEBUG -O3 -O2 -pipe -march=native -c test_moves_order.c test_moves_order.c: In function ‘add_square_constraints’: test_moves_order.c:500:41: warning: comparison between ‘square_t’ {aka ‘const enum ’} and ‘enum ’ [-Wenum-compare] 500 | else if ( exploration->board[ square ] != INDEX_CASE_VIDE ) | ^~ At top level: test_moves_order.c:782:15: warning: ‘add_straigth_line_constraints’ defined but not used [-Wunused-function] 782 | static bool_t add_straigth_line_constraints( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test_moves_order.c: In function ‘add_castling_constraints’: test_moves_order.c:756:21: warning: ‘*((void *)&intermediates+2)’ may be used uninitialized in this function [-Wmaybe-uninitialized] 756 | || ( queen_side && destination == intermediates[ 2 ] ) ) ) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -fshort-enums -DNDEBUG -O3 -O2 -pipe -march=native -c twin_squares.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -fshort-enums -DNDEBUG -O3 -O2 -pipe -march=native -c precise_trajectories.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -fshort-enums -DNDEBUG -O3 -O2 -pipe -march=native -c captInitSquare.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -fshort-enums -DNDEBUG -O3 -O2 -pipe -march=native -c piece.c /bin/sh ../txtc.sh reportbugs.text /bin/sh ../txtc.sh copyright.text x86_64-pc-linux-gnu-gcc -Wall -fshort-enums -DNDEBUG -O3 -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -o Natch main.o cmdline.o distance.o pcpj.o distimmo.o pcpj_deb.o pcpjcapt.o trajet.o explorat.o pcpjcoup.o hash.o pcpjtool.o myHashTable.o langues.o screen.o moves_order.o test_moves_order.o twin_squares.o precise_trajectories.o captInitSquare.o piece.o reportbugs.o copyright.o -lncurses /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: screen.o: undefined reference to symbol 'keypad' /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: *** [Makefile:233: Natch] Error 1 make[2]: Leaving directory '/var/tmp/portage/games-board/natch-2.4-r1/work/Natch-2.4/src' make[1]: *** [Makefile:236: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-board/natch-2.4-r1/work/Natch-2.4' make: *** [Makefile:172: all] Error 2 * ERROR: games-board/natch-2.4-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-board/natch-2.4-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-board/natch-2.4-r1::gentoo'`. * The complete build log is located at '/var/log/portage/games-board:natch-2.4-r1:20190717-033013.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-board/natch-2.4-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-board/natch-2.4-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-board/natch-2.4-r1/work/Natch-2.4' * S: '/var/tmp/portage/games-board/natch-2.4-r1/work/Natch-2.4'