* Package: x11-plugins/wmpower-0.4.3-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 wmpower-0.4.3.tar.bz2 to /var/tmp/portage/x11-plugins/wmpower-0.4.3-r1/work >>> Source unpacked in /var/tmp/portage/x11-plugins/wmpower-0.4.3-r1/work >>> Preparing source in /var/tmp/portage/x11-plugins/wmpower-0.4.3-r1/work/wmpower-0.4.3 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-plugins/wmpower-0.4.3-r1/work/wmpower-0.4.3 ... ./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 --disable-dependency-tracking --docdir=/usr/share/doc/wmpower-0.4.3-r1 --htmldir=/usr/share/doc/wmpower-0.4.3-r1/html --libdir=/usr/lib64 MY_CFLAGS=-O2 -pipe -march=native -fno-common configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c 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 ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for machine class... x86_64 checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... 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 stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for string.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for sys/types.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for sys/stat.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking envz.h usability... yes checking envz.h presence... yes checking for envz.h... yes checking X11/X.h usability... yes checking X11/X.h presence... yes checking for X11/X.h... yes checking X11/Xlib.h usability... yes checking X11/Xlib.h presence... yes checking for X11/Xlib.h... yes checking X11/xpm.h usability... yes checking X11/xpm.h presence... yes checking for X11/xpm.h... yes checking X11/extensions/shape.h usability... yes checking X11/extensions/shape.h presence... yes checking for X11/extensions/shape.h... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_create in -lpthread... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/dockapp/Makefile config.status: creating src/power_management/Makefile config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-plugins/wmpower-0.4.3-r1/work/wmpower-0.4.3 ... make -j1 prefix=/usr/ Making all in src make[1]: Entering directory '/var/tmp/portage/x11-plugins/wmpower-0.4.3-r1/work/wmpower-0.4.3/src' Making all in dockapp make[2]: Entering directory '/var/tmp/portage/x11-plugins/wmpower-0.4.3-r1/work/wmpower-0.4.3/src/dockapp' x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"wmpower\" -DPACKAGE_TARNAME=\"wmpower\" -DPACKAGE_VERSION=\"0.4.3\" -DPACKAGE_STRING=\"wmpower\ 0.4.3\" -DPACKAGE_BUGREPORT=\"michele.noberasco@tiscali.it\" -DPACKAGE=\"wmpower\" -DVERSION=\"0.4.3\" -D_GNU_SOURCE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDARG_H=1 -DHAVE_STRING_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_PWD_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_ENVZ_H=1 -DHAVE_X11_X_H=1 -DHAVE_X11_XLIB_H=1 -DHAVE_X11_XPM_H=1 -DHAVE_X11_EXTENSIONS_SHAPE_H=1 -DHAVE_DIRENT_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_LIBPTHREAD=1 -I. -I. -O2 -pipe -march=native -fno-common -c `test -f 'dockapp.c' || echo './'`dockapp.c rm -f libdockapp.a ar cru libdockapp.a dockapp.o x86_64-pc-linux-gnu-ranlib libdockapp.a make[2]: Leaving directory '/var/tmp/portage/x11-plugins/wmpower-0.4.3-r1/work/wmpower-0.4.3/src/dockapp' Making all in power_management make[2]: Entering directory '/var/tmp/portage/x11-plugins/wmpower-0.4.3-r1/work/wmpower-0.4.3/src/power_management' x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"wmpower\" -DPACKAGE_TARNAME=\"wmpower\" -DPACKAGE_VERSION=\"0.4.3\" -DPACKAGE_STRING=\"wmpower\ 0.4.3\" -DPACKAGE_BUGREPORT=\"michele.noberasco@tiscali.it\" -DPACKAGE=\"wmpower\" -DVERSION=\"0.4.3\" -D_GNU_SOURCE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDARG_H=1 -DHAVE_STRING_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_PWD_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_ENVZ_H=1 -DHAVE_X11_X_H=1 -DHAVE_X11_XLIB_H=1 -DHAVE_X11_XPM_H=1 -DHAVE_X11_EXTENSIONS_SHAPE_H=1 -DHAVE_DIRENT_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_LIBPTHREAD=1 -I. -I. -Iacpi -Iapm -Icompal -Idell -Itoshiba -Icpufreq -Ilib_utils -DX86=1 -O2 -pipe -march=native -fno-common -c `test -f 'power_management.c' || echo './'`power_management.c power_management.c: In function ‘internal_set_pm_features’: power_management.c:295:7: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 295 | system("/etc/init.d/noflushd stop >/dev/null 2>/dev/null"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ power_management.c:328:7: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 328 | system("/etc/init.d/noflushd start >/dev/null 2>/dev/null"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"wmpower\" -DPACKAGE_TARNAME=\"wmpower\" -DPACKAGE_VERSION=\"0.4.3\" -DPACKAGE_STRING=\"wmpower\ 0.4.3\" -DPACKAGE_BUGREPORT=\"michele.noberasco@tiscali.it\" -DPACKAGE=\"wmpower\" -DVERSION=\"0.4.3\" -D_GNU_SOURCE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDARG_H=1 -DHAVE_STRING_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_PWD_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_ENVZ_H=1 -DHAVE_X11_X_H=1 -DHAVE_X11_XLIB_H=1 -DHAVE_X11_XPM_H=1 -DHAVE_X11_EXTENSIONS_SHAPE_H=1 -DHAVE_DIRENT_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_LIBPTHREAD=1 -I. -I. -Iacpi -Iapm -Icompal -Idell -Itoshiba -Icpufreq -Ilib_utils -DX86=1 -O2 -pipe -march=native -fno-common -c -o libacpi.o `test -f 'acpi/libacpi.c' || echo './'`acpi/libacpi.c acpi/libacpi.c: In function ‘read_acad_state’: acpi/libacpi.c:168:2: warning: ignoring return value of ‘fread_unlocked’, declared with attribute warn_unused_result [-Wunused-result] 168 | fread_unlocked (buf, 512, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ acpi/libacpi.c: In function ‘read_acpi_info’: acpi/libacpi.c:192:2: warning: ignoring return value of ‘fread_unlocked’, declared with attribute warn_unused_result [-Wunused-result] 192 | fread_unlocked (buf, 512, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ acpi/libacpi.c: In function ‘read_acpi_state’: acpi/libacpi.c:277:2: warning: ignoring return value of ‘fread_unlocked’, declared with attribute warn_unused_result [-Wunused-result] 277 | fread_unlocked (buf, 512, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"wmpower\" -DPACKAGE_TARNAME=\"wmpower\" -DPACKAGE_VERSION=\"0.4.3\" -DPACKAGE_STRING=\"wmpower\ 0.4.3\" -DPACKAGE_BUGREPORT=\"michele.noberasco@tiscali.it\" -DPACKAGE=\"wmpower\" -DVERSION=\"0.4.3\" -D_GNU_SOURCE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDARG_H=1 -DHAVE_STRING_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_PWD_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_ENVZ_H=1 -DHAVE_X11_X_H=1 -DHAVE_X11_XLIB_H=1 -DHAVE_X11_XPM_H=1 -DHAVE_X11_EXTENSIONS_SHAPE_H=1 -DHAVE_DIRENT_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_LIBPTHREAD=1 -I. -I. -Iacpi -Iapm -Icompal -Idell -Itoshiba -Icpufreq -Ilib_utils -DX86=1 -O2 -pipe -march=native -fno-common -c -o libapm.o `test -f 'apm/libapm.c' || echo './'`apm/libapm.c apm/libapm.c: In function ‘apm_read’: apm/libapm.c:61:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 61 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apm/libapm.c:90:4: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 90 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apm/libapm.c:94:6: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 94 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apm/libapm.c:95:6: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 95 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apm/libapm.c:101:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 101 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apm/libapm.c:106:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 106 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apm/libapm.c:110:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 110 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apm/libapm.c:112:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 112 | fgets(buffer, sizeof(buffer) - 1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"wmpower\" -DPACKAGE_TARNAME=\"wmpower\" -DPACKAGE_VERSION=\"0.4.3\" -DPACKAGE_STRING=\"wmpower\ 0.4.3\" -DPACKAGE_BUGREPORT=\"michele.noberasco@tiscali.it\" -DPACKAGE=\"wmpower\" -DVERSION=\"0.4.3\" -D_GNU_SOURCE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDARG_H=1 -DHAVE_STRING_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_PWD_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_ENVZ_H=1 -DHAVE_X11_X_H=1 -DHAVE_X11_XLIB_H=1 -DHAVE_X11_XPM_H=1 -DHAVE_X11_EXTENSIONS_SHAPE_H=1 -DHAVE_DIRENT_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_LIBPTHREAD=1 -I. -I. -Iacpi -Iapm -Icompal -Idell -Itoshiba -Icpufreq -Ilib_utils -DX86=1 -O2 -pipe -march=native -fno-common -c -o compal_lib.o `test -f 'compal/compal_lib.c' || echo './'`compal/compal_lib.c compal/compal_lib.c: In function ‘machine_is_compal’: compal/compal_lib.c:82:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 82 | fread (&buf, 1, COMPAL_MAX_DMI_INFO, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"wmpower\" -DPACKAGE_TARNAME=\"wmpower\" -DPACKAGE_VERSION=\"0.4.3\" -DPACKAGE_STRING=\"wmpower\ 0.4.3\" -DPACKAGE_BUGREPORT=\"michele.noberasco@tiscali.it\" -DPACKAGE=\"wmpower\" -DVERSION=\"0.4.3\" -D_GNU_SOURCE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDARG_H=1 -DHAVE_STRING_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_PWD_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_ENVZ_H=1 -DHAVE_X11_X_H=1 -DHAVE_X11_XLIB_H=1 -DHAVE_X11_XPM_H=1 -DHAVE_X11_EXTENSIONS_SHAPE_H=1 -DHAVE_DIRENT_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_LIBPTHREAD=1 -I. -I. -Iacpi -Iapm -Icompal -Idell -Itoshiba -Icpufreq -Ilib_utils -DX86=1 -O2 -pipe -march=native -fno-common -c -o dell_lib.o `test -f 'dell/dell_lib.c' || echo './'`dell/dell_lib.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"wmpower\" -DPACKAGE_TARNAME=\"wmpower\" -DPACKAGE_VERSION=\"0.4.3\" -DPACKAGE_STRING=\"wmpower\ 0.4.3\" -DPACKAGE_BUGREPORT=\"michele.noberasco@tiscali.it\" -DPACKAGE=\"wmpower\" -DVERSION=\"0.4.3\" -D_GNU_SOURCE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDARG_H=1 -DHAVE_STRING_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_PWD_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_ENVZ_H=1 -DHAVE_X11_X_H=1 -DHAVE_X11_XLIB_H=1 -DHAVE_X11_XPM_H=1 -DHAVE_X11_EXTENSIONS_SHAPE_H=1 -DHAVE_DIRENT_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_LIBPTHREAD=1 -I. -I. -Iacpi -Iapm -Icompal -Idell -Itoshiba -Icpufreq -Ilib_utils -DX86=1 -O2 -pipe -march=native -fno-common -c -o toshiba_lib.o `test -f 'toshiba/toshiba_lib.c' || echo './'`toshiba/toshiba_lib.c toshiba/toshiba_lib.c: In function ‘acpi_set_lcd_brightness’: toshiba/toshiba_lib.c:154:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 154 | fscanf(fp, "%*s%d%*s%d", ¤t_brightness, &max_brightness); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ toshiba/toshiba_lib.c:190:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 190 | fscanf(fp, "%*s%d", ¤t_brightness); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"wmpower\" -DPACKAGE_TARNAME=\"wmpower\" -DPACKAGE_VERSION=\"0.4.3\" -DPACKAGE_STRING=\"wmpower\ 0.4.3\" -DPACKAGE_BUGREPORT=\"michele.noberasco@tiscali.it\" -DPACKAGE=\"wmpower\" -DVERSION=\"0.4.3\" -D_GNU_SOURCE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDARG_H=1 -DHAVE_STRING_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_PWD_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_ENVZ_H=1 -DHAVE_X11_X_H=1 -DHAVE_X11_XLIB_H=1 -DHAVE_X11_XPM_H=1 -DHAVE_X11_EXTENSIONS_SHAPE_H=1 -DHAVE_DIRENT_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_LIBPTHREAD=1 -I. -I. -Iacpi -Iapm -Icompal -Idell -Itoshiba -Icpufreq -Ilib_utils -DX86=1 -O2 -pipe -march=native -fno-common -c -o hci.o `test -f 'toshiba/hci.c' || echo './'`toshiba/hci.c toshiba/hci.c: In function ‘HciGetBiosVersion’: toshiba/hci.c:102:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 102 | fgets(buffer, sizeof(buffer)-1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ toshiba/hci.c: In function ‘HciGetMachineID’: toshiba/hci.c:131:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 131 | fgets(buffer, sizeof(buffer)-1, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"wmpower\" -DPACKAGE_TARNAME=\"wmpower\" -DPACKAGE_VERSION=\"0.4.3\" -DPACKAGE_STRING=\"wmpower\ 0.4.3\" -DPACKAGE_BUGREPORT=\"michele.noberasco@tiscali.it\" -DPACKAGE=\"wmpower\" -DVERSION=\"0.4.3\" -D_GNU_SOURCE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDARG_H=1 -DHAVE_STRING_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_PWD_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_ENVZ_H=1 -DHAVE_X11_X_H=1 -DHAVE_X11_XLIB_H=1 -DHAVE_X11_XPM_H=1 -DHAVE_X11_EXTENSIONS_SHAPE_H=1 -DHAVE_DIRENT_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_LIBPTHREAD=1 -I. -I. -Iacpi -Iapm -Icompal -Idell -Itoshiba -Icpufreq -Ilib_utils -DX86=1 -O2 -pipe -march=native -fno-common -c -o sci.o `test -f 'toshiba/sci.c' || echo './'`toshiba/sci.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"wmpower\" -DPACKAGE_TARNAME=\"wmpower\" -DPACKAGE_VERSION=\"0.4.3\" -DPACKAGE_STRING=\"wmpower\ 0.4.3\" -DPACKAGE_BUGREPORT=\"michele.noberasco@tiscali.it\" -DPACKAGE=\"wmpower\" -DVERSION=\"0.4.3\" -D_GNU_SOURCE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDARG_H=1 -DHAVE_STRING_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_PWD_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_ENVZ_H=1 -DHAVE_X11_X_H=1 -DHAVE_X11_XLIB_H=1 -DHAVE_X11_XPM_H=1 -DHAVE_X11_EXTENSIONS_SHAPE_H=1 -DHAVE_DIRENT_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_LIBPTHREAD=1 -I. -I. -Iacpi -Iapm -Icompal -Idell -Itoshiba -Icpufreq -Ilib_utils -DX86=1 -O2 -pipe -march=native -fno-common -c -o lib_utils.o `test -f 'lib_utils/lib_utils.c' || echo './'`lib_utils/lib_utils.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"wmpower\" -DPACKAGE_TARNAME=\"wmpower\" -DPACKAGE_VERSION=\"0.4.3\" -DPACKAGE_STRING=\"wmpower\ 0.4.3\" -DPACKAGE_BUGREPORT=\"michele.noberasco@tiscali.it\" -DPACKAGE=\"wmpower\" -DVERSION=\"0.4.3\" -D_GNU_SOURCE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDARG_H=1 -DHAVE_STRING_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_PWD_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_ENVZ_H=1 -DHAVE_X11_X_H=1 -DHAVE_X11_XLIB_H=1 -DHAVE_X11_XPM_H=1 -DHAVE_X11_EXTENSIONS_SHAPE_H=1 -DHAVE_DIRENT_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_LIBPTHREAD=1 -I. -I. -Iacpi -Iapm -Icompal -Idell -Itoshiba -Icpufreq -Ilib_utils -DX86=1 -O2 -pipe -march=native -fno-common -c -o cpufreq.o `test -f 'cpufreq/cpufreq.c' || echo './'`cpufreq/cpufreq.c rm -f libpower.a ar cru libpower.a power_management.o libacpi.o libapm.o compal_lib.o dell_lib.o toshiba_lib.o hci.o sci.o lib_utils.o cpufreq.o x86_64-pc-linux-gnu-ranlib libpower.a make[2]: Leaving directory '/var/tmp/portage/x11-plugins/wmpower-0.4.3-r1/work/wmpower-0.4.3/src/power_management' make[2]: Entering directory '/var/tmp/portage/x11-plugins/wmpower-0.4.3-r1/work/wmpower-0.4.3/src' x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"wmpower\" -DPACKAGE_TARNAME=\"wmpower\" -DPACKAGE_VERSION=\"0.4.3\" -DPACKAGE_STRING=\"wmpower\ 0.4.3\" -DPACKAGE_BUGREPORT=\"michele.noberasco@tiscali.it\" -DPACKAGE=\"wmpower\" -DVERSION=\"0.4.3\" -D_GNU_SOURCE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDARG_H=1 -DHAVE_STRING_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_PWD_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_ENVZ_H=1 -DHAVE_X11_X_H=1 -DHAVE_X11_XLIB_H=1 -DHAVE_X11_XPM_H=1 -DHAVE_X11_EXTENSIONS_SHAPE_H=1 -DHAVE_DIRENT_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_LIBPTHREAD=1 -I. -I. -Idockapp -Ipixmaps -Ipower_management -O2 -pipe -march=native -fno-common -c `test -f 'wmpower.c' || echo './'`wmpower.c wmpower.c: In function ‘main’: wmpower.c:175:4: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 175 | system(Command); | ^~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"wmpower\" -DPACKAGE_TARNAME=\"wmpower\" -DPACKAGE_VERSION=\"0.4.3\" -DPACKAGE_STRING=\"wmpower\ 0.4.3\" -DPACKAGE_BUGREPORT=\"michele.noberasco@tiscali.it\" -DPACKAGE=\"wmpower\" -DVERSION=\"0.4.3\" -D_GNU_SOURCE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDARG_H=1 -DHAVE_STRING_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_PWD_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_ENVZ_H=1 -DHAVE_X11_X_H=1 -DHAVE_X11_XLIB_H=1 -DHAVE_X11_XPM_H=1 -DHAVE_X11_EXTENSIONS_SHAPE_H=1 -DHAVE_DIRENT_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_LIBPTHREAD=1 -I. -I. -Idockapp -Ipixmaps -Ipower_management -O2 -pipe -march=native -fno-common -c `test -f 'open_syslog_on_stderr.c' || echo './'`open_syslog_on_stderr.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o wmpower -L/usr/X11R6/lib wmpower.o open_syslog_on_stderr.o dockapp/libdockapp.a power_management/libpower.a -lpthread -lXpm -lX11 -lXext -lpthread /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: dockapp/libdockapp.a(dockapp.o):(.bss+0x288): multiple definition of `display'; wmpower.o:(.bss+0x228): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(power_management.o):(.bss+0x228): multiple definition of `cpufreq_offline_governor'; wmpower.o:(.bss+0x230): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(power_management.o):(.bss+0x230): multiple definition of `cpufreq_online_governor'; wmpower.o:(.bss+0x238): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(power_management.o):(.bss+0x244): multiple definition of `kernel_version'; wmpower.o:(.bss+0x24c): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(power_management.o):(.bss+0x238): multiple definition of `waittime'; wmpower.o:(.bss+0x240): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(power_management.o):(.bss+0x23c): multiple definition of `maxBrightness'; wmpower.o:(.bss+0x244): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(power_management.o):(.bss+0x240): multiple definition of `minBrightness'; wmpower.o:(.bss+0x248): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(libacpi.o):(.bss+0x220): multiple definition of `batt_count'; power_management/libpower.a(power_management.o):(.bss+0x220): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(libacpi.o):(.bss+0x200): multiple definition of `cpufreq_offline_governor'; wmpower.o:(.bss+0x230): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(libacpi.o):(.bss+0x208): multiple definition of `cpufreq_online_governor'; wmpower.o:(.bss+0x238): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(libacpi.o):(.bss+0x210): multiple definition of `waittime'; wmpower.o:(.bss+0x240): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(libacpi.o):(.bss+0x214): multiple definition of `maxBrightness'; wmpower.o:(.bss+0x244): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(libacpi.o):(.bss+0x218): multiple definition of `minBrightness'; wmpower.o:(.bss+0x248): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(libacpi.o):(.bss+0x21c): multiple definition of `kernel_version'; wmpower.o:(.bss+0x24c): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(libacpi.o):(.bss+0x224): multiple definition of `battery_type'; power_management/libpower.a(power_management.o):(.bss+0x224): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(compal_lib.o):(.bss+0x20): multiple definition of `compal_model'; power_management/libpower.a(power_management.o):(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(compal_lib.o):(.bss+0x14): multiple definition of `maxBrightness'; wmpower.o:(.bss+0x244): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(compal_lib.o):(.bss+0x18): multiple definition of `minBrightness'; wmpower.o:(.bss+0x248): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(compal_lib.o):(.bss+0x0): multiple definition of `cpufreq_offline_governor'; wmpower.o:(.bss+0x230): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(compal_lib.o):(.bss+0x8): multiple definition of `cpufreq_online_governor'; wmpower.o:(.bss+0x238): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(compal_lib.o):(.bss+0x10): multiple definition of `waittime'; wmpower.o:(.bss+0x240): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(compal_lib.o):(.bss+0x1c): multiple definition of `kernel_version'; wmpower.o:(.bss+0x24c): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(dell_lib.o):(.bss+0x0): multiple definition of `cpufreq_offline_governor'; wmpower.o:(.bss+0x230): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(dell_lib.o):(.bss+0x8): multiple definition of `cpufreq_online_governor'; wmpower.o:(.bss+0x238): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(dell_lib.o):(.bss+0x10): multiple definition of `waittime'; wmpower.o:(.bss+0x240): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(dell_lib.o):(.bss+0x14): multiple definition of `maxBrightness'; wmpower.o:(.bss+0x244): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(dell_lib.o):(.bss+0x18): multiple definition of `minBrightness'; wmpower.o:(.bss+0x248): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(dell_lib.o):(.bss+0x1c): multiple definition of `kernel_version'; wmpower.o:(.bss+0x24c): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(toshiba_lib.o):(.bss+0x14): multiple definition of `maxBrightness'; wmpower.o:(.bss+0x244): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(toshiba_lib.o):(.bss+0x18): multiple definition of `minBrightness'; wmpower.o:(.bss+0x248): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(toshiba_lib.o):(.bss+0x20): multiple definition of `toshiba_model'; power_management/libpower.a(power_management.o):(.bss+0x120): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(toshiba_lib.o):(.bss+0x0): multiple definition of `cpufreq_offline_governor'; wmpower.o:(.bss+0x230): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(toshiba_lib.o):(.bss+0x8): multiple definition of `cpufreq_online_governor'; wmpower.o:(.bss+0x238): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(toshiba_lib.o):(.bss+0x10): multiple definition of `waittime'; wmpower.o:(.bss+0x240): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(toshiba_lib.o):(.bss+0x1c): multiple definition of `kernel_version'; wmpower.o:(.bss+0x24c): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(cpufreq.o):(.bss+0x24): multiple definition of `kernel_version'; wmpower.o:(.bss+0x24c): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(cpufreq.o):(.bss+0x8): multiple definition of `cpufreq_offline_governor'; wmpower.o:(.bss+0x230): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(cpufreq.o):(.bss+0x10): multiple definition of `cpufreq_online_governor'; wmpower.o:(.bss+0x238): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(cpufreq.o):(.bss+0x18): multiple definition of `waittime'; wmpower.o:(.bss+0x240): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(cpufreq.o):(.bss+0x1c): multiple definition of `maxBrightness'; wmpower.o:(.bss+0x244): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: power_management/libpower.a(cpufreq.o):(.bss+0x20): multiple definition of `minBrightness'; wmpower.o:(.bss+0x248): first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:201: wmpower] Error 1 make[2]: Leaving directory '/var/tmp/portage/x11-plugins/wmpower-0.4.3-r1/work/wmpower-0.4.3/src' make[1]: *** [Makefile:242: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/x11-plugins/wmpower-0.4.3-r1/work/wmpower-0.4.3/src' make: *** [Makefile:175: all-recursive] Error 1 * ERROR: x11-plugins/wmpower-0.4.3-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-plugins/wmpower-0.4.3-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-plugins/wmpower-0.4.3-r1::gentoo'`. * The complete build log is located at '/var/log/portage/x11-plugins:wmpower-0.4.3-r1:20200127-183623.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-plugins/wmpower-0.4.3-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-plugins/wmpower-0.4.3-r1/temp/environment'. * Working directory: '/var/tmp/portage/x11-plugins/wmpower-0.4.3-r1/work/wmpower-0.4.3' * S: '/var/tmp/portage/x11-plugins/wmpower-0.4.3-r1/work/wmpower-0.4.3'