D: [iurt_root_command] chroot
warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N)
Installing /home/pterjan/rpmbuild/SRPMS/pentaxpj-1.0.0-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.n46V2h
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD
+ rm -rf pentaxpj
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/pentaxpj-1.0.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd pentaxpj
+ rm -rf /home/pterjan/rpmbuild/BUILD/pentaxpj-SPECPARTS
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/pentaxpj-SPECPARTS
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (pentaxpj-glibc28_fix.diff):'
Patch #0 (pentaxpj-glibc28_fix.diff):
+ /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0
patching file pentaxpj.c
+ echo 'Patch #1 (pentaxpj-1.0.0-LDFLAGS.diff):'
Patch #1 (pentaxpj-1.0.0-LDFLAGS.diff):
+ /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0
patching file Makefile
+ find . -type d -perm 0700 -exec chmod 755 '{}' ';'
+ find . -type f -perm 0555 -exec chmod 755 '{}' ';'
+ find . -type f -perm 0444 -exec chmod 644 '{}' ';'
++ find . -type d -name CVS
++ find . -type d -name .svn
++ find . -type f -name '.cvs*'
++ find . -type f -name '.#*'
+ for i in `find . -type d -name CVS` `find . -type d -name .svn` `find . -type f -name .cvs\*` `find . -type f -name .#\*`
+ for i in `find . -type d -name CVS` `find . -type d -name .svn` `find . -type f -name .cvs\*` `find . -type f -name .#\*`
+ for i in `find . -type d -name CVS` `find . -type d -name .svn` `find . -type f -name .cvs\*` `find . -type f -name .#\*`
+ for i in `find . -type d -name CVS` `find . -type d -name .svn` `find . -type f -name .cvs\*` `find . -type f -name .#\*`
+ for i in `find . -type d -name CVS` `find . -type d -name .svn` `find . -type f -name .cvs\*` `find . -type f -name .#\*`
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.L7eXXK
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD
+ cd pentaxpj
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ /usr/bin/make -O -j16 V=1 VERBOSE=1 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLONG_FORM_FEED' 'LDFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
gcc  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLONG_FORM_FEED -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld pentaxpj.c -o pentaxpj
pentaxpj.c: In function 'cmdreset':
pentaxpj.c:83:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
   83 |         write(lp,"\033@",2);
      |         ^~~~~~~~~~~~~~~~~~~
pentaxpj.c: In function 'cmdff':
pentaxpj.c:92:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
   92 |                 write(lp,"\033~*\x00\x00",5);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pentaxpj.c:94:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
   94 |         write(lp,"\033~\f",3);
      |         ^~~~~~~~~~~~~~~~~~~~~
pentaxpj.c: In function 'cmdh1':
pentaxpj.c:103:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  103 |         write(lp,cmdbuf,4);
      |         ^~~~~~~~~~~~~~~~~~
pentaxpj.c: In function 'cmdh2':
pentaxpj.c:109:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  109 |         write(lp,cmdbuf,5);
      |         ^~~~~~~~~~~~~~~~~~
pentaxpj.c: In function 'main':
pentaxpj.c:628:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  628 |                 fgets( optbuf, 80, cfgf );
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
pentaxpj.c:702:25: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result]
  702 |                         pipe(gspipe);
      |                         ^~~~~~~~~~~~
pentaxpj.c:732:41: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result]
  732 |                                         pipe(catpipe);
      |                                         ^~~~~~~~~~~~~
