D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
warning: Macro expanded in comment on line 55: %{rname}" talks directly to the parallel port I/O 0x378, not to /dev/lp0

Installing /home/pterjan/rpmbuild/SRPMS/cups-drivers-lbp660-0.3.1-15.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BOaise
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build
+ test -d /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1qwQoX
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build
+ rm -rf lbp660-0.3.1
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/lbp660-0.3.1.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd lbp660-0.3.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/lbp660-0.3.1-ldflags.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/lbp660-0.3.1-gcc7.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/lbp660-0.3.1-fix-building-with-gcc14.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.6QFpdt
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build
+ cd lbp660-0.3.1
+ '[' 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' '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 -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 lbp460.c -o lbp460
lbp460.c: In function 'compress_bitmap':
lbp460.c:287:49: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=]
  287 |                 fprintf(stderr,"file position: %x\n",ftell(bitmapf));
      |                                                ~^    ~~~~~~~~~~~~~~
      |                                                 |    |
      |                                                 |    long int
      |                                                 unsigned int
      |                                                %lx
lbp460.c: At top level:
lbp460.c:465:16: warning: 'inb' is static but used in inline function 'statusin' which is not static
  465 |         return inb(STATUS);
      |                ^~~
lbp460.c:451:16: warning: 'inb' is static but used in inline function 'ctrlin' which is not static
  451 |         return inb(CONTROL);
      |                ^~~
lbp460.c:446:9: warning: 'outb' is static but used in inline function 'ctrlout' which is not static
  446 |         outb(cmd, CONTROL);
      |         ^~~~
lbp460.c:441:9: warning: 'outb' is static but used in inline function 'dataout' which is not static
  441 |         outb(data, DATA);
      |         ^~~~
lbp460.c: In function 'bitmap_seek':
lbp460.c:183:25: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  183 |                         fread(bmbuf,1,sizeof(garbage),bitmapf);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lbp460.c:186:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  186 |                 fread(bmbuf,1,offset,bitmapf);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lbp460.c: In function 'get_bitmap':
lbp460.c:199:33: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  199 |                                 fread(bmbuf,1,800,bitmapf);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
lbp460.c:203:33: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  203 |                                 fread(bmbuf,1,bmwidth,bitmapf);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lbp460.c: In function 'compress_bitmap':
lbp460.c:292:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  292 |                 fgets(cbm,200,bitmapf);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
lbp460.c: In function 'print_page':
lbp460.c:793:41: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  793 |                                         fread( cbm,size*4,1,cbmf);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~
chmod +s lbp460
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 -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 lbp660.c -o lbp660
lbp660.c: In function 'compress_bitmap':
lbp660.c:256:49: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=]
  256 |                 fprintf(stderr,"file position: %x\n",ftell(bitmapf));
      |                                                ~^    ~~~~~~~~~~~~~~
      |                                                 |    |
      |                                                 |    long int
      |                                                 unsigned int
      |                                                %lx
lbp660.c: In function 'print_band':
lbp660.c:562:21: warning: too many arguments for format [-Wformat-extra-args]
  562 |    fprintf(stderr,  "Waiting for ready status...\n", statusin());
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lbp660.c:574:42: warning: too many arguments for format [-Wformat-extra-args]
  574 |                         fprintf(stderr,  "Reiniting band...\n", statusin());
      |                                          ^~~~~~~~~~~~~~~~~~~~~
lbp660.c:610:44: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=]
  610 |       fprintf(stderr, "Band inited (0x%x, %d)\n", statusin(), ((ntv.tv_usec - ltv.tv_usec) + ((ntv.tv_sec - ltv.tv_sec)*1000000)));
      |                                           ~^                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                            |                                               |
      |                                            int                                             long int
      |                                           %ld
lbp660.c: At top level:
lbp660.c:436:16: warning: 'inb' is static but used in inline function 'statusin' which is not static
  436 |         return inb(STATUS);
      |                ^~~
lbp660.c:428:20: warning: 'inb' is static but used in inline function 'checkctrl' which is not static
  428 |         int ctrl = inb(CONTROL);
      |                    ^~~
lbp660.c:424:16: warning: 'inb' is static but used in inline function 'ctrlin' which is not static
  424 |         return inb(CONTROL);
      |                ^~~
lbp660.c:420:9: warning: 'outb' is static but used in inline function 'ctrlout' which is not static
  420 |         outb(cmd, CONTROL);
      |         ^~~~
lbp660.c:416:9: warning: 'outb' is static but used in inline function 'dataout' which is not static
  416 |         outb(data, DATA);
      |         ^~~~
