* Package: x11-plugins/wmgrabimage-0.72-r2 * 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 wmGrabImage-0.72.tgz to /var/tmp/portage/x11-plugins/wmgrabimage-0.72-r2/work >>> Source unpacked in /var/tmp/portage/x11-plugins/wmgrabimage-0.72-r2/work >>> Preparing source in /var/tmp/portage/x11-plugins/wmgrabimage-0.72-r2/work/wmGrabImage-0.72/wmGrabImage ... * Applying wmgrabimage-noman.patch ... patching file Makefile Hunk #1 succeeded at 30 with fuzz 2. [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-plugins/wmgrabimage-0.72-r2/work/wmGrabImage-0.72/wmGrabImage ... >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-plugins/wmgrabimage-0.72-r2/work/wmGrabImage-0.72/wmGrabImage ... make -j1 clean for i in wmGrabImage.o ../wmgeneral/wmgeneral.o ; do \ rm -f $i; \ done rm -f wmGrabImage make -j1 'CFLAGS=-O2 -pipe -march=native -fno-common -Wall' 'SYSTEM=-Wl,-O1 -Wl,--as-needed' gcc -O2 -pipe -march=native -fno-common -Wall -DLinux -c wmGrabImage.c -o wmGrabImage.o -I/usr/X11R6/include/X11 wmGrabImage.c: In function ‘main’: wmGrabImage.c:332:8: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 332 | if (Attributes.nalloc_pixels > 0) | ^~ wmGrabImage.c:341:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 341 | if ( NewShapeMask != 0 ) | ^~ wmGrabImage.c:162:29: warning: variable ‘CurrentJD’ set but not used [-Wunused-but-set-variable] 162 | double UT, hour24(), jd(), CurrentJD, OldFileUT, FileUT; | ^~~~~~~~~ wmGrabImage.c:157:9: warning: variable ‘s’ set but not used [-Wunused-but-set-variable] 157 | int n, s, m, dt1, dt2, dt3, len; | ^ wmGrabImage.c:157:6: warning: variable ‘n’ set but not used [-Wunused-but-set-variable] 157 | int n, s, m, dt1, dt2, dt3, len; | ^ wmGrabImage.c:432:6: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 432 | system(command); | ^~~~~~~~~~~~~~~ wmGrabImage.c: In function ‘pressEvent’: wmGrabImage.c:608:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 608 | system(Command); | ^~~~~~~~~~~~~~~ wmGrabImage.c:619:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 619 | system(Command); | ^~~~~~~~~~~~~~~ wmGrabImage.c:607:23: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 509 [-Wformat-overflow=] 607 | sprintf(Command, "xv %s &", ImageFileName); | ^~ ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from wmGrabImage.c:98: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 6 and 1029 bytes into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmGrabImage.c:618:46: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 486 [-Wformat-overflow=] 618 | sprintf(Command, "netscape -remote 'openURL(%s)' || netscape '%s' &", HttpURL, HttpURL); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:867, from wmGrabImage.c:98: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 46 and 2092 bytes into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmGrabImage.c: In function ‘main’: wmGrabImage.c:187:43: warning: ‘%s’ directive writing up to 255 bytes into a region of size 242 [-Wformat-overflow=] 187 | sprintf(XpmFileName, "%s/.wmGrabImage/%s.xpm", getenv("HOME"), ImageName); | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:867, from wmGrabImage.c:98: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 19 or more bytes (assuming 274) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -pipe -march=native -fno-common -Wall -DLinux -c ../wmgeneral/wmgeneral.c -o ../wmgeneral/wmgeneral.o -I/usr/X11R6/include/X11 gcc -O2 -pipe -march=native -fno-common -Wall -Wl,-O1 -Wl,--as-needed -o wmGrabImage wmGrabImage.o ../wmgeneral/wmgeneral.o -I/usr/X11R6/include/X11 -L/usr/X11R6/lib -lXpm -lX11 -lXext /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../wmgeneral/wmgeneral.o:(.bss+0x280): multiple definition of `display'; wmGrabImage.o:(.bss+0xe40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../wmgeneral/wmgeneral.o:(.bss+0x278): multiple definition of `Root'; wmGrabImage.o:(.bss+0xe38): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../wmgeneral/wmgeneral.o:(.bss+0x180): multiple definition of `wmgen'; wmGrabImage.o:(.bss+0xd40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../wmgeneral/wmgeneral.o:(.bss+0x270): multiple definition of `NormalGC'; wmGrabImage.o:(.bss+0xe30): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:22: wmGrabImage] Error 1 * ERROR: x11-plugins/wmgrabimage-0.72-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-plugins/wmgrabimage-0.72-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-plugins/wmgrabimage-0.72-r2::gentoo'`. * The complete build log is located at '/var/log/portage/x11-plugins:wmgrabimage-0.72-r2:20200128-000615.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-plugins/wmgrabimage-0.72-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-plugins/wmgrabimage-0.72-r2/temp/environment'. * Working directory: '/var/tmp/portage/x11-plugins/wmgrabimage-0.72-r2/work/wmGrabImage-0.72/wmGrabImage' * S: '/var/tmp/portage/x11-plugins/wmgrabimage-0.72-r2/work/wmGrabImage-0.72/wmGrabImage'