D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/nfrotz-0.3.3-12.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ZcDKBP + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf nfrotz-0.3.3 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/nfrotz-0.3.3.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd nfrotz-0.3.3 + rm -rf /home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + perl -pi -e 's|/lib/|/lib64/|' configure + sed -i -e 's|strip nfrotz||' Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.OEv820 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd nfrotz-0.3.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -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=2 -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=2 -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=2 -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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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' + 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 + /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 ncursesw found. + /usr/bin/make -O -j16 V=1 VERBOSE=1 ./configure ncursesw found. /usr/bin/make -C src nfrotz make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/random.o core/random.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/options.o core/options.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/hotkey.o core/hotkey.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/sound.o core/sound.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/table.o core/table.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/math.o core/math.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/buffer.o core/buffer.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/input.o core/input.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/main.o core/main.c core/main.c: In function 'main': core/main.c:173:5: error: implicit declaration of function 'os_init_setup' [-Wimplicit-function-declaration] 173 | os_init_setup (); | ^~~~~~~~~~~~~ core/main.c:177:5: error: implicit declaration of function 'init_buffer'; did you mean 'setbuffer'? [-Wimplicit-function-declaration] 177 | init_buffer (); | ^~~~~~~~~~~ | setbuffer make[1]: *** [Makefile:60: core/main.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/err.o core/err.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/redirect.o core/redirect.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o curses/ux_file.o curses/ux_file.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/variable.o core/variable.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/stream.o core/stream.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o curses/ux_screen.o curses/ux_screen.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/process.o core/process.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/files.o core/files.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/object.o core/object.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/quetzal.o core/quetzal.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o curses/ux_pic.o curses/ux_pic.c curses/ux_pic.c: In function 'unix_init_pictures': curses/ux_pic.c:98:30: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 98 | sprintf(filename, "%.*sgraphics/%.*s.mg1", | ~~^~ | | | int 99 | basename - story_name, story_name, namelen, basename); | ~~~~~~~~~~~~~~~~~~~~~ | | | long int make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/fastmem.o core/fastmem.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/text.o core/text.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' gcc -c -Iinclude -DCONFIG_DIR="\"/usr/local/etc\"" -DVERSION="\"0.3.3\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/ncursesw -DUSE_NCURSES_H -O2 -DCOLOR_SUPPORT -o core/screen.o core/screen.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nfrotz-0.3.3/src' make: *** [Makefile:9: make-nfrotz] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.OEv820 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.OEv820 (%build) I: [iurt_root_command] ERROR: chroot