lbp660.c: In function 'bitmap_seek':
lbp660.c:152:25: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  152 |                         fread(bmbuf,1,sizeof(garbage),bitmapf);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lbp660.c:155:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  155 |                 fread(bmbuf,1,offset,bitmapf);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lbp660.c: In function 'get_bitmap':
lbp660.c:168:33: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  168 |                                 fread(bmbuf,1,800,bitmapf);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
lbp660.c:172:33: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  172 |                                 fread(bmbuf,1,bmwidth,bitmapf);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lbp660.c: In function 'compress_bitmap':
lbp660.c:261:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  261 |                 fgets(cbm,200,bitmapf);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
lbp660.c: In function 'print_page':
lbp660.c:813:16: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  813 |                fread( cbm,size*4,1,cbmf );
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~
chmod +s lbp660
+ perl -p -i -e s/DefaultNoReset/DefaultAlwaysReset/ ppd/Canon-LBP-460-lbp460.ppd ppd/Canon-LBP-660-lbp660.ppd
+ perl -p -i -e s:/tmp/lbp.60.log:/dev/null: ppd/Canon-LBP-460-lbp460.ppd ppd/Canon-LBP-660-lbp660.ppd
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hRKjoR
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build
+ mkdir /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/BUILDROOT
+ cd lbp660-0.3.1
+ '[' 1 -eq 1 ']'
+ install -d /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/BUILDROOT/usr/bin
+ install -d /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/BUILDROOT/usr/share/cups/model/lbp660
+ install -m0755 lbp460 lbp660 /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/BUILDROOT/usr/bin/
+ install -m0755 lbp460-print lbp460-test lbp660-print lbp660-test /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/BUILDROOT/usr/bin/
+ install -m0644 ppd/Canon-LBP-460-lbp460.ppd ppd/Canon-LBP-660-lbp660.ppd /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/BUILDROOT/usr/share/cups/model/lbp660/
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.3.1-15.mga10 --unique-debug-suffix -0.3.1-15.mga10.x86_64 --unique-debug-src-base cups-drivers-lbp660-0.3.1-15.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/lbp660-0.3.1
find-debuginfo: starting

Extracting debug info from 2 files
DWARF-compressing 2 files
sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/cups-drivers-lbp660-0.3.1-15.mga10.x86_64
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/bin/lbp660-test from /bin/sh to #!/usr/bin/sh
mangling shebang in /usr/bin/lbp660-print from /bin/sh to #!/usr/bin/sh
mangling shebang in /usr/bin/lbp460-test from /bin/sh to #!/usr/bin/sh
mangling shebang in /usr/bin/lbp460-print 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
Reading /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: cups-drivers-lbp660-0.3.1-15.mga10.x86_64
Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KJaaKt
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build
+ cd lbp660-0.3.1
+ DOCDIR=/home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/BUILDROOT/usr/share/doc/cups-drivers-lbp660
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/BUILDROOT/usr/share/doc/cups-drivers-lbp660
+ cp -pr /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/lbp660-0.3.1/COPYING /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/BUILDROOT/usr/share/doc/cups-drivers-lbp660
+ cp -pr /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/lbp660-0.3.1/NEWS /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/BUILDROOT/usr/share/doc/cups-drivers-lbp660
+ cp -pr /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/lbp660-0.3.1/README /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/BUILDROOT/usr/share/doc/cups-drivers-lbp660
+ cp -pr /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/lbp660-0.3.1/THANKS /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/BUILDROOT/usr/share/doc/cups-drivers-lbp660
+ cp -pr /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/lbp660-0.3.1/TODO /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/BUILDROOT/usr/share/doc/cups-drivers-lbp660
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: cups-drivers-lbp660 = 0.3.1-15.mga10 cups-drivers-lbp660(x86-64) = 0.3.1-15.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.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit)
Conflicts: cups-drivers = 2007 printer-filters = 2007 printer-utils = 2007
Recommends: group(sys)
Processing files: cups-drivers-lbp660-debugsource-0.3.1-15.mga10.x86_64
Provides: cups-drivers-lbp660-debugsource = 0.3.1-15.mga10 cups-drivers-lbp660-debugsource(x86-64) = 0.3.1-15.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: cups-drivers-lbp660-debuginfo-0.3.1-15.mga10.x86_64
Provides: cups-drivers-lbp660-debuginfo = 0.3.1-15.mga10 cups-drivers-lbp660-debuginfo(x86-64) = 0.3.1-15.mga10 debuginfo(build-id) = 3a227e638d998f4e547a63fc49053c22193f7dca debuginfo(build-id) = 450146df21cf7b6c6e50de79b022017eb897181a
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: cups-drivers-lbp660-debugsource(x86-64) = 0.3.1-15.mga10
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/cups-drivers-lbp660-0.3.1-15.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/cups-drivers-lbp660-debugsource-0.3.1-15.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/cups-drivers-lbp660-debuginfo-0.3.1-15.mga10.x86_64.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.T5m7wm
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build
+ test -d /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/cups-drivers-lbp660-0.3.1-build
+ RPM_EC=0
++ jobs -p
+ exit 0

RPM build warnings:
    Macro expanded in comment on line 55: %{rname}" talks directly to the parallel port I/O 0x378, not to /dev/lp0

D: [iurt_root_command] Success!