* Package: dev-php/pecl-dbase-7.0.1 * Repository: gentoo * Maintainer: php-bugs@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux php_targets_php7-2 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking dbase-7.0.1.tgz to /var/tmp/portage/dev-php/pecl-dbase-7.0.1/work >>> Source unpacked in /var/tmp/portage/dev-php/pecl-dbase-7.0.1/work >>> Preparing source in /var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/dbase-7.0.1 ... * Running /usr/lib/php7.2/bin/phpize ... [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/php7.2' ... * Running libtoolize --install --copy --force ... [ ok ] * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running elibtoolize in: php7.2/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/dbase-7.0.1 ... * econf: updating php7.2/config.sub with /usr/share/gnuconfig/config.sub * econf: updating php7.2/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/pecl-dbase-7.0.1 --htmldir=/usr/share/doc/pecl-dbase-7.0.1/html --with-sysroot=/ --libdir=/usr/lib --with-php-config=/usr/lib/php7.2/bin/php-config checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for x86_64-gentoo-linux-musl-cc... no checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-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-gentoo-linux-musl-gcc accepts -g... yes checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E checking for icc... no checking for suncc... no checking whether x86_64-gentoo-linux-musl-gcc and cc understand -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-gentoo-linux-musl checking host system type... x86_64-gentoo-linux-musl checking target system type... x86_64-gentoo-linux-musl checking for PHP prefix... /usr/lib/php7.2 checking for PHP includes... -I/usr/lib/php7.2/include/php -I/usr/lib/php7.2/include/php/main -I/usr/lib/php7.2/include/php/TSRM -I/usr/lib/php7.2/include/php/Zend -I/usr/lib/php7.2/include/php/ext -I/usr/lib/php7.2/include/php/ext/date/lib checking for PHP extension directory... /usr/lib/php7.2/lib/extensions/no-debug-non-zts-20170718 checking for PHP installed headers prefix... /usr/lib/php7.2/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... re2c checking for re2c version... 1.3 (ok) checking for gawk... gawk checking whether to enable dbase support... yes, shared checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-gentoo-linux-musl-gcc... /usr/x86_64-gentoo-linux-musl/bin/ld checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-gentoo-linux-musl-nm -B checking the name lister (/usr/bin/x86_64-gentoo-linux-musl-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert x86_64-gentoo-linux-musl file names to x86_64-gentoo-linux-musl format... func_convert_file_noop checking how to convert x86_64-gentoo-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-gentoo-linux-musl/bin/ld option to reload object files... -r checking for x86_64-gentoo-linux-musl-objdump... x86_64-gentoo-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-gentoo-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-gentoo-linux-musl-ar... x86_64-gentoo-linux-musl-ar checking for archiver @FILE support... @ checking for x86_64-gentoo-linux-musl-strip... x86_64-gentoo-linux-musl-strip checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/x86_64-gentoo-linux-musl-nm -B output from x86_64-gentoo-linux-musl-gcc object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-gentoo-linux-musl-mt... no checking for mt... no checking if : is a manifest tool... no 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 for dlfcn.h... yes checking for objdir... .libs checking if x86_64-gentoo-linux-musl-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-gentoo-linux-musl-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-gentoo-linux-musl-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-gentoo-linux-musl-gcc static flag -static works... yes checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... yes checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-gentoo-linux-musl-gcc linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/dbase-7.0.1 ... make -j1 /bin/sh /var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/php7.2/libtool --mode=compile x86_64-gentoo-linux-musl-gcc -I. -I/var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/php7.2 -DPHP_ATOM_INC -I/var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/php7.2/include -I/var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/php7.2/main -I/var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/php7.2 -I/usr/lib/php7.2/include/php -I/usr/lib/php7.2/include/php/main -I/usr/lib/php7.2/include/php/TSRM -I/usr/lib/php7.2/include/php/Zend -I/usr/lib/php7.2/include/php/ext -I/usr/lib/php7.2/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c /var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/php7.2/dbf_head.c -o dbf_head.lo libtool: compile: x86_64-gentoo-linux-musl-gcc -I. -I/var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/php7.2 -DPHP_ATOM_INC -I/var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/php7.2/include -I/var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/php7.2/main -I/var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/php7.2 -I/usr/lib/php7.2/include/php -I/usr/lib/php7.2/include/php/main -I/usr/lib/php7.2/include/php/TSRM -I/usr/lib/php7.2/include/php/Zend -I/usr/lib/php7.2/include/php/ext -I/usr/lib/php7.2/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c /var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/php7.2/dbf_head.c -fPIC -DPIC -o .libs/dbf_head.o /var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/php7.2/dbf_head.c: In function ‘dbf_open’: /var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/php7.2/dbf_head.c:346:41: error: ‘LOCK_EX’ undeclared (first use in this function) 346 | if (php_flock(fd, (o_flags == O_RDWR ? LOCK_EX : LOCK_SH))) { | ^~~~~~~ /var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/php7.2/dbf_head.c:346:41: note: each undeclared identifier is reported only once for each function it appears in /var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/php7.2/dbf_head.c:346:51: error: ‘LOCK_SH’ undeclared (first use in this function) 346 | if (php_flock(fd, (o_flags == O_RDWR ? LOCK_EX : LOCK_SH))) { | ^~~~~~~ /var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/php7.2/dbf_head.c:352:17: error: ‘LOCK_UN’ undeclared (first use in this function) 352 | php_flock(fd, LOCK_UN); | ^~~~~~~ make: *** [Makefile:193: dbf_head.lo] Error 1 * ERROR: dev-php/pecl-dbase-7.0.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-php/pecl-dbase-7.0.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-php/pecl-dbase-7.0.1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-php:pecl-dbase-7.0.1:20200318-230115.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-php/pecl-dbase-7.0.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-php/pecl-dbase-7.0.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/php7.2' * S: '/var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/dbase-7.0.1'