* Package: games-util/etswitch-0.1.14-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 etswitch-0.1.14.tar.gz to /var/tmp/portage/games-util/etswitch-0.1.14-r1/work >>> Source unpacked in /var/tmp/portage/games-util/etswitch-0.1.14-r1/work >>> Preparing source in /var/tmp/portage/games-util/etswitch-0.1.14-r1/work/etswitch-0.1.14 ... * Applying etswitch-0.1.14-desktop-entry.patch ... [ ok ] * Applying etswitch-0.1.14-glibc.patch ... [ ok ] * Applying etswitch-0.1.14-fno-common.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-util/etswitch-0.1.14-r1/work/etswitch-0.1.14 ... * econf: updating etswitch-0.1.14/config/config.sub with /usr/share/gnuconfig/config.sub * econf: updating etswitch-0.1.14/config/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 --libdir=/usr/lib64 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 gawk... gawk checking whether make sets $(MAKE)... yes checking for gawk... (cached) gawk checking for x86_64-pc-linux-gnu-gcc... clang 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 clang accepts -g... yes checking for clang option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of clang... none checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking how to run the C preprocessor... clang -E checking for X... libraries /usr/lib64, headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for XmuClientWindow in -lXmu... yes checking for main in -lXt... yes checking for XF86VidModeGetAllModeLines in -lXxf86vm... yes checking for main in -lXpm... yes checking for main in -lpthread... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for egrep... grep -E checking for ANSI C header files... no 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for unistd.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking linux/soundcard.h usability... yes checking linux/soundcard.h presence... yes checking for linux/soundcard.h... yes checking machine/soundcard.h usability... no checking machine/soundcard.h presence... no checking for machine/soundcard.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking linux/joystick.h usability... yes checking linux/joystick.h presence... yes checking for linux/joystick.h... yes checking for size_t... yes checking whether clang needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking return type of signal handlers... void checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking for mkdir... yes checking for strerror... yes configure: creating ./config.status config.status: creating Makefile config.status: creating ico/Makefile config.status: creating src/Makefile config.status: creating docs/Makefile config.status: creating etswitch.desktop config.status: creating config.h config.status: executing depfiles commands etswitch has been configured successfully, hopefully. The author of etswitch is unemployed so if your company is hiering he is looking for work. Build type : Debug : no Sound/mixer support : linux xf86vm support : yes Joystick/gamepad : 1 Compiler version : Compiler flags : -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int Linker flags : -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Installing binary to : /usr/bin Installing .desktop to : /usr/share/applications/ >>> Source configured. '/var/tmp/portage/games-util/etswitch-0.1.14-r1/temp/clang14.log' -> '/var/tmp/clang/games-util/etswitch-0.1.14-r1/clang14.log' '/var/tmp/portage/games-util/etswitch-0.1.14-r1/temp/clang15.log' -> '/var/tmp/clang/games-util/etswitch-0.1.14-r1/clang15.log' >>> Compiling source in /var/tmp/portage/games-util/etswitch-0.1.14-r1/work/etswitch-0.1.14 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/games-util/etswitch-0.1.14-r1/work/etswitch-0.1.14' Making all in src make[2]: Entering directory '/var/tmp/portage/games-util/etswitch-0.1.14-r1/work/etswitch-0.1.14/src' clang -DHAVE_CONFIG_H -I. -I. -I.. -Wall -pedantic -fno-strict-aliasing -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o etswitch-etswitch.o `test -f 'etswitch.c' || echo './'`etswitch.c clang -DHAVE_CONFIG_H -I. -I. -I.. -Wall -pedantic -fno-strict-aliasing -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o etswitch-malloc.o `test -f 'malloc.c' || echo './'`malloc.c clang -DHAVE_CONFIG_H -I. -I. -I.. -Wall -pedantic -fno-strict-aliasing -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o etswitch-conf.o `test -f 'conf.c' || echo './'`conf.c clang -DHAVE_CONFIG_H -I. -I. -I.. -Wall -pedantic -fno-strict-aliasing -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o etswitch-read_wid.o `test -f 'read_wid.c' || echo './'`read_wid.c In file included from read_wid.c:57: ./etswitch.h:49:11: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void usage(); ^ void ./etswitch.h:50:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void version(); ^ void ./etswitch.h:55:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void win_init(); ^ void ./etswitch.h:56:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void win_close(); ^ void ./etswitch.h:64:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void get_res(); ^ void ./etswitch.h:67:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void gammadown(); ^ void ./etswitch.h:89:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void select_bosskey(); ^ void read_wid.c:63:12: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] extern int errno; ^ /usr/include/errno.h:38:35: note: expanded from macro 'errno' # define errno (*__errno_location ()) ^ read_wid.c:72:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void readwid_conf(){ ^ void read_wid.c:163:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void readwid_internal_conf(){ ^ void In file included from etswitch.c:89: ./etswitch.h:49:11: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void usage(); ^ void ./etswitch.h:50:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void version(); ^ void ./etswitch.h:55:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void win_init(); ^ void ./etswitch.h:56:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void win_close(); ^ void ./etswitch.h:64:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void get_res(); ^ void ./etswitch.h:67:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void gammadown(); ^ void ./etswitch.h:89:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void select_bosskey(); ^ void In file included from etswitch.c:91: ./conf.h:30:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] KeySym read_conf(); ^ void etswitch.c:102:12: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] extern int errno; ^ /usr/include/errno.h:38:35: note: expanded from macro 'errno' # define errno (*__errno_location ()) ^ In file included from conf.c:80: ./etswitch.h:49:11: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void usage(); ^ void ./etswitch.h:50:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void version(); ^ void ./etswitch.h:55:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void win_init(); ^ void ./etswitch.h:56:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void win_close(); ^ void ./etswitch.h:64:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void get_res(); ^ void ./etswitch.h:67:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void gammadown(); ^ void ./etswitch.h:89:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void select_bosskey(); ^ void In file included from conf.c:81: ./conf.h:30:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] KeySym read_conf(); ^ void conf.c:84:12: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] extern int errno; ^ /usr/include/errno.h:38:35: note: expanded from macro 'errno' # define errno (*__errno_location ()) ^ conf.c:86:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] KeySym read_conf(){ ^ void conf.c:118:9: warning: variable 'key' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if(r == read_n){ ^~~~~~~~~~~ conf.c:129:8: note: uninitialized use occurs here if(key == NoSymbol){ ^~~ conf.c:118:6: note: remove the 'if' if its condition is always true if(r == read_n){ ^~~~~~~~~~~~~~~ conf.c:109:5: warning: variable 'key' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if(stat((char *)file, &stat_ptr) == 0){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.c:129:8: note: uninitialized use occurs here if(key == NoSymbol){ ^~~ conf.c:109:2: note: remove the 'if' if its condition is always true if(stat((char *)file, &stat_ptr) == 0){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.c:106:9: warning: variable 'key' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if (!(fp = open((char *)file,O_RDONLY))){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.c:129:8: note: uninitialized use occurs here if(key == NoSymbol){ ^~~ conf.c:106:5: note: remove the 'if' if its condition is always false if (!(fp = open((char *)file,O_RDONLY))){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.c:94:15: note: initialize the variable 'key' to silence this warning KeySym key; ^ = 0 etswitch.c:638:14: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] key = XKeycodeToKeysym(win.d, i, 0); ^ /usr/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /usr/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ etswitch.c:707:30: warning: use of logical '||' with constant operand [-Wconstant-logical-operand] if(flock(lock_fd,LOCK_UN || LOCK_NB)){ ^ ~~~~~~~ etswitch.c:707:30: note: use '|' for a bitwise operation if(flock(lock_fd,LOCK_UN || LOCK_NB)){ ^~ | etswitch.c:302:13: warning: variable 'ALT' set but not used [-Wunused-but-set-variable] KeyCode ALT, LW, RW, Z, S; /* init hardcoded KeySyms */ ^ etswitch.c:289:11: warning: variable 'key_string' set but not used [-Wunused-but-set-variable] char *key_string; ^ etswitch.c:720:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void win_init(){ ^ void etswitch.c:777:63: error: incompatible pointer to integer conversion passing 'int *' to parameter of type 'int'; dereference with * [-Wint-conversion] ...win.do_accel, win.do_threshold, win.accel_numerator_return[0], win.accel... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * /usr/include/X11/Xlib.h:2073:32: note: passing argument to parameter here int /* accel_numerator */, ^ etswitch.c:777:94: error: incompatible pointer to integer conversion passing 'int *' to parameter of type 'int'; dereference with * [-Wint-conversion] ...win.accel_numerator_return[0], win.accel_denominator_return[0], win.thre... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * /usr/include/X11/Xlib.h:2074:34: note: passing argument to parameter here int /* accel_denominator */, ^ etswitch.c:777:127: error: incompatible pointer to integer conversion passing 'int *' to parameter of type 'int'; dereference with * [-Wint-conversion] ...win.accel_denominator_return[0], win.threshold_return[0]); ^~~~~~~~~~~~~~~~~~~~~~~ * /usr/include/X11/Xlib.h:2076:1: note: passing argument to parameter here ); ^ etswitch.c:792:25: warning: incompatible function pointer types passing 'void (*)(Display *)' (aka 'void (*)(struct _XDisplay *)') to parameter of type 'XIOErrorHandler' (aka 'int (*)(struct _XDisplay *)') [-Wincompatible-function-pointer-types] if(!XSetIOErrorHandler(&ioerrorHandler)){ ^~~~~~~~~~~~~~~ /usr/include/X11/Xlib.h:1859:1: note: passing argument to parameter here ); ^ etswitch.c:882:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void win_close(){ ^ void etswitch.c:891:16: warning: variable 'level' set but not used [-Wunused-but-set-variable] static int level = 0; ^ etswitch.c:1022:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!strncmp(p->WMNAME, text_prop.value, strlen(p->WM... ^~~~~~~~~~~~~~~ /usr/include/string.h:159:51: note: passing argument to parameter '__s2' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ etswitch.c:1025:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!strcmp(text_prop.value, p->WMNAME)) wmname_check = 1; ^~~~~~~~~~~~~~~ /usr/include/string.h:156:32: note: passing argument to parameter '__s1' here extern int strcmp (const char *__s1, const char *__s2) ^ etswitch.c:1226:67: error: incompatible pointer to integer conversion passing 'int *' to parameter of type 'int'; dereference with * [-Wint-conversion] ...win.do_accel, win.do_threshold, win.accel_numerator_return[0], win.accel... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * /usr/include/X11/Xlib.h:2073:32: note: passing argument to parameter here int /* accel_numerator */, ^ etswitch.c:1226:98: error: incompatible pointer to integer conversion passing 'int *' to parameter of type 'int'; dereference with * [-Wint-conversion] ...win.accel_numerator_return[0], win.accel_denominator_return[0], win.thre... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * /usr/include/X11/Xlib.h:2074:34: note: passing argument to parameter here int /* accel_denominator */, ^ etswitch.c:1226:131: error: incompatible pointer to integer conversion passing 'int *' to parameter of type 'int'; dereference with * [-Wint-conversion] ...win.accel_denominator_return[0], win.threshold_return[0]); ^~~~~~~~~~~~~~~~~~~~~~~ * /usr/include/X11/Xlib.h:2076:1: note: passing argument to parameter here ); ^ etswitch.c:1305:67: error: incompatible pointer to integer conversion passing 'int *' to parameter of type 'int'; dereference with * [-Wint-conversion] ...win.do_accel, win.do_threshold, win.accel_numerator_return[1], win.accel... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * /usr/include/X11/Xlib.h:2073:32: note: passing argument to parameter here int /* accel_numerator */, ^ etswitch.c:1305:98: error: incompatible pointer to integer conversion passing 'int *' to parameter of type 'int'; dereference with * [-Wint-conversion] ...win.accel_numerator_return[1], win.accel_denominator_return[1], win.thre... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * /usr/include/X11/Xlib.h:2074:34: note: passing argument to parameter here int /* accel_denominator */, ^ etswitch.c:1305:131: error: incompatible pointer to integer conversion passing 'int *' to parameter of type 'int'; dereference with * [-Wint-conversion] ...win.accel_denominator_return[1], win.threshold_return[1]); ^~~~~~~~~~~~~~~~~~~~~~~ * /usr/include/X11/Xlib.h:2076:1: note: passing argument to parameter here ); ^ etswitch.c:1157:9: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result = 0; ^ etswitch.c:1158:9: warning: variable 's' set but not used [-Wunused-but-set-variable] int s; /* set prio */ ^ etswitch.c:1160:9: warning: unused variable 'rc' [-Wunused-variable] int rc; ^ etswitch.c:1346:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void get_res(){ ^ void etswitch.c:1394:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void gammadown(){ ^ void etswitch.c:1619:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void select_bosskey(){ ^ void etswitch.c:1706:13: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] key = XKeycodeToKeysym(d, event.xkey.keycode, 0); ^ /usr/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /usr/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ etswitch.c:1623:10: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] int dummy = 1; ^ etswitch.c:1863:9: warning: variable 'font_height' set but not used [-Wunused-but-set-variable] int font_height; ^ 28 warnings and 9 errors generated. 13 warnings generated. make[2]: *** [Makefile:258: etswitch-etswitch.o] Error 1 make[2]: *** Waiting for unfinished jobs.... 10 warnings generated. make[2]: Leaving directory '/var/tmp/portage/games-util/etswitch-0.1.14-r1/work/etswitch-0.1.14/src' make[1]: *** [Makefile:260: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-util/etswitch-0.1.14-r1/work/etswitch-0.1.14' make: *** [Makefile:179: all] Error 2 * ERROR: games-util/etswitch-0.1.14-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-util/etswitch-0.1.14-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-util/etswitch-0.1.14-r1::gentoo'`. * The complete build log is located at '/var/log/portage/games-util:etswitch-0.1.14-r1:20221004-053756.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-util/etswitch-0.1.14-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-util/etswitch-0.1.14-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-util/etswitch-0.1.14-r1/work/etswitch-0.1.14' * S: '/var/tmp/portage/games-util/etswitch-0.1.14-r1/work/etswitch-0.1.14'