* Package: app-laptop/pbbuttonsd-0.8.1a * Repository: gentoo * Maintainer: ppc@gentoo.org * USE: abi_x86_64 acpi alsa amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking pbbuttonsd-0.8.1a.tar.gz to /var/tmp/portage/app-laptop/pbbuttonsd-0.8.1a/work >>> Source unpacked in /var/tmp/portage/app-laptop/pbbuttonsd-0.8.1a/work >>> Preparing source in /var/tmp/portage/app-laptop/pbbuttonsd-0.8.1a/work/pbbuttonsd-0.8.1a ... * Applying pbbuttonsd-0.8.1-g++.patch ... [ ok ] * Applying pbbuttonsd-0.8.1-cpufreq.patch ... [ ok ] * Applying pbbuttonsd-0.8.1-fnmode.patch ... [ ok ] * Applying pbbuttonsd-0.8.1-laptopmode.sh.patch ... [ ok ] * Applying pbbuttonsd-0.8.1-lm.patch ... [ ok ] * Applying pbbuttonsd-0.8.1-lz.patch ... [ ok ] * Applying pbbuttonsd-0.8.1a-fno-common.patch ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running autoconf ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-laptop/pbbuttonsd-0.8.1a/work/pbbuttonsd-0.8.1a ... * econf: updating pbbuttonsd-0.8.1a/config.sub with /usr/share/gnuconfig/config.sub * econf: updating pbbuttonsd-0.8.1a/config.guess with /usr/share/gnuconfig/config.guess ./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 --docdir=/usr/share/doc/pbbuttonsd-0.8.1a --htmldir=/usr/share/doc/pbbuttonsd-0.8.1a/html --libdir=/usr/lib64 --with-alsa --without-doxygen_docs --without-ibam --without-oss laptop=acpi checking for a BSD-compatible install... /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for library containing strerror... none required checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for dlopen in -ldl... yes checking for PACKAGE... yes checking for ALSA CFLAGS... checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread checking for libasound headers version >= 1.0.0... found. checking for snd_ctl_open in -lasound... yes checking for doxygen... /usr/bin/doxygen checking for dot... no checking whether to build Doxygen documentation... no checking for ANSI C header files... (cached) yes checking initreq.h usability... no checking initreq.h presence... no checking for initreq.h... no checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for unistd.h... (cached) yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking whether we are using the GNU C Library 2 or newer... yes checking for simple visibility declarations... yes checking for inline... inline checking for size_t... yes checking for stdint.h... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether integer division by zero raises SIGFPE... yes checking for inttypes.h... yes checking for unsigned long long int... yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking whether imported symbols can be declared weak... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_kill in -lpthread... yes checking for pthread_rwlock_t... yes checking for multithread API to use... posix checking for argz.h... (cached) yes checking for inttypes.h... (cached) yes checking for limits.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for argz_count... yes checking for argz_stringify... yes checking for argz_next... yes checking for __fsetlocking... yes checking whether feof_unlocked is declared... yes checking whether fgets_unlocked is declared... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for NL_LOCALE_NAME macro... yes checking for bison... bison checking version of bison... 3.7.5, ok checking for long long int... yes checking for long double... yes checking for wchar_t... yes checking for wint_t... yes checking for intmax_t... yes checking whether printf() supports POSIX/XSI format strings... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for stdint.h... (cached) yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for ptrdiff_t... yes checking for stddef.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for asprintf... yes checking for fwprintf... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for snprintf... yes checking for wcslen... yes checking whether _snprintf is declared... no checking whether _snwprintf is declared... no checking whether getc_unlocked is declared... yes checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... (cached) no checking for CFLocaleCopyCurrent... (cached) no checking whether included gettext is requested... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc configure: creating ./config.status config.status: creating Doxyfile config.status: creating Makefile config.status: creating pbbuttonsd.cnf config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: creating po/Makefile config.status: creating libpbbipc/Makefile config.status: creating pbbcmd/Makefile config.status: creating intl/Makefile config.status: creating config.h config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile ------------------------------------------------------ PBButtonsd configuration summary System: Intel based laptop with ACPI Options: IBAM support built in - no OSS support built in - no ALSA support built in - yes Extra debug code enabled - no Pmud support built in - no Building doxygen docs - no Paths: config: /etc data: /usr/share locale: /usr/share/locale batlog: /var/lib/pbbuttons (hardcoded) ibam: /var/lib/ibam (hardcoded) Compiler: CFLAGS: -O1 -pipe -march=native -fno-diagnostics-color CXXFLAGS: -O1 -pipe -march=native -fno-diagnostics-color ------------------------------------------------------ >>> Source configured. >>> Compiling source in /var/tmp/portage/app-laptop/pbbuttonsd-0.8.1a/work/pbbuttonsd-0.8.1a ... make -j2 AR=x86_64-pc-linux-gnu-ar make --no-print-directory all-recursive Making all in . ccdv.c: In function ‘main’: ccdv.c:384:10: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 384 | (void) write(2, emerg, (size_t) nread); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Making all in intl make[2]: Nothing to be done for 'all'. Making all in libpbbipc Compiling pbb_ipc.c... Compiling pbb_lib.c... Compiling pbb_lib.c: [OK] pbb_lib.c: In function ‘create_daemon’: pbb_lib.c:101:4: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 101 | chdir("/"); | ^~~~~~~~~~ Compiling pbb_errno.c... Compiling pbb_errno.c: [OK] pbb_errno.c: In function ‘print_message’: pbb_errno.c:111:4: warning: format not a string literal and no format argumen ts [-Wformat-security] 111 | fprintf(stderr, inptr); | ^~~~~~~ pbb_errno.c:112:3: warning: format not a string literal and no format argumen ts [-Wformat-security] 112 | syslog(level, inptr); | ^~~~~~ pbb_errno.c:114:3: warning: format not a string literal and no format argumen ts [-Wformat-security] 114 | fprintf(stderr, inptr); | ^~~~~~~ Compiling pbb_misc.c... Compiling pbb_ipc.c: [OK] Compiling pbb_taglist.c... Compiling pbb_taglist.c: [OK] Compiling pbb_list.c... Compiling pbb_misc.c: [OK] Compiling pbb_list.c: [OK] rm -f libpbb.a x86_64-pc-linux-gnu-ar cru libpbb.a pbb_lib.o pbb_ipc.o pbb_errno.o pbb_misc.o pbb_taglist.o pbb_list.o x86_64-pc-linux-gnu-ranlib libpbb.a Making all in pbbcmd Compiling pbbcmd.c... Compiling pbbcmd.c: [OK] Linking pbbcmd... Linking pbbcmd: [OK] Making all in po make[2]: Nothing to be done for 'all'. Making all in src Compiling init.c... Compiling pbbuttonsd.c... Compiling pbbuttonsd.c: [OK] Compiling input_manager.c... Compiling init.c: [OK] init.c: In function ‘cbSigHandlerTX’: init.c:252:2: warning: ignoring return value of ‘write’ declared with att ribute ‘warn_unused_result’ [-Wunused-result] 252 | write (SigHandlerPipe[1], &signum, sizeof(int)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling support.c... Compiling input_manager.c: [OK] input_manager.c: In function ‘scanEventDevices’: input_manager.c:326:14: warning: cast to pointer from integer of different si ze [-Wint-to-pointer-cast] 326 | evdevid = (gpointer) (0x45460000 | n); | ^ Compiling class_config.c... Compiling support.c: [OK] Compiling module_system.c... Compiling class_config.c: [OK] Compiling module_powersave.c... Compiling module_system.c: [OK] Compiling module_display.c... Compiling module_powersave.c: [OK] Compiling module_cdrom.c... Compiling module_display.c: [OK] Compiling class_backlight.c... Compiling module_cdrom.c: [OK] Compiling class_backlight.c: [OK] Compiling driver_backlight_sysfs.c... Compiling class_mixer.c... Compiling driver_backlight_sysfs.c: [OK] driver_backlight_sysfs.c: In function ‘sysfsbl_get_brightness’: driver_backlight_sysfs.c:87:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 87 | fgets(buffer, sizeof(buffer), fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ driver_backlight_sysfs.c: In function ‘sysfsbl_get_brightness_max’: driver_backlight_sysfs.c:119:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 119 | fgets(buffer, sizeof(buffer), fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling driver_mixer_alsa.c... Compiling class_mixer.c: [OK] Compiling driver_mixer_alsa.c: [OK] Linking pbbuttonsd... Linking pbbuttonsd: [ERROR] x86_64-pc-linux-gnu-gcc -O1 -pipe -march=native -fno-diagnostics-color -Wl,-O 1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o pbbuttonsd -L../ libpbbipc pbbuttonsd.o init.o input_manager.o support.o class_config.o module _system.o module_powersave.o module_display.o module_cdrom.o class_backlight. o driver_backlight_sysfs.o class_mixer.o -lpbb -lm driver_mixer_alsa.o -lasou nd -lm -ldl -lpthread -lglib-2.0 -ldl /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/l d: driver_mixer_alsa.o: warning: relocation against `moddata' in read-only se ction `.text' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/l d: driver_mixer_alsa.o: in function `alsamixer_is_muted': driver_mixer_alsa.c:(.text+0x3): undefined reference to `moddata' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/l d: driver_mixer_alsa.o: in function `alsamixer_get_mixer': driver_mixer_alsa.c:(.text+0x10): undefined reference to `moddata' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/l d: driver_mixer_alsa.o: in function `alsamixer_get_channels': driver_mixer_alsa.c:(.text+0x18): undefined reference to `moddata' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/l d: driver_mixer_alsa.o: in function `alsamixer_finish_init': driver_mixer_alsa.c:(.text+0x58): undefined reference to `moddata' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/l d: driver_mixer_alsa.c:(.text+0xa4): undefined reference to `moddata' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/l d: driver_mixer_alsa.o:driver_mixer_alsa.c:(.text+0xab): more undefined refer ences to `moddata' follow /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/l d: warning: creating DT_TEXTREL in a PIE collect2: error: ld returned 1 exit status make[2]: *** [Makefile:322: pbbuttonsd] Error 1 make[1]: *** [Makefile:429: all-recursive] Error 1 make: *** [Makefile:255: all] Error 2 * ERROR: app-laptop/pbbuttonsd-0.8.1a::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-laptop/pbbuttonsd-0.8.1a::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-laptop/pbbuttonsd-0.8.1a::gentoo'`. * The complete build log is located at '/var/log/portage/app-laptop:pbbuttonsd-0.8.1a:20210220-222249.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-laptop/pbbuttonsd-0.8.1a/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-laptop/pbbuttonsd-0.8.1a/temp/environment'. * Working directory: '/var/tmp/portage/app-laptop/pbbuttonsd-0.8.1a/work/pbbuttonsd-0.8.1a' * S: '/var/tmp/portage/app-laptop/pbbuttonsd-0.8.1a/work/pbbuttonsd-0.8.1a'