INFO: mock.py version 2.2 starting (python version = 3.7.7)... Start(bootstrap): init plugins INFO: selinux disabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux disabled Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/tmp/paxtest/paxtest-0.9.9-1.fc30.art.src.rpm) Config(el8-x86_64) Start: clean chroot Finish: clean chroot Start(bootstrap): chroot init WARNING: For multilib systems, both architectures of nosync library need to be installed INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: enabled HW Info plugin Mock Version: 2.2 INFO: Mock Version: 2.2 Finish(bootstrap): chroot init Start: chroot init WARNING: For multilib systems, both architectures of nosync library need to be installed INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled ccache INFO: enabled HW Info plugin Mock Version: 2.2 INFO: Mock Version: 2.2 Start: dnf update No matches found for the following disable plugin patterns: local, spacewalk CentOS-8 - Base [=== ] --- B/s | 0 B --:-- ETA CentOS-8 - Base 14 kB/s | 3.9 kB 00:00 CentOS-8 - AppStream [=== ] --- B/s | 0 B --:-- ETA CentOS-8 - AppStream 15 kB/s | 4.3 kB 00:00 CentOS-8 - PowerTool [ === ] --- B/s | 0 B --:-- ETA CentOS-8 - PowerTools 22 kB/s | 4.3 kB 00:00 CentOS-8 - Extras [ === ] --- B/s | 0 B --:-- ETA CentOS-8 - Extras 6.4 kB/s | 1.5 kB 00:00 epel [ === ] --- B/s | 0 B --:-- ETA epel 30 kB/s | 4.7 kB 00:00 atomic rhel 8 mirror [ === ] --- B/s | 0 B --:-- ETA atomic rhel 8 mirror 1.6 MB/s | 2.9 kB 00:00 Atomic [ === ] --- B/s | 0 B --:-- ETA Atomic 1.7 MB/s | 3.0 kB 00:00 Atomic [=== ] --- B/s | 0 B --:-- ETA Atomic 2.4 MB/s | 3.0 kB 00:00 Atomic [=== ] --- B/s | 0 B --:-- ETA Atomic 2.4 MB/s | 3.0 kB 00:00 Atomic [ === ] --- B/s | 0 B --:-- ETA Atomic 1.9 MB/s | 3.0 kB 00:00 Dependencies resolved. Nothing to do. Complete! Finish: dnf update Finish: chroot init Start: build phase for paxtest-0.9.9-1.fc30.art.src.rpm Start: build setup for paxtest-0.9.9-1.fc30.art.src.rpm warning: Macro expanded in comment on line 45: %{_libdir}/*.so Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/paxtest-0.9.9-1.el8.art.src.rpm No matches found for the following disable plugin patterns: local, spacewalk CentOS-8 - Base [=== ] --- B/s | 0 B --:-- ETA CentOS-8 - Base 28 kB/s | 3.9 kB 00:00 CentOS-8 - AppStream [=== ] --- B/s | 0 B --:-- ETA CentOS-8 - AppStream 21 kB/s | 4.3 kB 00:00 CentOS-8 - PowerTool [ === ] --- B/s | 0 B --:-- ETA CentOS-8 - PowerTools 20 kB/s | 4.3 kB 00:00 CentOS-8 - Extras [ === ] --- B/s | 0 B --:-- ETA CentOS-8 - Extras 19 kB/s | 1.5 kB 00:00 epel [ === ] --- B/s | 0 B --:-- ETA epel 25 kB/s | 4.7 kB 00:00 atomic rhel 8 mirror [ === ] --- B/s | 0 B --:-- ETA atomic rhel 8 mirror 1.3 MB/s | 2.9 kB 00:00 Atomic [ === ] --- B/s | 0 B --:-- ETA Atomic 1.9 MB/s | 3.0 kB 00:00 Atomic [=== ] --- B/s | 0 B --:-- ETA Atomic 2.7 MB/s | 3.0 kB 00:00 Atomic [=== ] --- B/s | 0 B --:-- ETA Atomic 2.1 MB/s | 3.0 kB 00:00 Atomic [ === ] --- B/s | 0 B --:-- ETA Atomic 2.0 MB/s | 3.0 kB 00:00 Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: ccache x86_64 3.7.7-1.el8 epel 232 k Transaction Summary ================================================================================ Install 1 Package Total size: 232 k Installed size: 648 k Downloading Packages: [SKIPPED] ccache-3.7.7-1.el8.x86_64.rpm: Already downloaded Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: ccache-3.7.7-1.el8.x86_64 1/1 Installing : ccache-3.7.7-1.el8.x86_64 [ ] 1/1 Installing : ccache-3.7.7-1.el8.x86_64 [= ] 1/1 Installing : ccache-3.7.7-1.el8.x86_64 [== ] 1/1 Installing : ccache-3.7.7-1.el8.x86_64 [=== ] 1/1 Installing : ccache-3.7.7-1.el8.x86_64 [===== ] 1/1 Installing : ccache-3.7.7-1.el8.x86_64 [====== ] 1/1 Installing : ccache-3.7.7-1.el8.x86_64 [======= ] 1/1 Installing : ccache-3.7.7-1.el8.x86_64 [======== ] 1/1 Installing : ccache-3.7.7-1.el8.x86_64 [========= ] 1/1 Installing : ccache-3.7.7-1.el8.x86_64 [=========== ] 1/1 Installing : ccache-3.7.7-1.el8.x86_64 [============= ] 1/1 Installing : ccache-3.7.7-1.el8.x86_64 [============== ] 1/1 Installing : ccache-3.7.7-1.el8.x86_64 [=============== ] 1/1 Installing : ccache-3.7.7-1.el8.x86_64 [================ ] 1/1 Installing : ccache-3.7.7-1.el8.x86_64 [================= ] 1/1 Installing : ccache-3.7.7-1.el8.x86_64 [================== ] 1/1 Installing : ccache-3.7.7-1.el8.x86_64 [==================== ] 1/1 Installing : ccache-3.7.7-1.el8.x86_64 [===================== ] 1/1 Installing : ccache-3.7.7-1.el8.x86_64 [====================== ] 1/1 Installing : ccache-3.7.7-1.el8.x86_64 [======================= ] 1/1 Installing : ccache-3.7.7-1.el8.x86_64 [======================== ] 1/1 Installing : ccache-3.7.7-1.el8.x86_64 [========================= ] 1/1 Installing : ccache-3.7.7-1.el8.x86_64 1/1 Running scriptlet: ccache-3.7.7-1.el8.x86_64 1/1 Verifying : ccache-3.7.7-1.el8.x86_64 1/1 Installed: ccache-3.7.7-1.el8.x86_64 Complete! No matches found for the following disable plugin patterns: local, spacewalk CentOS-8 - Base [=== ] --- B/s | 0 B --:-- ETA CentOS-8 - Base 39 kB/s | 3.9 kB 00:00 CentOS-8 - AppStream [=== ] --- B/s | 0 B --:-- ETA CentOS-8 - AppStream 27% [===== ] 3.7 kB/s | 1.2 kB 00:00 ETA CentOS-8 - AppStream 13 kB/s | 4.3 kB 00:00 CentOS-8 - PowerTool [ === ] --- B/s | 0 B --:-- ETA CentOS-8 - PowerTools 15 kB/s | 4.3 kB 00:00 CentOS-8 - Extras [ === ] --- B/s | 0 B --:-- ETA CentOS-8 - Extras 6.1 kB/s | 1.5 kB 00:00 epel [ === ] --- B/s | 0 B --:-- ETA epel 49 kB/s | 4.7 kB 00:00 atomic rhel 8 mirror [ === ] --- B/s | 0 B --:-- ETA atomic rhel 8 mirror 1.6 MB/s | 2.9 kB 00:00 Atomic [ === ] --- B/s | 0 B --:-- ETA Atomic 1.8 MB/s | 3.0 kB 00:00 Atomic [=== ] --- B/s | 0 B --:-- ETA Atomic 1.9 MB/s | 3.0 kB 00:00 Atomic [=== ] --- B/s | 0 B --:-- ETA Atomic 1.6 MB/s | 3.0 kB 00:00 Atomic [ === ] --- B/s | 0 B --:-- ETA Atomic 2.4 MB/s | 3.0 kB 00:00 Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: gradm x86_64 3.1-13893.el8.art asl-5.0 170 k Installing dependencies: attr x86_64 2.4.48-3.el8 BaseOS 68 k Transaction Summary ================================================================================ Install 2 Packages Total size: 239 k Installed size: 3.0 M Downloading Packages: [SKIPPED] attr-2.4.48-3.el8.x86_64.rpm: Already downloaded [SKIPPED] gradm-3.1-13893.el8.art.x86_64.rpm: Already downloaded Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : [========================= ] 1/1 Preparing : 1/1 Installing : attr-2.4.48-3.el8.x86_64 [ ] 1/2 Installing : attr-2.4.48-3.el8.x86_64 [= ] 1/2 Installing : attr-2.4.48-3.el8.x86_64 [===== ] 1/2 Installing : attr-2.4.48-3.el8.x86_64 [========= ] 1/2 Installing : attr-2.4.48-3.el8.x86_64 [=========== ] 1/2 Installing : attr-2.4.48-3.el8.x86_64 [============== ] 1/2 Installing : attr-2.4.48-3.el8.x86_64 [================== ] 1/2 Installing : attr-2.4.48-3.el8.x86_64 [=================== ] 1/2 Installing : attr-2.4.48-3.el8.x86_64 [==================== ] 1/2 Installing : attr-2.4.48-3.el8.x86_64 [===================== ] 1/2 Installing : attr-2.4.48-3.el8.x86_64 [====================== ] 1/2 Installing : attr-2.4.48-3.el8.x86_64 [======================= ] 1/2 Installing : attr-2.4.48-3.el8.x86_64 [======================== ] 1/2 Installing : attr-2.4.48-3.el8.x86_64 [========================= ] 1/2 Installing : attr-2.4.48-3.el8.x86_64 [========================== ] 1/2 Installing : attr-2.4.48-3.el8.x86_64 1/2 Installing : gradm-3.1-13893.el8.art.x [ ] 2/2 Installing : gradm-3.1-13893.el8.art.x [= ] 2/2 Installing : gradm-3.1-13893.el8.art.x [== ] 2/2 Installing : gradm-3.1-13893.el8.art.x [=== ] 2/2 Installing : gradm-3.1-13893.el8.art.x [==== ] 2/2 Installing : gradm-3.1-13893.el8.art.x [===== ] 2/2 Installing : gradm-3.1-13893.el8.art.x [====== ] 2/2 Installing : gradm-3.1-13893.el8.art.x [======= ] 2/2 Installing : gradm-3.1-13893.el8.art.x [======== ] 2/2 Installing : gradm-3.1-13893.el8.art.x [========= ] 2/2 Installing : gradm-3.1-13893.el8.art.x [========== ] 2/2 Installing : gradm-3.1-13893.el8.art.x [=========== ] 2/2 Installing : gradm-3.1-13893.el8.art.x [============ ] 2/2 Installing : gradm-3.1-13893.el8.art.x [============= ] 2/2 Installing : gradm-3.1-13893.el8.art.x [============== ] 2/2 Installing : gradm-3.1-13893.el8.art.x [=============== ] 2/2 Installing : gradm-3.1-13893.el8.art.x [================ ] 2/2 Installing : gradm-3.1-13893.el8.art.x [================= ] 2/2 Installing : gradm-3.1-13893.el8.art.x [================== ] 2/2 Installing : gradm-3.1-13893.el8.art.x [=================== ] 2/2 Installing : gradm-3.1-13893.el8.art.x [==================== ] 2/2 Installing : gradm-3.1-13893.el8.art.x [===================== ] 2/2 Installing : gradm-3.1-13893.el8.art.x [====================== ] 2/2 Installing : gradm-3.1-13893.el8.art.x [======================= ] 2/2 Installing : gradm-3.1-13893.el8.art.x [======================== ] 2/2 Installing : gradm-3.1-13893.el8.art.x [========================= ] 2/2 Installing : gradm-3.1-13893.el8.art.x86_64 2/2 Running scriptlet: gradm-3.1-13893.el8.art.x86_64 2/2 /bin/mknod: /dev/grsec: Operation not permitted Verifying : attr-2.4.48-3.el8.x86_64 1/2 Verifying : gradm-3.1-13893.el8.art.x86_64 2/2 Installed: attr-2.4.48-3.el8.x86_64 gradm-3.1-13893.el8.art.x86_64 Complete! Finish: build setup for paxtest-0.9.9-1.fc30.art.src.rpm Start: Outputting list of installed packages Finish: Outputting list of installed packages Start: rpmbuild paxtest-0.9.9-1.fc30.art.src.rpm warning: Macro expanded in comment on line 45: %{_libdir}/*.so Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YwgGbS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf paxtest-0.9.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/paxtest-0.9.9.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd paxtest-0.9.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8zfcro + umask 022 + cd /builddir/build/BUILD + cd paxtest-0.9.9 + make linux RUNDIR=/usr/libexec/paxtest make -f Makefile.psm make[1]: Entering directory '/builddir/build/BUILD/paxtest-0.9.9' gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o chpax-0.7/aout.o -c chpax-0.7/aout.c gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o chpax-0.7/chpax.o -c chpax-0.7/chpax.c gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o chpax-0.7/elf32.o -c chpax-0.7/elf32.c gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o chpax-0.7/elf64.o -c chpax-0.7/elf64.c gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o chpax-0.7/flags.o -c chpax-0.7/flags.c gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o chpax-0.7/io.o -c chpax-0.7/io.c gcc -o chpax chpax-0.7/aout.o chpax-0.7/chpax.o chpax-0.7/elf32.o chpax-0.7/elf64.o chpax-0.7/flags.o chpax-0.7/io.o gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -fPIC -o shlibtest.o -c shlibtest.c gcc -shared -o shlibtest.so shlibtest.o gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -fPIC -o shlibtest2.o -c shlibtest2.c gcc -shared -o shlibtest2.so shlibtest2.o gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o body.o -c body.c body.c: In function 'main': body.c:46:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if( strcmp(mode,"0") == 0 ) { ^~~~~~ gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o anonmap.o -c anonmap.c gcc -lpthread -o anonmap body.o anonmap.o gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o execbss.o -c execbss.c gcc -lpthread -o execbss body.o execbss.o gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o execdata.o -c execdata.c gcc -lpthread -o execdata body.o execdata.o gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o execheap.o -c execheap.c gcc -lpthread -o execheap body.o execheap.o gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o execstack.o -c execstack.c gcc -lpthread -o execstack body.o execstack.o gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o shlibbss.o -c shlibbss.c gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o shlibdata.o -c shlibdata.c gcc -lpthread -o shlibbss body.o shlibbss.o shlibtest.so shlibtest2.so -ldl gcc -lpthread -o shlibdata body.o shlibdata.o shlibtest.so shlibtest2.so -ldl gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o mprotanon.o -c mprotanon.c gcc -lpthread -o mprotanon body.o mprotanon.o gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o mprotbss.o -c mprotbss.c gcc -lpthread -o mprotbss body.o mprotbss.o gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o mprotdata.o -c mprotdata.c gcc -lpthread -o mprotdata body.o mprotdata.o gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o mprotheap.o -c mprotheap.c gcc -lpthread -o mprotheap body.o mprotheap.o gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o mprotstack.o -c mprotstack.c gcc -lpthread -o mprotstack body.o mprotstack.o gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o mprotshbss.o -c mprotshbss.c gcc -ldl -lpthread -o mprotshbss mprotshbss.o body.o shlibtest.so gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o mprotshdata.o -c mprotshdata.c gcc -ldl -lpthread -o mprotshdata mprotshdata.o body.o shlibtest.so gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o writetext.o -c writetext.c gcc -ldl -lpthread -o writetext writetext.o body.o shlibtest.so gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o randbody.o -c randbody.c gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o randamap.o -c randamap.c gcc -o randamap randbody.o randamap.o gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o randheap1.o -c randheap1.c gcc -o randheap1 randbody.o randheap1.o gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o randheap2.o -c randheap2.c gcc -o randheap2 randbody.o randheap2.o gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o randmain1.o -c randmain1.c gcc -o randmain1 randbody.o randmain1.o gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o randmain2.o -c randmain2.c gcc -o randmain2 randbody.o randmain2.o gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o randshlib.o -c randshlib.c gcc -o randshlib randbody.o randshlib.o gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o randstack1.o -c randstack1.c gcc -o randstack1 randbody.o randstack1.o gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o randstack2.o -c randstack2.c gcc -o randstack2 randbody.o randstack2.o grep: /usr/lib/gcc/x86_64-redhat-linux/8/: Is a directory gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o retbody.o -c body.c body.c: In function 'main': body.c:46:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if( strcmp(mode,"0") == 0 ) { ^~~~~~ grep: /usr/lib/gcc/x86_64-redhat-linux/8/: Is a directory grep: /usr/lib/gcc/x86_64-redhat-linux/8/: Is a directory gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o rettofunc1.o -c rettofunc1.c gcc -lpthread -o rettofunc1 retbody.o rettofunc1.o grep: /usr/lib/gcc/x86_64-redhat-linux/8/: Is a directory grep: /usr/lib/gcc/x86_64-redhat-linux/8/: Is a directory gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o rettofunc2.o -c rettofunc2.c gcc -lpthread -o rettofunc2 retbody.o rettofunc2.o grep: /usr/lib/gcc/x86_64-redhat-linux/8/: Is a directory grep: /usr/lib/gcc/x86_64-redhat-linux/8/: Is a directory gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o rettofunc1x.o -c rettofunc1x.c gcc -lpthread -o rettofunc1x retbody.o rettofunc1x.o ./paxbin -C rettofunc1x ./paxbin -SPXM rettofunc1x grep: /usr/lib/gcc/x86_64-redhat-linux/8/: Is a directory grep: /usr/lib/gcc/x86_64-redhat-linux/8/: Is a directory gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o rettofunc2x.o -c rettofunc2x.c gcc -lpthread -o rettofunc2x retbody.o rettofunc2x.o ./paxbin -C rettofunc2x ./paxbin -SPXM rettofunc2x gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o getamap.o -c getamap.c gcc -o getamap getamap.o grep: /usr/lib/gcc/x86_64-redhat-linux/8/: Is a directory gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o getheap1.o -c getheap.c grep: /usr/lib/gcc/x86_64-redhat-linux/8/: Is a directory gcc -o getheap1 getheap1.o gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -fPIE -o getheap2.o -c getheap.c gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -fPIE -o getmain2.o -c getmain.c gcc -pie -o getheap2 getheap2.o || (echo -e "#!/bin/sh\necho getheap2 pie not implemented" > getheap2; chmod +x getheap2) grep: /usr/lib/gcc/x86_64-redhat-linux/8/: Is a directory gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o getmain1.o -c getmain.c grep: /usr/lib/gcc/x86_64-redhat-linux/8/: Is a directory gcc -o getmain1 getmain1.o ./paxbin -C getmain1 ./paxbin -SPRXM getmain1 gcc -pie -o getmain2 getmain2.o || (echo -e "#!/bin/sh\necho getmain2 pie not implemented" > getmain2; chmod +x getmain2) gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o getshlib.o -c getshlib.c gcc -o getshlib getshlib.o -ldl gcc -O2 -Wa,--noexecstack -D_FORTIFY_SOURCE=0 -DRUNDIR=\"/usr/libexec/paxtest\" -fno-stack-protector -ftrampolines -o getstack.o -c getstack.c gcc -o getstack1 getstack.o ./paxbin -C getstack1 ./paxbin -SRpm getstack1 gcc -o getstack2 getstack.o # disable segmexec, kernel else overrides pageexec ./paxbin -C getstack2 ./paxbin -PRsm getstack2 sh genpaxtest anonmap execbss execdata execheap execstack shlibbss shlibdata mprotanon mprotbss mprotdata mprotheap mprotstack mprotshbss mprotshdata writetext randamap randheap1 randheap2 randmain1 randmain2 randshlib randstack1 randstack2 rettofunc1 rettofunc2 rettofunc1x rettofunc2x /usr/libexec/paxtest rm shlibtest.o shlibtest2.o make[1]: Leaving directory '/builddir/build/BUILD/paxtest-0.9.9' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WKssxY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/paxtest-0.9.9-1.el8.art.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/paxtest-0.9.9-1.el8.art.x86_64 ++ dirname /builddir/build/BUILDROOT/paxtest-0.9.9-1.el8.art.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/paxtest-0.9.9-1.el8.art.x86_64 + cd paxtest-0.9.9 + rm -rf /builddir/build/BUILDROOT/paxtest-0.9.9-1.el8.art.x86_64 + make -f Makefile.psm install DESTDIR=/builddir/build/BUILDROOT/paxtest-0.9.9-1.el8.art.x86_64 BINDIR=/usr/bin RUNDIR=/usr/libexec/paxtest LIBDIR=/usr/lib64 mkdir -p /builddir/build/BUILDROOT/paxtest-0.9.9-1.el8.art.x86_64//usr/libexec/paxtest cp shlibtest.so shlibtest2.so anonmap execbss execdata execheap execstack shlibbss shlibdata mprotanon mprotbss mprotdata mprotheap mprotstack mprotshbss mprotshdata writetext randamap randheap1 randheap2 randmain1 randmain2 randshlib randstack1 randstack2 rettofunc1 rettofunc2 rettofunc1x rettofunc2x getamap getheap1 getheap2 getmain1 getmain2 getshlib getstack1 getstack2 /builddir/build/BUILDROOT/paxtest-0.9.9-1.el8.art.x86_64//usr/libexec/paxtest mkdir -p /builddir/build/BUILDROOT/paxtest-0.9.9-1.el8.art.x86_64//usr/bin cp paxtest /builddir/build/BUILDROOT/paxtest-0.9.9-1.el8.art.x86_64//usr/bin chmod 755 /builddir/build/BUILDROOT/paxtest-0.9.9-1.el8.art.x86_64//usr/bin/paxtest + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: paxtest-0.9.9-1.el8.art.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.D6SU1z + umask 022 + cd /builddir/build/BUILD + cd paxtest-0.9.9 + DOCDIR=/builddir/build/BUILDROOT/paxtest-0.9.9-1.el8.art.x86_64/usr/share/doc/paxtest + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/paxtest-0.9.9-1.el8.art.x86_64/usr/share/doc/paxtest + cp -pr README /builddir/build/BUILDROOT/paxtest-0.9.9-1.el8.art.x86_64/usr/share/doc/paxtest + cp -pr debian/changelog /builddir/build/BUILDROOT/paxtest-0.9.9-1.el8.art.x86_64/usr/share/doc/paxtest + cp -pr results /builddir/build/BUILDROOT/paxtest-0.9.9-1.el8.art.x86_64/usr/share/doc/paxtest + exit 0 warning: Duplicate build-ids /builddir/build/BUILDROOT/paxtest-0.9.9-1.el8.art.x86_64/usr/libexec/paxtest/getstack1 and /builddir/build/BUILDROOT/paxtest-0.9.9-1.el8.art.x86_64/usr/libexec/paxtest/getstack2 Provides: paxtest = 0.9.9-1.el8.art paxtest(x86-64) = 0.9.9-1.el8.art Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.7)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/paxtest-0.9.9-1.el8.art.x86_64 Wrote: /builddir/build/RPMS/paxtest-0.9.9-1.el8.art.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Ent9nc + umask 022 + cd /builddir/build/BUILD + cd paxtest-0.9.9 + rm -rf /builddir/build/BUILDROOT/paxtest-0.9.9-1.el8.art.x86_64 + exit 0 Finish: rpmbuild paxtest-0.9.9-1.fc30.art.src.rpm Finish: build phase for paxtest-0.9.9-1.fc30.art.src.rpm INFO: Done(/var/tmp/paxtest/paxtest-0.9.9-1.fc30.art.src.rpm) Config(el8-x86_64) 0 minutes 23 seconds INFO: Results and/or logs in: /var/lib/mock/el8-x86_64/result Finish: run