D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/upower-0.99.6-1.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8RreQS + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf upower-0.99.6 + /usr/bin/xz -dc /home/pterjan/rpmbuild/SOURCES/upower-0.99.6.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd upower-0.99.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.lcpkhw + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd upower-0.99.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + 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 build-aux/ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-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 --enable-gtk-doc --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '500' is supported by ustar format... yes checking whether GID '1001' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for gobject-introspection... yes checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /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 the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes 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 command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no 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 gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc 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 checking for xsltproc... /usr/bin/xsltproc checking for gtk-doc... yes checking for gtkdoc-check... gtkdoc-check.test checking for gtkdoc-check... /usr/bin/gtkdoc-check checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase checking for gtkdoc-mkpdf... no checking whether to build gtk-doc documentation... yes checking for GTKDOC_DEPS... yes checking whether C compiler accepts -fPIE... yes checking whether the linker accepts -fPIE -pie... yes checking whether the linker accepts -Wl,-z,relro,-z,now... yes checking for GLIB... yes checking for GIO... yes checking for GIO_UNIX... yes checking for GUDEV... yes checking for USB... yes checking for IDEVICE... yes checking whether NLS is requested... yes checking for intltool >= 0.40.0... 0.51.0 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.26.1 checking for XML::Parser... ok checking for msgfmt... (cached) /usr/bin/msgfmt checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for msgmerge... (cached) /usr/bin/msgmerge checking for ld used by GCC... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating upower-glib.pc config.status: creating etc/Makefile config.status: creating dbus/Makefile config.status: creating src/Makefile config.status: creating src/dummy/Makefile config.status: creating src/freebsd/Makefile config.status: creating src/openbsd/Makefile config.status: creating src/linux/Makefile config.status: creating src/bsd/Makefile config.status: creating tools/Makefile config.status: creating doc/Makefile config.status: creating doc/version.xml config.status: creating doc/man/Makefile config.status: creating doc/dbus/Makefile config.status: creating rules/Makefile config.status: creating libupower-glib/Makefile config.status: creating libupower-glib/up-version.h config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing po/stamp-it commands UPower 0.99.6 ========================= prefix: /usr libdir: /usr/lib64 libexecdir: /usr/libexec bindir: /usr/bin sbindir: /usr/sbin datadir: /usr/share sysconfdir: /etc localstatedir: /var docdir: ${datarootdir}/doc/${PACKAGE_TARNAME} compiler: gcc cflags: -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 cppflags: -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -DGSEAL_ENABLE xsltproc: /usr/bin/xsltproc Enable deprecated stuff: no Backend: linux libimobiledevice support: yes Maintainer mode: yes Building api docs: yes Building man pages: yes Building unit tests: yes + make make all-recursive make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6' Making all in etc make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/etc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/etc' Making all in dbus make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/dbus' make all-am make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/dbus' CC up-daemon-generated.lo CC up-device-generated.lo CC up-kbd-backlight-generated.lo CC up-wakeups-generated.lo CCLD libupower-dbus.la make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/dbus' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/dbus' Making all in libupower-glib make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/libupower-glib' CC libupower_glib_la-up-types.lo CC libupower_glib_la-up-client.lo CC libupower_glib_la-up-wakeups.lo CC libupower_glib_la-up-wakeup-item.lo CC libupower_glib_la-up-stats-item.lo CC libupower_glib_la-up-history-item.lo CC libupower_glib_la-up-device.lo CCLD libupower-glib.la GISCAN UPowerGlib-1.0.gir up-version.h:22: Warning: UPowerGlib: multiple comment blocks documenting 'SECTION:up-version:' identifier (already seen at up-version.h:22). GICOMP UPowerGlib-1.0.gir make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/libupower-glib' Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/src' Making all in dummy make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/src/dummy' CC libuptest_la-up-backend.lo CC libuptest_la-up-native.lo CCLD libuptest.la make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/src/dummy' Making all in freebsd make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/src/freebsd' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/src/freebsd' Making all in linux make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/src/linux' CC libupshared_la-up-device-supply.lo CC libupshared_la-up-device-csr.lo CC libupshared_la-up-device-unifying.lo CC libupshared_la-up-device-hid.lo CC libupshared_la-up-device-wup.lo CC libupshared_la-up-input.lo CC libupshared_la-up-backend.lo CC libupshared_la-up-native.lo CC libupshared_la-hidpp-device.lo CC libupshared_la-sysfs-utils.lo CC libupshared_la-up-device-idevice.lo CCLD libupshared.la CC hidpp_test-hidpp-device.o CC hidpp_test-hidpp-test.o CCLD hidpp-test make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/src/linux' Making all in openbsd make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/src/openbsd' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/src/openbsd' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/src' CC upowerd-up-daemon.o CC upowerd-up-device.o CC upowerd-up-device-list.o CC upowerd-up-config.o CC upowerd-up-kbd-backlight.o CC upowerd-up-wakeups.o CC upowerd-up-history.o CC upowerd-up-main.o CCLD upowerd cp org.freedesktop.UPower.conf.in org.freedesktop.UPower.conf make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/src' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/src' Making all in doc make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/doc' Making all in man make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/doc/man' /usr/bin/xsltproc -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl upower.xml Note: Writing upower.1 /usr/bin/xsltproc -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl upowerd.xml Note: Writing upowerd.8 /usr/bin/xsltproc -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl UPower.xml Note: Writing UPower.7 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/doc/man' Making all in dbus make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/doc/dbus' echo """" > org.freedesktop.UPower.Wakeups.ref.xml /usr/bin/xsltproc ../../doc/dbus/spec-to-docbook.xsl ../../dbus/org.freedesktop.UPower.Wakeups.xml | tail -n +2 >> org.freedesktop.UPower.Wakeups.ref.xml error : No such file or directory ../../dbus/org.freedesktop.UPower.Wakeups.xml:5: warning: failed to load external entity "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd" ]> ^ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/doc/dbus' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/doc' DOC Preparing build DOC Scanning header files Traceback (most recent call last): File "/usr/bin/gtkdoc-scan", line 29, in from gtkdoc import common, config, scan File "/usr/share/gtk-doc/python/gtkdoc/scan.py", line 37, in from six import iteritems, iterkeys ImportError: No module named six make[3]: *** [Makefile:914: scan-build.stamp] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/doc' make[2]: *** [Makefile:602: all-recursive] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6/doc' make[1]: *** [Makefile:567: all-recursive] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/upower-0.99.6' make: *** [Makefile:476: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.lcpkhw (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.lcpkhw (%build) I: [iurt_root_command] ERROR: chroot