D: [iurt_root_command] chroot warning: Macro expanded in comment on line 58: %_docdir/p2c-1.22 Installing /home/iurt/rpmbuild/SRPMS/p2c-1.22-28.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.r74NoB + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf p2c-1.22 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/p2c-1.22.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd p2c-1.22 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #2 (p2c-newpatch.patch):' Patch #2 (p2c-newpatch.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .new --fuzz=0 patching file src/Makefile patching file src/trans.h patching file examples/Makefile patching file Makefile + echo 'Patch #3 (p2c-1.22-memcpy.patch):' Patch #3 (p2c-1.22-memcpy.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .memcpy --fuzz=0 patching file src/p2clib.c + echo 'Patch #4 (p2c-1.22-getline.patch):' Patch #4 (p2c-1.22-getline.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .getline --fuzz=0 patching file src/parse.c patching file src/p2c.hdrs patching file src/lex.c + mkdir src/shlib + mkdir include + ln -s ../src include/p2c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.uSuDFA + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd p2c-1.22 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cp src/sys.p2crc src/p2crc + make 'RPM_OPTS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC' cd src ; make build ; make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/p2c-1.22/src' gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -DHASDUMPS -DP2C_HOME=\"/usr/lib/p2c\" trans.c In file included from trans.c:23: trans.h:1781:42: warning: built-in function 'logf' declared as non-function [-Wbuiltin-declaration-mismatch] 1781 | extern FILE *inf, *outf, *codef, *hdrf, *logf; | ^~~~ trans.c: In function 'closelogfile': trans.c:612:57: warning: implicit declaration of function 'sbrk' [-Wimplicit-function-declaration] 612 | fprintf(logf, "Total memory used: %ld bytes.\n", (long)sbrk(0)); | ^~~~ trans.c: In function 'main': trans.c:778:12: warning: overflow in conversion from 'int' to 'signed char:2' changes value from '65535' to '-1' [-Woverflow] 778 | bft.f1 = 0xffff; | ^~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -c -o stuff.o stuff.c In file included from stuff.c:21: trans.h:1781:42: warning: built-in function 'logf' declared as non-function [-Wbuiltin-declaration-mismatch] 1781 | extern FILE *inf, *outf, *codef, *hdrf, *logf; | ^~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -c -o out.o out.c In file included from out.c:31: trans.h:1781:42: warning: built-in function 'logf' declared as non-function [-Wbuiltin-declaration-mismatch] 1781 | extern FILE *inf, *outf, *codef, *hdrf, *logf; | ^~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -c -o comment.o comment.c In file included from comment.c:21: trans.h:1781:42: warning: built-in function 'logf' declared as non-function [-Wbuiltin-declaration-mismatch] 1781 | extern FILE *inf, *outf, *codef, *hdrf, *logf; | ^~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -c -o lex.o lex.c In file included from lex.c:21: trans.h:1781:42: warning: built-in function 'logf' declared as non-function [-Wbuiltin-declaration-mismatch] 1781 | extern FILE *inf, *outf, *codef, *hdrf, *logf; | ^~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -c -o parse.o parse.c In file included from parse.c:21: trans.h:1781:42: warning: built-in function 'logf' declared as non-function [-Wbuiltin-declaration-mismatch] 1781 | extern FILE *inf, *outf, *codef, *hdrf, *logf; | ^~~~ parse.c: In function 'do_include': parse.c:5084:5: warning: implicit declaration of function 'getline_'; did you mean 'getline'? [-Wimplicit-function-declaration] 5084 | getline_(); | ^~~~~~~~ | getline gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -c -o decl.o decl.c In file included from decl.c:21: trans.h:1781:42: warning: built-in function 'logf' declared as non-function [-Wbuiltin-declaration-mismatch] 1781 | extern FILE *inf, *outf, *codef, *hdrf, *logf; | ^~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -c -o expr.o expr.c In file included from expr.c:21: trans.h:1781:42: warning: built-in function 'logf' declared as non-function [-Wbuiltin-declaration-mismatch] 1781 | extern FILE *inf, *outf, *codef, *hdrf, *logf; | ^~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -c -o pexpr.o pexpr.c In file included from pexpr.c:21: trans.h:1781:42: warning: built-in function 'logf' declared as non-function [-Wbuiltin-declaration-mismatch] 1781 | extern FILE *inf, *outf, *codef, *hdrf, *logf; | ^~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -c -o funcs.o funcs.c In file included from funcs.c:21: trans.h:1781:42: warning: built-in function 'logf' declared as non-function [-Wbuiltin-declaration-mismatch] 1781 | extern FILE *inf, *outf, *codef, *hdrf, *logf; | ^~~~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -DCUST1=hpmods -DCUST2=citmods dir.c In file included from dir.c:22: trans.h:1781:42: warning: built-in function 'logf' declared as non-function [-Wbuiltin-declaration-mismatch] 1781 | extern FILE *inf, *outf, *codef, *hdrf, *logf; | ^~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -c -o hpmods.o hpmods.c In file included from hpmods.c:21: trans.h:1781:42: warning: built-in function 'logf' declared as non-function [-Wbuiltin-declaration-mismatch] 1781 | extern FILE *inf, *outf, *codef, *hdrf, *logf; | ^~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -c -o citmods.o citmods.c In file included from citmods.c:21: trans.h:1781:42: warning: built-in function 'logf' declared as non-function [-Wbuiltin-declaration-mismatch] 1781 | extern FILE *inf, *outf, *codef, *hdrf, *logf; | ^~~~ gcc trans.o stuff.o out.o comment.o lex.o parse.o decl.o expr.o pexpr.o funcs.o dir.o hpmods.o citmods.o -o p2c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC p2clib.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -c -o loc.p2clib.o loc.p2clib.c ar r libp2c.a p2clib.o loc.p2clib.o ar: creating libp2c.a gcc -shared -Wl,-soname,libp2c.so.1 -o libp2c.so.1.2.0 .//p2clib.o .//loc.p2clib.o -lc sed -e "s;--HOMEDIR--;/usr/lib/p2c;" \ -e "s;--INCDIR--;/usr/include/p2c;" \ -e "s;--LIBDIR--;/usr/lib;" \ p2c.man >p2c.man.inst make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/p2c-1.22/src' + make 'RPM_OPTS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC' shlib -C src make: Entering directory '/home/iurt/rpmbuild/BUILD/p2c-1.22/src' make: Nothing to be done for 'shlib'. make: Leaving directory '/home/iurt/rpmbuild/BUILD/p2c-1.22/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.S8X3DB + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64 + cd p2c-1.22 + '[' 1 -eq 1 ']' + mkdir -p /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/share/man/man1 /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/lib /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/lib64 /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/include + make install RPM_INSTALL=/home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64 LIBDIR=/home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/lib64 MANDIR=/home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/share/man/man1 cd src; make install make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/p2c-1.22/src' gcc makeproto.c -o makeproto makeproto.c: In function 'usage': makeproto.c:137:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 137 | exit(1); | ^~~~ makeproto.c:137:5: warning: incompatible implicit declaration of built-in function 'exit' makeproto.c:34:1: note: include '' or provide a declaration of 'exit' 33 | # include +++ |+#include 34 | #endif makeproto.c: In function 'main': makeproto.c:171:23: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 171 | typetab = atoi(argv[1] + 2); | ^~~~ makeproto.c:210:13: warning: incompatible implicit declaration of built-in function 'exit' 210 | exit(1); | ^~~~ makeproto.c:210:13: note: include '' or provide a declaration of 'exit' makeproto.c:501:9: warning: incompatible implicit declaration of built-in function 'exit' 501 | exit(1); | ^~~~ makeproto.c:501:9: note: include '' or provide a declaration of 'exit' makeproto.c:503:9: warning: incompatible implicit declaration of built-in function 'exit' 503 | exit(0); | ^~~~ makeproto.c:503:9: note: include '' or provide a declaration of 'exit' ./makeproto -n -m -h -t16 -a35 -s1 -i trans.c stuff.c out.c comment.c lex.c parse.c decl.c expr.c pexpr.c funcs.c dir.c hpmods.c citmods.c -o p2c.proto ./makeproto -n -m -h -t16 -a35 -s0 -x trans.c stuff.c out.c comment.c lex.c parse.c decl.c expr.c pexpr.c funcs.c dir.c hpmods.c citmods.c -o p2c.hdrs if [ ! -d /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/lib/p2c ]; then mkdir /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/lib/p2c; else true; fi if [ ! -d /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/bin ]; then mkdir /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/bin; else true; fi if [ ! -d /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/lib64 ]; then mkdir /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/lib64; else true; fi if [ ! -d /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/share/man/man1 ]; then mkdir /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/share/man/man1; else true; fi if [ ! -d /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/include/p2c ]; then mkdir /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/include/p2c; else true; fi cp p2c /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/bin/p2c sed -e "s;--HOMEDIR--;/usr/lib/p2c;" \ -e "s;--INCDIR--;/usr/include/p2c;" \ -e "s;--LIBDIR--;/usr/lib;" \ -e "s;/bin/perl;`which perl`;" \ p2cc.perl >p2cc chmod a+x p2cc cp p2cc /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/bin/p2cc cp libp2c.a /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/lib64/libp2c.a if [ -f /usr/bin/ranlib -o -f /bin/ranlib ]; then ranlib /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/lib64/libp2c.a; fi cp libp2c.so.1.2.0 /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/lib64/libp2c.so.1.2.0 cp p2c.man.inst /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/share/man/man1/p2c.1 cp p2c.h /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/include/p2c/p2c.h cp sys.p2crc /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/lib/p2c/p2crc cp loc.p2crc /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/lib/p2c/loc.p2crc cp system.imp /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/lib/p2c/system.imp cp system.m2 /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/lib/p2c/system.m2 cp turbo.imp /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/lib/p2c/turbo.imp cp string.pas /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/lib/p2c/string.pas make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/p2c-1.22/src' + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 1.22-28.mga8 --unique-debug-suffix -1.22-28.mga8.aarch64 --unique-debug-src-base p2c-1.22-28.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/p2c-1.22 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/bin/p2c explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/lib64/libp2c.so.1.2.0 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/bin/p2c extracting debug info from /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64/usr/lib64/libp2c.so.1.2.0 original debug info size: 1476kB, size after compression: 1400kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 2209 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 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: p2c-1.22-28.mga8.aarch64 Provides: libp2c.so.1()(64bit) p2c = 1.22-28.mga8 p2c(aarch-64) = 1.22-28.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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) perl-base >= 2:5.32.0 Processing files: p2c-devel-1.22-28.mga8.aarch64 Provides: p2c-devel = 1.22-28.mga8 p2c-devel(aarch-64) = 1.22-28.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: p2c-debugsource-1.22-28.mga8.aarch64 Provides: p2c-debugsource = 1.22-28.mga8 p2c-debugsource(aarch-64) = 1.22-28.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: p2c-debuginfo-1.22-28.mga8.aarch64 Provides: debuginfo(build-id) = 470ac0427f948d24f163203610bcefbf105fb569 debuginfo(build-id) = a8c94707952f7a827f93b46aa42a9218bd6f1f9d p2c-debuginfo = 1.22-28.mga8 p2c-debuginfo(aarch-64) = 1.22-28.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: p2c-debugsource(aarch-64) = 1.22-28.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/p2c-devel-1.22-28.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/p2c-1.22-28.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/p2c-debugsource-1.22-28.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/p2c-debuginfo-1.22-28.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Hhsupy + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd p2c-1.22 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/p2c-1.22-28.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.UxgkhC + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf p2c-1.22 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!