Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/nut.spec'], printOutput=FalsechrootPath='/var/lib/mock/fedora-23-armhfp-pidora-round2-root-22227/root'gid=135timeout=0logger=shell=Falseuser='mockbuild'uid=1000env={'HOME': '/builddir', 'CCACHE_UMASK': '002', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/nut.spec'] with env {'HOME': '/builddir', 'CCACHE_UMASK': '002', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory Building target platforms: armv6hl Building for target armv6hl Wrote: /builddir/build/SRPMS/nut-2.7.3-4bs02npfc23.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target armv6hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/nut.spec "], printOutput=FalsechrootPath='/var/lib/mock/fedora-23-armhfp-pidora-round2-root-22227/root'gid=135timeout=0logger=shell=Falseprivate_network=Trueuser='mockbuild'uid=1000env={'HOME': '/builddir', 'CCACHE_UMASK': '002', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target armv6hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/nut.spec "] with env {'HOME': '/builddir', 'CCACHE_UMASK': '002', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False Building target platforms: armv6hl Building for target armv6hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AXZCws + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nut-2.7.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/nut-2.7.3.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd nut-2.7.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (nut-2.6.3-tmpfiles.patch): + echo 'Patch #1 (nut-2.6.3-tmpfiles.patch):' + /usr/bin/cat /builddir/build/SOURCES/nut-2.6.3-tmpfiles.patch + /usr/bin/patch -p1 -b --suffix .tmpfiles --fuzz=0 patching file scripts/systemd/nut-monitor.service.in Patch #3 (nut-2.6.5-quickfix.patch): + echo 'Patch #3 (nut-2.6.5-quickfix.patch):' + /usr/bin/cat /builddir/build/SOURCES/nut-2.6.5-quickfix.patch + /usr/bin/patch -p1 -b --suffix .quickfix --fuzz=0 patching file configure.ac Patch #5 (nut-2.6.5-dlfix.patch): + echo 'Patch #5 (nut-2.6.5-dlfix.patch):' + /usr/bin/cat /builddir/build/SOURCES/nut-2.6.5-dlfix.patch + /usr/bin/patch -p1 -b --suffix .dlfix --fuzz=0 patching file tools/nut-scanner/scan_avahi.c patching file tools/nut-scanner/scan_ipmi.c patching file tools/nut-scanner/scan_nut.c patching file tools/nut-scanner/scan_snmp.c patching file tools/nut-scanner/scan_usb.c patching file tools/nut-scanner/scan_xml_http.c Patch #6 (nut-2.6.5-pthreadfix.patch): + echo 'Patch #6 (nut-2.6.5-pthreadfix.patch):' + /usr/bin/cat /builddir/build/SOURCES/nut-2.6.5-pthreadfix.patch + /usr/bin/patch -p1 -b --suffix .pthreadfix --fuzz=0 patching file tools/nut-scanner/nut-scanner.c Patch #7 (nut-2.6.5-foreground.patch): + echo 'Patch #7 (nut-2.6.5-foreground.patch):' + /usr/bin/cat /builddir/build/SOURCES/nut-2.6.5-foreground.patch + /usr/bin/patch -p1 -b --suffix .foreground --fuzz=0 patching file clients/upsmon.c patching file scripts/systemd/nut-monitor.service.in patching file scripts/systemd/nut-server.service.in Hunk #1 succeeded at 8 (offset 3 lines). patching file server/upsd.c Hunk #5 succeeded at 1033 (offset -3 lines). Patch #8 (nut-2.6.5-unreachable.patch): + echo 'Patch #8 (nut-2.6.5-unreachable.patch):' + /usr/bin/cat /builddir/build/SOURCES/nut-2.6.5-unreachable.patch + /usr/bin/patch -p1 -b --suffix .unreachable --fuzz=0 patching file scripts/python/app/NUT-Monitor Hunk #1 succeeded at 683 (offset 9 lines). patching file scripts/python/module/PyNUT.py Hunk #1 succeeded at 165 (offset 7 lines). Patch #9 (nut-2.6.5-rmpidf.patch): + echo 'Patch #9 (nut-2.6.5-rmpidf.patch):' + /usr/bin/cat /builddir/build/SOURCES/nut-2.6.5-rmpidf.patch + /usr/bin/patch -p1 -b --suffix .rmpidf --fuzz=0 patching file clients/upsmon.c patching file common/common.c patching file include/common.h patching file server/upsd.c Patch #10 (nut-2.7.3-systemdfix.patch): + echo 'Patch #10 (nut-2.7.3-systemdfix.patch):' + /usr/bin/cat /builddir/build/SOURCES/nut-2.7.3-systemdfix.patch + /usr/bin/patch -p1 -b --suffix .systemdfix --fuzz=0 patching file scripts/systemd/nut-server.service.in + sed -i 's|=NUT-Monitor|=nut-monitor|' scripts/python/app/nut-monitor.desktop + sed -i 's|sys.argv\[0\]|'\''/usr/share/nut/nut-monitor/nut-monitor'\''|' scripts/python/app/NUT-Monitor + sed -i 's|LIBSSL_LDFLAGS|LIBSSL_LIBS|' lib/libupsclient-config.in + sed -i 's|LIBSSL_LDFLAGS|LIBSSL_LIBS|' lib/libupsclient.pc.in + for f in docs/nut-qa.txt docs/website/css/ie-overrides.css docs/website/scripts/filter_png.js + sed -i 's/\r\n*$//' docs/nut-qa.txt + for f in docs/nut-qa.txt docs/website/css/ie-overrides.css docs/website/scripts/filter_png.js + sed -i 's/\r\n*$//' docs/website/css/ie-overrides.css sed: can't read docs/website/css/ie-overrides.css: No such file or directory + : + for f in docs/nut-qa.txt docs/website/css/ie-overrides.css docs/website/scripts/filter_png.js + sed -i 's/\r\n*$//' docs/website/scripts/filter_png.js sed: can't read docs/website/scripts/filter_png.js: No such file or directory + : + find . -mtime -1 -print0 + xargs -0 touch --reference /builddir/build/SOURCES/nut-2.7.3.tar.gz Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Sepn3f + exit 0 + umask 022 + cd /builddir/build/BUILD + cd nut-2.7.3 + autoreconf -i libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltversion.m4' + export LDFLAGS=-Wl,-z,now + LDFLAGS=-Wl,-z,now + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS=-Wl,-z,now + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in '$(find $(dirname ./configure) -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find $(dirname ./configure) -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in '$(find . -name ltmain.sh)' + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=armv6hl-redhat-linux-gnu --host=armv6hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-all --with-libltdl --without-hal --with-cgi --datadir=/usr/share/nut --with-user=nut --with-group=dialout --with-statepath=/var/run/nut --with-pidpath=/var/run/nut --with-altpidpath=/var/run/nut --sysconfdir=/etc/ups --with-cgipath=/var/www/nut-cgi-bin --with-drvpath=/usr/sbin --with-systemdsystemunitdir=/usr/lib/systemd/system --with-pkgconfig-dir=/usr/lib/pkgconfig --disable-static --with-udev-dir=/usr/lib/udev --libdir=/usr/lib configure: WARNING: unrecognized options: --without-hal Network UPS Tools version 2.7.3 checking build system type... armv6hl-redhat-linux-gnu checking host system type... armv6hl-redhat-linux-gnu checking target system type... armv6hl-redhat-linux-gnu checking for host system name... fedora 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 for autoconf macro to enable system extensions... yes checking for style of include used by make... GNU checking for armv6hl-redhat-linux-gnu-gcc... no 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 dependency style of gcc... none 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 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 whether to enable maintainer-specific portions of Makefiles... no checking for armv6hl-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking how to run the C preprocessor... gcc -E checking for armv6hl-redhat-linux-gnu-g++... no checking for armv6hl-redhat-linux-gnu-c++... no checking for armv6hl-redhat-linux-gnu-gpp... no checking for armv6hl-redhat-linux-gnu-aCC... no checking for armv6hl-redhat-linux-gnu-CC... no checking for armv6hl-redhat-linux-gnu-cxx... no checking for armv6hl-redhat-linux-gnu-cc++... no checking for armv6hl-redhat-linux-gnu-cl.exe... no checking for armv6hl-redhat-linux-gnu-FCC... no checking for armv6hl-redhat-linux-gnu-KCC... no checking for armv6hl-redhat-linux-gnu-RCC... no checking for armv6hl-redhat-linux-gnu-xlC_r... no checking for armv6hl-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking for egrep... (cached) /usr/bin/grep -E checking for ar... /usr/bin/ar checking for armv6hl-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking whether byte ordering is bigendian... no checking for inline... inline checking for flexible array members... yes checking for variable-length arrays... yes checking for flock... yes checking for lockf... yes checking for fcvt... yes checking for fcvtl... no checking for cfsetispeed... yes checking for tcsendbreak... yes checking for seteuid... yes checking for setsid... yes checking for getpassphrase... no checking for on_exit... yes checking for strptime... yes checking for setlogmask... yes checking whether LOG_UPTO is declared... yes checking for unsigned long long int... yes checking for vsnprintf... yes checking for snprintf... yes checking for setenv... yes checking for strerror... yes checking for atexit... yes checking for armv6hl-redhat-linux-gnu-pkg-config... /usr/bin/armv6hl-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for CPPUNIT... no configure: WARNING: libcppunit not found. checking whether optind is declared... yes checking for getopt.h... yes checking for getopt_long... yes checking whether uu_lock is declared... no checking whether __func__ is declared... yes checking for library containing gethostbyname... none required checking for library containing connect... none required checking whether time.h and sys/time.h may both be included... yes checking for sys/modem.h... no checking for stdarg.h... yes checking for varargs.h... no checking for sys/termios.h... yes checking for sys/time.h... yes checking for library containing pthread_create... -lpthread checking for socklen_t... yes checking for --with-all... "yes" checking for Net-SNMP version via net-snmp-config... 5.7.3 found checking for Net-SNMP cflags... -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp -D_RPM_4_4_COMPAT -Wformat -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -O2 -g -march=armv6 -mfloat-abi=hard -mfpu=vfp -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/CORE -I/usr/include checking for Net-SNMP libs... -Wl,-z,relro -Wl,-z,now -L/usr/lib -lnetsnmp -lssl -lssl -lcrypto -lm checking for net-snmp/net-snmp-config.h... yes checking for init_snmp... yes checking for libusb version via pkg-config... 0.1.12 found checking for libusb cflags... -I/usr/include/libusb-1.0 checking for libusb ldflags... -lusb checking for usb.h... yes checking for usb_init... yes checking for usb_detach_kernel_driver_np... yes checking for libneon version via pkg-config (0.25.0 minimum required)... 0.30.1 found checking for libneon cflags... -D_LARGEFILE64_SOURCE -DNE_LFS -I/usr/include/neon checking for libneon ldflags... -lneon checking for ne_xmlreq.h... yes checking for ne_xml_dispatch_request... yes checking for ne_set_connect_timeout... yes checking for ne_sock_connect_timeout... yes checking for libpowerman cflags... checking for libpowerman libs... -lpowerman checking for libpowerman.h... yes checking for pm_connect... yes checking for avahi-core version via pkg-config (0.6.30 minimum required)... 0.6.31 found checking for avahi-client version via pkg-config (0.6.30 minimum required)... 0.6.31 found checking for avahi cflags... -D_REENTRANT checking for avahi ldflags... -lavahi-common -lavahi-core -lavahi-common -lavahi-client checking for avahi-common/malloc.h... yes checking for avahi_free... no checking whether to build serial drivers... yes checking whether to build USB drivers... yes checking whether to build SNMP drivers... yes checking whether to build neon based XML driver... yes configure: error: "avahi libraries not found" RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.Sepn3f (%build) Bad exit status from /var/tmp/rpm-tmp.Sepn3f (%build) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv6hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/nut.spec Traceback (most recent call last): File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/lib/python3.4/site-packages/mockbuild/util.py", line 526, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) mockbuild.exception.Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv6hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/nut.spec LEAVE do --> EXCEPTION RAISED