D: [iurt_root_command] chroot
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
Installing /home/iurt/rpmbuild/SRPMS/snack-2.2.10-25.mga9.src.rpm
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.6bsooJ
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf snack2.2.10
+ /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/snack2.2.10.tar.bz2
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd snack2.2.10
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (snack-2.2.10-underlinking.patch):'
Patch #0 (snack-2.2.10-underlinking.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .underlink --fuzz=0
patching file unix/Makefile.in
+ echo 'Patch #1 (snack-2.2.10-unity-linux-fix-roundf.patch):'
Patch #1 (snack-2.2.10-unity-linux-fix-roundf.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file generic/jkFormatMP3.c
+ echo 'Patch #2 (snack-2.2.10-unity-linux-gcc44.patch):'
Patch #2 (snack-2.2.10-unity-linux-gcc44.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file generic/SnackOgg.c
+ echo 'Patch #3 (snack-2.2.10-mdv-fix-string-format.patch):'
Patch #3 (snack-2.2.10-mdv-fix-string-format.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0
patching file generic/jkSoundFile.c
+ echo 'Patch #4 (tcl-snack-2.2.10-CVE-2012-6303-fix.patch):'
Patch #4 (tcl-snack-2.2.10-CVE-2012-6303-fix.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file generic/jkSoundFile.c
Hunk #1 succeeded at 1796 (offset -2 lines).
+ echo 'Patch #5 (snack-2.2.10-suse-alsa.patch):'
Patch #5 (snack-2.2.10-suse-alsa.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0
patching file unix/jkAudIO_alsa.c
+ chmod 644 COPYING README changes
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.qVEIcK
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd snack2.2.10
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ pushd unix
~/rpmbuild/BUILD/snack2.2.10/unix ~/rpmbuild/BUILD/snack2.2.10
+ 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
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name 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=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-tcl=/usr/lib64 --with-tk=/usr/lib64 --with-ogg-include=/usr/include/ogg --with-ogg-lib=/usr/lib64 --enable-alsa
checking for Tcl configuration... found /usr/lib64/tclConfig.sh
checking for Tk configuration... found /usr/lib64/tkConfig.sh
will use stubs (normal)
will use ALSA
checking for aarch64-mageia-linux-gnu-gcc... aarch64-mageia-linux-gnu-gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.qVEIcK (%build)


RPM build errors:
    Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
    Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.qVEIcK (%build)
I: [iurt_root_command] ERROR: chroot