* Package: x11-plugins/wmxres-1.2-r1 * 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 wmxres-1.1-0.tar.gz to /var/tmp/portage/x11-plugins/wmxres-1.2-r1/work >>> Source unpacked in /var/tmp/portage/x11-plugins/wmxres-1.2-r1/work >>> Preparing source in /var/tmp/portage/x11-plugins/wmxres-1.2-r1/work/wmxres.app ... * Applying wmxres-debian-1.1-1.2.patch ... [ ok ] * Applying wmxres-1.2-r1-fix-build-system.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-plugins/wmxres-1.2-r1/work/wmxres.app ... >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-plugins/wmxres-1.2-r1/work/wmxres.app ... make -j1 x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -c -DLinux wmxres/wmxres.c -o wmxres/wmxres.o In file included from wmxres/wmxres.c:16: /usr/include/X11/extensions/xf86dga.h:9:2: warning: #warning "xf86dga.h is obsolete and may be removed in the future." [-Wcpp] 9 | #warning "xf86dga.h is obsolete and may be removed in the future." | ^~~~~~~ /usr/include/X11/extensions/xf86dga.h:10:2: warning: #warning "include instead." [-Wcpp] 10 | #warning "include instead." | ^~~~~~~ wmxres/wmxres.c: In function ‘GetXActiveMode’: wmxres/wmxres.c:161:26: warning: ‘%d’ directive writing between 1 and 5 bytes into a region of size between 4 and 8 [-Wformat-overflow=] 161 | sprintf(res_active, "%dx%d", vm_modelines.hdisplay, vm_modelines.vdisplay); | ^~ wmxres/wmxres.c:161:22: note: directive argument in the range [0, 65535] 161 | sprintf(res_active, "%dx%d", vm_modelines.hdisplay, vm_modelines.vdisplay); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from wmxres/wmxres.c:12: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 4 and 12 bytes into a destination of size 10 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -c -DLinux wmgeneral/wmgeneral.c -o wmgeneral/wmgeneral.o x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o wmxres/wmxres wmxres/wmxres.o wmgeneral/wmgeneral.o -lXpm -lXext -lX11 -lXxf86vm /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: wmgeneral/wmgeneral.o:(.bss+0x288): multiple definition of `display'; wmxres/wmxres.o:(.bss+0x8c8): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:12: wmxres] Error 1 * ERROR: x11-plugins/wmxres-1.2-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-plugins/wmxres-1.2-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-plugins/wmxres-1.2-r1::gentoo'`. * The complete build log is located at '/var/log/portage/x11-plugins:wmxres-1.2-r1:20200126-121646.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-plugins/wmxres-1.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-plugins/wmxres-1.2-r1/temp/environment'. * Working directory: '/var/tmp/portage/x11-plugins/wmxres-1.2-r1/work/wmxres.app' * S: '/var/tmp/portage/x11-plugins/wmxres-1.2-r1/work/wmxres.app'