* Package: x11-plugins/wmapm-3.1-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 wmapm-3.1.tar.gz to /var/tmp/portage/x11-plugins/wmapm-3.1-r2/work >>> Source unpacked in /var/tmp/portage/x11-plugins/wmapm-3.1-r2/work >>> Preparing source in /var/tmp/portage/x11-plugins/wmapm-3.1-r2/work/wmapm-3.1/wmapm ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-plugins/wmapm-3.1-r2/work/wmapm-3.1/wmapm ... >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-plugins/wmapm-3.1-r2/work/wmapm-3.1/wmapm ... make -j1 CC=x86_64-pc-linux-gnu-gcc 'COPTS=-O2 -pipe -march=native -fno-common' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DLinux -c wmapm.c -o wmapm.o -I/usr/X11R6/include wmapm.c: In function ‘main’: wmapm.c:313:50: warning: format ‘%i’ expects a matching ‘int’ argument [-Wformat=] 313 | fprintf(stderr, "Cannot read APM information: %i\n"); | ~^ | | | int wmapm.c: In function ‘pressEvent’: wmapm.c:675:4: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 675 | system("apm -S"); | ^~~~~~~~~~~~~~~~ wmapm.c:692:4: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 692 | system("apm -s"); | ^~~~~~~~~~~~~~~~ wmapm.c: In function ‘apm_read’: wmapm.c:755:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 755 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmapm.c:794:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 794 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmapm.c:799:6: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 799 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmapm.c:800:6: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 800 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmapm.c:808:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 808 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmapm.c:814:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 814 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmapm.c:818:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 818 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmapm.c:820:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 820 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DLinux -c ../wmgeneral/wmgeneral.c -o ../wmgeneral/wmgeneral.o -I/usr/X11R6/include x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o wmapm wmapm.o ../wmgeneral/wmgeneral.o -I/usr/X11R6/include -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+0x288): multiple definition of `display'; wmapm.o:(.bss+0x10): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:17: wmapm] Error 1 * ERROR: x11-plugins/wmapm-3.1-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-plugins/wmapm-3.1-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-plugins/wmapm-3.1-r2::gentoo'`. * The complete build log is located at '/var/log/portage/x11-plugins:wmapm-3.1-r2:20200204-183348.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-plugins/wmapm-3.1-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-plugins/wmapm-3.1-r2/temp/environment'. * Working directory: '/var/tmp/portage/x11-plugins/wmapm-3.1-r2/work/wmapm-3.1/wmapm' * S: '/var/tmp/portage/x11-plugins/wmapm-3.1-r2/work/wmapm-3.1/wmapm'