D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/php-libevent-0.1.0-8.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WSuauZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf libevent-0.1.0 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/libevent-0.1.0.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libevent-0.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + '[' '../package*.xml' '!=' / ']' + mv ../package.xml . + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7hlZhc + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libevent-0.1.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + phpize Configuring for: PHP Api Version: 20131106 Zend Module Api No: 20131226 Zend Extension Api No: 220131226 libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: You should add the contents of the following files to 'aclocal.m4': libtoolize: '/usr/share/aclocal/libtool.m4' libtoolize: '/usr/share/aclocal/ltoptions.m4' libtoolize: '/usr/share/aclocal/ltsugar.m4' libtoolize: '/usr/share/aclocal/ltversion.m4' libtoolize: '/usr/share/aclocal/lt~obsolete.m4' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure --build=x86_64-mageia-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/include --x-libraries=/usr/lib64 --with-libdir=lib64 --with-libevent=shared,/usr checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for cc... cc 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib64 checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib64/php/extensions checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... re2c checking for re2c version... 1.0.2 (ok) checking for gawk... gawk checking for libevent support... yes, shared checking for libevent headers in /usr... found checking for event_base_new in -levent... yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 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 cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/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 + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j8 /bin/sh /home/pterjan/rpmbuild/BUILD/libevent-0.1.0/libtool --mode=compile cc -I. -I/home/pterjan/rpmbuild/BUILD/libevent-0.1.0 -DPHP_ATOM_INC -I/home/pterjan/rpmbuild/BUILD/libevent-0.1.0/include -I/home/pterjan/rpmbuild/BUILD/libevent-0.1.0/main -I/home/pterjan/rpmbuild/BUILD/libevent-0.1.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -c /home/pterjan/rpmbuild/BUILD/libevent-0.1.0/libevent.c -o libevent.lo libtool: compile: cc -I. -I/home/pterjan/rpmbuild/BUILD/libevent-0.1.0 -DPHP_ATOM_INC -I/home/pterjan/rpmbuild/BUILD/libevent-0.1.0/include -I/home/pterjan/rpmbuild/BUILD/libevent-0.1.0/main -I/home/pterjan/rpmbuild/BUILD/libevent-0.1.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -c /home/pterjan/rpmbuild/BUILD/libevent-0.1.0/libevent.c -fPIC -DPIC -o .libs/libevent.o /bin/sh /home/pterjan/rpmbuild/BUILD/libevent-0.1.0/libtool --mode=link cc -DPHP_ATOM_INC -I/home/pterjan/rpmbuild/BUILD/libevent-0.1.0/include -I/home/pterjan/rpmbuild/BUILD/libevent-0.1.0/main -I/home/pterjan/rpmbuild/BUILD/libevent-0.1.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libevent.la -export-dynamic -avoid-version -prefer-pic -module -rpath /home/pterjan/rpmbuild/BUILD/libevent-0.1.0/modules libevent.lo -levent libtool: link: cc -shared -Wl,--as-needed -fPIC -DPIC .libs/libevent.o -O2 -g -fstack-protector -fstack-protector-all -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -levent -Wl,-soname -Wl,libevent.so -o .libs/libevent.so libtool: link: ( cd ".libs" && rm -f "libevent.la" && ln -s "../libevent.la" "libevent.la" ) /bin/sh /home/pterjan/rpmbuild/BUILD/libevent-0.1.0/libtool --mode=install cp ./libevent.la /home/pterjan/rpmbuild/BUILD/libevent-0.1.0/modules libtool: install: cp ./.libs/libevent.so /home/pterjan/rpmbuild/BUILD/libevent-0.1.0/modules/libevent.so libtool: install: cp ./.libs/libevent.lai /home/pterjan/rpmbuild/BUILD/libevent-0.1.0/modules/libevent.la libtool: finish: PATH="/usr/local/bin:/usr/bin:/usr/local/games:/usr/games:/home/pterjan/.local/bin:/home/pterjan/bin:/sbin" ldconfig -n /home/pterjan/rpmbuild/BUILD/libevent-0.1.0/modules ---------------------------------------------------------------------- Libraries have been installed in: /home/pterjan/rpmbuild/BUILD/libevent-0.1.0/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Build complete. Don't forget to run 'make test'. + mv modules/libevent.so . + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.gfXOcF + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/php-libevent-0.1.0-8.mga7.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/php-libevent-0.1.0-8.mga7.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/php-libevent-0.1.0-8.mga7.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/php-libevent-0.1.0-8.mga7.x86_64 + cd libevent-0.1.0 + '[' 1 -eq 1 ']' + install -d /home/pterjan/rpmbuild/BUILDROOT/php-libevent-0.1.0-8.mga7.x86_64/usr/lib64/php/extensions + install -d /home/pterjan/rpmbuild/BUILDROOT/php-libevent-0.1.0-8.mga7.x86_64/etc/php.d + install -m755 libevent.so /home/pterjan/rpmbuild/BUILDROOT/php-libevent-0.1.0-8.mga7.x86_64/usr/lib64/php/extensions/ + cat + /usr/lib/rpm/find-debuginfo.sh -j8 -m -i --build-id-seed 0.1.0-8.mga7 --unique-debug-suffix -0.1.0-8.mga7.x86_64 --unique-debug-src-base php-libevent-0.1.0-8.mga7.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/libevent-0.1.0 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/php-libevent-0.1.0-8.mga7.x86_64/usr/lib64/php/extensions/libevent.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 87 blocks + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/translate_menu + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + '[' 1 -eq 1 ']' + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: php-libevent-0.1.0-8.mga7.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VUclT9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libevent-0.1.0 + DOCDIR=/home/pterjan/rpmbuild/BUILDROOT/php-libevent-0.1.0-8.mga7.x86_64/usr/share/doc/php-libevent + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/php-libevent-0.1.0-8.mga7.x86_64/usr/share/doc/php-libevent + cp -pr CREDITS /home/pterjan/rpmbuild/BUILDROOT/php-libevent-0.1.0-8.mga7.x86_64/usr/share/doc/php-libevent + cp -pr package.xml /home/pterjan/rpmbuild/BUILDROOT/php-libevent-0.1.0-8.mga7.x86_64/usr/share/doc/php-libevent + exit 0 Provides: config(php-libevent) = 0.1.0-8.mga7 libevent.so()(64bit) php-libevent = 0.1.0-8.mga7 php-libevent(x86-64) = 0.1.0-8.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libevent.so.6()(64bit) Processing files: php-libevent-debugsource-0.1.0-8.mga7.x86_64 Provides: php-libevent-debugsource = 0.1.0-8.mga7 php-libevent-debugsource(x86-64) = 0.1.0-8.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: php-libevent-debuginfo-0.1.0-8.mga7.x86_64 Provides: debuginfo(build-id) = 279833ea66d0801fd00bd99b1730aa71f85e3207 php-libevent-debuginfo = 0.1.0-8.mga7 php-libevent-debuginfo(x86-64) = 0.1.0-8.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: php-libevent-debugsource(x86-64) = 0.1.0-8.mga7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/php-libevent-0.1.0-8.mga7.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/php-libevent-0.1.0-8.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/php-libevent-debugsource-0.1.0-8.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/php-libevent-debuginfo-0.1.0-8.mga7.x86_64.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.yrtmaF + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libevent-0.1.0 + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/php-libevent-0.1.0-8.mga7.x86_64 + exit 0 Executing(--clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.TX1Oua + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf libevent-0.1.0 + exit 0 D: [iurt_root_command] Success!