D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/yabasic-2.763-18.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GRYIrW + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf yabasic-2.763 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/yabasic-2.763.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd yabasic-2.763 + rm -rf /home/pterjan/rpmbuild/BUILD/yabasic-2.763-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/yabasic-2.763-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/yabasic-2.763-automake-1.13.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Cufp7N + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd yabasic-2.763 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:12: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:429: AM_INIT_AUTOMAKE is expanded from... configure.in:12: the top level configure.in:32: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.in:32: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.in:32: the top level configure.in:38: warning: The macro 'AC_TYPE_SIGNAL' is obsolete. configure.in:38: You should run autoupdate. ./lib/autoconf/types.m4:805: AC_TYPE_SIGNAL is expanded from... configure.in:38: the top level configure.in:76: warning: AC_OUTPUT should be used without arguments. configure.in:76: You should run autoupdate. autoheader: 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:12: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:12: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:15: installing './compile' Makefile.am:9: warning: support for shar distribution archives is deprecated. Makefile.am:9: It will be removed in Automake 2.0 Makefile.am:9: warning: support for distribution archives compressed with legacy program 'compress' is deprecated. Makefile.am:9: It will be removed in Automake 2.0 Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' parallel-tests: installing './test-driver' + 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 + 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 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 . + /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 checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free 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 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for gcc... -Wall checking how to run the C preprocessor... gcc -E 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 sys/wait.h that is POSIX.1 compatible... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for vfork.h... no checking for sys/select.h... yes checking for sys/socket.h... yes checking for fcntl.h... yes checking for limits.h... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for stdio.h... (cached) yes checking for float.h... yes checking for math.h... yes checking for time.h... yes checking for sys/time.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking for signal.h... yes checking for ctype.h... yes checking for malloc.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for error_at_line... yes checking for pid_t... yes checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking for strftime... yes checking for working strtod... yes checking whether setpgrp requires zero arguments... yes checking for GNU libc compatible malloc... yes checking for GNU libc compatible realloc... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for floor... no checking for pow... no checking for select... yes checking for sqrt... no checking for strchr... yes checking for strerror... yes checking for strpbrk... yes checking for strrchr... yes checking for strstr... yes checking for mkstemp... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for ncurses.h... yes checking for curses.h... yes checking for initscr in -lncurses... yes checking for initscr in -lcurses... yes checking for getnstr... yes checking for setitimer... yes checking for difftime... yes checking for working alloca.h... yes checking for alloca... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/make all-am make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/yabasic-2.763' gcc -DHAVE_CONFIG_H -I. -DUNIX -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 -c -o graphic.o graphic.c graphic.c: In function 'grafinit': graphic.c:751:7: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 751 | return; | ^~~~~~ graphic.c:707:1: note: declared here 707 | grafinit (void) | ^~~~~~~~ graphic.c:793:7: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 793 | return; | ^~~~~~ graphic.c:707:1: note: declared here 707 | grafinit (void) | ^~~~~~~~ graphic.c:796:7: error: implicit declaration of function 'rgb_to_pixel' [-Wimplicit-function-declaration] 796 | rgb_to_pixel (best_match.red >> 8, best_match.green >> 8, | ^~~~~~~~~~~~ graphic.c:809:7: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 809 | return; | ^~~~~~ graphic.c:707:1: note: declared here 707 | grafinit (void) | ^~~~~~~~ graphic.c: In function 'addrgb': graphic.c:2305:32: warning: embedded '\0' in format [-Wformat-contains-nul] 2305 | sprintf (pbits, "%02x%02x%02x\0", red, green, blue); | ^~ graphic.c: In function 'getwinkey': graphic.c:2651:7: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 2651 | sym = XKeycodeToKeysym (display, event.xkey.keycode, 0); | ^~~ In file included from yabasic.h:78, from graphic.c:27: /usr/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ graphic.c:2685:7: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 2685 | sym = XKeycodeToKeysym (display, event.xkey.keycode, 0); | ^~~ /usr/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ make[1]: *** [Makefile:643: graphic.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yabasic-2.763' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/yabasic-2.763' gcc -DHAVE_CONFIG_H -I. -DUNIX -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 -c -o io.o io.c io.c: In function 'inkey': io.c:387:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 387 | write (winfd[1], retkey, strlen (retkey)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:410:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 410 | write (termfd[1], retkey, strlen (retkey)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c: In function 'readline': io.c:1321:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1321 | fgets (linebuffer, INBUFFLEN, cinstr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yabasic-2.763' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/yabasic-2.763' gcc -DHAVE_CONFIG_H -I. -DUNIX -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 -c -o bison.o bison.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yabasic-2.763' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/yabasic-2.763' gcc -DHAVE_CONFIG_H -I. -DUNIX -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 -c -o main.o main.c main.c: In function 'run_it': main.c:1365:19: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1365 | fgets (string, 20, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1380:11: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1380 | fgets (string, 20, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'end_it': main.c:970:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 970 | fgets (l, 2, stdin); | ^~~~~~~~~~~~~~~~~~~ main.c: In function 'mybind': main.c:2322:11: warning: argument 1 null where non-null expected [-Wnonnull] 2322 | fclose (flib); | ^~~~~~~~~~~~~ In file included from yabasic.h:52, from main.c:20: /usr/include/stdio.h:184:12: note: in a call to function 'fclose' declared 'nonnull' 184 | extern int fclose (FILE *__stream) __nonnull ((1)); | ^~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yabasic-2.763' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/yabasic-2.763' gcc -DHAVE_CONFIG_H -I. -DUNIX -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 -c -o symbol.o symbol.c symbol.c: In function 'dump_sub': symbol.c:425:38: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] 425 | sprintf (string, "sub %s() called in %s,%d", | ~^ | | | char * | %p 426 | dot ? (dot + 1) : cmd->pointer, cmd->lib->l, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void * make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yabasic-2.763' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/yabasic-2.763' gcc -DHAVE_CONFIG_H -I. -DUNIX -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 -c -o function.o function.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yabasic-2.763' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/yabasic-2.763' gcc -DHAVE_CONFIG_H -I. -DUNIX -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 -c -o flex.o flex.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yabasic-2.763' make: *** [Makefile:519: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Cufp7N (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Cufp7N (%build) I: [iurt_root_command] ERROR: chroot