* Package: sys-apps/pcmciautils-018_p8-r3 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.15.7-gentoo-dist * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking pcmciautils_018.orig.tar.gz to /var/tmp/portage/sys-apps/pcmciautils-018_p8-r3/work >>> Unpacking pcmciautils_018-8.debian.tar.gz to /var/tmp/portage/sys-apps/pcmciautils-018_p8-r3/work >>> Source unpacked in /var/tmp/portage/sys-apps/pcmciautils-018_p8-r3/work >>> Preparing source in /var/tmp/portage/sys-apps/pcmciautils-018_p8-r3/work/pcmciautils-018 ... * Applying no-modprobe-rules.patch ... [ ok ] * Applying remove-libsysfs-dep.patch ... [ ok ] * Applying pcmciautils-018_p8-flex-2.6.3-fix.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/pcmciautils-018_p8-r3/work/pcmciautils-018 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/pcmciautils-018_p8-r3/work/pcmciautils-018 ... make -j4 STARTUP=true exec_prefix=/usr UDEV=true DEBUG=false STATIC=false V=true udevdir=/lib/udev CC=x86_64-gentoo-linux-musl-gcc LD=x86_64-gentoo-linux-musl-gcc AR=x86_64-gentoo-linux-musl-ar STRIP=true RANLIB=x86_64-gentoo-linux-musl-ranlib 'OPTIMIZATION=-pipe -march=native -fno-diagnostics-color -O2 ' yacc -d src/yacc_config.y Building ccdv cat udev/rules-start udev/rules-base udev/rules-nonstaticsocket udev/rules-end | sed -e "s#__UDEVHELPERDIR__#/lib/udev#g" > udev/60-pcmcia.rules lex -t src/lex_config.l > src/lex_config.c src/yacc_config.y:47.13-18: warning: POSIX yacc reserves %type to nonterminals [8;id=accc99100005d3161e00762300000000;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wyacc\-Wyacc8;;\] 47 | %type STRING | ^~~~~~ src/yacc_config.y:48.13-18: warning: POSIX yacc reserves %type to nonterminals [8;id=accc99100005d3161e00762300000001;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wyacc\-Wyacc8;;\] 48 | %type NUMBER | ^~~~~~ x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -pipe -DPCMCIAUTILS_VERSION=\"018\" -I/var/tmp/portage/sys-apps/pcmciautils-018_p8-r3/work/pcmciautils-018/src -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I/usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/include -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -c -o src/pccardctl.o src/pccardctl.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -pipe -DPCMCIAUTILS_VERSION=\"018\" -I/var/tmp/portage/sys-apps/pcmciautils-018_p8-r3/work/pcmciautils-018/src -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I/usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/include -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -c -o src/pcmcia-check-broken-cis.o src/pcmcia-check-broken-cis.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -pipe -DPCMCIAUTILS_VERSION=\"018\" -I/var/tmp/portage/sys-apps/pcmciautils-018_p8-r3/work/pcmciautils-018/src -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I/usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/include -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -c -o src/read-cis.o src/read-cis.c src/read-cis.c: In function 'follow_link': src/read-cis.c:54:25: error: 'u_int' undeclared (first use in this function); did you mean 'int'? 54 | ofs = *(u_int *)(link+1); | ^~~~~ | int src/read-cis.c:54:25: note: each undeclared identifier is reported only once for each function it appears in src/read-cis.c:54:32: error: expected expression before ')' token 54 | ofs = *(u_int *)(link+1); | ^ make: *** [Makefile:230: src/read-cis.o] Error 1 make: *** Waiting for unfinished jobs.... mv y.tab.c src/yacc_config.c mv y.tab.h src/yacc_config.h src/pccardctl.c: In function 'pccardctl_info': src/pccardctl.c:158:71: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 227 [-Wformat-truncation=] 158 | snprintf(file, SYSFS_PATH_MAX, "/sys/bus/pcmcia/devices/%lu.0/%s", | ^~ ...... 290 | pccardctl_get_string(socket_no, file, &prod_id); | ~~~~ src/pccardctl.c:158:9: note: 'snprintf' output between 29 and 283 bytes into a destination of size 255 158 | snprintf(file, SYSFS_PATH_MAX, "/sys/bus/pcmcia/devices/%lu.0/%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | socket_no, in_file); | ~~~~~~~~~~~~~~~~~~~ src/pccardctl.c: In function 'pccardctl_ident': src/pccardctl.c:158:71: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 227 [-Wformat-truncation=] 158 | snprintf(file, SYSFS_PATH_MAX, "/sys/bus/pcmcia/devices/%lu.0/%s", | ^~ ...... 246 | pccardctl_get_string(socket_no, file, &prod_id[i-1]); | ~~~~ src/pccardctl.c:158:9: note: 'snprintf' output between 29 and 283 bytes into a destination of size 255 158 | snprintf(file, SYSFS_PATH_MAX, "/sys/bus/pcmcia/devices/%lu.0/%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | socket_no, in_file); | ~~~~~~~~~~~~~~~~~~~ src/pccardctl.c: In function 'lspcmcia': src/pccardctl.c:158:71: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 227 [-Wformat-truncation=] 158 | snprintf(file, SYSFS_PATH_MAX, "/sys/bus/pcmcia/devices/%lu.0/%s", | ^~ ...... 641 | pccardctl_get_string(socket_no, file, &res); | ~~~~ src/pccardctl.c:158:9: note: 'snprintf' output between 29 and 283 bytes into a destination of size 255 158 | snprintf(file, SYSFS_PATH_MAX, "/sys/bus/pcmcia/devices/%lu.0/%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | socket_no, in_file); | ~~~~~~~~~~~~~~~~~~~ src/pccardctl.c:158:71: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 227 [-Wformat-truncation=] 158 | snprintf(file, SYSFS_PATH_MAX, "/sys/bus/pcmcia/devices/%lu.0/%s", | ^~ ...... 664 | pccardctl_get_string(socket_no, file, &res); | ~~~~ src/pccardctl.c:158:9: note: 'snprintf' output between 29 and 283 bytes into a destination of size 255 158 | snprintf(file, SYSFS_PATH_MAX, "/sys/bus/pcmcia/devices/%lu.0/%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | socket_no, in_file); | ~~~~~~~~~~~~~~~~~~~ rm src/lex_config.c * ERROR: sys-apps/pcmciautils-018_p8-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/pcmciautils-018_p8-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/pcmciautils-018_p8-r3::gentoo'`. * The complete build log is located at '/var/log/portage/sys-apps:pcmciautils-018_p8-r3:20211214-072706.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/pcmciautils-018_p8-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/pcmciautils-018_p8-r3/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/pcmciautils-018_p8-r3/work/pcmciautils-018' * S: '/var/tmp/portage/sys-apps/pcmciautils-018_p8-r3/work/pcmciautils-018'