Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/jhdf5.spec'], chrootPath='/var/lib/mock/f33-build-320136-57917/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/jhdf5.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 warning: line 30: Possible unexpanded macro in: Requires: hdf5 = %{_hdf5_version} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1593043200 Wrote: /builddir/build/SRPMS/jhdf5-3.3.2-5.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jhdf5.spec'], chrootPath='/var/lib/mock/f33-build-320136-57917/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jhdf5.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1593043200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WveoSa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hdfjava-3.3.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/HDFJava-3.3.2-Source.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd hdfjava-3.3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/jhdf5-0001-add-a-generic-linux-host.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/jhdf5-0003-use-system-linker-for-shared-library.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/libdf.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + sed -r -i '/-d "\$JH45INST"/ {N; N; N; N; N; N; d;}' configure + find -name '*.jar' -print -delete ./lib/junit.jar ./lib/slf4j-api-1.7.5-sources.jar ./lib/ext/slf4j-nop-1.7.5.jar ./lib/ext/slf4j-nop-1.7.5-sources.jar ./lib/ext/hamcrest-core-1.3.jar ./lib/ext/junit-4.11-sources.jar ./lib/ext/slf4j-simple-1.7.5-sources.jar ./lib/ext/hamcrest-core-1.3-sources.jar ./lib/ext/junit-4.11.jar ./lib/ext/hamcrest-core-1.3-javadoc.jar ./lib/ext/slf4j-simple-1.7.5.jar ./lib/ext/junit-4.11-javadoc.jar ./lib/slf4j-api-1.7.5.jar ./lib/slf4j-simple-1.7.5.jar ./lib/hamcrest-core.jar + build-jar-repository -p lib/ junit slf4j- + ln -s slf4j-api.jar lib/slf4j-api-1.7.5.jar + ln -s slf4j-nop.jar lib/slf4j-nop-1.7.5.jar + sed -i 's/$(JAVADOC_FLAGS)/$(JAVADOC_FLAGS) -Xdoclint:none/' Makefile.am Makefile.in + find . -name '*.c' -type f '(' -exec grep -q -P '\bMAX_(NC_NAME|VAR_DIMS)\b' '{}' ';' -print -exec sed -i -r 's/\bMAX_(NC_NAME|VAR_DIMS)\b/H4_&/g' '{}' ';' -o -exec grep -q -P '\bH5_VERS_RELEASE\b' '{}' ';' -print -exec sed -i -r 's/H5_VERS_RELEASE >=? [^)]*/1/' '{}' ';' ')' ./native/hdf5lib/h5Constants.c ./native/hdf5lib/h5pImp.c ./native/hdf5lib/h5plImp.c ./native/hdf5lib/h5Imp.c ./native/hdflib/hdfsdsImp.c ./native/hdflib/hdfvdataImp.c ./native/hdflib/hdfstructsutil.c + /usr/bin/python3 /usr/share/java-utils/mvn_package.py org.hdfgroup:jhdf5 jhdf5 + /usr/bin/python3 /usr/share/java-utils/mvn_file.py org.hdfgroup:jhdf5 jhdf5 + /usr/bin/python3 /usr/share/java-utils/mvn_package.py org.hdfgroup:jhdf jhdf + /usr/bin/python3 /usr/share/java-utils/mvn_file.py org.hdfgroup:jhdf jhdf + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cDaUma + umask 022 + cd /builddir/build/BUILD + cd hdfjava-3.3.2 + export CPPFLAGS=-I/usr/lib/jvm/java-11-openjdk/include/linux + CPPFLAGS=-I/usr/lib/jvm/java-11-openjdk/include/linux + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 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/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-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 --with-jdk=/usr/lib/jvm/java-11-openjdk/include,/usr/lib/jvm/java-11-openjdk/lib --with-hdf5=/usr/include,/usr/lib64 --with-hdf4=/usr/include/hdf,/usr/lib64/hdf --with-libsz=/usr/include,/usr/lib64 --with-libz=/usr/include,/usr/lib64 --with-libjpeg=/usr/include,/usr/lib64 configure: WARNING: unrecognized options: --disable-dependency-tracking checking if tr works... yes checking for gawk... gawk checking if expr works... yes checking for riscv64-redhat-linux-gnu-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 make sets $(MAKE)... no checking for a BSD-compatible install... /usr/bin/install -c 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 ceil in -lm... yes checking for rm... /usr/bin/rm checking for find... /usr/bin/find checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu FYI the target here is: riscv64-redhat-linux-gnu checking gzip compression... yes zlib found: /usr/lib64/libz.a checking jpeg compression... yes jpeg found: /usr/lib64/libjpeg.a checking szip compression... yes szlib found: /usr/lib64/libsz.a checking HDF4 library... yes HDF4 found: /usr/lib64/hdf checking dependencies for HDF4 library... OK checking HDF5 library... yes HDF5 found: /usr/lib64 checking dependencies for HDF5 library... OK checking HDF4to5 library... no checking jni.h usability... yes checking jni.h presence... yes checking for jni.h... yes configure: error: cannot find jdk classes in JDK lib path. error: Bad exit status from /var/tmp/rpm-tmp.cDaUma (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.cDaUma (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status 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/jhdf5.spec