* Package: x11-plugins/wmwork-0.2.5-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 wmwork-0.2.5.tar.gz to /var/tmp/portage/x11-plugins/wmwork-0.2.5-r1/work >>> Source unpacked in /var/tmp/portage/x11-plugins/wmwork-0.2.5-r1/work >>> Preparing source in /var/tmp/portage/x11-plugins/wmwork-0.2.5-r1/work/wmwork-0.2.5/src ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-plugins/wmwork-0.2.5-r1/work/wmwork-0.2.5/src ... ./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 --libdir=/usr/lib64 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc 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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for X... libraries , headers in standard search path checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XNextEvent in -lX11... yes checking for XShapeCombineMask in -lXext... yes checking for XpmCreatePixmapFromData in -lXpm... yes checking for an ANSI C-conforming const... 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... yes checking whether time.h and sys/time.h may both be included... yes 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/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for pid_t... yes checking return type of signal handlers... void checking whether closedir returns void... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for strftime... yes checking for atexit... yes checking for gettimeofday... yes checking for mkdir... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strspn... yes checking for strstr... yes checking for strtol... yes configure: creating ./config.status config.status: creating Makefile config.status: creating wmwork.1 config.status: creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-plugins/wmwork-0.2.5-r1/work/wmwork-0.2.5/src ... make -j1 x86_64-pc-linux-gnu-gcc -Wall -O2 -pipe -march=native -fno-common -I. -c -o wmwork.o wmwork.c wmwork.c: In function ‘read_log’: wmwork.c:514:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 514 | fgets(buffer, sizeof(buffer), F); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmwork.c: In function ‘write_record.part.0’: wmwork.c:617:37: warning: ‘%03li’ directive output may be truncated writing between 3 and 17 bytes into a region of size between 0 and 63 [-Wformat-truncation=] 617 | snprintf(rbuff, sizeof(rbuff), "%s %03li:%02li:%02li", tbuff, sess_time / 3600, sess_time / 60 % 60, sess_time % 60); | ^~~~~ wmwork.c:617:33: note: directive argument in the range [-2562047788015215, 2562047788015215] 617 | snprintf(rbuff, sizeof(rbuff), "%s %03li:%02li:%02li", tbuff, sess_time / 3600, sess_time / 60 % 60, sess_time % 60); | ^~~~~~~~~~~~~~~~~~~~~~ wmwork.c:617:33: note: directive argument in the range [-59, 59] wmwork.c:617:33: note: directive argument in the range [-59, 59] In file included from /usr/include/stdio.h:867, from wmwork.c:13: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 11 and 90 bytes into a destination of size 64 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wall -O2 -pipe -march=native -fno-common -I. -c -o wmgeneral.o wmgeneral.c x86_64-pc-linux-gnu-gcc -Wall -Wl,-O1 -Wl,--as-needed wmwork.o wmgeneral.o -lXpm -lXext -lX11 -o wmwork /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: wmgeneral.o:(.bss+0x328): multiple definition of `display'; wmwork.o:(.bss+0x1060): first defined here collect2: error: ld returned 1 exit status make: *** [: wmwork] Error 1 * ERROR: x11-plugins/wmwork-0.2.5-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-plugins/wmwork-0.2.5-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-plugins/wmwork-0.2.5-r1::gentoo'`. * The complete build log is located at '/var/log/portage/x11-plugins:wmwork-0.2.5-r1:20200127-070605.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-plugins/wmwork-0.2.5-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-plugins/wmwork-0.2.5-r1/temp/environment'. * Working directory: '/var/tmp/portage/x11-plugins/wmwork-0.2.5-r1/work/wmwork-0.2.5/src' * S: '/var/tmp/portage/x11-plugins/wmwork-0.2.5-r1/work/wmwork-0.2.5/src'