D: [iurt_root_command] chroot warning: %configure2_5x is deprecated, use %configure instead Installing /home/iurt/rpmbuild/SRPMS/libredblack-1.3-4.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.v5D6kS + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf libredblack-1.3 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/libredblack-1.3.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libredblack-1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/libredblack-typo.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/libredblack-1.3-optflags.patch + /usr/bin/patch -p1 -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.xoaogR + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd libredblack-1.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: Entering directory `.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:27: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:27: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:40: installing './compile' configure.in:27: installing './missing' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' Makefile.am: installing './depcomp' Makefile.am:24: warning: 'CFLAGS' is a user variable, you should not override it; Makefile.am:24: use 'AM_CFLAGS' instead autoreconf: Leaving directory `.' + 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 Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /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 --disable-static 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 nested variables... yes 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 whether make supports the include directive... yes (GNU style) checking dependency style of aarch64-mageia-linux-gnu-gcc... none checking for python... /usr/bin/python checking build system type... aarch64-mageia-linux-gnu checking host system type... aarch64-mageia-linux-gnu checking how to print strings... printf 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 aarch64-mageia-linux-gnu-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/aarch64-mageia-linux-gnu-nm -p checking the name lister (/usr/bin/aarch64-mageia-linux-gnu-nm -p) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-mageia-linux-gnu file names to aarch64-mageia-linux-gnu format... func_convert_file_noop checking how to convert aarch64-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 aarch64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-mageia-linux-gnu-ar... aarch64-mageia-linux-gnu-ar checking for archiver @FILE support... @ checking for aarch64-mageia-linux-gnu-strip... no checking for strip... strip checking for aarch64-mageia-linux-gnu-ranlib... aarch64-mageia-linux-gnu-ranlib checking command to parse /usr/bin/aarch64-mageia-linux-gnu-nm -p output from aarch64-mageia-linux-gnu-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 aarch64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... aarch64-mageia-linux-gnu-gcc -E checking for ANSI C header files... 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 for dlfcn.h... yes checking for objdir... .libs checking if aarch64-mageia-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for aarch64-mageia-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if aarch64-mageia-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if aarch64-mageia-linux-gnu-gcc static flag -static works... no checking if aarch64-mageia-linux-gnu-gcc supports -c -o file.o... yes checking if aarch64-mageia-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the aarch64-mageia-linux-gnu-gcc linker (/usr/bin/ld) 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 ANSI C header files... (cached) yes checking for an ANSI C-conforming const... yes checking for strdup... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libredblack.spec config.status: creating rbgen config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-am make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/libredblack-1.3' echo 'int main() { return(0); }' > example4.c ./rbgen example4.rb File "./rbgen", line 81 fpout.write("#define RB_CUSTOMIZE\n") ^ TabError: inconsistent use of tabs and spaces in indentation make[1]: *** [Makefile:1151: example4.c] Error 1 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/libredblack-1.3' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/libredblack-1.3' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -c -o example1.o example1.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/libredblack-1.3' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/libredblack-1.3' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -c -o example3.o example3.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/libredblack-1.3' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/libredblack-1.3' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -c -o example2.o example2.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/libredblack-1.3' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/libredblack-1.3' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -c -o example.o example.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/libredblack-1.3' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/libredblack-1.3' /bin/sh ./libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -c -o redblack.lo redblack.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -c redblack.c -fPIC -DPIC -o .libs/redblack.o redblack.c: In function 'rbinit': redblack.c:143:7: warning: variable 'c' set but not used [-Wunused-but-set-variable] 143 | char c; | ^ redblack.c: In function 'rblookup': redblack.c:513:6: warning: 'cmp' may be used uninitialized in this function [-Wmaybe-uninitialized] 513 | if (cmp<0) | ^ redblack.c:448:6: note: 'cmp' was declared here 448 | int cmp; | ^~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/libredblack-1.3' make: *** [Makefile:409: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.xoaogR (%build) RPM build errors: %configure2_5x is deprecated, use %configure instead Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.xoaogR (%build) I: [iurt_root_command] ERROR: chroot