pentaxpj.c:756:65: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  756 |                                                                 write(STDOUT_FILENO,catbuf,catn);
      |                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ln -sf ./pentaxpj ./pentaxpj_sh
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QRaB41
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILDROOT/pentaxpj-1.0.0-18.mga10.x86_64 '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILDROOT/pentaxpj-1.0.0-18.mga10.x86_64
++ dirname /home/pterjan/rpmbuild/BUILDROOT/pentaxpj-1.0.0-18.mga10.x86_64
+ mkdir -p /home/pterjan/rpmbuild/BUILDROOT
+ mkdir /home/pterjan/rpmbuild/BUILDROOT/pentaxpj-1.0.0-18.mga10.x86_64
+ cd pentaxpj
+ '[' 1 -eq 1 ']'
+ install -d /home/pterjan/rpmbuild/BUILDROOT/pentaxpj-1.0.0-18.mga10.x86_64/usr/bin
+ install -d /home/pterjan/rpmbuild/BUILDROOT/pentaxpj-1.0.0-18.mga10.x86_64/usr/sbin
+ install -d /home/pterjan/rpmbuild/BUILDROOT/pentaxpj-1.0.0-18.mga10.x86_64/usr/lib64/pentaxpj
+ install -d /home/pterjan/rpmbuild/BUILDROOT/pentaxpj-1.0.0-18.mga10.x86_64/etc
+ cp -a BWidget-1.3.1 pentaxpj pentaxsetup pentax.xpm test-page.ps.gz /home/pterjan/rpmbuild/BUILDROOT/pentaxpj-1.0.0-18.mga10.x86_64/usr/lib64/pentaxpj
+ ln -s /usr/lib64/pentaxpj/pentaxsetup /home/pterjan/rpmbuild/BUILDROOT/pentaxpj-1.0.0-18.mga10.x86_64/usr/sbin
+ ln -s /usr/lib64/pentaxpj/pentaxpj /home/pterjan/rpmbuild/BUILDROOT/pentaxpj-1.0.0-18.mga10.x86_64/usr/bin
+ cat
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.0.0-18.mga10 --unique-debug-suffix -1.0.0-18.mga10.x86_64 --unique-debug-src-base pentaxpj-1.0.0-18.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/pentaxpj
find-debuginfo: starting

Extracting debug info from 1 files
DWARF-compressing 1 files
sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/pentaxpj-1.0.0-18.mga10.x86_64
40 blocks
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
mangling shebang in /usr/lib64/pentaxpj/pentaxsetup from /bin/sh to #!/usr/bin/sh
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16
+ /usr/lib/rpm/redhat/brp-python-hardlink
Processing files: pentaxpj-1.0.0-18.mga10.x86_64
Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YjffT0
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD
+ cd pentaxpj
+ DOCDIR=/home/pterjan/rpmbuild/BUILDROOT/pentaxpj-1.0.0-18.mga10.x86_64/usr/share/doc/pentaxpj
+ export LC_ALL=
+ LC_ALL=
+ export DOCDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/pentaxpj-1.0.0-18.mga10.x86_64/usr/share/doc/pentaxpj
+ cp -pr /home/pterjan/rpmbuild/BUILD/pentaxpj/README /home/pterjan/rpmbuild/BUILDROOT/pentaxpj-1.0.0-18.mga10.x86_64/usr/share/doc/pentaxpj
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: config(pentaxpj) = 1.0.0-18.mga10 pentaxpj = 1.0.0-18.mga10 pentaxpj(x86-64) = 1.0.0-18.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit)
Processing files: pentaxpj-debugsource-1.0.0-18.mga10.x86_64
Provides: pentaxpj-debugsource = 1.0.0-18.mga10 pentaxpj-debugsource(x86-64) = 1.0.0-18.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: pentaxpj-debuginfo-1.0.0-18.mga10.x86_64
Provides: debuginfo(build-id) = 718a5052b705736faa61e0d2cbd0fcd82990849a pentaxpj-debuginfo = 1.0.0-18.mga10 pentaxpj-debuginfo(x86-64) = 1.0.0-18.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: pentaxpj-debugsource(x86-64) = 1.0.0-18.mga10
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/pentaxpj-1.0.0-18.mga10.x86_64
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/pentaxpj-debugsource-1.0.0-18.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/pentaxpj-debuginfo-1.0.0-18.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/pentaxpj-1.0.0-18.mga10.x86_64.rpm
Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.IOTB8Z
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD
+ cd pentaxpj
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/pentaxpj-1.0.0-18.mga10.x86_64
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.4BWZl9
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD
+ rm -rf /home/pterjan/rpmbuild/BUILD/pentaxpj-SPECPARTS
+ rm -rf pentaxpj pentaxpj.gemspec
+ RPM_EC=0
++ jobs -p
+ exit 0

RPM build warnings:
    %patchN is deprecated (2 usages found), use %patch N (or %patch -P N)
D: [iurt_root_command] Success!