D: [iurt_root_command] chroot warning: line 35: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64ieee1284_3-devel warning: line 52: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64ieee1284_3-static-devel warning: %configure2_5x is deprecated, use %configure instead Installing /home/iurt/rpmbuild/SRPMS/libieee1284-0.2.11-17.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.FPIXUU + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf libieee1284-0.2.11 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/libieee1284-0.2.11.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libieee1284-0.2.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/libieee1284-0.2.11-linkage.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch + cp -af /usr/lib/rpm/config.guess /usr/lib/rpm/config.sub . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.cKMLbX + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd libieee1284-0.2.11 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + 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 --with-python checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for aarch64-mageia-linux-gnu-gcc... aarch64-mageia-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking for style of include used by make... GNU checking dependency style of aarch64-mageia-linux-gnu-gcc... none checking whether aarch64-mageia-linux-gnu-gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... aarch64-mageia-linux-gnu-gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) 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 for egrep... grep -E 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 /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependent libraries... pass_all 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for aarch64-mageia-linux-gnu-g++... aarch64-mageia-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether aarch64-mageia-linux-gnu-g++ accepts -g... yes checking dependency style of aarch64-mageia-linux-gnu-g++... none checking how to run the C++ preprocessor... aarch64-mageia-linux-gnu-g++ -E checking for aarch64-mageia-linux-gnu-g77... no checking for aarch64-mageia-linux-gnu-f77... no checking for aarch64-mageia-linux-gnu-xlf... no checking for aarch64-mageia-linux-gnu-frt... no checking for aarch64-mageia-linux-gnu-pgf77... no checking for aarch64-mageia-linux-gnu-fort77... no checking for aarch64-mageia-linux-gnu-fl32... no checking for aarch64-mageia-linux-gnu-af77... no checking for aarch64-mageia-linux-gnu-f90... no checking for aarch64-mageia-linux-gnu-xlf90... no checking for aarch64-mageia-linux-gnu-pgf90... no checking for aarch64-mageia-linux-gnu-epcf90... no checking for aarch64-mageia-linux-gnu-f95... no checking for aarch64-mageia-linux-gnu-fort... no checking for aarch64-mageia-linux-gnu-xlf95... no checking for aarch64-mageia-linux-gnu-ifc... no checking for aarch64-mageia-linux-gnu-efc... no checking for aarch64-mageia-linux-gnu-pgf95... no checking for aarch64-mageia-linux-gnu-lf95... no checking for aarch64-mageia-linux-gnu-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from aarch64-mageia-linux-gnu-gcc object... ok checking for objdir... .libs checking for aarch64-mageia-linux-gnu-ar... aarch64-mageia-linux-gnu-ar checking for aarch64-mageia-linux-gnu-ranlib... aarch64-mageia-linux-gnu-ranlib checking for aarch64-mageia-linux-gnu-strip... no checking for strip... strip 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 checking if aarch64-mageia-linux-gnu-gcc PIC flag -fPIC 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 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... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by aarch64-mageia-linux-gnu-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the aarch64-mageia-linux-gnu-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for aarch64-mageia-linux-gnu-g++ option to produce PIC... -fPIC checking if aarch64-mageia-linux-gnu-g++ PIC flag -fPIC works... yes checking if aarch64-mageia-linux-gnu-g++ static flag -static works... no checking if aarch64-mageia-linux-gnu-g++ supports -c -o file.o... yes checking whether the aarch64-mageia-linux-gnu-g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking sys/io.h usability... no checking sys/io.h presence... no checking for sys/io.h... no checking whether to build python bindings... (cached) yes checking for python... /usr/bin/python checking for python version... File "", line 1 import sys; print sys.version[:3] ^ SyntaxError: invalid syntax checking for python platform... File "", line 1 import sys; print sys.platform ^ SyntaxError: invalid syntax checking for python script directory... ${prefix}/lib/python/site-packages checking for python extension module directory... ${exec_prefix}/lib/python/site-packages configure: creating ./config.status config.status: creating Makefile config.status: creating libieee1284.spec config.status: creating include/config.h config.status: executing depfiles commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 /bin/sh ./libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o src/delay.lo src/delay.c aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/delay.c -fPIC -DPIC -o src/.libs/delay.o aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/delay.c -o src/delay.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o src/state.lo src/state.c mkdir src/.libs aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/state.c -fPIC -DPIC -o src/.libs/state.o aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/state.c -o src/state.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o src/detect.lo src/detect.c aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/detect.c -fPIC -DPIC -o src/.libs/detect.o aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/detect.c -o src/detect.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o src/deviceid.lo src/deviceid.c aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/deviceid.c -fPIC -DPIC -o src/.libs/deviceid.o src/deviceid.c: In function 'get_fresh': src/deviceid.c:88:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'ssize_t' {aka 'long int'} [-Wformat=] 88 | debugprintf ("<== %d\n", got); | ~^ ~~~ | | | | int ssize_t {aka long int} | %ld aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/deviceid.c -o src/deviceid.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o src/access_io.lo src/access_io.c aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/access_io.c -fPIC -DPIC -o src/.libs/access_io.o src/access_io.c: In function 'port_outb': src/access_io.c:181:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 181 | write (port->fd, &val, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/access_io.c: In function 'port_inb': src/access_io.c:171:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 171 | read (port->fd, &byte, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/access_io.c -o src/access_io.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o src/access_lpt.lo src/access_lpt.c aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/access_lpt.c -fPIC -DPIC -o src/.libs/access_lpt.o aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/access_lpt.c -o src/access_lpt.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o src/ports.lo src/ports.c aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/ports.c -fPIC -DPIC -o src/.libs/ports.o src/ports.c: In function 'populate_from_parport.isra.0': src/ports.c:183:38: warning: '%s' directive writing up to 255 bytes into a region of size 38 [-Wformat-overflow=] 183 | sprintf (device, "/dev/parport%s", de->d_name); | ^~ In file included from /usr/include/stdio.h:867, from src/ports.c:22: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 268 bytes into a destination of size 50 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ports.c:184:41: warning: '%s' directive writing up to 255 bytes into a region of size 36 [-Wformat-overflow=] 184 | sprintf (udevice, "/dev/parports/%s", de->d_name); | ^~ In file included from /usr/include/stdio.h:867, from src/ports.c:22: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 270 bytes into a destination of size 50 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ports.c:195:38: warning: '%s' directive writing up to 255 bytes into a region of size 36 [-Wformat-overflow=] 195 | sprintf (hardware, "/proc/parport/%s/hardware", de->d_name); | ^~ In file included from /usr/include/stdio.h:867, from src/ports.c:22: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 24 and 279 bytes into a destination of size 50 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ports.c: In function 'ieee1284_find_ports': src/ports.c:284:46: warning: '%s' directive writing up to 255 bytes into a region of size 28 [-Wformat-overflow=] 284 | sprintf (filename, "/proc/sys/dev/parport/%s/base-addr", de->d_name); | ^~ In file included from /usr/include/stdio.h:867, from src/ports.c:22: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 33 and 288 bytes into a destination of size 50 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ports.c:301:46: warning: '%s' directive writing up to 255 bytes into a region of size 28 [-Wformat-overflow=] 301 | sprintf (filename, "/proc/sys/dev/parport/%s/irq", de->d_name); | ^~ In file included from /usr/include/stdio.h:867, from src/ports.c:22: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 27 and 282 bytes into a destination of size 50 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/ports.c -o src/ports.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -I/usr/include/python -fpic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o src/src_ieee1284module_la-ieee1284module.lo `test -f 'src/ieee1284module.c' || echo './'`src/ieee1284module.c aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -I/usr/include/python -fpic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/ieee1284module.c -fPIC -DPIC -o src/.libs/src_ieee1284module_la-ieee1284module.o src/ieee1284module.c:20:10: fatal error: Python.h: No such file or directory 20 | #include | ^~~~~~~~~~ compilation terminated. make: *** [Makefile:630: src/src_ieee1284module_la-ieee1284module.lo] Error 1 make: *** Waiting for unfinished jobs.... aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o tests/test.o tests/test.c /bin/sh ./libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o src/debug.lo src/debug.c aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/debug.c -fPIC -DPIC -o src/.libs/debug.o aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/debug.c -o src/debug.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o src/conf.lo src/conf.c aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/conf.c -fPIC -DPIC -o src/.libs/conf.o aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/conf.c -o src/conf.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o src/access_ppdev.lo src/access_ppdev.c aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/access_ppdev.c -fPIC -DPIC -o src/.libs/access_ppdev.o aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/access_ppdev.c -o src/access_ppdev.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o src/default.lo src/default.c aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/default.c -fPIC -DPIC -o src/.libs/default.o src/default.c: In function 'default_nibble_read': src/default.c:371:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 371 | debugprintf ("<== %d\n", len); | ~^ ~~~ | | | | int size_t {aka long unsigned int} | %ld src/default.c:376:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 376 | debugprintf ("<== %d (terminated on error)\n", count); | ~^ ~~~~~ | | | | int size_t {aka long unsigned int} | %ld src/default.c: In function 'default_compat_write': src/default.c:417:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 417 | debugprintf ("<== %d\n", len); | ~^ ~~~ | | | | int size_t {aka long unsigned int} | %ld src/default.c:422:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 422 | debugprintf ("<== %d (terminated on error)\n", count); | ~^ ~~~~~ | | | | int size_t {aka long unsigned int} | %ld src/default.c: In function 'default_byte_read': src/default.c:488:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 488 | debugprintf ("<== %d default_byte_read\n", count); | ~^ ~~~~~ | | | | int size_t {aka long unsigned int} | %ld src/default.c: In function 'default_epp_write_data': src/default.c:606:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'ssize_t' {aka 'long int'} [-Wformat=] 606 | debugprintf ("<== %d\n", ret); | ~^ ~~~ | | | | int ssize_t {aka long int} | %ld src/default.c: In function 'default_ecp_read_data': src/default.c:687:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 687 | debugprintf ("Leaving %d RLE bytes for next time\n", | ~^ | | | int | %ld 688 | rle_count); | ~~~~~~~~~ | | | size_t {aka long unsigned int} src/default.c:722:38: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 722 | debugprintf ("Decompressed to %d bytes\n", rle_count); | ~^ ~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/default.c -o src/default.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o src/interface.lo src/interface.c aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/interface.c -fPIC -DPIC -o src/.libs/interface.o aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c src/interface.c -o src/interface.o >/dev/null 2>&1 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.cKMLbX (%build) RPM build errors: line 35: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64ieee1284_3-devel line 52: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64ieee1284_3-static-devel %configure2_5x is deprecated, use %configure instead Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.cKMLbX (%build) I: [iurt_root_command] ERROR: chroot