D: [iurt_root_command] chroot warning: %configure2_5x is deprecated, use %configure instead Installing /home/iurt/rpmbuild/SRPMS/x11-driver-video-apm-1.3.0-1.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.FNIdmP + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf xf86-video-apm-1.3.0 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/xf86-video-apm-1.3.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xf86-video-apm-1.3.0 + /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/iurt/rpmbuild/tmp/rpm-tmp.2xM0sN + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd xf86-video-apm-1.3.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:41: installing './compile' configure.ac:34: installing './missing' src/Makefile.am: installing './depcomp' autoreconf: Leaving directory `.' + 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 + CONFIGURE_TOP=. + /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 . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /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 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 whether to enable maintainer-specific portions of Makefiles... no checking whether make supports the include directive... yes (GNU style) checking for aarch64-mageia-linux-gnu-gcc... aarch64-mageia-linux-gnu-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 aarch64-mageia-linux-gnu-gcc accepts -g... yes checking for aarch64-mageia-linux-gnu-gcc option to accept ISO C89... none needed checking whether aarch64-mageia-linux-gnu-gcc understands -c and -o together... yes checking dependency style of aarch64-mageia-linux-gnu-gcc... none checking for aarch64-mageia-linux-gnu-gcc option to accept ISO C99... none needed checking how to run the C preprocessor... aarch64-mageia-linux-gnu-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 whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking for aarch64-mageia-linux-gnu-pkg-config... /usr/bin/aarch64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking build system type... aarch64-mageia-linux-gnu checking host system type... aarch64-mageia-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking if aarch64-mageia-linux-gnu-gcc supports -Werror=unknown-warning-option... no checking if aarch64-mageia-linux-gnu-gcc supports -Werror=unused-command-line-argument... no checking if aarch64-mageia-linux-gnu-gcc supports -Wall... yes checking if aarch64-mageia-linux-gnu-gcc supports -Wpointer-arith... yes checking if aarch64-mageia-linux-gnu-gcc supports -Wmissing-declarations... yes checking if aarch64-mageia-linux-gnu-gcc supports -Wformat=2... yes checking if aarch64-mageia-linux-gnu-gcc supports -Wstrict-prototypes... yes checking if aarch64-mageia-linux-gnu-gcc supports -Wmissing-prototypes... yes checking if aarch64-mageia-linux-gnu-gcc supports -Wnested-externs... yes checking if aarch64-mageia-linux-gnu-gcc supports -Wbad-function-cast... yes checking if aarch64-mageia-linux-gnu-gcc supports -Wold-style-definition... yes checking if aarch64-mageia-linux-gnu-gcc supports -Wdeclaration-after-statement... yes checking if aarch64-mageia-linux-gnu-gcc supports -Wunused... yes checking if aarch64-mageia-linux-gnu-gcc supports -Wuninitialized... yes checking if aarch64-mageia-linux-gnu-gcc supports -Wshadow... yes checking if aarch64-mageia-linux-gnu-gcc supports -Wmissing-noreturn... yes checking if aarch64-mageia-linux-gnu-gcc supports -Wmissing-format-attribute... yes checking if aarch64-mageia-linux-gnu-gcc supports -Wredundant-decls... yes checking if aarch64-mageia-linux-gnu-gcc supports -Wlogical-op... yes checking if aarch64-mageia-linux-gnu-gcc supports -Werror=implicit... yes checking if aarch64-mageia-linux-gnu-gcc supports -Werror=nonnull... yes checking if aarch64-mageia-linux-gnu-gcc supports -Werror=init-self... yes checking if aarch64-mageia-linux-gnu-gcc supports -Werror=main... yes checking if aarch64-mageia-linux-gnu-gcc supports -Werror=missing-braces... yes checking if aarch64-mageia-linux-gnu-gcc supports -Werror=sequence-point... yes checking if aarch64-mageia-linux-gnu-gcc supports -Werror=return-type... yes checking if aarch64-mageia-linux-gnu-gcc supports -Werror=trigraphs... yes checking if aarch64-mageia-linux-gnu-gcc supports -Werror=array-bounds... yes checking if aarch64-mageia-linux-gnu-gcc supports -Werror=write-strings... yes checking if aarch64-mageia-linux-gnu-gcc supports -Werror=address... yes checking if aarch64-mageia-linux-gnu-gcc supports -Werror=int-to-pointer-cast... yes checking if aarch64-mageia-linux-gnu-gcc supports -Werror=pointer-to-int-cast... yes checking if aarch64-mageia-linux-gnu-gcc supports -pedantic... yes checking if aarch64-mageia-linux-gnu-gcc supports -Werror... yes checking if aarch64-mageia-linux-gnu-gcc supports -Werror=attributes... yes checking whether make supports nested variables... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by aarch64-mageia-linux-gnu-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/aarch64-mageia-linux-gnu-nm -p checking the name lister (/usr/bin/aarch64-mageia-linux-gnu-nm -p) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-mageia-linux-gnu file names to aarch64-mageia-linux-gnu format... func_convert_file_noop checking how to convert aarch64-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 aarch64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-mageia-linux-gnu-ar... aarch64-mageia-linux-gnu-ar checking for archiver @FILE support... @ checking for aarch64-mageia-linux-gnu-strip... no checking for strip... strip checking for aarch64-mageia-linux-gnu-ranlib... aarch64-mageia-linux-gnu-ranlib checking command to parse /usr/bin/aarch64-mageia-linux-gnu-nm -p output from aarch64-mageia-linux-gnu-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 aarch64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if aarch64-mageia-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for aarch64-mageia-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if aarch64-mageia-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if aarch64-mageia-linux-gnu-gcc static flag -static works... no checking if aarch64-mageia-linux-gnu-gcc supports -c -o file.o... yes checking if aarch64-mageia-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the aarch64-mageia-linux-gnu-gcc linker (/usr/bin/ld) 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 if RANDR is defined... yes checking if RENDER is defined... yes checking if XV is defined... yes checking if DPMSExtension is defined... yes checking for XORG... yes checking for XEXT... yes checking for PCIACCESS... yes checking whether XV is declared... yes checking for ScrnInfoRec.ModeSet... yes checking xaa.h usability... no checking xaa.h presence... no checking for xaa.h... no checking whether to include XAA support... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xf86-video-apm-1.3.0/src' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o apm_driver.lo apm_driver.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c apm_driver.c -fPIC -DPIC -o .libs/apm_driver.o apm_driver.c:13:10: fatal error: xf86int10.h: No such file or directory 13 | #include "xf86int10.h" | ^~~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:507: apm_driver.lo] Error 1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xf86-video-apm-1.3.0/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xf86-video-apm-1.3.0/src' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o apm_accel.lo apm_accel.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c apm_accel.c -fPIC -DPIC -o .libs/apm_accel.o make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xf86-video-apm-1.3.0/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xf86-video-apm-1.3.0/src' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o apm_i2c.lo apm_i2c.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c apm_i2c.c -fPIC -DPIC -o .libs/apm_i2c.o In file included from apm_i2c.c:6: apm_i2c.c: In function 'WaitForFifo': apm.h:52:31: warning: implicit declaration of function 'outb' [-Wimplicit-function-declaration] 52 | #define wrinx(port, ind, val) outb((port), (ind)), outb((port) + 1, (val)) | ^~~~ apm_regs.h:54:29: note: in expansion of macro 'wrinx' 54 | #define RDXL_IOP(addr) (wrinx(pApm->xport, 0x1D, (addr) >> 2), \ | ^~~~~ apm_regs.h:114:25: note: in expansion of macro 'RDXL_IOP' 114 | #define STATUS_IOP() (RDXL_IOP(0x1FC)) | ^~~~~~~~ apm_i2c.c:18:12: note: in expansion of macro 'STATUS_IOP' 18 | if ((STATUS_IOP() & STATUS_FIFO) >= slots) | ^~~~~~~~~~ In file included from apm_i2c.c:7: apm_regs.h:55:8: warning: implicit declaration of function 'inl'; did you mean 'ynl'? [-Wimplicit-function-declaration] 55 | inl(pApm->xbase)) | ^~~ apm_regs.h:114:25: note: in expansion of macro 'RDXL_IOP' 114 | #define STATUS_IOP() (RDXL_IOP(0x1FC)) | ^~~~~~~~ apm_i2c.c:18:12: note: in expansion of macro 'STATUS_IOP' 18 | if ((STATUS_IOP() & STATUS_FIFO) >= slots) | ^~~~~~~~~~ In file included from apm_i2c.c:6: apm_i2c.c: In function 'ApmI2CPutBits': apm.h:51:48: warning: implicit declaration of function 'inb' [-Wimplicit-function-declaration] 51 | #define rdinx(port, ind) (outb((port), (ind)), inb((port) + 1)) | ^~~ apm_i2c.c:37:12: note: in expansion of macro 'rdinx' 37 | lock = rdinx(pApm->xport, 0x10); | ^~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xf86-video-apm-1.3.0/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xf86-video-apm-1.3.0/src' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o apm_cursor.lo apm_cursor.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c apm_cursor.c -fPIC -DPIC -o .libs/apm_cursor.o make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xf86-video-apm-1.3.0/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xf86-video-apm-1.3.0/src' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o apm_dga.lo apm_dga.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c apm_dga.c -fPIC -DPIC -o .libs/apm_dga.o apm_dga.c: In function 'ApmSetViewport': apm_dga.c:337:9: warning: implicit declaration of function 'inb' [-Wimplicit-function-declaration] 337 | while (inb(pApm->iobase + 0x3DA) & 0x08); | ^~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xf86-video-apm-1.3.0/src' make[1]: *** [Makefile:443: all-recursive] Error 1 make: *** [Makefile:375: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.2xM0sN (%build) RPM build errors: %configure2_5x is deprecated, use %configure instead Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.2xM0sN (%build) I: [iurt_root_command] ERROR: chroot