D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/aalib-1.4.0-0.rc5.35.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.y428gS + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf aalib-1.4.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/aalib-1.4rc5.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd aalib-1.4.0 + rm -rf /home/pterjan/rpmbuild/BUILD/aalib-1.4.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/aalib-1.4.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/aalib-info.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/aalib-rpath.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/aalib-1.4-automake18.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/aalib-1.4.0-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.IbxdoV + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd aalib-1.4.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' 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' configure.in:129: warning: underquoted definition of AC_USE_SUNOS_CURSES configure.in:129: run info Automake 'Extending aclocal' configure.in:129: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal 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. autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:129: warning: underquoted definition of AC_USE_SUNOS_CURSES configure.in:129: run info Automake 'Extending aclocal' configure.in:129: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal autoreconf: running: /usr/bin/autoconf --force configure.in:3: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9496: AM_INIT_AUTOMAKE is expanded from... configure.in:3: the top level configure.in:5: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET ./lib/autoconf/general.m4:2057: AC_CANONICAL_TARGET is expanded from... configure.in:5: the top level configure.in:37: warning: The macro 'AM_PROG_LIBTOOL' is obsolete. configure.in:37: You should run autoupdate. aclocal.m4:123: AM_PROG_LIBTOOL is expanded from... configure.in:37: the top level configure.in:47: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.in:47: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.in:47: the top level configure.in:170: warning: The macro 'AC_WARN' is obsolete. configure.in:170: You should run autoupdate. ./lib/autoconf/oldnames.m4:33: AC_WARN is expanded from... configure.in:129: AC_USE_SUNOS_CURSES is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:170: the top level configure.in:305: warning: The macro 'AC_CHECKING' is obsolete. configure.in:305: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... configure.in:305: the top level configure.in:335: warning: The macro 'AC_WARN' is obsolete. configure.in:335: You should run autoupdate. ./lib/autoconf/oldnames.m4:33: AC_WARN is expanded from... configure.in:129: AC_USE_SUNOS_CURSES is expanded from... configure.in:335: the top level configure.in:344: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.in:344: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.in:344: the top level configure.in:348: warning: The macro 'AC_STRUCT_ST_RDEV' is obsolete. configure.in:348: You should run autoupdate. ./lib/autoconf/types.m4:1067: AC_STRUCT_ST_RDEV is expanded from... configure.in:348: the top level configure.in:349: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.in:349: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.in:349: the top level configure.in:352: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete. configure.in:352: You should run autoupdate. ./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from... configure.in:352: the top level configure.in:353: warning: The macro 'AC_TYPE_SIGNAL' is obsolete. configure.in:353: You should run autoupdate. ./lib/autoconf/types.m4:805: AC_TYPE_SIGNAL is expanded from... configure.in:353: the top level configure.in:459: warning: AC_OUTPUT should be used without arguments. configure.in:459: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --force autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoheader: warning: WARNING: Using auxiliary files such as 'acconfig.h', 'config.h.bot' autoheader: WARNING: and 'config.h.top', to define templates for 'config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of 'AC_DEFINE_UNQUOTED' and autoheader: WARNING: 'AC_DEFINE' allows one to define a template without autoheader: WARNING: 'acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function 'main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. autoreconf: running: automake --add-missing --copy --force-missing automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:3: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:3: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:36: installing './compile' configure.in:3: installing './missing' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' doc/Makefile.am:1: warning: suffix '.texinfo' for Texinfo files is discouraged; use '.texi' instead src/Makefile.am: installing './depcomp' autoreconf: './install-sh' is updated autoreconf: Leaving directory '.' + 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 --disable-static 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 build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-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 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 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 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/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-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 x86_64-mageia-linux-gnu-file... no checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from 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 x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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 whether make sets $(MAKE)... (cached) yes checking for uname... Linux checking for uname... x86_64 checking for egrep... (cached) /usr/bin/grep -E checking for pow in -lm... yes 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 Gpm_Repeat in -lgpm... yes checking for SLsmg_init_smg in -lslang... yes Found slang on /usr/include/slang/slang.h Disabling curses driver since slang is available checking for egrep... (cached) /usr/bin/grep -E checking for fcntl.h... yes checking for limits.h... yes checking for malloc.h... yes checking for sys/ioctl.h... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for struct stat.st_rdev... yes checking return type of signal handlers... void checking for strdup... yes ----------------------------------------------------- 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 -I/usr/include/slang LDFLAGS -lslang -lm -lX11 -lgpm AA-LIBD -laa -lm -lX11 -lgpm -lslang CC gcc ----------------------------------------------------- Display drivers: slang Linux console x11 Keyboard drivers: Linux console slang X11 Mouse drivers: gpm X11 ----------------------------------------------------- checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating aalib-config config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default commands + /usr/bin/make -O -j16 V=1 VERBOSE=1 Making all in src /usr/bin/make all-am make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' gcc -DHAVE_CONFIG_H -I. -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/slang -c -o aainfo.o aainfo.c aainfo.c: In function 'main': aainfo.c:12:9: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 12 | exit(1); | ^~~~ aainfo.c:4:1: note: include '' or provide a declaration of 'exit' 3 | #include "aaint.h" +++ |+#include 4 | int main(int argc, char **argv) aainfo.c:12:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 12 | exit(1); | ^~~~ aainfo.c:12:9: note: include '' or provide a declaration of 'exit' aainfo.c:17:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 17 | exit(1); | ^~~~ aainfo.c:17:9: note: include '' or provide a declaration of 'exit' make[2]: *** [Makefile:712: aainfo.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/slang -c -o aavyhen.lo aavyhen.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/slang -c aavyhen.c -fPIC -DPIC -o .libs/aavyhen.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/slang -c -o aafonts.lo aafonts.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/slang -c aafonts.c -fPIC -DPIC -o .libs/aafonts.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/slang -c -o aamem.lo aamem.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/slang -c aamem.c -fPIC -DPIC -o .libs/aamem.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/slang -c -o aaprintf.lo aaprintf.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/slang -c aaprintf.c -fPIC -DPIC -o .libs/aaprintf.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/slang -c -o aahelp.lo aahelp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/slang -c aahelp.c -fPIC -DPIC -o .libs/aahelp.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/slang -c -o aaxkbd.lo aaxkbd.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/slang -c aaxkbd.c -fPIC -DPIC -o .libs/aaxkbd.o aaxkbd.c: In function 'decodekey': aaxkbd.c:56:10: error: implicit declaration of function 'XLookupString'; did you mean 'XwcLookupString'? [-Wimplicit-function-declaration] 56 | name[XLookupString(&ev->xkey,name,256,&ksym,NULL)]=0; | ^~~~~~~~~~~~~ | XwcLookupString make[2]: *** [Makefile:726: aaxkbd.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/slang -c -o aaslang.lo aaslang.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/slang -c aaslang.c -fPIC -DPIC -o .libs/aaslang.o aaslang.c: In function 'slang_print': aaslang.c:83:24: warning: passing argument 1 of 'SLsmg_write_string' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | SLsmg_write_string(text); | ^~~~ In file included from aaslang.c:6: /usr/include/slang/slang.h:1821:51: note: expected 'char *' but argument is of type 'const char *' 1821 | SL_EXTERN void SLsmg_write_string (SLFUTURE_CONST char *); | ^~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/slang -c -o aafastre.lo aafastre.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/slang -c aafastre.c -fPIC -DPIC -o .libs/aafastre.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/slang -c -o aaxmouse.lo aaxmouse.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/slang -c aaxmouse.c -fPIC -DPIC -o .libs/aaxmouse.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/slang -c -o aalinuxkbd.lo aalinuxkbd.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/slang -c aalinuxkbd.c -fPIC -DPIC -o .libs/aalinuxkbd.o aalinuxkbd.c: In function 'get_keyb_map': aalinuxkbd.c:135:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 135 | if (ioctl(tty_fd, KDGKBENT, (unsigned int) &keyb_ent)) | ^ aalinuxkbd.c:144:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 144 | if (ioctl(tty_fd, KDGKBENT, (unsigned int) &keyb_ent)) | ^ aalinuxkbd.c: In function 'rawmode_init': aalinuxkbd.c:203:9: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 203 | return; | ^~~~~~ aalinuxkbd.c:200:12: note: declared here 200 | static int rawmode_init(void) | ^~~~~~~~~~~~ aalinuxkbd.c: In function 'linux_init': aalinuxkbd.c:386:5: error: implicit declaration of function 'atexit' [-Wimplicit-function-declaration] 386 | atexit(rawmode_exit); | ^~~~~~ aalinuxkbd.c:30:1: note: 'atexit' is defined in header ''; this is probably fixable by adding '#include ' 29 | #include "aaint.h" +++ |+#include 30 | static struct termios oldios; make[2]: *** [Makefile:726: aalinuxkbd.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/slang -c -o aaslnkbd.lo aaslnkbd.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/slang -c aaslnkbd.c -fPIC -DPIC -o .libs/aaslnkbd.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/slang -c -o aafont.lo aafont.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/slang -c aafont.c -fPIC -DPIC -o .libs/aafont.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/slang -c -o aamktabl.lo aamktabl.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/slang -c aamktabl.c -fPIC -DPIC -o .libs/aamktabl.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/slang -c -o aalinux.lo aalinux.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/slang -c aalinux.c -fPIC -DPIC -o .libs/aalinux.o aalinux.c: In function 'linux_getsize': aalinux.c:172:18: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 172 | (void) fread (&scrn, 4, 1, vc[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/slang -c -o aax.lo aax.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/slang -c aax.c -fPIC -DPIC -o .libs/aax.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/aalib-1.4.0/src' make[1]: *** [Makefile:483: all] Error 2 make: *** [Makefile:490: all-recursive] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.IbxdoV (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.IbxdoV (%build) I: [iurt_root_command] ERROR: chroot