==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: paxtest 0.9.15-3 (Fri Jul 10 15:26:20 2020)
==> Retrieving sources...
  -> Found paxtest-0.9.15.tar.gz
  -> Found paxtest-0.9.15.tar.gz.sig
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    paxtest-0.9.15.tar.gz ... Passed
    paxtest-0.9.15.tar.gz.sig ... Skipped
==> Making package: paxtest 0.9.15-3 (Fri 10 Jul 2020 03:26:35 PM UTC)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found paxtest-0.9.15.tar.gz
  -> Found paxtest-0.9.15.tar.gz.sig
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting paxtest-0.9.15.tar.gz with bsdtar
==> Starting build()...
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o chpax-0.7/aout.o -c chpax-0.7/aout.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o chpax-0.7/chpax.o -c chpax-0.7/chpax.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o chpax-0.7/elf32.o -c chpax-0.7/elf32.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o chpax-0.7/elf64.o -c chpax-0.7/elf64.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o chpax-0.7/flags.o -c chpax-0.7/flags.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o chpax-0.7/io.o -c chpax-0.7/io.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -fPIC -o shlibtest.o -c shlibtest.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -fPIC -o shlibtest2.o -c shlibtest2.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o body.o -c body.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o shlibbss.o -c shlibbss.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o shlibdata.o -c shlibdata.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o randbody.o -c randbody.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o fastrandbody.o -c fastrandbody.c
grep: /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/9.3.0/: Is a directory
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines  -o retbody.o -c body.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o getamap.o -c getamap.c
grep: /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/9.3.0/: Is a directory
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines  -o getheap1.o -c getheap.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -fPIE -o getheap2.o -c getheap.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -fPIE -o getmain2.o -c getmain.c
grep: /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/9.3.0/: Is a directory
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines  -o getmain1.o -c getmain.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o getshlib.o -c getshlib.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -D_FORTIFY_SOURCE=2   getvdso.c   -o getvdso
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o getstack.o -c getstack.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o getarg.o -c getarg.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o getexhaust1.o -c getexhaust1.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o getexhaust2.o -c getexhaust2.c
grep: /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/9.3.0/: Is a directory
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines  -o getshlibdelta1.o -c getshlibdelta.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -fPIE -o getshlibdelta2.o -c getshlibdelta.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  -shared -o shlibtest.so shlibtest.o
gcc  -shared -o shlibtest2.so shlibtest2.o
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o anonmap.o -c anonmap.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o execbss.o -c execbss.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o execdata.o -c execdata.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o execheap.o -c execheap.c
gcc  -o anonmap body.o anonmap.o -lpthread
gcc  -o execbss body.o execbss.o -lpthread
gcc  -o execheap body.o execheap.o -lpthread
gcc  -o execdata body.o execdata.o -lpthread
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o execstack.o -c execstack.c
gcc  -o shlibbss body.o shlibbss.o shlibtest.so shlibtest2.so -ldl -lpthread
gcc  -o shlibdata body.o shlibdata.o shlibtest.so shlibtest2.so -ldl -lpthread
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o mprotanon.o -c mprotanon.c
gcc  -o execstack body.o execstack.o -lpthread
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o mprotbss.o -c mprotbss.c
gcc  -o mprotanon body.o mprotanon.o -lpthread
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o mprotdata.o -c mprotdata.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o mprotheap.o -c mprotheap.c
gcc  -o mprotbss body.o mprotbss.o -lpthread
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o mprotstack.o -c mprotstack.c
gcc  -o mprotdata body.o mprotdata.o -lpthread
gcc  -o mprotheap body.o mprotheap.o -lpthread
gcc  -o mprotstack body.o mprotstack.o -lpthread
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o mprotshbss.o -c mprotshbss.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o mprotshdata.o -c mprotshdata.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o writetext.o -c writetext.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o randamap.o -c randamap.c
gcc  -o mprotshbss mprotshbss.o body.o shlibtest.so -ldl -lpthread
gcc  -o mprotshdata mprotshdata.o body.o shlibtest.so -ldl -lpthread
gcc  -o randamap randbody.o randamap.o
gcc  -o writetext writetext.o body.o shlibtest.so -ldl -lpthread
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o randheap1.o -c randheap1.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o randheap2.o -c randheap2.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o randmain1.o -c randmain1.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o randmain2.o -c randmain2.c
gcc  -o randheap1 randbody.o randheap1.o
gcc  -o randheap2 randbody.o randheap2.o
gcc  -o randmain1 randbody.o randmain1.o
gcc  -o randmain2 randbody.o randmain2.o
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o randshlib.o -c randshlib.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o randvdso.o -c randvdso.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o randstack1.o -c randstack1.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o randstack2.o -c randstack2.c
gcc  -o randshlib randbody.o randshlib.o
gcc  -o randvdso randbody.o randvdso.o
gcc  -o randstack2 randbody.o randstack2.o
gcc  -o randstack1 randbody.o randstack1.o
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o randarg1.o -c randarg1.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o randarg2.o -c randarg2.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o randshlibdelta1.o -c randshlibdelta1.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o randshlibdelta2.o -c randshlibdelta2.c
gcc  -o randarg1 randbody.o randarg1.o
gcc  -o randarg2 randbody.o randarg2.o
gcc  -o randshlibdelta2 randbody.o randshlibdelta2.o
gcc  -o randshlibdelta1 randbody.o randshlibdelta1.o
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o randexhaust1.o -c randexhaust1.c
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines -o randexhaust2.o -c randexhaust2.c
grep: /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/9.3.0/: Is a directory
grep: /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/9.3.0/: Is a directory
gcc  -o randexhaust1 fastrandbody.o randexhaust1.o
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines  -o rettofunc1.o -c rettofunc1.c
grep: /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/9.3.0/: Is a directory
gcc  -o randexhaust2 fastrandbody.o randexhaust2.o
grep: /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/9.3.0/: Is a directory
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines  -o rettofunc2.o -c rettofunc2.c
grep: /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/9.3.0/: Is a directory
grep: /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/9.3.0/: Is a directory
In file included from rettofunc1.c:11:
In function 'forced_strcpy',
    inlined from 'doit' at rettofunc1.c:27:3:
