D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/cpl-7.3.2-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7ORzMV Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.s3roOe + umask 022 + cd /home/pterjan/rpmbuild/BUILD/cpl-7.3.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/cpl-7.3.2-build + rm -rf cpl-7.3.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/cpl-7.3.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cpl-7.3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/cpl-i386.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.lVEnqy + umask 022 + cd /home/pterjan/rpmbuild/BUILD/cpl-7.3.2-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -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 + cd cpl-7.3.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '../admin'. libtoolize: copying file '../admin/compile' libtoolize: copying file '../admin/config.guess' libtoolize: copying file '../admin/config.sub' libtoolize: copying file '../admin/depcomp' libtoolize: copying file '../admin/install-sh' libtoolize: copying file '../admin/missing' libtoolize: copying file '../admin/ltmain.sh' libtoolize: putting macros in '../m4'. libtoolize: copying file '../m4/libtool.m4' libtoolize: copying file '../m4/ltargz.m4' libtoolize: copying file '../m4/ltdl.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' libtoolize: putting libltdl files in LT_CONFIG_LTDL_DIR, '.'. libtoolize: copying file './COPYING.LIB' libtoolize: creating file './Makefile.am' libtoolize: copying file './README' libtoolize: creating file './configure.ac' libtoolize: copying file './aclocal.m4' libtoolize: creating file './Makefile.in' libtoolize: copying file './config-h.in' libtoolize: creating file './configure' libtoolize: copying file './libltdl/lt__alloc.h' libtoolize: copying file './libltdl/lt__argz_.h' libtoolize: copying file './libltdl/lt__dirent.h' libtoolize: copying file './libltdl/lt__glibc.h' libtoolize: copying file './libltdl/lt__private.h' libtoolize: copying file './libltdl/lt__strl.h' libtoolize: copying file './libltdl/lt_dlloader.h' libtoolize: copying file './libltdl/lt_error.h' libtoolize: copying file './libltdl/lt_system.h' libtoolize: copying file './libltdl/slist.h' libtoolize: copying file './loaders/dld_link.c' libtoolize: copying file './loaders/dlopen.c' libtoolize: copying file './loaders/dyld.c' libtoolize: copying file './loaders/load_add_on.c' libtoolize: copying file './loaders/loadlibrary.c' libtoolize: copying file './loaders/preopen.c' libtoolize: copying file './loaders/shl_load.c' libtoolize: copying file './lt__alloc.c' libtoolize: copying file './lt__argz.c' libtoolize: copying file './lt__dirent.c' libtoolize: copying file './lt__strl.c' libtoolize: copying file './lt_dlloader.c' libtoolize: copying file './lt_error.c' libtoolize: copying file './ltdl.c' libtoolize: copying file './ltdl.h' libtoolize: copying file './slist.c' libtoolize: Remember to add 'LTDL_INIT' to configure.ac. libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([../m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'admin'. libtoolize: copying file 'admin/compile' libtoolize: copying file 'admin/config.guess' libtoolize: copying file 'admin/config.sub' libtoolize: copying file 'admin/depcomp' libtoolize: copying file 'admin/install-sh' libtoolize: copying file 'admin/missing' libtoolize: copying file 'admin/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltargz.m4' libtoolize: copying file 'm4/ltdl.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' libtoolize: putting libltdl files in 'libltdl'. libtoolize: copying file 'libltdl/COPYING.LIB' libtoolize: creating file 'libltdl/Makefile.am' libtoolize: copying file 'libltdl/README' libtoolize: creating file 'libltdl/configure.ac' libtoolize: copying file 'libltdl/aclocal.m4' libtoolize: creating file 'libltdl/Makefile.in' libtoolize: copying file 'libltdl/config-h.in' libtoolize: creating file 'libltdl/configure' libtoolize: copying file 'libltdl/libltdl/lt__alloc.h' libtoolize: copying file 'libltdl/libltdl/lt__argz_.h' libtoolize: copying file 'libltdl/libltdl/lt__dirent.h' libtoolize: copying file 'libltdl/libltdl/lt__glibc.h' libtoolize: copying file 'libltdl/libltdl/lt__private.h' libtoolize: copying file 'libltdl/libltdl/lt__strl.h' libtoolize: copying file 'libltdl/libltdl/lt_dlloader.h' libtoolize: copying file 'libltdl/libltdl/lt_error.h' libtoolize: copying file 'libltdl/libltdl/lt_system.h' libtoolize: copying file 'libltdl/libltdl/slist.h' libtoolize: copying file 'libltdl/loaders/dld_link.c' libtoolize: copying file 'libltdl/loaders/dlopen.c' libtoolize: copying file 'libltdl/loaders/dyld.c' libtoolize: copying file 'libltdl/loaders/load_add_on.c' libtoolize: copying file 'libltdl/loaders/loadlibrary.c' libtoolize: copying file 'libltdl/loaders/preopen.c' libtoolize: copying file 'libltdl/loaders/shl_load.c' libtoolize: copying file 'libltdl/lt__alloc.c' libtoolize: copying file 'libltdl/lt__argz.c' libtoolize: copying file 'libltdl/lt__dirent.c' libtoolize: copying file 'libltdl/lt__strl.c' libtoolize: copying file 'libltdl/lt_dlloader.c' libtoolize: copying file 'libltdl/lt_error.c' libtoolize: copying file 'libltdl/ltdl.c' libtoolize: copying file 'libltdl/ltdl.h' libtoolize: copying file 'libltdl/slist.c' libtoolize: Remember to add 'LTDL_INIT' to configure.ac. libtoolize: Remember to add 'LT_CONFIG_LTDL_DIR([libltdl])' to 'configure.ac'. libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'admin'. libtoolize: copying file 'admin/compile' libtoolize: copying file 'admin/config.guess' libtoolize: copying file 'admin/config.sub' libtoolize: copying file 'admin/depcomp' libtoolize: copying file 'admin/install-sh' libtoolize: copying file 'admin/missing' libtoolize: copying file 'admin/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltargz.m4' libtoolize: copying file 'm4/ltdl.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' libtoolize: putting libltdl files in LT_CONFIG_LTDL_DIR, 'libltdl'. libtoolize: copying file 'libltdl/COPYING.LIB' libtoolize: creating file 'libltdl/Makefile.am' libtoolize: copying file 'libltdl/README' libtoolize: creating file 'libltdl/configure.ac' libtoolize: copying file 'libltdl/aclocal.m4' libtoolize: creating file 'libltdl/Makefile.in' libtoolize: copying file 'libltdl/config-h.in' libtoolize: creating file 'libltdl/configure' libtoolize: copying file 'libltdl/libltdl/lt__alloc.h' libtoolize: copying file 'libltdl/libltdl/lt__argz_.h' libtoolize: copying file 'libltdl/libltdl/lt__dirent.h' libtoolize: copying file 'libltdl/libltdl/lt__glibc.h' libtoolize: copying file 'libltdl/libltdl/lt__private.h' libtoolize: copying file 'libltdl/libltdl/lt__strl.h' libtoolize: copying file 'libltdl/libltdl/lt_dlloader.h' libtoolize: copying file 'libltdl/libltdl/lt_error.h' libtoolize: copying file 'libltdl/libltdl/lt_system.h' libtoolize: copying file 'libltdl/libltdl/slist.h' libtoolize: copying file 'libltdl/loaders/dld_link.c' libtoolize: copying file 'libltdl/loaders/dlopen.c' libtoolize: copying file 'libltdl/loaders/dyld.c' libtoolize: copying file 'libltdl/loaders/load_add_on.c' libtoolize: copying file 'libltdl/loaders/loadlibrary.c' libtoolize: copying file 'libltdl/loaders/preopen.c' libtoolize: copying file 'libltdl/loaders/shl_load.c' libtoolize: copying file 'libltdl/lt__alloc.c' libtoolize: copying file 'libltdl/lt__argz.c' libtoolize: copying file 'libltdl/lt__dirent.c' libtoolize: copying file 'libltdl/lt__strl.c' libtoolize: copying file 'libltdl/lt_dlloader.c' libtoolize: copying file 'libltdl/lt_error.c' libtoolize: copying file 'libltdl/ltdl.c' libtoolize: copying file 'libltdl/ltdl.h' libtoolize: copying file 'libltdl/slist.c' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -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 + 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 ./admin/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./admin/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./admin/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./admin/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./admin/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./admin/config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./libcext/admin/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./libcext/admin/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./libcext/admin/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./libcext/admin/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./libcext/admin/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./libcext/admin/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 Modifying admin/ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /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 --disable-static checking build system type... x86_64-mageia-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking whether UID '500' is supported by ustar format... yes checking whether GID '1001' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... x86_64-mageia-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for x86_64-mageia-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none 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 how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.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 -m elf_x86_64) 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 for gcc options needed to detect all undeclared functions... none needed checking what extension is used for runtime loadable modules... .so checking what variable specifies run-time module search path... LD_LIBRARY_PATH checking for the default library search path... /usr/lib64 /lib64 /usr/lib64 /lib /usr/lib checking for library containing dlopen... none required checking for dlerror... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dld_link in -ldld... no checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking for argz.h... yes checking for error_t... yes checking for argz_add... yes checking for argz_append... yes checking for argz_count... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking if argz actually works... yes checking whether libtool supports -dlopen/-dlpreopen... yes checking for ltdl.h... no checking where to find libltdl headers... -I$(top_srcdir)/libltdl checking where to find libltdl library... $(top_build_prefix)libltdl/libltdlc.la checking for unistd.h... (cached) yes checking for dl.h... no checking for sys/dl.h... no checking for dld.h... no checking for mach-o/dyld.h... no checking for dirent.h... yes checking for closedir... yes checking for opendir... yes checking for readdir... yes checking for strlcat... yes checking for strlcpy... yes checking for x86_64-mageia-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking whether gcc and cc understand -c and -o together... yes checking whether gcc supports -std=c99... yes checking whether gcc supports -fno-common... yes checking whether debugging code should be created... no checking whether strict compiler options should be used... no checking whether profiling compiler options should be used... no checking for doxygen... no checking for latex... no checking for Java Development Kit... no checking whether gcc supports -pthread... yes checking for pthread_create in -lpthread... yes checking for pthread.h... yes checking for the compiler option to support OpenMP... -fopenmp checking whether thread support is available... yes checking for library containing omp_get_num_threads... none required checking for socket in -lsocket... no checking for inet_ntoa in -lnsl... no checking for pkg-config... pkg-config checking for gcc option to enable large file support... none needed checking for cfitsio... yes checking for a cfitsio version >= 3.35... 4.6 checking whether cfitsio provides fits_hdu_getoff()... yes checking whether cfitsio provides fits_get_hduaddrll()... yes checking whether cfitsio was compiled with thread support... no configure: error: Building with thread support requires a thread-safe libcfitsio! Please update your cfitsio installation error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.lVEnqy (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.lVEnqy (%build) I: [iurt_root_command] ERROR: chroot