D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/gtypist-2.9.5-6.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hbC7uF + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf gtypist-2.9.5 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/gtypist-2.9.5.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd gtypist-2.9.5 + rm -rf /home/pterjan/rpmbuild/BUILD/gtypist-2.9.5-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/gtypist-2.9.5-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kyx2AD + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd gtypist-2.9.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + 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 ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./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 --enable-nls --disable-rpath 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 style of include used by make... GNU 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking how to run the C preprocessor... 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 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for gawk... (cached) gawk checking for x86_64-mageia-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for library containing strerror... none required checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for bison... no checking for byacc... no checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking stdio_ext.h usability... yes checking stdio_ext.h presence... yes checking for stdio_ext.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for unistd.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for working volatile... yes checking for size_t... yes checking whether gcc needs -traditional... no checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking return type of signal handlers... void checking for working strtod... yes checking for __argz_count... yes checking for __argz_next... yes checking for __argz_stringify... yes checking for dcgettext... yes checking for getcwd... yes checking for getwd... yes checking for mempcpy... yes checking for memset... yes checking for munmap... yes checking for nl_langinfo... yes checking for setlocale... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking ncursesw/ncurses.h usability... yes checking ncursesw/ncurses.h presence... yes checking for ncursesw/ncurses.h... yes checking for add_wch in -lncursesw... yes checking for library containing cbreak... none required checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for emacs... no checking for xemacs... no checking where .elc files should go... ${datadir}/emacs/site-lisp checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating lessons/Makefile config.status: creating tools/Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating m4/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in m4 make[2]: Nothing to be done for 'all'. Making all in po make[2]: Nothing to be done for 'all'. Making all in lessons make[2]: Nothing to be done for 'all'. Making all in tools make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gtypist-2.9.5/tools' if test "no" != "no"; then \ am__dir=. am__subdir_includes=''; \ case gtypist-mode.elc in */*) \ am__dir=`echo 'gtypist-mode.elc' | sed 's,/[^/]*$,,'`; \ am__subdir_includes="-L $am__dir -L ./$am__dir"; \ esac; \ test -d "$am__dir" || /usr/bin/mkdir -p "$am__dir" || exit 1; \ no --batch \ \ $am__subdir_includes -L . -L . \ --eval "(defun byte-compile-dest-file (f) \"gtypist-mode.elc\")" \ --eval "(unless (byte-compile-file \"gtypist-mode.el\") (kill-emacs 1))"; \ else :; fi make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gtypist-2.9.5/tools' Making all in doc Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gtypist-2.9.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -DDATADIR=\"/usr/share/gtypist\" -DLOCALEDIR=\"/usr/share/locale\" -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 -c -o getopt.o getopt.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gtypist-2.9.5/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gtypist-2.9.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -DDATADIR=\"/usr/share/gtypist\" -DLOCALEDIR=\"/usr/share/locale\" -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 -c -o getopt1.o getopt1.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gtypist-2.9.5/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gtypist-2.9.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -DDATADIR=\"/usr/share/gtypist\" -DLOCALEDIR=\"/usr/share/locale\" -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 -c -o utf8.o utf8.c utf8.c: In function 'widen': utf8.c:61:7: error: implicit declaration of function 'fatal_error' [-Wimplicit-function-declaration] 61 | fatal_error(_("couldn't convert UTF-8 to wide characters"), "?"); | ^~~~~~~~~~~ make[2]: *** [Makefile:429: utf8.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gtypist-2.9.5/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gtypist-2.9.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -DDATADIR=\"/usr/share/gtypist\" -DLOCALEDIR=\"/usr/share/locale\" -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 -c -o cursmenu.o cursmenu.c cursmenu.c: In function 'do_menu': cursmenu.c:272:33: error: implicit declaration of function 'utf8len' [-Wimplicit-function-declaration] 272 | max_width = max (max_width, utf8len (descriptions[i])); | ^~~~~~~ cursmenu.c:42:25: note: in definition of macro 'max' 42 | #define max(x,y) (((x)>(y)) ? (x) : (y)) | ^ cursmenu.c:317:3: error: implicit declaration of function 'mvwideaddstr'; did you mean 'mvwaddstr'? [-Wimplicit-function-declaration] 317 | mvwideaddstr (2, (80 - utf8len (title)) / 2, title); | ^~~~~~~~~~~~ | mvwaddstr cursmenu.c:359:7: error: implicit declaration of function 'get_widech'; did you mean 'get_wch'? [-Wimplicit-function-declaration] 359 | get_widech( &ch ); | ^~~~~~~~~~ | get_wch make[2]: *** [Makefile:429: cursmenu.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gtypist-2.9.5/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gtypist-2.9.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -DDATADIR=\"/usr/share/gtypist\" -DLOCALEDIR=\"/usr/share/locale\" -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 -c -o error.o error.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gtypist-2.9.5/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gtypist-2.9.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -DDATADIR=\"/usr/share/gtypist\" -DLOCALEDIR=\"/usr/share/locale\" -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 -c -o gtypist.o gtypist.c gtypist.c: In function 'main': gtypist.c:2239:3: error: implicit declaration of function 'check_script_file_with_current_encoding' [-Wimplicit-function-declaration] 2239 | check_script_file_with_current_encoding(script); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:429: gtypist.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gtypist-2.9.5/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gtypist-2.9.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -DDATADIR=\"/usr/share/gtypist\" -DLOCALEDIR=\"/usr/share/locale\" -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 -c -o script.o script.c script.c: In function 'get_script_line': script.c:207:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 207 | fgets(line, MAX_SCR_LINE, script); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ script.c:214:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 214 | fgets(line, MAX_SCR_LINE, script); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gtypist-2.9.5/src' make[1]: *** [Makefile:502: all-recursive] Error 1 make: *** [Makefile:364: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.kyx2AD (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.kyx2AD (%build) I: [iurt_root_command] ERROR: chroot