* Package: games-puzzle/scramble-0.9.5-r1: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 scramble-0.9.5.tar.gz to /var/tmp/portage/games-puzzle/scramble-0.9.5-r1/work >>> Source unpacked in /var/tmp/portage/games-puzzle/scramble-0.9.5-r1/work >>> Preparing source in /var/tmp/portage/games-puzzle/scramble-0.9.5-r1/work/scramble-0.9.5 ... * Running eautoreconf in '/var/tmp/portage/games-puzzle/scramble-0.9.5-r1/work/scramble-0.9.5' ... * Running 'aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: scramble-0.9.5/ >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook (2022-12-12T18:32)! * Clang 16 testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/games-puzzle/scramble-0.9.5-r1/work/scramble-0.9.5 ... * econf: updating scramble-0.9.5/config.sub with /usr/share/gnuconfig/config.sub * econf: updating scramble-0.9.5/config.guess with /usr/share/gnuconfig/config.guess ./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 --disable-silent-rules --docdir=/usr/share/doc/scramble-0.9.5-r1 --htmldir=/usr/share/doc/scramble-0.9.5-r1/html --libdir=/usr/lib64 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-pc-linux-gnu-gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of clang... none checking for atexit... yes checking for an ANSI C-conforming const... yes checking for GNU libc compatible malloc... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for SDL... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for Mix_OpenAudio in -lSDL_mixer... yes checking for SDL/SDL_mixer.h... yes checking for TTF_Quit in -lSDL_ttf... yes checking for SDL/SDL_ttf.h... yes checking for IMG_Load in -lSDL_image... yes checking for SDL/SDL_image.h... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating pics/Makefile config.status: creating sounds/Makefile config.status: creating fonts/Makefile config.status: creating src/Makefile config.status: executing depfiles commands >>> Source configured. '/var/tmp/portage/games-puzzle/scramble-0.9.5-r1/temp/clang16-errors.log' -> '//var/tmp/clang/games-puzzle/scramble-0.9.5-r1/clang16-errors.log' '/var/tmp/portage/games-puzzle/scramble-0.9.5-r1/temp/clang16-safe.log' -> '//var/tmp/clang/games-puzzle/scramble-0.9.5-r1/clang16-safe.log' >>> Compiling source in /var/tmp/portage/games-puzzle/scramble-0.9.5-r1/work/scramble-0.9.5 ... make -j4 Making all in pics make[1]: Entering directory '/var/tmp/portage/games-puzzle/scramble-0.9.5-r1/work/scramble-0.9.5/pics' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/var/tmp/portage/games-puzzle/scramble-0.9.5-r1/work/scramble-0.9.5/pics' Making all in sounds make[1]: Entering directory '/var/tmp/portage/games-puzzle/scramble-0.9.5-r1/work/scramble-0.9.5/sounds' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/var/tmp/portage/games-puzzle/scramble-0.9.5-r1/work/scramble-0.9.5/sounds' Making all in fonts make[1]: Entering directory '/var/tmp/portage/games-puzzle/scramble-0.9.5-r1/work/scramble-0.9.5/fonts' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/var/tmp/portage/games-puzzle/scramble-0.9.5-r1/work/scramble-0.9.5/fonts' Making all in src make[1]: Entering directory '/var/tmp/portage/games-puzzle/scramble-0.9.5-r1/work/scramble-0.9.5/src' clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"scramble\" -DVERSION=\"0.9.5\" -DHAVE_ATEXIT=1 -DHAVE_MALLOC=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Dsg_data_path=\"/usr/share/scramble/\" -c -o scramble.o scramble.c clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"scramble\" -DVERSION=\"0.9.5\" -DHAVE_ATEXIT=1 -DHAVE_MALLOC=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Dsg_data_path=\"/usr/share/scramble/\" -c -o sound.o sound.c clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"scramble\" -DVERSION=\"0.9.5\" -DHAVE_ATEXIT=1 -DHAVE_MALLOC=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Dsg_data_path=\"/usr/share/scramble/\" -c -o logo.o logo.c clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"scramble\" -DVERSION=\"0.9.5\" -DHAVE_ATEXIT=1 -DHAVE_MALLOC=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Dsg_data_path=\"/usr/share/scramble/\" -c -o gfx.o gfx.c scramble.c:210:49: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ...fprintf(out, "%s %d %d\n", highscore[i].name, highscore[i].level, highsc... ~~ ^~~~~~~~~~~~~~~~~~ %lu scramble.c:210:69: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ..."%s %d %d\n", highscore[i].name, highscore[i].level, highscore[i].score); ~~ ^~~~~~~~~~~~~~~~~~ %lu scramble.c:226:22: warning: format specifies type 'char *' but the argument has type 'char (*)[16]' [-Wformat] fscanf(in, "%s\n", &highscore[i].name); ~~ ^~~~~~~~~~~~~~~~~~ scramble.c:228:22: warning: format specifies type 'int *' but the argument has type 'unsigned long *' [-Wformat] fscanf(in, "%d\n", &highscore[i].level); ~~ ^~~~~~~~~~~~~~~~~~~ %ld scramble.c:230:22: warning: format specifies type 'int *' but the argument has type 'unsigned long *' [-Wformat] fscanf(in, "%d\n", &highscore[i].score); ~~ ^~~~~~~~~~~~~~~~~~~ %ld scramble.c:543:3: error: non-void function 'moveLetter' should return a value [-Wreturn-type] return; ^ scramble.c:572:2: error: call to undeclared function 'getWord'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] getWord(scratch); ^ scramble.c:691:22: warning: 'size' argument to memset is '0'; did you mean to transpose the last two arguments? [-Wmemset-transposed-args] memset(lastWord, 6, 0); ^ scramble.c:691:22: note: parenthesize the third argument to silence scramble.c:722:24: warning: 'size' argument to memset is '0'; did you mean to transpose the last two arguments? [-Wmemset-transposed-args] memset(lastWord, 6, 0); ^ scramble.c:722:24: note: parenthesize the third argument to silence scramble.c:729:22: warning: 'size' argument to memset is '0'; did you mean to transpose the last two arguments? [-Wmemset-transposed-args] memset(lastWord, 6, 0); ^ scramble.c:729:22: note: parenthesize the third argument to silence scramble.c:774:12: warning: 231 enumeration values not handled in switch: 'SDLK_UNKNOWN', 'SDLK_BACKSPACE', 'SDLK_TAB'... [-Wswitch] switch(event.key.keysym.sym) { ^~~~~~~~~~~~~~~~~~~~ scramble.c:880:55: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ...sprintf(str, "%s -- %d -- %d", highscore[i].name, highscore[i].level, hi... ~~ ^~~~~~~~~~~~~~~~~~ %lu scramble.c:880:75: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ...%d -- %d", highscore[i].name, highscore[i].level, highscore[i].score); ~~ ^~~~~~~~~~~~~~~~~~ %lu scramble.c:894:12: warning: 231 enumeration values not handled in switch: 'SDLK_UNKNOWN', 'SDLK_BACKSPACE', 'SDLK_TAB'... [-Wswitch] switch(event.key.keysym.sym) { ^~~~~~~~~~~~~~~~~~~~ scramble.c:985:12: warning: 205 enumeration values not handled in switch: 'SDLK_UNKNOWN', 'SDLK_TAB', 'SDLK_CLEAR'... [-Wswitch] switch(event.key.keysym.sym) { ^~~~~~~~~~~~~~~~~~~~ scramble.c:1165:11: warning: 196 enumeration values not handled in switch: 'SDLK_UNKNOWN', 'SDLK_CLEAR', 'SDLK_PAUSE'... [-Wswitch] switch(event.key.keysym.sym) { ^~~~~~~~~~~~~~~~~~~~ clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"scramble\" -DVERSION=\"0.9.5\" -DHAVE_ATEXIT=1 -DHAVE_MALLOC=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Dsg_data_path=\"/usr/share/scramble/\" -c -o perm.o perm.c scramble.c:1415:2: error: call to undeclared function 'initDictionary'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] initDictionary(dictionary); ^ scramble.c:1415:2: note: did you mean 'initDictonary'? scramble.c:35:13: note: 'initDictonary' declared here extern void initDictonary(char * letters); ^ 14 warnings and 3 errors generated. make[1]: *** [Makefile:379: scramble.o] Error 1 make[1]: *** Waiting for unfinished jobs.... perm.c:51:2: error: call to undeclared function 'SE_Quit'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] SE_Quit(); ^ perm.c:110:3: error: call to undeclared function 'SE_Error'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] SE_Error("Out of Memory."); ^ perm.c:122:3: error: call to undeclared function 'SE_Error'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] SE_Error("Out of Memory."); ^ perm.c:160:3: error: call to undeclared function 'SE_Error'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] SE_Error("resize failed. Out of memory."); ^ perm.c:161:3: error: call to undeclared function 'SE_Quit'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] SE_Quit(); ^ perm.c:207:3: error: call to undeclared function 'SE_Error'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] SE_Error("Out of memory."); ^ perm.c:208:3: error: call to undeclared function 'SE_Quit'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] SE_Quit(); ^ perm.c:217:3: error: call to undeclared function 'SE_Error'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] SE_Error("file %s doesn't exist.", filename); ^ perm.c:218:3: error: call to undeclared function 'SE_Quit'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] SE_Quit(); ^ perm.c:264:4: error: call to undeclared function 'SE_Error'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] SE_Error("Out of Memory."); ^ 10 errors generated. make[1]: *** [Makefile:379: perm.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-puzzle/scramble-0.9.5-r1/work/scramble-0.9.5/src' make: *** [Makefile:429: all-recursive] Error 1 * ERROR: games-puzzle/scramble-0.9.5-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-puzzle/scramble-0.9.5-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-puzzle/scramble-0.9.5-r1::gentoo'`. * The complete build log is located at '/var/log/portage/games-puzzle:scramble-0.9.5-r1:20221213-100628.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-puzzle/scramble-0.9.5-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-puzzle/scramble-0.9.5-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-puzzle/scramble-0.9.5-r1/work/scramble-0.9.5' * S: '/var/tmp/portage/games-puzzle/scramble-0.9.5-r1/work/scramble-0.9.5'