D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/jhdf5-3.3.2-5.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.IWwp5L + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf hdfjava-3.3.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/HDFJava-3.3.2-Source.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd hdfjava-3.3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/jhdf5-jdk11.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/jhdf5-0001-add-a-generic-linux-host.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/jhdf5-0003-use-system-linker-for-shared-library.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/libdf.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -r -i '/-d "\$JH45INST"/ {N; N; N; N; N; N; d;}' configure + find -name '*.jar' -print -delete ./lib/slf4j-api-1.7.5.jar ./lib/slf4j-api-1.7.5-sources.jar ./lib/slf4j-simple-1.7.5.jar ./lib/junit.jar ./lib/hamcrest-core.jar ./lib/ext/hamcrest-core-1.3-sources.jar ./lib/ext/slf4j-simple-1.7.5-sources.jar ./lib/ext/slf4j-nop-1.7.5.jar ./lib/ext/slf4j-nop-1.7.5-sources.jar ./lib/ext/junit-4.11-javadoc.jar ./lib/ext/junit-4.11-sources.jar ./lib/ext/hamcrest-core-1.3.jar ./lib/ext/hamcrest-core-1.3-javadoc.jar ./lib/ext/slf4j-simple-1.7.5.jar ./lib/ext/junit-4.11.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 -e 's/$(JAVADOC_FLAGS)/$(JAVADOC_FLAGS) -Xdoclint:none/' -e 's,-sourcepath,-classpath $(CLASSPATH)/lib/slf4j-api-1.7.5.jar -sourcepath,' 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/h5Imp.c ./native/hdf5lib/h5plImp.c ./native/hdf5lib/h5pImp.c ./native/hdf5lib/h5Constants.c ./native/hdflib/hdfvdataImp.c ./native/hdflib/hdfsdsImp.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 /home/pterjan/rpmbuild/tmp/rpm-tmp.I5o5tm + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd hdfjava-3.3.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export CPPFLAGS=-I/usr/lib/jvm/java-17-openjdk/include/linux + CPPFLAGS=-I/usr/lib/jvm/java-17-openjdk/include/linux + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config/config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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-17-openjdk/include,/usr/lib/jvm/java-17-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 x86_64-mageia-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 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... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu FYI the target here is: x86_64-mageia-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 checking for java... /usr/lib/jvm/java-17-openjdk/bin/java checking for javac... /usr/lib/jvm/java-17-openjdk/bin/javac checking for javadoc... /usr/lib/jvm/java-17-openjdk/bin/javadoc checking for jar... /usr/lib/jvm/java-17-openjdk/bin/jar configure: creating ./config.status config.status: creating Makefile config.status: creating native/Makefile config.status: creating native/hdflib/Makefile config.status: creating native/hdf5lib/Makefile config.status: creating hdf/Makefile config.status: creating hdf/hdflib/Makefile config.status: creating hdf/hdf5lib/Makefile config.status: creating hdf/hdf5lib/exceptions/Makefile config.status: creating hdf/hdf5lib/callbacks/Makefile config.status: creating hdf/hdf5lib/structs/Makefile config.status: creating test/Makefile config.status: creating test/hdf5lib/junit.sh config.status: creating test/hdf5lib/Makefile config.status: creating examples/Makefile config.status: creating examples/intro/Makefile config.status: creating examples/datasets/Makefile config.status: creating examples/datatypes/Makefile config.status: creating examples/groups/Makefile config.status: creating examples/runExample.sh configure: WARNING: unrecognized options: --disable-dependency-tracking + make natives JPEGLIB=-ljpeg ZLIB=-lz HDF5LIB=-lhdf5 SZLIB=-lsz 'CC=gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1' 'LDOPT= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -shared' cd native; \ make make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/hdfjava-3.3.2/native' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/hdfjava-3.3.2/native' cd hdflib; \ make ; make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/hdfjava-3.3.2/native/hdflib' gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o hdfstructsutil.o hdfstructsutil.c gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o hdfImp.o hdfImp.c gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o hdfvgroupImp.o hdfvgroupImp.c gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o hdfvdataImp.o hdfvdataImp.c gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o hdfsdsImp.o hdfsdsImp.c gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o hdfanImp.o hdfanImp.c gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o hdfdfanImp.o hdfdfanImp.c gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o hdfdfsdImp.o hdfdfsdImp.c gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o hdfr24Imp.o hdfr24Imp.c gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o hdfdfpalImp.o hdfdfpalImp.c gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o hdfr8Imp.o hdfr8Imp.c gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o hdfgrImp.o hdfgrImp.c gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o hdfheImp.o hdfheImp.c gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o hdfdfuImp.o hdfdfuImp.c gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o hdfhxImp.o hdfhxImp.c gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o hdfvfImp.o hdfvfImp.c gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o hdfvhImp.o hdfvhImp.c gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o hdfvqImp.o hdfvqImp.c gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o hdfvsqImp.o hdfvsqImp.c gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o hdfexceptionImp.o hdfexceptionImp.c gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o hdfdfcompImp.o hdfdfcompImp.c gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o hdfnativeImp.o hdfnativeImp.c mkdir -p ../../lib/x86_64-mageia-linux-gnu; gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -shared -o ../../lib/x86_64-mageia-linux-gnu/libjhdf.so hdfstructsutil.o hdfImp.o hdfvgroupImp.o hdfvdataImp.o hdfsdsImp.o hdfanImp.o hdfdfanImp.o hdfdfsdImp.o hdfr24Imp.o hdfdfpalImp.o hdfr8Imp.o hdfgrImp.o hdfheImp.o hdfdfuImp.o hdfhxImp.o hdfvfImp.o hdfvhImp.o hdfvqImp.o hdfvsqImp.o hdfexceptionImp.o hdfdfcompImp.o hdfnativeImp.o -lmfhdf -ldf -lsz -lz -ljpeg -lm make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hdfjava-3.3.2/native/hdflib' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hdfjava-3.3.2/native' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/hdfjava-3.3.2/native' cd hdf5lib; \ make ; make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/hdfjava-3.3.2/native/hdf5lib' gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -D_FILE_OFFSET_BITS=64 -I. -I/usr/include -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o exceptionImp.o exceptionImp.c gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -D_FILE_OFFSET_BITS=64 -I. -I/usr/include -I/usr/lib/jvm/java-17-openjdk/include -I/usr/lib/jvm/java-17-openjdk/include/x86_64-mageia-linux-gnu -I/usr/lib/jvm/java-17-openjdk/include/linux -c -o h5Constants.o h5Constants.c h5Constants.c: In function 'Java_hdf_hdf5lib_HDF5Constants_H5I_1REFERENCE': h5Constants.c:597:81: error: 'H5I_REFERENCE' undeclared (first use in this function); did you mean 'H5T_REFERENCE'? 597 | Java_hdf_hdf5lib_HDF5Constants_H5I_1REFERENCE(JNIEnv *env, jclass cls) { return H5I_REFERENCE; } | ^~~~~~~~~~~~~ | H5T_REFERENCE h5Constants.c:597:81: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [: h5Constants.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hdfjava-3.3.2/native/hdf5lib' make[2]: *** [Makefile:31: do-hdf5lib] Error 2 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hdfjava-3.3.2/native' make[1]: *** [Makefile:28: hdf5lib] Error 2 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hdfjava-3.3.2/native' make: *** [Makefile:130: natives] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.I5o5tm (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.I5o5tm (%build) I: [iurt_root_command] ERROR: chroot