Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/lirc.spec'], chrootPath='/var/lib/mock/epel7-build-15478939-1115109/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/lirc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/lirc-0.10.0-4.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/lirc.spec'], chrootPath='/var/lib/mock/epel7-build-15478939-1115109/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/lirc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kbp1sk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lirc-0.10.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/lirc-0.10.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd lirc-0.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-build-install-media-lirc.h-BTS-872074.patch + /usr/bin/patch -s + sed -i -e 's/#effective-user/effective-user /' lirc_options.conf + sed -i -e '/^effective-user/s/=$/= lirc/' lirc_options.conf + sed -i -e 's|/usr/local/etc/|/etc/|' contrib/irman2lirc + cd python-pkg/tests + rm dummy-server lircrc.conf test_client.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EdiyCK + umask 022 + cd /builddir/build/BUILD + cd lirc-0.10.0 + autoreconf -fi libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' + CFLAGS='-O2 -g -pipe -Wall -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 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -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 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 == 1 ']' + '[' aarch64 == ppc64le ']' BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ 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 . -name config.guess -o -name config.sub)' BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-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/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --docdir=/usr/share/doc/lirc-0.10.0 --enable-uinput --enable-devinput --with-lockdir=/var/lock/lockdev 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 aarch64-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 for style of include used by make... GNU checking dependency style of gcc... none checking whether gcc and cc understand -c and -o together... yes checking for aarch64-redhat-linux-gnu-g++... no checking for aarch64-redhat-linux-gnu-c++... no checking for aarch64-redhat-linux-gnu-gpp... no checking for aarch64-redhat-linux-gnu-aCC... no checking for aarch64-redhat-linux-gnu-CC... no checking for aarch64-redhat-linux-gnu-cxx... no checking for aarch64-redhat-linux-gnu-cc++... no checking for aarch64-redhat-linux-gnu-cl.exe... no checking for aarch64-redhat-linux-gnu-FCC... no checking for aarch64-redhat-linux-gnu-KCC... no checking for aarch64-redhat-linux-gnu-RCC... no checking for aarch64-redhat-linux-gnu-xlC_r... no checking for aarch64-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 sh... /usr/bin/sh checking for modinfo... modinfo checking for pkg-config... yes checking for xsltproc... yes checking for man2html... yes checking for doxygen... yes checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E 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 whether ln -s works... yes 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 aarch64-redhat-linux-gnu file names to aarch64-redhat-linux-gnu format... func_convert_file_noop checking how to convert aarch64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for aarch64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for aarch64-redhat-linux-gnu-strip... no checking for strip... strip checking for aarch64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for aarch64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -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 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) 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 how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for a Python interpreter with version >= 3.1... python3 checking for python3... /usr/bin/python3 checking for python3 version... 3.6 checking for python3 platform... linux checking for python3 script directory... ${prefix}/lib/python3.6/site-packages checking for python3 extension module directory... ${exec_prefix}/lib64/python3.6/site-packages checking for aarch64-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for PYTHON... yes checking for PYTHON... yes checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking whether termios.h defines TIOCGWINSZ... no checking whether sys/ioctl.h defines TIOCGWINSZ... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking linux/ioctl.h usability... yes checking linux/ioctl.h presence... yes checking for linux/ioctl.h... yes checking linux/sched.h usability... yes checking linux/sched.h presence... yes checking for linux/sched.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking util.h usability... no checking util.h presence... no checking for util.h... no checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking Figure out if getgrouplist() needs gid_t or int... gid_t checking for gethostname... yes checking for gettimeofday... yes checking for mkfifo... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strerror... yes checking for strtoul... yes checking for snprintf... yes checking for strsep... yes checking for vsyslog... yes checking for library containing dlopen... -ldl checking for daemon... yes checking for clock_gettime... yes checking python3 module: yaml... yes checking for forkpty... no checking for forkpty in -lutil... yes checking for linux kernel... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking usb.h usability... yes checking usb.h presence... yes checking for usb.h... yes checking libusb-1.0/libusb.h usability... yes checking libusb-1.0/libusb.h presence... yes checking for libusb-1.0/libusb.h... yes checking libusb.h usability... no checking libusb.h presence... no checking for libusb.h... no checking for usb_get_string in -lusb... yes checking for libusb_get_port_number in -lusb-1.0... yes checking for FTDI... no checking for FTDI... yes checking for PORTAUDIO... yes checking alsa/asoundlib.h usability... yes checking alsa/asoundlib.h presence... yes checking for alsa/asoundlib.h... yes checking for snd_async_del_handler in -lasound... yes checking for ALSA SB RC hwdep support... yes checking for devinput... no checking for working poll(2)... no checking linux/input.h usability... yes checking linux/input.h presence... yes checking for linux/input.h... yes checking linux/lirc.h usability... yes checking linux/lirc.h presence... yes checking for linux/lirc.h... yes checking scsi/sg.h usability... yes checking scsi/sg.h presence... yes checking for scsi/sg.h... yes checking mach/mach_time.h usability... no checking mach/mach_time.h presence... no checking for mach/mach_time.h... no checking IOKit/IOCFPlugIn.h usability... no checking IOKit/IOCFPlugIn.h presence... no checking for IOKit/IOCFPlugIn.h... no checking for linux/input.h... (cached) yes checking linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/types.h... yes checking for linux/hiddev.h... yes checking for HIDDEV_FLAG_UREF support... yes checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking linux/i2c-dev.h usability... yes checking linux/i2c-dev.h presence... yes checking for linux/i2c-dev.h... yes checking for SYSTEMD... yes checking for SYSTEMD... yes checking for udev_device_new_from_device_id in -ludev... yes checking libudev.h usability... yes checking libudev.h presence... yes checking for libudev.h... yes checking for LIBUDEV... yes checking systemd system unit directory... /usr/lib/systemd/system checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating VERSION config.status: creating Makefile config.status: creating lirc.pc config.status: creating lirc-driver.pc BUILDSTDERR: config.status: WARNING: 'lirc-driver.pc.in' seems to ignore the --datarootdir setting config.status: creating daemons/Makefile config.status: creating plugins/Makefile config.status: creating tools/Makefile config.status: creating lib/Makefile config.status: creating doc/Makefile config.status: creating configs/Makefile config.status: creating doc/docpage.xsl config.status: creating systemd/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands Summary of selected options: ---------------------------------------- prefix: /usr lockdir: /var/lock/lockdev sysconfdir: /etc x_progs: irxevent xmode2 host: aarch64-redhat-linux-gnu host_os: linux-gnu forkpty: -lutil LIBUSB_LIBS: -lusb -lusb-1.0 PORTAUDIO_LIBS: -lportaudio -lm -lpthread -lasound Conditionals: BUILD_ALSA_SB_RC: yes BUILD_DSP: yes BUILD_FTDI: yes BUILD_HIDDEV: yes BUILD_I2CUSER: yes BUILD_LIBALSA: yes BUILD_LIBPORTAUDIO: yes BUILD_USB: yes BUILD_XTOOLS: yes HAVE_DOXYGEN: yes HAVE_MAN2HTML: yes HAVE_PYMOD_YAML: yes ENABLE_UINPUT: yes INSTALL_ETC: yes IS_CROSS_COMPILE: no DEVEL: no LINUX_KERNEL: yes HAVE_DEVINPUT: yes WITH_SYSTEMDSYSTEMUNITDIR: yes HAVE_PYTHON35: yes + make LANG=C.utf8 V=0 -j4 Making all in lib CC config_file.lo CC ciniparser.lo CC dictionary.lo CC driver.lo CC drv_admin.lo CC dump_config.lo CC ir_remote.lo CXX line_buffer.lo CC lirc_log.lo CC lirc_options.lo CC lirc-utils.lo CC curl_poll.lo CC receive.lo CC release.lo CC serial.lo CC transmit.lo CC lirc_client.lo CC drv_enum.lo CC irrecord.lo CC input_map.lo CXXLD liblirc.la CCLD liblirc_client.la CCLD liblirc_driver.la CCLD libirrecord.la Making all in daemons CXX lircrcd.o CXX lircd.o CXX lircmd-lircmd.o CXX lircd-uinput.o CXXLD lircmd BUILDSTDERR: lircd-uinput.cpp: In function 'void send_message(const options*, const char*)': BUILDSTDERR: lircd-uinput.cpp:425:54: warning: 'code' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (!write_event(opts->uinputfd, EV_KEY, code, value)) BUILDSTDERR: ^ CXXLD lircd-uinput CXXLD lircrcd CXXLD lircd Making all in tools CXX ircat.o CXX irexec.o CXX irrecord-ui.o CXX irsend.o CXX irsimreceive.o CXX irsimsend.o CXX irtestcase.o CXX irw.o CXX lirc-lsremotes.o CXX mode2.o CXX xmode2.o CXX irxevent.o CXX irpipe-irpipe.o CXX irpty.o CXX lirc-lsplugins.o CXXLD ircat CXXLD irexec CXXLD irrecord CXXLD irsend CXXLD irsimreceive CXXLD irsimsend CXXLD irtestcase CXXLD irw CXXLD lirc-lsremotes CXXLD mode2 CXXLD xmode2 CXXLD irxevent CXXLD irpipe CXXLD irpty CXXLD lirc-lsplugins Making all in plugins CC atilibusb_la-atilibusb.lo CC awlibusb_la-awlibusb.lo CC dfclibusb_la-dfclibusb.lo CC srm7500libusb_la-srm7500libusb.lo CC commandir_la-commandir.lo CC ftdi_la-ftdi.lo CC audio_la-audio.lo CC audio_alsa.lo CC alsa_usb.lo CC i2cuser.lo CC dsp.lo CC atwf83.lo CC livedrive_midi.lo CC livedrive_common.lo CC livedrive_seq.lo CC uirt2.lo CC uirt2_common.lo CC uirt2_raw.lo CC devinput.lo CC default.lo CC hiddev.lo CC creative_infracd.lo CC zotac.lo CC mplay.lo CC accent.lo CC bte.lo CC creative.lo CC ea65.lo CC file.lo CC girs.lo CC irlink.lo CC irtoy.lo CC logitech.lo CC mouseremote.lo CC mp3anywhere.lo CC pcmak.lo CC pinsys.lo CC pixelview.lo CC silitek.lo CC tira.lo CC udp.lo CC usbx.lo CCLD atilibusb.la CCLD awlibusb.la CCLD dfclibusb.la CCLD srm7500libusb.la CCLD commandir.la CCLD ftdi.la CCLD audio.la CCLD audio_alsa.la CCLD alsa_usb.la CCLD i2cuser.la CCLD dsp.la CCLD atwf83.la CCLD livedrive_midi.la CCLD livedrive_seq.la CCLD uirt2.la CCLD uirt2_raw.la CCLD devinput.la CCLD default.la CCLD hiddev.la CCLD creative_infracd.la CCLD zotac.la CCLD mplay.la CCLD accent.la CCLD bte.la CCLD creative.la CCLD ea65.la CCLD file.la CCLD girs.la CCLD irlink.la CCLD irtoy.la CCLD logitech.la CCLD mouseremote.la CCLD mp3anywhere.la CCLD pcmak.la CCLD pinsys.la CCLD pixelview.la CCLD silitek.la CCLD tira.la CCLD udp.la CCLD usbx.la Making all in configs BUILDSTDERR: Warning: cannot open /etc/lirc/lirc_options.conf Making all in doc Making all in systemd BUILDSTDERR: make[2]: *** No rule to make target `python-pkg/tests/test_client.py', needed by `all-am'. Stop. BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: make[1]: *** [all-recursive] Error 1 BUILDSTDERR: make: *** [all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.EdiyCK (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.EdiyCK (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/lirc.spec