D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/oki4linux-2.1gst-19.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.wnaoaQ + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf oki4linux + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/oki4linux-2.1gst.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd oki4linux + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (oki4linux-2.0-daemon-mdk-patch):' Patch #0 (oki4linux-2.0-daemon-mdk-patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/oki4daemon + echo 'Patch #1 (oki4linux-2.1gst-LDFLAGS.diff):' Patch #1 (oki4linux-2.1gst-LDFLAGS.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/Makefile + pushd src ~/rpmbuild/BUILD/oki4linux/src ~/rpmbuild/BUILD/oki4linux + mv oki4daemon oki4daemon.pre + sed 's/setlogsock('\''unix'\'');/setlogsock('\''inet'\'');/' oki4daemon.pre + sed s:/usr/local/sbin/oki4drv:/usr/bin/oki4drv: + popd ~/rpmbuild/BUILD/oki4linux + cp /home/iurt/rpmbuild/SOURCES/oki4daemon.init oki4daemon.init + cp /home/iurt/rpmbuild/SOURCES/README.OKI-Winprinters README.OKI-Winprinters + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.tJI5s7 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd oki4linux + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + pushd src ~/rpmbuild/BUILD/oki4linux/src ~/rpmbuild/BUILD/oki4linux + /usr/bin/make clean rm -f *.bak *~ oki4drv *.xbm + /usr/bin/make -O -j8 V=1 VERBOSE=1 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' 'LDFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags main.c -o oki4drv main.c: In function 'write_data': main.c:265:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'off_t' {aka 'long int'} [-Wformat=] 265 | printf(" ...writing %d bytes\n", size); | ~^ ~~~~ | | | | int off_t {aka long int} | %ld main.c: In function 'process_data': main.c:328:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 328 | write(tmput, "\033*B\001\000", 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:367:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 367 | write(tmput, comp, comp_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'read_data': main.c:387:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 387 | write(output, "\033&B\033\%-98765X", 12); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:391:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 391 | write(output, "\034\024\003Ai", 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:392:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 392 | write(output, &weight[weight_index + 2], 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:396:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 396 | write(output, "\034\024\007Ba", 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:397:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 397 | write(output, &darkness[darkness_index + 2], 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:401:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 401 | write(output, "b\002c", 3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:406:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 406 | write(output, buf, 1); | ^~~~~~~~~~~~~~~~~~~~~ main.c:410:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 410 | write(output, "\034\177\000", 3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:414:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 414 | write(output, "\033&A\001\000", 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:419:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 419 | write(output, buf, 1); | ^~~~~~~~~~~~~~~~~~~~~ main.c:423:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 423 | write(output, "\033&A\002\000", 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:424:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 424 | write(output, size_data[size_index].buf, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:430:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 430 | write(output, "\033&A\003\000\000\000\001", 8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:437:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 437 | write(output, "\033&A\007\000\000\000\000\000", 9); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:438:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 438 | write(output, "\007\007", 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:439:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 439 | write(output, "\000", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:474:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 474 | write(output, "\033\%-98765X", 9); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'write_data': main.c:270:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 270 | write(output, "\033$A", 3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:276:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 276 | write(output, imagesize, 6); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:279:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 279 | write(output, "\033*B\010\000", 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:282:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 282 | write(output, data, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:284:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 284 | write(output, "\033$B", 3); /* eject */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/ld: /tmp/ccsrPu35.o: in function `process_file': /home/iurt/rpmbuild/BUILD/oki4linux/src/main.c:535: warning: the use of `tmpnam' is dangerous, better use `mkstemp' + popd ~/rpmbuild/BUILD/oki4linux + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.OVZFE0 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64 + cd oki4linux + '[' 1 -eq 1 ']' + install -d /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64/etc/rc.d/init.d + install -d /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64/usr/bin + install -d /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64/usr/sbin + install -d /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64/usr/share/man/man1 + pushd src ~/rpmbuild/BUILD/oki4linux/src ~/rpmbuild/BUILD/oki4linux + install -m0755 oki4drv /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64/usr/bin + install -m0755 oki4daemon /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64/usr/sbin + install -m0644 oki4drv.man /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64/usr/share/man/man1/oki4drv.1 + popd ~/rpmbuild/BUILD/oki4linux + install -m0755 oki4daemon.init /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64/etc/rc.d/init.d/oki4daemon + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.1gst-19.mga9 --unique-debug-suffix -2.1gst-19.mga9.aarch64 --unique-debug-src-base oki4linux-2.1gst-19.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/oki4linux extracting debug info from /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64/usr/bin/oki4drv dwz: ./usr/bin/oki4drv-2.1gst-19.mga9.aarch64.debug: Unknown debugging section .debug_line_str original debug info size: 40kB, size after compression: 40kB /usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 1 CRC32s did match. 31 blocks + /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/brp-python-bytecompile /usr/bin/python3 1 0 + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /etc/rc.d/init.d/oki4daemon from /bin/bash to #!/usr/bin/bash Processing files: oki4linux-2.1gst-19.mga9.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.l0OBaK + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd oki4linux + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64/usr/share/doc/oki4linux + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64/usr/share/doc/oki4linux + cp -pr README.OKI-Winprinters /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64/usr/share/doc/oki4linux + cp -pr COPYING /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64/usr/share/doc/oki4linux + cp -pr ChangeLog /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64/usr/share/doc/oki4linux + cp -pr README /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64/usr/share/doc/oki4linux + cp -pr doc /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64/usr/share/doc/oki4linux + cp -pr samples /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64/usr/share/doc/oki4linux + cp -pr src/README.oki4daemon /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64/usr/share/doc/oki4linux + cp -pr src/align.ps /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64/usr/share/doc/oki4linux + RPM_EC=0 ++ jobs -p + exit 0 warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Provides: oki4linux = 2.1gst-19.mga9 oki4linux(aarch-64) = 2.1gst-19.mga9 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh rpm-helper Requires(preun): /bin/sh rpm-helper Requires(postun): /bin/sh Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) perl(Getopt::Std) perl(Sys::Syslog) perl-base >= 2:5.34.0 Processing files: oki4linux-debugsource-2.1gst-19.mga9.aarch64 Provides: oki4linux-debugsource = 2.1gst-19.mga9 oki4linux-debugsource(aarch-64) = 2.1gst-19.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: oki4linux-debuginfo-2.1gst-19.mga9.aarch64 Provides: debuginfo(build-id) = ce64282fa9bd4a986f521498952956754bcbdd7e oki4linux-debuginfo = 2.1gst-19.mga9 oki4linux-debuginfo(aarch-64) = 2.1gst-19.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: oki4linux-debugsource(aarch-64) = 2.1gst-19.mga9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/oki4linux-debugsource-2.1gst-19.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/oki4linux-debuginfo-2.1gst-19.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/oki4linux-2.1gst-19.mga9.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.h4m5v6 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd oki4linux + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/oki4linux-2.1gst-19.mga9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.YOBMZP + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf oki4linux + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!