D: [iurt_root_command] chroot warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/pdksh-5.2.14-41.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RBvFIQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf pdksh-5.2.14 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/pdksh-5.2.14.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd pdksh-5.2.14 + rm -rf /home/pterjan/rpmbuild/BUILD/pdksh-5.2.14-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/pdksh-5.2.14-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (pdksh-5.2.14-manloc.patch):' Patch #0 (pdksh-5.2.14-manloc.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .manloc --fuzz=0 patching file Makefile.in + echo 'Patch #1 (pdksh-5.2.14-debian.patch):' Patch #1 (pdksh-5.2.14-debian.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .debian --fuzz=0 patching file alloc.c patching file c_ksh.c patching file c_sh.c patching file c_test.c patching file c_ulimit.c patching file edit.c patching file edit.h patching file emacs.c patching file eval.c patching file exec.c patching file history.c patching file io.c patching file jobs.c patching file ksh.Man patching file lex.c patching file main.c patching file misc.c patching file sh.h patching file shf.c patching file siglist.sh patching file table.c patching file trap.c patching file tree.c patching file var.c patching file vi.c patching file tests/th + echo 'Patch #2 (pdksh-child_max.patch):' Patch #2 (pdksh-child_max.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .jobs --fuzz=0 patching file jobs.c + echo 'Patch #3 (pdksh-5.2.14-fix-str-fmt.patch):' Patch #3 (pdksh-5.2.14-fix-str-fmt.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .str --fuzz=0 patching file c_ksh.c patching file exec.c patching file expr.c patching file jobs.c patching file lex.c patching file main.c patching file misc.c patching file var.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Lnxly6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd pdksh-5.2.14 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + 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 -D_FILE_OFFSET_BITS=64 -DDEBIAN ' + 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 -D_FILE_OFFSET_BITS=64 -DDEBIAN ' + 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 + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info creating cache ./config.cache checking for gcc... gcc checking whether we are using GNU C... yes checking how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... no checking if this is a problematic os... checking for minix/config.h... no no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for opendir in -lndir... no checking for sane unistd.h... yes checking terminal interface... termios checking for stddef.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for fcntl.h... yes checking for limits.h... yes checking for paths.h... yes checking for sys/param.h... yes checking for sys/resource.h... yes checking for values.h... yes checking for ulimit.h... yes checking for sys/time.h... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for off_t in sys/types.h... yes checking for mode_t in sys/types.h... yes checking for pid_t in sys/types.h... yes checking for uid_t in sys/types.h... yes checking return type of signal handlers... void checking size of int... 0 checking size of long... 0 checking for clock_t in any of , and ... yes checking for sigset_t in and ... yes checking for rlim_t in and ... yes checking for working memmove... no checking for working bcopy... no checking for memset... no checking for confstr... yes checking for dup2... yes checking for flock... yes checking for getcwd... yes checking for getwd... yes checking for killpg... yes checking for nice... yes checking for setrlimit... yes checking for strerror... yes checking for strcasecmp... yes checking for strstr... yes checking for sysconf... yes checking for tcsetpgrp... yes checking for ulimit... yes checking for waitpid... yes checking for wait3... yes checking for sigsetjmp... no checking for _setjmp... yes checking for valloc... yes checking for getpagesize... yes checking for working mmap... no checking for lstat... yes checking for sys_errlist declaration in errno.h... no checking for sys_errlist in library... no checking for sys_siglist declaration in signal.h or unistd.h... no checking for sys_siglist in library... no checking time() declaration in time.h... yes checking if times() is present/working... no checking for getrusage... yes checking whether stat file-mode macros are broken... no checking for st_rdev in struct stat... yes checking for working const... yes checking if compiler understands void... yes checking if compiler understands volatile... yes checking if compiler understands prototypes... yes checking if C compiler groks __attribute__(( .. ))... no checking whether #! works in shell scripts... yes checking for a BSD compatible install... /usr/bin/install -c checking if dup2() works (ie, resets the close-on-exec flag)... no checking flavour of signal routines... posix checking flavour of pgrp routines... none checking if opendir() fails to open non-directories... no checking if you have /dev/fd/n... no updating cache ./config.cache creating ./config.status creating Makefile creating config.h + /usr/bin/make -O -j16 V=1 VERBOSE=1 siglist.out CPPFLAGS=-P CONFIG_FILES="" CONFIG_HEADERS=config.h ./config.status creating config.h config.h is unchanged date > stamp-h ./siglist.sh "gcc -E -P -DHAVE_CONFIG_H -I. -I." < ./siglist.in > tmpsiglist.out In file included from tmpi276655.c:1: sh.h:254:5: error: #error cannot find 32 bit type... 254 | #error cannot find 32 bit type... | ^~~~~ make: *** [Makefile:136: siglist.out] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Lnxly6 (%build) RPM build warnings: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Lnxly6 (%build) I: [iurt_root_command] ERROR: chroot