Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/bluecove.spec'], chrootPath='/var/lib/mock/f30-build-38556-22233/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'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/bluecove.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'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 20: %{version}-sources.tar.gz BUILDSTDERR: warning: Macro expanded in comment on line 21: %{version}-sources.tar.gz BUILDSTDERR: warning: Macro expanded in comment on line 22: %{version}-sources.tar.gz BUILDSTDERR: warning: Macro expanded in comment on line 23: %{version}-sources.tar.gz Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/bluecove-2.1.1-0.16.20101024snap63.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bluecove.spec'], chrootPath='/var/lib/mock/f30-build-38556-22233/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'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bluecove.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'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 20: %{version}-sources.tar.gz BUILDSTDERR: warning: Macro expanded in comment on line 21: %{version}-sources.tar.gz BUILDSTDERR: warning: Macro expanded in comment on line 22: %{version}-sources.tar.gz BUILDSTDERR: warning: Macro expanded in comment on line 23: %{version}-sources.tar.gz Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.X74iUh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bluecove-2.1.1-SNAPSHOT + /usr/bin/gzip -dc /builddir/build/SOURCES/bluecove-2.1.1-SNAPSHOT-sources.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bluecove-2.1.1-SNAPSHOT + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar zxf /builddir/build/SOURCES/bluecove-gpl-2.1.1-SNAPSHOT-sources.tar.gz + tar zxf /builddir/build/SOURCES/bluecove-bluez-2.1.1-SNAPSHOT-sources.tar.gz + tar zxf /builddir/build/SOURCES/bluecove-emu-2.1.1-SNAPSHOT-sources.tar.gz + find -name '*.class' -exec rm -f '{}' ';' + find -name '*.jar' -exec rm -f '{}' ';' + cp -p bluecove-gpl-2.1.1-SNAPSHOT/AUTHORS.txt AUTHORS-gpl.txt + cp -p bluecove-gpl-2.1.1-SNAPSHOT/LICENSE.txt LICENSE-gpl.txt + cp -p /builddir/build/SOURCES/README.dist . + sed -i -e 's/source="..."/source="1.5"/g' -e 's/target="..."/target="1.5"/' build.xml bluecove-bluez-2.1.1-SNAPSHOT/build.xml bluecove-emu-2.1.1-SNAPSHOT/build.xml bluecove-gpl-2.1.1-SNAPSHOT/build.xml + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.X1c9Sg + umask 022 + cd /builddir/build/BUILD + cd bluecove-2.1.1-SNAPSHOT + ant jar -Dproduct_version=2.1.1 Buildfile: /builddir/build/BUILD/bluecove-2.1.1-SNAPSHOT/build.xml init: [mkdir] Created dir: /builddir/build/BUILD/bluecove-2.1.1-SNAPSHOT/target/classes compile: [echo] compiling on java 1.8 (1.8.0_181) [javac] /builddir/build/BUILD/bluecove-2.1.1-SNAPSHOT/build.xml:49: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 135 source files to /builddir/build/BUILD/bluecove-2.1.1-SNAPSHOT/target/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5 [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 4 warnings jar: [mkdir] Created dir: /builddir/build/BUILD/bluecove-2.1.1-SNAPSHOT/src/main/resources [jar] Building jar: /builddir/build/BUILD/bluecove-2.1.1-SNAPSHOT/target/bluecove-2.1.1.jar BUILD SUCCESSFUL Total time: 63 minutes 20 seconds + cd bluecove-gpl-2.1.1-SNAPSHOT + ant jar -Dproduct_version=2.1.1 -Dbluecove_main_dist_dir=../target -Dbluecove.native.resources.skip=true -Dbluecove.native.linker.options= '-DCC_compiler_options=-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 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fno-stack-protector' Buildfile: /builddir/build/BUILD/bluecove-2.1.1-SNAPSHOT/bluecove-gpl-2.1.1-SNAPSHOT/build.xml init-native: [mkdir] Created dir: /builddir/build/BUILD/bluecove-2.1.1-SNAPSHOT/bluecove-gpl-2.1.1-SNAPSHOT/target/classes [mkdir] Created dir: /builddir/build/BUILD/bluecove-2.1.1-SNAPSHOT/bluecove-gpl-2.1.1-SNAPSHOT/target/native [echo] java.home /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181.b15-1.1.riscv64.fc29.riscv64/jre verify-java-home: verify-cruisecontrol: init: [mkdir] Created dir: /builddir/build/BUILD/bluecove-2.1.1-SNAPSHOT/bluecove-gpl-2.1.1-SNAPSHOT/src/main/resources verify-bluecove-main-exists: compile: [echo] compiling on java 1.8.0_181, OS Linux 4.20.0-0.rc4.git0.1.0.riscv64.fc29.riscv64 riscv64 [javac] /builddir/build/BUILD/bluecove-2.1.1-SNAPSHOT/bluecove-gpl-2.1.1-SNAPSHOT/build.xml:95: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 3 source files to /builddir/build/BUILD/bluecove-2.1.1-SNAPSHOT/bluecove-gpl-2.1.1-SNAPSHOT/target/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5 [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] Note: /builddir/build/BUILD/bluecove-2.1.1-SNAPSHOT/bluecove-gpl-2.1.1-SNAPSHOT/src/main/java/com/intel/bluetooth/BluetoothStackBlueZ.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 4 warnings jni-headers: [echo] create JNI headers using java.home /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181.b15-1.1.riscv64.fc29.riscv64/jre compile-native-lib: [echo] compiling .c -> .o (-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 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fno-stack-protector) BUILDSTDERR: BUILD FAILED BUILDSTDERR: /builddir/build/BUILD/bluecove-2.1.1-SNAPSHOT/bluecove-gpl-2.1.1-SNAPSHOT/build.xml:127: Execute failed: java.io.IOException: Cannot run program "gcc" (in directory "/builddir/build/BUILD/bluecove-2.1.1-SNAPSHOT/bluecove-gpl-2.1.1-SNAPSHOT"): error=2, No such file or directory BUILDSTDERR: at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) BUILDSTDERR: at java.lang.Runtime.exec(Runtime.java:620) BUILDSTDERR: at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58) BUILDSTDERR: at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:424) BUILDSTDERR: at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:438) BUILDSTDERR: at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:630) BUILDSTDERR: at org.apache.tools.ant.taskdefs.ExecuteOn.runExec(ExecuteOn.java:410) BUILDSTDERR: at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:497) BUILDSTDERR: at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) BUILDSTDERR: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) BUILDSTDERR: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) BUILDSTDERR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) BUILDSTDERR: at java.lang.reflect.Method.invoke(Method.java:498) BUILDSTDERR: at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) BUILDSTDERR: at org.apache.tools.ant.Task.perform(Task.java:350) BUILDSTDERR: at org.apache.tools.ant.Target.execute(Target.java:449) BUILDSTDERR: at org.apache.tools.ant.Target.performTasks(Target.java:470) BUILDSTDERR: at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388) BUILDSTDERR: at org.apache.tools.ant.Project.executeTarget(Project.java:1361) BUILDSTDERR: at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) BUILDSTDERR: at org.apache.tools.ant.Project.executeTargets(Project.java:1251) BUILDSTDERR: at org.apache.tools.ant.Main.runBuild(Main.java:834) BUILDSTDERR: at org.apache.tools.ant.Main.startAnt(Main.java:223) BUILDSTDERR: at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284) BUILDSTDERR: at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101) BUILDSTDERR: Caused by: java.io.IOException: error=2, No such file or directory BUILDSTDERR: at java.lang.UNIXProcess.forkAndExec(Native Method) BUILDSTDERR: at java.lang.UNIXProcess.(UNIXProcess.java:247) BUILDSTDERR: at java.lang.ProcessImpl.start(ProcessImpl.java:134) BUILDSTDERR: at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) BUILDSTDERR: ... 24 more BUILDSTDERR: Total time: 10 minutes 31 seconds BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.X1c9Sg (%build) RPM build errors: BUILDSTDERR: Macro expanded in comment on line 20: %{version}-sources.tar.gz BUILDSTDERR: Macro expanded in comment on line 21: %{version}-sources.tar.gz BUILDSTDERR: Macro expanded in comment on line 22: %{version}-sources.tar.gz BUILDSTDERR: Macro expanded in comment on line 23: %{version}-sources.tar.gz BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.X1c9Sg (%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 636, 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/bluecove.spec