paxtest.h:23:2: warning: '__builtin_memcpy' writing between 6 and 128 bytes into a region of size 4 overflows the destination [-Wstringop-overflow=]
gcc   -o rettofunc1 retbody.o rettofunc1.o -lpthread
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines  -o rettofunc1x.o -c rettofunc1x.c
In file included from rettofunc2.c:10:
In function 'forced_memcpy',
    inlined from 'doit' at rettofunc2.c:25:2:
paxtest.h:31:2: warning: 'memcpy' writing 128 bytes into a region of size 4 overflows the destination [-Wstringop-overflow=]
grep: /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/9.3.0/: Is a directory
gcc   -o rettofunc2 retbody.o rettofunc2.o -lpthread
grep: /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/9.3.0/: Is a directory
gcc -O2  -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib/paxtest\" -fno-stack-protector -ftrampolines  -o rettofunc2x.o -c rettofunc2x.c
In file included from rettofunc1x.c:11:
In function 'forced_strcpy',
    inlined from 'doit' at rettofunc1x.c:27:3:
paxtest.h:23:2: warning: '__builtin_memcpy' writing between 6 and 128 bytes into a region of size 4 overflows the destination [-Wstringop-overflow=]
gcc   -o rettofunc1x retbody.o rettofunc1x.o -lpthread
gcc  -o getamap getamap.o
In file included from rettofunc2x.c:10:
In function 'forced_memcpy',
    inlined from 'doit' at rettofunc2x.c:25:2:
paxtest.h:31:2: warning: 'memcpy' writing 128 bytes into a region of size 4 overflows the destination [-Wstringop-overflow=]
grep: /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/9.3.0/: Is a directory
gcc   -o rettofunc2x retbody.o rettofunc2x.o -lpthread
gcc   -o getheap1 getheap1.o
gcc  -pie -o getheap2 getheap2.o || (echo -e "#!/bin/sh\necho getheap2 pie not implemented" > getheap2; chmod +x getheap2)
grep: /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/9.3.0/: Is a directory
./paxbin -C rettofunc1x
gcc   -o getmain1 getmain1.o
./paxbin -C rettofunc2x
./paxbin -SPXM rettofunc1x
./paxbin -SPXM rettofunc2x
gcc  -pie -o getmain2 getmain2.o || (echo -e "#!/bin/sh\necho getmain2 pie not implemented" > getmain2; chmod +x getmain2)
gcc  -o getshlib getshlib.o -ldl
gcc  -o getstack1 getstack.o
./paxbin -C getmain1
./paxbin -SPRXM getmain1
gcc  -o getstack2 getstack.o
gcc  -o getarg1 getarg.o
gcc  -o getarg2 getarg.o
./paxbin -C getstack1
./paxbin -SRpm getstack1
gcc  -o getexhaust1 getexhaust1.o
gcc  -o getexhaust2 getexhaust2.o
grep: /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/9.3.0/: Is a directory
# disable segmexec, kernel else overrides pageexec
./paxbin -C getarg1
./paxbin -C getstack2
./paxbin -SRpm getarg1
./paxbin -PRsm getstack2
gcc   -o getshlibdelta1 getshlibdelta1.o -ldl
./paxbin -C getexhaust1
gcc  -pie -o getshlibdelta2 getshlibdelta2.o -ldl || (echo -e "#!/bin/sh\necho getshlibdelta2 pie not implemented" > getshlibdelta2; chmod +x getshlibdelta2)
./paxbin -SRpm getexhaust1
./paxbin -C getexhaust2
sh genpaxtest gcc anonmap execbss execdata execheap execstack shlibbss shlibdata mprotanon mprotbss mprotdata mprotheap mprotstack mprotshbss mprotshdata writetext randamap randheap1 randheap2 randmain1 randmain2 randshlib randvdso randstack1 randstack2 randarg1 randarg2 randshlibdelta1 randshlibdelta2 randexhaust1 randexhaust2 rettofunc1 rettofunc2 rettofunc1x rettofunc2x
./paxbin -SRpm getexhaust2
/usr/lib/paxtest
./paxbin -C getshlibdelta1
./paxbin -SPRXM getshlibdelta1
# disable segmexec, kernel else overrides pageexec
./paxbin -C getarg2
./paxbin -PRsm getarg2
rm shlibtest2.o shlibtest.o
==> Entering fakeroot environment...
==> Starting package()...
mkdir -p /build/paxtest/pkg/paxtest//usr/lib/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 randvdso randstack1 randstack2 randarg1 randarg2 randshlibdelta1 randshlibdelta2 randexhaust1 randexhaust2 rettofunc1 rettofunc2 rettofunc1x rettofunc2x getamap getheap1 getheap2 getmain1 getmain2 getshlib getvdso getstack1 getstack2 getarg1 getarg2 getexhaust1 getexhaust2 getshlibdelta1 getshlibdelta2 /build/paxtest/pkg/paxtest//usr/lib/paxtest
mkdir -p /build/paxtest/pkg/paxtest//usr/bin
cp paxtest /build/paxtest/pkg/paxtest//usr/bin
chmod 755 /build/paxtest/pkg/paxtest//usr/bin/paxtest
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "paxtest"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: paxtest 0.9.15-3 (Fri 10 Jul 2020 03:26:45 PM UTC)
==> Cleaning up...