D: [iurt_root_command] chroot warning: %configure2_5x is deprecated, use %configure instead Installing /home/iurt/rpmbuild/SRPMS/ncview-2.1.8-3.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.tW00cH + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf ncview-2.1.8 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/ncview-2.1.8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ncview-2.1.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/ncview-2.1.2-fix-ldflag-linking.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.qELdpI + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd ncview-2.1.8 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi -Im4macros aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:39: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:39: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:33: installing './compile' src/Makefile.am:21: warning: source file 'interface/interface.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. src/Makefile.am:21: warning: source file 'interface/x_interface.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/dataedit.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/display_info.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/plot_xy.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/utils.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/range.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/printer_options.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/filesel.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/set_options.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/plot_range.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/RadioWidget.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/cbar.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/colormap_funcs.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/make_tc_data.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/Makefile.am:37: warning: variable 'AM_LIBADD' is defined but no program or src/Makefile.am:37: library has 'AM' as canonical name (possible typo) + 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 -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /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=aarch64-mageia-linux-gnu --build=aarch64-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-udunits2_incdir=/usr/include/udunits2 checking for nc-config... yes Netcdf library version: netCDF 4.6.1 Netcdf library has version 4 interface present: yes Netcdf library was compiled with C compiler: gcc checking for aarch64-mageia-linux-gnu-gcc... aarch64-mageia-linux-gnu-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 aarch64-mageia-linux-gnu-gcc accepts -g... yes checking for aarch64-mageia-linux-gnu-gcc option to accept ISO C89... none needed checking whether aarch64-mageia-linux-gnu-gcc understands -c and -o together... yes checking for library containing strerror... none required checking how to run the C preprocessor... aarch64-mageia-linux-gnu-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 a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of aarch64-mageia-linux-gnu-gcc... none checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for the Athena widgets... checking for XtWindow in -lXt... yes checking for XawScrollbarSetThumb in -lXaw... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking X11/Intrinsic.h usability... yes checking X11/Intrinsic.h presence... yes checking for X11/Intrinsic.h... yes checking X11/Xaw/Simple.h usability... yes checking X11/Xaw/Simple.h presence... yes checking for X11/Xaw/Simple.h... yes X Athena widget (Xaw) libraries: -lXaw -lXt checking for X11 library... checking for XPutImage in -lX11... yes X11 libraries: -lX11 checking /usr/include/udunits2/converter.h usability... yes checking /usr/include/udunits2/converter.h presence... yes checking for /usr/include/udunits2/converter.h... yes Using user-specified udunits2 include dir=/usr/include/udunits2 checking /usr/include/udunits2/udunits2.h usability... yes checking /usr/include/udunits2/udunits2.h presence... yes checking for /usr/include/udunits2/udunits2.h... yes Using user-specified udunits2 include dir=/usr/include/udunits2 checking for ut_read_xml in -ludunits2... yes checking for expat library (required by udunits2)... checking for XML_GetBase in -lexpat... yes Expat libraries (needed by udunits2): -lexpat -L. -ludunits2 **************************************************************************** Udunits library version 2 support enabled. udunits2 dirs: include: /usr/include/udunits2 library: . libname: udunits2 **************************************************************************** checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for png_write_png in -lpng... yes ====================================================================== Configuration error: You specified that the "aarch64-mageia-linux-gnu-gcc" C compiler should be used to build ncview, but the netcdf library was compiled with the "gcc" compiler. Here is the path where I found the netcdf library: -L/usr/lib64 -lnetcdf You must use the same compiler for ncview as was used to build the netcdf library! There are two possible ways to fix this. 1) Download the netcdf library and compile it with the aarch64-mageia-linux-gnu-gcc compiler, install it, and try again to build ncview. NOTE that if you do this, you might have more than one version of the netcdf library on your system, built with differnt compilers, which can get confusing. If you do this, you will have to specify the path to the (new) version of nc-config that was compiled using the aarch64-mageia-linux-gnu-gcc compiler by configuring ncview in a way similar to this: ./configure --with-nc-config=/path/to/newly/compiled/nc-config 2) Configure ncview to use the gcc compiler. To do this, set environmental variable CC to gcc and run ./configure again =================================================================== error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.qELdpI (%build) RPM build errors: %configure2_5x is deprecated, use %configure instead Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.qELdpI (%build) I: [iurt_root_command] ERROR: chroot