* Package: x11-plugins/wmmand-1.3.2-r1:0 * Repository: gentoo * Maintainer: voyageur@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking wmMand-1.3.2.tar.bz2 to /var/tmp/portage/x11-plugins/wmmand-1.3.2-r1/work >>> Source unpacked in /var/tmp/portage/x11-plugins/wmmand-1.3.2-r1/work >>> Preparing source in /var/tmp/portage/x11-plugins/wmmand-1.3.2-r1/work/wmMand-1.3.2/wmMand ... /var/tmp/portage/x11-plugins/wmmand-1.3.2-r1/work/wmMand-1.3.2 /var/tmp/portage/x11-plugins/wmmand-1.3.2-r1/work/wmMand-1.3.2/wmMand * Applying wmmand-1.3.2-gcc-10.patch ... [ ok ] >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>> Configuring source in /var/tmp/portage/x11-plugins/wmmand-1.3.2-r1/work/wmMand-1.3.2/wmMand ... >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-plugins/wmmand-1.3.2-r1/work/wmMand-1.3.2/wmMand ... make -j4 CC=clang 'CFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int' 'SYSTEM=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' INCDIR= LIBDIR= clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DLinux -c wmMand.c -o wmMand.o clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DLinux -c ../wmgeneral/wmgeneral.c -o ../wmgeneral/wmgeneral.o clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DLinux -c xvgifwr.c -o xvgifwr.o xvgifwr.c:81:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int WriteGIF(fp, pic, ptype, w, h, rmap, gmap, bmap, numcols, colorstyle, ^ xvgifwr.c:241:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void putword(w, fp) ^ xvgifwr.c:241:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xvgifwr.c:334:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void compress(init_bits, outfile, data, len) ^ xvgifwr.c:334:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xvgifwr.c:468:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void output(code) ^ xvgifwr.c:468:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xvgifwr.c:540:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void cl_hash(hsize) /* reset code table */ ^ xvgifwr.c:540:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xvgifwr.c:601:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void char_out(c) ^ xvgifwr.c:601:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xvgifwr.c:620:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void xvbzero(s, len) ^ ../wmgeneral/wmgeneral.c:123:32: error: incompatible pointer to integer conversion passing 'Window *' (aka 'unsigned long *') to parameter of type 'Window' (aka 'unsigned long'); dereference with * [-Wint-conversion] XGetWindowAttributes(display, Root, &attributes); ^~~~ * /usr/include/X11/Xlib.h:2703:20: note: passing argument to parameter here Window /* w */, ^ ../wmgeneral/wmgeneral.c:127:41: error: incompatible pointer to integer conversion passing 'Window *' (aka 'unsigned long *') to parameter of type 'Drawable' (aka 'unsigned long'); dereference with * [-Wint-conversion] err = XpmCreatePixmapFromData(display, Root, pixmap_bytes, &(wmg... ^~~~ * /usr/include/X11/xpm.h:293:15: note: passing argument to parameter 'd' here Drawable d, ^ ../wmgeneral/wmgeneral.c:145:32: error: incompatible pointer to integer conversion passing 'Window *' (aka 'unsigned long *') to parameter of type 'Window' (aka 'unsigned long'); dereference with * [-Wint-conversion] XGetWindowAttributes(display, Root, &attributes); ^~~~ * /usr/include/X11/Xlib.h:2703:20: note: passing argument to parameter here Window /* w */, ^ ../wmgeneral/wmgeneral.c:296:10: error: incompatible integer to pointer conversion assigning to 'Window *' (aka 'unsigned long *') from 'Window' (aka 'unsigned long'); take the address with & [-Wint-conversion] Root = RootWindow(display, screen); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ &( ) ../wmgeneral/wmgeneral.c:317:37: error: incompatible pointer to integer conversion passing 'Window *' (aka 'unsigned long *') to parameter of type 'Window' (aka 'unsigned long'); dereference with * [-Wint-conversion] win = XCreateSimpleWindow(display, Root, mysizehints.x, mysizehints.y, ^~~~ * /usr/include/X11/Xlib.h:1623:25: note: passing argument to parameter here Window /* parent */, ^ ../wmgeneral/wmgeneral.c:346:32: error: incompatible pointer to integer conversion passing 'Window *' (aka 'unsigned long *') to parameter of type 'Drawable' (aka 'unsigned long'); dereference with * [-Wint-conversion] NormalGC = XCreateGC(display, Root, gcm, &gcv); ^~~~ * /usr/include/X11/Xlib.h:1586:22: note: passing argument to parameter here Drawable /* d */, ^ wmMand.c:234:28: error: incompatible pointer to integer conversion passing 'Window *' (aka 'unsigned long *') to parameter of type 'Window' (aka 'unsigned long'); dereference with * [-Wint-conversion] ...XSendEvent(display, Root, True, KeyPressMask, &event); ^~~~ * 6 errors generated. /usr/include/X11/Xlib.h:3147:20: note: passing argument to parameter here Window /* w */, ^ make: *** [Makefile:15: ../wmgeneral/wmgeneral.o] Error 1 make: *** Waiting for unfinished jobs.... wmMand.c:940:13: warning: passing arguments to 'WriteGIF' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WriteGIF(fp_gif, image, 0, width, height... ^ 1 warning and 1 error generated. make: *** [Makefile:15: wmMand.o] Error 1 12 warnings generated. * ERROR: x11-plugins/wmmand-1.3.2-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-plugins/wmmand-1.3.2-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-plugins/wmmand-1.3.2-r1::gentoo'`. * The complete build log is located at '/var/log/portage/x11-plugins:wmmand-1.3.2-r1:20221111-115616.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-plugins/wmmand-1.3.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-plugins/wmmand-1.3.2-r1/temp/environment'. * Working directory: '/var/tmp/portage/x11-plugins/wmmand-1.3.2-r1/work/wmMand-1.3.2/wmMand' * S: '/var/tmp/portage/x11-plugins/wmmand-1.3.2-r1/work/wmMand-1.3.2/wmMand'