D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/p2c-2.02-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.alPFNb Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7jQqIm + umask 022 + cd /home/pterjan/rpmbuild/BUILD/p2c-2.02-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/p2c-2.02-build + rm -rf p2c-2-ZIPPERDOT-02 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/p2c-2.02.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd p2c-2-ZIPPERDOT-02 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/p2c-newpatch.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/p2c-1.22-memcpy.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/p2c-fix-build-with-gcc14.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -e 's/^main(/int main(/g' -i examples/e.c examples/cref.c examples/self.c examples/basic.c examples/fact.c examples/c/e.c examples/c/cref.c examples/c/self.c examples/c/basic.c examples/c/fact.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.UhjQsA + umask 022 + cd /home/pterjan/rpmbuild/BUILD/p2c-2.02-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 p2c-2-ZIPPERDOT-02 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cp src/sys.p2crc src/p2crc + make 'RPM_OPTS=-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 -fPIC -std=gnu99' 'LFLAGS=-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' all shlib -C src make: Entering directory '/home/pterjan/rpmbuild/BUILD/p2c-2.02-build/p2c-2-ZIPPERDOT-02/src' 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 -fPIC -std=gnu99 -DTEST_MALLOC -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 makeproto.c -o makeproto ./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 gcc -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 -fPIC -std=gnu99 -DTEST_MALLOC -DHASDUMPS -DP2C_HOME=\"/usr/lib/p2c\" trans.c trans.c: In function 'main': trans.c:783:26: warning: overflow in conversion from 'int' to 'signed char:2' changes value from '65535' to '-1' [-Woverflow] 783 | bft.f1 = 0xffff; | ^~~~~~ trans.c: In function 'mem_summary': trans.c:1575:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 1575 | printf("Meanings = %d of %d (%d of %d)\n", | ~^ | | | int | %ld 1576 | final_meanings, total_meanings, 1577 | final_meanings / sizeof(Meaning), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int trans.c:1575:44: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] 1575 | printf("Meanings = %d of %d (%d of %d)\n", | ~^ | | | int | %ld ...... 1578 | total_meanings / sizeof(Meaning)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int trans.c:1581:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 1581 | printf("Types = %d of %d (%d of %d)\n", final_types, total_types, | ~^ | | | int | %ld 1582 | final_types / sizeof(Type), total_types / sizeof(Type)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int trans.c:1581:44: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] 1581 | printf("Types = %d of %d (%d of %d)\n", final_types, total_types, | ~^ | | | int | %ld 1582 | final_types / sizeof(Type), total_types / sizeof(Type)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int trans.c:1583:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 1583 | printf("Statements = %d of %d (%d of %d)\n", final_stmts, total_stmts, | ~^ | | | int | %ld 1584 | final_stmts / sizeof(Stmt), total_stmts / sizeof(Stmt)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int trans.c:1583:44: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] 1583 | printf("Statements = %d of %d (%d of %d)\n", final_stmts, total_stmts, | ~^ | | | int | %ld 1584 | final_stmts / sizeof(Stmt), total_stmts / sizeof(Stmt)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int 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 -fPIC -std=gnu99 -DTEST_MALLOC -c -o stuff.o stuff.c 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 -fPIC -std=gnu99 -DTEST_MALLOC -c -o out.o out.c 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 -fPIC -std=gnu99 -DTEST_MALLOC -c -o comment.o comment.c 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 -fPIC -std=gnu99 -DTEST_MALLOC -c -o lex.o lex.c 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 -fPIC -std=gnu99 -DTEST_MALLOC -c -o parse.o parse.c 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 -fPIC -std=gnu99 -DTEST_MALLOC -c -o decl.o decl.c 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 -fPIC -std=gnu99 -DTEST_MALLOC -c -o expr.o expr.c 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 -fPIC -std=gnu99 -DTEST_MALLOC -c -o pexpr.o pexpr.c 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 -fPIC -std=gnu99 -DTEST_MALLOC -c -o funcs.o funcs.c gcc -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 -fPIC -std=gnu99 -DTEST_MALLOC -DCUST1=hpmods -DCUST2=citmods dir.c 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 -fPIC -std=gnu99 -DTEST_MALLOC -c -o hpmods.o hpmods.c 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 -fPIC -std=gnu99 -DTEST_MALLOC -c -o citmods.o citmods.c gcc -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 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,-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 -fPIC -std=gnu99 -DTEST_MALLOC p2clib.c 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 -fPIC -std=gnu99 -DTEST_MALLOC -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 make: Leaving directory '/home/pterjan/rpmbuild/BUILD/p2c-2.02-build/p2c-2-ZIPPERDOT-02/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.k9Qa4G + umask 022 + cd /home/pterjan/rpmbuild/BUILD/p2c-2.02-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/p2c-2.02-build + mkdir /home/pterjan/rpmbuild/BUILD/p2c-2.02-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 p2c-2-ZIPPERDOT-02 + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/share/man/man1 /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib64 /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include + make install RPM_INSTALL=/home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT LIBDIR=/home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib64 HOMEDIR=/home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib64/p2c MANDIR=/home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/share/man/man1 cd src; make install make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/p2c-2.02-build/p2c-2-ZIPPERDOT-02/src' if [ ! -d /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib64/p2c ]; then mkdir /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib64/p2c; else true; fi if [ ! -d /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/bin ]; then mkdir /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/bin; else true; fi if [ ! -d /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib64 ]; then mkdir /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib64; else true; fi if [ ! -d /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/share/man/man1 ]; then mkdir /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/share/man/man1; else true; fi if [ ! -d /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c ]; then mkdir /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c; else true; fi cp p2c /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/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/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/bin/p2cc cp libp2c.a /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib64/libp2c.a if [ -f /usr/bin/ranlib -o -f /bin/ranlib ]; then ranlib /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib64/libp2c.a; fi cp libp2c.so.1.2.0 /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib64/libp2c.so.1.2.0 cp p2c.man.inst /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/share/man/man1/p2c.1 cp p2c.h /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h cp sys.p2crc /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib64/p2c/p2crc cp loc.p2crc /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib64/p2c/loc.p2crc cp system.imp /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib64/p2c/system.imp cp system.m2 /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib64/p2c/system.m2 cp turbo.imp /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib64/p2c/turbo.imp cp string.pas /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib64/p2c/string.pas make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/p2c-2.02-build/p2c-2-ZIPPERDOT-02/src' + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 2.02-1.mga10 --unique-debug-suffix -2.02-1.mga10.x86_64 --unique-debug-src-base p2c-2.02-1.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/p2c-2-ZIPPERDOT-02 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/p2c-2.02-1.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 + 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/p2c-2.02-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.F0XeyA + umask 022 + cd /home/pterjan/rpmbuild/BUILD/p2c-2.02-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 p2c-2-ZIPPERDOT-02 + '[' 1 -eq 1 ']' + rm -f examples/fact examples/e examples/self examples/cref examples/basic + sed -e 's/cd src/# cd src/' -i Makefile + make 'RPM_OPTS=-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 -fPIC -std=gnu99 -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' P2C=/home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/bin/p2c INC=/home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include LIB=/home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib64/libp2c.a test Compiling p2c, installing in /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/p2c-2-ZIPPERDOT-02/home... # cd src; make install Translating and compiling example files... cd examples; make comp make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/p2c-2.02-build/p2c-2-ZIPPERDOT-02/examples' 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 -fPIC -std=gnu99 -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 -I/home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include fact.c /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib64/libp2c.a -o fact 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 -fPIC -std=gnu99 -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 -I/home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include e.c /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib64/libp2c.a -o e In file included from e.c:5: e.c: In function 'main': /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ e.c:122:16: note: in expansion of macro 'Malloc' 122 | s = (digit *)Malloc(sizeof(digitarray)); | ^~~~~~ /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ e.c:123:16: note: in expansion of macro 'Malloc' 123 | x = (digit *)Malloc(sizeof(digitarray)); | ^~~~~~ 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 -fPIC -std=gnu99 -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 -I/home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include self.c /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib64/libp2c.a -o self 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 -fPIC -std=gnu99 -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 -I/home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include cref.c /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib64/libp2c.a -o cref In file included from cref.c:5: cref.c: In function 'lookup': /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ cref.c:75:17: note: in expansion of macro 'Malloc' 75 | *np = (node *)Malloc(sizeof(node)); | ^~~~~~ cref.c: In function 'cref': /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ cref.c:104:17: note: in expansion of macro 'Malloc' 104 | op = (occur *)Malloc(sizeof(occur)); | ^~~~~~ cref.c: In function 'main': cref.c:228:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 228 | fgets(fn, 121, stdin); | ^~~~~~~~~~~~~~~~~~~~~ cref.c:256:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 256 | fgets(buf, 256, f); | ^~~~~~~~~~~~~~~~~~ cref.c:405:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 405 | fgets(fn, 121, stdin); | ^~~~~~~~~~~~~~~~~~~~~ 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 -fPIC -std=gnu99 -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 -I/home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include basic.c /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/lib64/libp2c.a -lm -o basic In file included from basic.c:9: basic.c: In function 'parse': /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ basic.c:335:23: note: in expansion of macro 'Malloc' 335 | t = (tokenrec *)Malloc(sizeof(tokenrec)); | ^~~~~~ /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ basic.c:347:28: note: in expansion of macro 'Malloc' 347 | t->UU.sp = (Char *)Malloc(256); | ^~~~~~ /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ basic.c:563:32: note: in expansion of macro 'Malloc' 563 | t->UU.sp = (Char *)Malloc(256); | ^~~~~~ /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ basic.c:573:29: note: in expansion of macro 'Malloc' 573 | v = (varrec *)Malloc(sizeof(varrec)); | ^~~~~~ basic.c: In function 'parseinput': /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ basic.c:1015:21: note: in expansion of macro 'Malloc' 1015 | l1 = (linerec *)Malloc(sizeof(linerec)); | ^~~~~~ basic.c: In function 'findvar': /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ basic.c:1212:32: note: in expansion of macro 'Malloc' 1212 | v->UU.U1.sarr = (Char **)Malloc(j * 4); | ^~~~~~ /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ basic.c:1216:32: note: in expansion of macro 'Malloc' 1216 | v->UU.U0.arr = (double *)Malloc(j * 8); | ^~~~~~ basic.c: In function 'factor': /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ basic.c:1286:25: note: in expansion of macro 'Malloc' 1286 | n.UU.sval = (Char *)Malloc(256); | ^~~~~~ /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ basic.c:1295:27: note: in expansion of macro 'Malloc' 1295 | n.UU.sval = (Char *)Malloc(256); | ^~~~~~ /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ basic.c:1363:25: note: in expansion of macro 'Malloc' 1363 | n.UU.sval = (Char *)Malloc(256); | ^~~~~~ /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ basic.c:1383:25: note: in expansion of macro 'Malloc' 1383 | n.UU.sval = (Char *)Malloc(256); | ^~~~~~ basic.c: In function 'cmdinput': basic.c:1993:7: warning: 'gets' is deprecated [-Wdeprecated-declarations] 1993 | gets(s); | ^~~~ In file included from /usr/include/stdio.h:970, from /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:14: /usr/include/bits/stdio2.h:292:1: note: declared here 292 | gets (__fortify_clang_overload_arg (char *, , __str)) | ^~~~ /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ basic.c:1997:32: note: in expansion of macro 'Malloc' 1997 | *v->UU.U1.sval = (Char *)Malloc(256); | ^~~~~~ basic.c:2006:3: warning: 'gets' is deprecated [-Wdeprecated-declarations] 2006 | gets(s); | ^~~~ /usr/include/bits/stdio2.h:292:1: note: declared here 292 | gets (__fortify_clang_overload_arg (char *, , __str)) | ^~~~ basic.c:2013:7: warning: 'gets' is deprecated [-Wdeprecated-declarations] 2013 | gets(s); | ^~~~ /usr/include/bits/stdio2.h:292:1: note: declared here 292 | gets (__fortify_clang_overload_arg (char *, , __str)) | ^~~~ basic.c: In function 'cmdfor': /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ basic.c:2188:18: note: in expansion of macro 'Malloc' 2188 | l = (looprec *)Malloc(sizeof(looprec)); | ^~~~~~ basic.c: In function 'cmdwhile': /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ basic.c:2235:18: note: in expansion of macro 'Malloc' 2235 | l = (looprec *)Malloc(sizeof(looprec)); | ^~~~~~ basic.c: In function 'cmdgosub': /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ basic.c:2301:18: note: in expansion of macro 'Malloc' 2301 | l = (looprec *)Malloc(sizeof(looprec)); | ^~~~~~ basic.c: In function 'cmdon': /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ basic.c:2416:20: note: in expansion of macro 'Malloc' 2416 | l = (looprec *)Malloc(sizeof(looprec)); | ^~~~~~ basic.c: In function 'cmddim': /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ basic.c:2473:32: note: in expansion of macro 'Malloc' 2473 | v->UU.U1.sarr = (Char **)Malloc(j * 4); | ^~~~~~ /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ basic.c:2477:32: note: in expansion of macro 'Malloc' 2477 | v->UU.U0.arr = (double *)Malloc(j * 8); | ^~~~~~ basic.c: In function 'exec': /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ basic.c:2706:28: note: in expansion of macro 'Malloc' 2706 | ioerrmsg = (Char *)Malloc(256); | ^~~~~~ basic.c: In function 'main': /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/include/p2c/p2c.h:475:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | # define Malloc(n) ((__MallocTemp__ = malloc(n)) ? __MallocTemp__ : (Anyptr)_OutMem()) | ^ basic.c:2734:19: note: in expansion of macro 'Malloc' 2734 | inbuf = (Char *)Malloc(256); | ^~~~~~ basic.c:2744:9: warning: 'gets' is deprecated [-Wdeprecated-declarations] 2744 | gets(inbuf); | ^~~~ /usr/include/bits/stdio2.h:292:1: note: declared here 292 | gets (__fortify_clang_overload_arg (char *, , __str)) | ^~~~ basic.c:2744:9: warning: ignoring return value of 'gets' declared with attribute 'warn_unused_result' [-Wunused-result] 2744 | gets(inbuf); | ^~~~~~~~~~~ basic.c: In function 'cmdinput': basic.c:1993:7: warning: ignoring return value of 'gets' declared with attribute 'warn_unused_result' [-Wunused-result] 1993 | gets(s); | ^~~~~~~ basic.c:2006:3: warning: ignoring return value of 'gets' declared with attribute 'warn_unused_result' [-Wunused-result] 2006 | gets(s); | ^~~~~~~ basic.c:2013:7: warning: ignoring return value of 'gets' declared with attribute 'warn_unused_result' [-Wunused-result] 2013 | gets(s); | ^~~~~~~ In function 'gets', inlined from 'main' at basic.c:2744:2: /usr/include/bits/stdio2.h:299:10: warning: call to '__gets_warn' declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [-Wattribute-warning] 299 | return __gets_warn (__str); | ^~~~~~~~~~~~~~~~~~~ /usr/bin/ld: /tmp/cc9IOVUy.o: in function `gets': /usr/include/bits/stdio2.h:299:(.text.startup+0xd8): warning: the `gets' function is dangerous and should not be used. /usr/bin/ld: /usr/include/bits/stdio2.h:298:(.text+0x570d): warning: the `gets' function is dangerous and should not be used. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/p2c-2.02-build/p2c-2-ZIPPERDOT-02/examples' Running the factorial example... examples/fact The factorial of 1 is 1 The factorial of 2 is 2 The factorial of 3 is 6 The factorial of 4 is 24 The factorial of 5 is 120 The factorial of 6 is 720 The factorial of 7 is 5040 The factorial of 8 is 40320 The factorial of 9 is 362880 The factorial of 10 is 3628800 Running the 'e' computation example... examples/e Series: 0.00% Series: 0.10% Series: 0.10% Series: 0.20% Series: 0.30% Series: 0.30% Series: 0.40% Series: 0.50% Series: 0.60% Series: 0.69% Series: 0.79% Series: 0.89% Series: 0.99% Series: 1.09% Series: 1.29% Series: 1.39% Series: 1.49% Series: 1.59% Series: 1.79% Series: 1.88% Series: 1.98% Series: 2.18% Series: 2.28% Series: 2.38% Series: 2.58% Series: 2.68% Series: 2.88% Series: 2.98% Series: 3.08% Series: 3.27% Series: 3.37% Series: 3.57% Series: 3.67% Series: 3.87% Series: 4.07% Series: 4.17% Series: 4.37% Series: 4.46% Series: 4.66% Series: 4.76% Series: 4.96% Series: 5.16% Series: 5.26% Series: 5.46% Series: 5.65% Series: 5.75% Series: 5.95% Series: 6.15% Series: 6.25% Series: 6.45% Series: 6.65% Series: 6.75% Series: 6.94% Series: 7.14% Series: 7.34% Series: 7.44% Series: 7.64% Series: 7.84% Series: 8.04% Series: 8.13% Series: 8.33% Series: 8.53% Series: 8.73% Series: 8.93% Series: 9.03% Series: 9.23% Series: 9.42% Series: 9.62% Series: 9.82% Series: 10.02% Series: 10.12% Series: 10.32% Series: 10.52% Series: 10.71% Series: 10.91% Series: 11.11% Series: 11.31% Series: 11.51% Series: 11.61% Series: 11.81% Series: 12.00% Series: 12.20% Series: 12.40% Series: 12.60% Series: 12.80% Series: 13.00% Series: 13.19% Series: 13.39% Series: 13.59% Series: 13.79% Series: 13.99% Series: 14.19% Series: 14.38% Series: 14.58% Series: 14.78% Series: 14.88% Series: 15.08% Series: 15.28% Series: 15.48% Series: 15.67% Series: 15.87% Series: 16.07% Series: 16.27% Series: 16.57% Series: 16.77% Series: 16.96% Series: 17.16% Series: 17.36% Series: 17.56% Series: 17.76% Series: 17.96% Series: 18.15% Series: 18.35% Series: 18.55% Series: 18.75% Series: 18.95% Series: 19.15% Series: 19.35% Series: 19.54% Series: 19.74% Series: 19.94% Series: 20.14% Series: 20.44% Series: 20.63% Series: 20.83% Series: 21.03% Series: 21.23% Series: 21.43% Series: 21.63% Series: 21.83% Series: 22.02% Series: 22.32% Series: 22.52% Series: 22.72% Series: 22.92% Series: 23.12% Series: 23.31% Series: 23.51% Series: 23.71% Series: 24.01% Series: 24.21% Series: 24.40% Series: 24.60% Series: 24.80% Series: 25.00% Series: 25.30% Series: 25.50% Series: 25.69% Series: 25.89% Series: 26.09% Series: 26.29% Series: 26.59% Series: 26.79% Series: 26.98% Series: 27.18% Series: 27.38% Series: 27.68% Series: 27.88% Series: 28.08% Series: 28.27% Series: 28.47% Series: 28.77% Series: 28.97% Series: 29.17% Series: 29.37% Series: 29.56% Series: 29.86% Series: 30.06% Series: 30.26% Series: 30.46% Series: 30.75% Series: 30.95% Series: 31.15% Series: 31.35% Series: 31.65% Series: 31.85% Series: 32.04% Series: 32.24% Series: 32.54% Series: 32.74% Series: 32.94% Series: 33.13% Series: 33.43% Series: 33.63% Series: 33.83% Series: 34.03% Series: 34.33% Series: 34.52% Series: 34.72% Series: 34.92% Series: 35.22% Series: 35.42% Series: 35.62% Series: 35.91% Series: 36.11% Series: 36.31% Series: 36.61% Series: 36.81% Series: 37.00% Series: 37.20% Series: 37.50% Series: 37.70% Series: 37.90% Series: 38.19% Series: 38.39% Series: 38.59% Series: 38.89% Series: 39.09% Series: 39.29% Series: 39.58% Series: 39.78% Series: 39.98% Series: 40.28% Series: 40.48% Series: 40.67% Series: 40.97% Series: 41.17% Series: 41.37% Series: 41.67% Series: 41.87% Series: 42.06% Series: 42.36% Series: 42.56% Series: 42.76% Series: 43.06% Series: 43.25% Series: 43.45% Series: 43.75% Series: 43.95% Series: 44.15% Series: 44.44% Series: 44.64% Series: 44.84% Series: 45.14% Series: 45.34% Series: 45.63% Series: 45.83% Series: 46.03% Series: 46.33% Series: 46.53% Series: 46.73% Series: 47.02% Series: 47.22% Series: 47.52% Series: 47.72% Series: 47.92% Series: 48.21% Series: 48.41% Series: 48.71% Series: 48.91% Series: 49.11% Series: 49.40% Series: 49.60% Series: 49.90% Series: 50.10% Series: 50.30% Series: 50.60% Series: 50.79% Series: 51.09% Series: 51.29% Series: 51.49% Series: 51.79% Series: 51.98% Series: 52.28% Series: 52.48% Series: 52.78% Series: 52.98% Series: 53.17% Series: 53.47% Series: 53.67% Series: 53.97% Series: 54.17% Series: 54.46% Series: 54.66% Series: 54.96% Series: 55.16% Series: 55.36% Series: 55.65% Series: 55.85% Series: 56.15% Series: 56.35% Series: 56.65% Series: 56.85% Series: 57.14% Series: 57.34% Series: 57.54% Series: 57.84% Series: 58.04% Series: 58.33% Series: 58.53% Series: 58.83% Series: 59.03% Series: 59.33% Series: 59.52% Series: 59.82% Series: 60.02% Series: 60.32% Series: 60.52% Series: 60.81% Series: 61.01% Series: 61.21% Series: 61.51% Series: 61.71% Series: 62.00% Series: 62.20% Series: 62.50% Series: 62.70% Series: 63.00% Series: 63.19% Series: 63.49% Series: 63.69% Series: 63.99% Series: 64.19% Series: 64.48% Series: 64.68% Series: 64.98% Series: 65.18% Series: 65.48% Series: 65.67% Series: 65.97% Series: 66.17% Series: 66.47% Series: 66.67% Series: 66.96% Series: 67.16% Series: 67.46% Series: 67.66% Series: 67.96% Series: 68.15% Series: 68.45% Series: 68.65% Series: 68.95% Series: 69.25% Series: 69.44% Series: 69.74% Series: 69.94% Series: 70.24% Series: 70.44% Series: 70.73% Series: 70.93% Series: 71.23% Series: 71.43% Series: 71.73% Series: 71.92% Series: 72.22% Series: 72.42% Series: 72.72% Series: 73.02% Series: 73.21% Series: 73.51% Series: 73.71% Series: 74.01% Series: 74.21% Series: 74.50% Series: 74.70% Series: 75.00% Series: 75.20% Series: 75.50% Series: 75.79% Series: 75.99% Series: 76.29% Series: 76.49% Series: 76.79% Series: 76.98% Series: 77.28% Series: 77.48% Series: 77.78% Series: 78.08% Series: 78.27% Series: 78.57% Series: 78.77% Series: 79.07% Series: 79.27% Series: 79.56% Series: 79.86% Series: 80.06% Series: 80.36% Series: 80.56% Series: 80.85% Series: 81.05% Series: 81.35% Series: 81.65% Series: 81.85% Series: 82.14% Series: 82.34% Series: 82.64% Series: 82.94% Series: 83.13% Series: 83.43% Series: 83.63% Series: 83.93% Series: 84.23% Series: 84.42% Series: 84.72% Series: 84.92% Series: 85.22% Series: 85.52% Series: 85.71% Series: 86.01% Series: 86.21% Series: 86.51% Series: 86.81% Series: 87.00% Series: 87.30% Series: 87.50% Series: 87.80% Series: 88.10% Series: 88.29% Series: 88.59% Series: 88.79% Series: 89.09% Series: 89.38% Series: 89.58% Series: 89.88% Series: 90.08% Series: 90.38% Series: 90.67% Series: 90.87% Series: 91.17% Series: 91.47% Series: 91.67% Series: 91.96% Series: 92.16% Series: 92.46% Series: 92.76% Series: 92.96% Series: 93.25% Series: 93.55% Series: 93.75% Series: 94.05% Series: 94.25% Series: 94.54% Series: 94.84% Series: 95.04% Series: 95.34% Series: 95.63% Series: 95.83% Series: 96.13% Series: 96.43% Series: 96.63% Series: 96.92% Series: 97.22% Series: 97.42% Series: 97.72% Series: 97.92% Series: 98.21% Series: 98.51% Series: 98.71% Series: 99.01% Series: 99.31% Series: 99.50% Series: 99.80% Series: 100.00% e = 2. 7182818284 5904523536 0287471352 6624977572 4709369995 9574966967 6277240766 3035354759 4571382178 5251664274 2746639193 2003059921 8174135966 2904357290 0334295260 5956307381 3232862794 3490763233 8298807531 9525101901 1573834187 9307021540 8914993488 4167509244 7614606680 8226480016 8477411853 7423454424 3710753907 7744992069 5517027618 3860626133 1384583000 7520449338 2656029760 6737113200 7093287091 2744374704 7230696977 2093101416 9283681902 5515108657 4637721112 5238978442 5056953696 7707854499 6996794686 4454905987 9316368892 3009879312 7736178215 4249992295 7635148220 8269895193 6680331825 2886939849 6465105820 9392398294 8879332036 2509443117 3012381970 6841614039 7019837679 3206832823 7646480429 5311802328 7825098194 5581530175 6717361332 0698112509 9618188159 3041690351 5988885193 4580727386 6738589422 8792284998 9208680582 5749279610 4841984443 6346324496 8487560233 6248270419 7862320900 2160990235 3043699418 4914631409 3431738143 6405462531 5209618369 0888707016 7683964243 7814059271 4563549061 3031072085 1038375051 0115747704 1718986106 8739696552 1267154688 9570350354 Final digits: 0212109 Running the self-printing Pascal example... examples/self >examples/self.out cat examples/self.out program self(input, output); type s = string[255]; n=integer; var a : array [1..100] of s; i,j : integer; function t(a:integer):integer; begin if a<7 then t:=a else t:=a+11 end; function q(a:s):s; var j:n;begin for j:=strlen(a)downto 1 do if a[j]=#39 then strinsert(#39,a,j);q:=a;end; begin a[1] := 'program self(input, output);'; a[2] := 'type s = string[255]; n=integer;'; a[3] := 'var a : array [1..100] of s; i,j : integer;'; a[4] := 'function t(a:integer):integer; begin if a<7 then t:=a else t:=a+11 end; function q(a:s):s;'; a[5] := ' var j:n;begin for j:=strlen(a)downto 1 do if a[j]=#39 then strinsert(#39,a,j);q:=a;end;'; a[6] := 'begin'; a[18] := ' for i := 1 to 11 do begin setstrlen(a[i+6], 0);'; a[19] := ' strwrite(a[i+6],1,j,'' a['',t(i):1,''] := '''''', q(a[t(i)]), '''''';'');'; a[20] := ' end;'; a[21] := ' for i := 1 to 22 do writeln(a[i]);'; a[22] := 'end.'; for i := 1 to 11 do begin setstrlen(a[i+6], 0); strwrite(a[i+6],1,j,' a[',t(i):1,'] := ''', q(a[t(i)]), ''';'); end; for i := 1 to 22 do writeln(a[i]); end. diff examples/self.p examples/self.out Also try 'cref' and 'basic' in the examples directory. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: p2c-2.02-1.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Npt9po + umask 022 + cd /home/pterjan/rpmbuild/BUILD/p2c-2.02-build + cd p2c-2-ZIPPERDOT-02 + DOCDIR=/home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/share/doc/p2c + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/share/doc/p2c + cp -pr /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/p2c-2-ZIPPERDOT-02/README /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT/usr/share/doc/p2c + RPM_EC=0 ++ jobs -p + exit 0 Provides: libp2c.so.1()(64bit) p2c = 2.02-1.mga10 p2c(x86-64) = 2.02-1.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.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) perl-base >= 2:5.40.1 Processing files: p2c-devel-2.02-1.mga10.x86_64 Provides: p2c-devel = 2.02-1.mga10 p2c-devel(x86-64) = 2.02-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: p2c-debugsource-2.02-1.mga10.x86_64 Provides: p2c-debugsource = 2.02-1.mga10 p2c-debugsource(x86-64) = 2.02-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: p2c-debuginfo-2.02-1.mga10.x86_64 Provides: debuginfo(build-id) = 606bfa255320dc07427ae3c1138c682714356e79 debuginfo(build-id) = e361a6b214a2f0780074aeebac5166d94ed77c08 p2c-debuginfo = 2.02-1.mga10 p2c-debuginfo(x86-64) = 2.02-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: p2c-debugsource(x86-64) = 2.02-1.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/p2c-2.02-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/p2c-devel-2.02-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/p2c-2.02-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/p2c-debuginfo-2.02-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/p2c-debugsource-2.02-1.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sXdrmI + umask 022 + cd /home/pterjan/rpmbuild/BUILD/p2c-2.02-build + test -d /home/pterjan/rpmbuild/BUILD/p2c-2.02-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/p2c-2.02-build + rm -rf /home/pterjan/rpmbuild/BUILD/p2c-2.02-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!