Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/openzwave.spec'], chrootPath='/var/lib/mock/f29-build-18441-9610/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/openzwave.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 10: %{version}.tar.gz Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/openzwave-1.5.0-0.20171211gitc3b0e31.0.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/openzwave.spec'], chrootPath='/var/lib/mock/f29-build-18441-9610/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/openzwave.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 10: %{version}.tar.gz Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lmgBYh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf open-zwave-c3b0e3113ea4ca86c6be9a1224b9e771b771a657 + /usr/bin/gzip -dc /builddir/build/SOURCES/openzwave-c3b0e31.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd open-zwave-c3b0e3113ea4ca86c6be9a1224b9e771b771a657 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (openzwave-tinyxml.patch):' Patch #1 (openzwave-tinyxml.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .tinyxml --fuzz=0 patching file cpp/build/Makefile patching file cpp/examples/MinOZW/Makefile + echo 'Patch #2 (openzwave-hidapi.patch):' Patch #2 (openzwave-hidapi.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .hidapi --fuzz=0 patching file cpp/build/Makefile Hunk #1 succeeded at 69 (offset 3 lines). Hunk #2 succeeded at 99 (offset 3 lines). Hunk #3 succeeded at 117 (offset 3 lines). Hunk #4 succeeded at 127 (offset 3 lines). patching file cpp/examples/MinOZW/Makefile Patch #3 (0001-Revert-New-Barrier-Operator-Implementation.patch): + echo 'Patch #3 (0001-Revert-New-Barrier-Operator-Implementation.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .barrier1 --fuzz=0 patching file cpp/src/command_classes/BarrierOperator.cpp + echo 'Patch #4 (0002-Revert-Drop-all-the-unnecessary-stuff.patch):' Patch #4 (0002-Revert-Drop-all-the-unnecessary-stuff.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .barrier2 --fuzz=0 patching file cpp/src/command_classes/BarrierOperator.cpp patching file cpp/src/command_classes/BarrierOperator.h + echo 'Patch #5 (0003-Fully-implement-BarrierOperator-CC-base-on-SDK.patch):' Patch #5 (0003-Fully-implement-BarrierOperator-CC-base-on-SDK.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .barrier3 --fuzz=0 patching file cpp/src/command_classes/BarrierOperator.cpp patching file cpp/src/command_classes/BarrierOperator.h + echo 'Patch #6 (openzwave-1.5.0-format.patch):' Patch #6 (openzwave-1.5.0-format.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .format --fuzz=0 patching file cpp/src/command_classes/DoorLockLogging.cpp + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XQW5fS + umask 022 + cd /builddir/build/BUILD + cd open-zwave-c3b0e3113ea4ca86c6be9a1224b9e771b771a657 BUILDSTDERR: ++ echo 1.5.0 BUILDSTDERR: ++ awk -F . '{print $1}' + major_ver=1 BUILDSTDERR: ++ echo 1.5.0 BUILDSTDERR: ++ awk -F . '{print $2}' + minor_ver=5 BUILDSTDERR: ++ echo 1.5.0 BUILDSTDERR: ++ awk -F . '{print $3}' + revision=0 + CPPFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wformat -DOPENZWAVE_ENABLE_EXCEPTIONS' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + VERSION_MAJ=1 + VERSION_MIN=5 + VERSION_REV=0 + PREFIX=/usr + sysconfdir=/etc/openzwave/ + includedir=/usr/include + docdir=/usr/share/doc/openzwave-1.5.0 + instlibdir=/usr/lib64 + make -j4 BUILDSTDERR: which: no git in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin) LDFLAGS="-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld " CPPFLAGS="-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wformat -DOPENZWAVE_ENABLE_EXCEPTIONS" make -C /builddir/build/BUILD/open-zwave-c3b0e3113ea4ca86c6be9a1224b9e771b771a657/cpp/build/ - -j4 --jobserver-auth=3,4 BUILDSTDERR: make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/builddir/build/BUILD/open-zwave-c3b0e3113ea4ca86c6be9a1224b9e771b771a657/cpp/build' BUILDSTDERR: which: no git in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin) Building OpenZWave Version Building aescrypt.o Building aeskey.o Building aestab.o Building aes_modes.o Building Security.o Building Proprietary.o Building SwitchMultilevel.o Building MeterPulse.o Building DoorLock.o Building ThermostatFanMode.o Building BasicWindowCovering.o Building Hail.o Building Version.o Building BarrierOperator.o Building NodeNaming.o Building MultiChannelAssociation.o Building Protection.o Building Meter.o Building WakeUp.o Building Association.o Building ManufacturerSpecific.o Building SceneActivation.o Building AssociationCommandConfiguration.o Building ThermostatOperatingState.o Building Battery.o Building CommandClasses.o Building ThermostatFanState.o Building NoOperation.o Building Basic.o Building SensorAlarm.o Building Color.o Building ZWavePlusInfo.o Building Indicator.o Building Language.o Building SensorBinary.o Building SwitchBinary.o Building Clock.o Building Configuration.o Building SwitchToggleBinary.o Building ThermostatMode.o Building TimeParameters.o Building UserCode.o Building CentralScene.o Building ThermostatSetpoint.o Building ApplicationStatus.o Building SwitchToggleMultilevel.o Building MultiInstance.o Building DoorLockLogging.o Building ClimateControlSchedule.o Building ManufacturerProprietary.o BUILDSTDERR: /builddir/build/BUILD/open-zwave-c3b0e3113ea4ca86c6be9a1224b9e771b771a657/cpp/src/command_classes/DoorLockLogging.cpp: In member function 'virtual bool OpenZWave::DoorLockLogging::HandleMsg(const uint8*, uint32, uint32)': BUILDSTDERR: /builddir/build/BUILD/open-zwave-c3b0e3113ea4ca86c6be9a1224b9e771b771a657/cpp/src/command_classes/DoorLockLogging.cpp:312:15: error: passing argument 1 to restrict-qualified parameter aliases with argument 4 [-Werror=restrict] BUILDSTDERR: snprintf(usercode, sizeof(usercode), "%.249s %d", usercode, (int)_data[12+i]); BUILDSTDERR: ^~~~~~~~ ~~~~~~~~ BUILDSTDERR: cc1plus: all warnings being treated as errors BUILDSTDERR: make[1]: *** [/builddir/build/BUILD/open-zwave-c3b0e3113ea4ca86c6be9a1224b9e771b771a657/cpp/build/support.mk:136: /builddir/build/BUILD/open-zwave-c3b0e3113ea4ca86c6be9a1224b9e771b771a657/.lib/DoorLockLogging.o] Error 1 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/builddir/build/BUILD/open-zwave-c3b0e3113ea4ca86c6be9a1224b9e771b771a657/cpp/build' BUILDSTDERR: make: *** [Makefile:20: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.XQW5fS (%build) BUILDSTDERR: Macro expanded in comment on line 10: %{version}.tar.gz BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.XQW5fS (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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 riscv64 --nodeps /builddir/build/SPECS/openzwave.spec