D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/comgt-0.32-22.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8JyPTq Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KoBwOz + umask 022 + cd /home/pterjan/rpmbuild/BUILD/comgt-0.32-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/comgt-0.32-build + rm -rf comgt.0.32 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/comgt.0.32.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd comgt.0.32 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/comgt-0.32-string-format.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/comgt-0.32-fix-man-page-typo.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.IX9y8b + umask 022 + cd /home/pterjan/rpmbuild/BUILD/comgt-0.32-build + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 ' + export FFLAGS + FCFLAGS='-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 ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd comgt.0.32 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j16 V=1 VERBOSE=1 'CFLAGS=-c -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' cc comgt.c -c -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 comgt.c: In function 'getstring': comgt.c:605:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 605 | fgets(string,STRINGL-1,fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ comgt.c:631:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 631 | getcwd(string,STRINGL); | ^~~~~~~~~~~~~~~~~~~~~~ comgt.c: In function 'doscript': comgt.c:1434:7: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1434 | system(string); | ^~~~~~~~~~~~~~ comgt.c:1438:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1438 | fgets(stringvars[getstringindex()],1024,infd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ comgt.c: In function 'doset': comgt.c:1000:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] 1000 | sprintf(cspeed,"%d",a); | ^~ comgt.c:1000:20: note: directive argument in the range [-2147483648, 2147483599] 1000 | sprintf(cspeed,"%d",a); | ^~~~ In file included from /usr/include/stdio.h:970, from comgt.c:30: In function 'sprintf', inlined from 'doset' at comgt.c:1000:5: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 12 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ comgt.c: In function 'doclose': comgt.c:1228:43: warning: '%s' directive writing up to 1023 bytes into a region of size 1001 [-Wformat-overflow=] 1228 | sprintf(msg,"Can't ioctl set device %s.\n",device); | ^~ ~~~~~~ In function 'sprintf', inlined from 'doclose' at comgt.c:1228:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 26 and 1049 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ comgt.c: In function 'opengt': comgt.c:1264:38: warning: '%s' directive writing up to 1023 bytes into a region of size 1006 [-Wformat-overflow=] 1264 | sprintf(msg,"Can't open device %s.\n",device); | ^~ ~~~~~~ In function 'sprintf', inlined from 'opengt' at comgt.c:1264:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ comgt.c: In function 'opendevice': comgt.c:1299:38: warning: '%s' directive writing up to 1023 bytes into a region of size 1006 [-Wformat-overflow=] 1299 | sprintf(msg,"Can't open device %s.\n",device); | ^~ ~~~~~~ In function 'sprintf', inlined from 'opendevice' at comgt.c:1299:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ comgt.c: In function 'opendevice': comgt.c:1346:23: warning: '%s' directive writing up to 1023 bytes into a region of size 1017 [-Wformat-overflow=] 1346 | sprintf(msg,"Opened %s as FD %d",device,comfd); | ^~ ~~~~~~ In function 'sprintf', inlined from 'opendevice' at comgt.c:1346:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 16 and 1049 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ comgt.c: In function 'opendevice': comgt.c:1307:41: warning: '%s' directive writing up to 1023 bytes into a region of size 1001 [-Wformat-overflow=] 1307 | sprintf(msg,"Can't ioctl get device %s.\n",device); | ^~ ~~~~~~ In function 'sprintf', inlined from 'opendevice' at comgt.c:1307:5: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 26 and 1049 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cc comgt.o -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 -o comgt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.4wlh0n + umask 022 + cd /home/pterjan/rpmbuild/BUILD/comgt-0.32-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/comgt-0.32-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/comgt-0.32-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/comgt-0.32-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/comgt-0.32-build + mkdir /home/pterjan/rpmbuild/BUILD/comgt-0.32-build/BUILDROOT + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 ' + export FFLAGS + FCFLAGS='-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 ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd comgt.0.32 + '[' 1 -eq 1 ']' + install -m755 comgt -D /home/pterjan/rpmbuild/BUILD/comgt-0.32-build/BUILDROOT/usr/sbin/comgt + install -m644 comgt.1 -D /home/pterjan/rpmbuild/BUILD/comgt-0.32-build/BUILDROOT/usr/share/man/man1/comgt.1 + ln -s /usr/sbin/comgt /home/pterjan/rpmbuild/BUILD/comgt-0.32-build/BUILDROOT/usr/sbin/gcom + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.32-22.mga10 --unique-debug-suffix -0.32-22.mga10.x86_64 --unique-debug-src-base comgt-0.32-22.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/comgt-0.32-build/comgt.0.32 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/comgt-0.32-22.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 *** WARNING: ./usr/src/debug/comgt-0.32-22.mga10.x86_64/comgt.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/comgt-0.32-22.mga10.x86_64/comgt.c is executable but has no shebang, removing executable bit + 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/comgt-0.32-build/SPECPARTS/rpm-debuginfo.specpart Processing files: comgt-0.32-22.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WcbfDD + umask 022 + cd /home/pterjan/rpmbuild/BUILD/comgt-0.32-build + cd comgt.0.32 + DOCDIR=/home/pterjan/rpmbuild/BUILD/comgt-0.32-build/BUILDROOT/usr/share/doc/comgt + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/comgt-0.32-build/BUILDROOT/usr/share/doc/comgt + cp -pr /home/pterjan/rpmbuild/BUILD/comgt-0.32-build/comgt.0.32/CHANGELOG /home/pterjan/rpmbuild/BUILD/comgt-0.32-build/BUILDROOT/usr/share/doc/comgt + cp -pr /home/pterjan/rpmbuild/BUILD/comgt-0.32-build/comgt.0.32/gprs.txt /home/pterjan/rpmbuild/BUILD/comgt-0.32-build/BUILDROOT/usr/share/doc/comgt + cp -pr /home/pterjan/rpmbuild/BUILD/comgt-0.32-build/comgt.0.32/TODO /home/pterjan/rpmbuild/BUILD/comgt-0.32-build/BUILDROOT/usr/share/doc/comgt + cp -pr /home/pterjan/rpmbuild/BUILD/comgt-0.32-build/comgt.0.32/umts.txt /home/pterjan/rpmbuild/BUILD/comgt-0.32-build/BUILDROOT/usr/share/doc/comgt + RPM_EC=0 ++ jobs -p + exit 0 Provides: comgt = 0.32-22.mga10 comgt(x86-64) = 0.32-22.mga10 gcom = 0.32-22.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.15)(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.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) Obsoletes: gcom < 0.32-22.mga10 Processing files: comgt-debugsource-0.32-22.mga10.x86_64 Provides: comgt-debugsource = 0.32-22.mga10 comgt-debugsource(x86-64) = 0.32-22.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: comgt-debuginfo-0.32-22.mga10.x86_64 Provides: comgt-debuginfo = 0.32-22.mga10 comgt-debuginfo(x86-64) = 0.32-22.mga10 debuginfo(build-id) = df93805099a886fc0150717e7ca10be0ead993cd Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: comgt-debugsource(x86-64) = 0.32-22.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/comgt-0.32-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/comgt-debugsource-0.32-22.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/comgt-0.32-22.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/comgt-debuginfo-0.32-22.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cgaD73 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/comgt-0.32-build + test -d /home/pterjan/rpmbuild/BUILD/comgt-0.32-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/comgt-0.32-build + rm -rf /home/pterjan/rpmbuild/BUILD/comgt-0.32-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!