Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/proot.spec'], chrootPath='/var/lib/mock/867992-epel-7-x86_64-1552516198.498838/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ultdom5v:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e9fc40d732d14bfe8e2e250e9f2b9a6c', '-D', '/var/lib/mock/867992-epel-7-x86_64-1552516198.498838/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ultdom5v:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/proot.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/proot-5.1.0-5.git6694d34.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/proot.spec'], chrootPath='/var/lib/mock/867992-epel-7-x86_64-1552516198.498838/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ultdom5v:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5f5ef9bcc98240a59bd1652bcbe83c25', '-D', '/var/lib/mock/867992-epel-7-x86_64-1552516198.498838/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ultdom5v:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/proot.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wdXQPU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PRoot-6694d34c83c2b6f2d47686bbe70e828580df9b56 + /usr/bin/gzip -dc /builddir/build/SOURCES/proot-6694d34.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd PRoot-6694d34c83c2b6f2d47686bbe70e828580df9b56 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -r doc/proot/stylesheets doc/care/stylesheets + rm tests/test-kkkkkkkk.c + rm doc/proot/rpm-spec + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QOACY9 + umask 022 + cd /builddir/build/BUILD + cd PRoot-6694d34c83c2b6f2d47686bbe70e828580df9b56 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + LDFLAGS='-Wl,-z,relro ' + /usr/bin/make -j2 -C src V=1 make: Entering directory `/builddir/build/BUILD/PRoot-6694d34c83c2b6f2d47686bbe70e828580df9b56/src' gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./cli/note.c -o cli/note.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./execve/enter.c -o execve/enter.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./execve/exit.c -o execve/exit.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./execve/shebang.c -o execve/shebang.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./execve/elf.c -o execve/elf.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./execve/ldso.c -o execve/ldso.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./execve/auxv.c -o execve/auxv.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./path/binding.c -o path/binding.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./path/glue.c -o path/glue.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./path/canon.c -o path/canon.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./path/proc.c -o path/proc.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./path/temp.c -o path/temp.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./syscall/syscall.c -o syscall/syscall.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./syscall/chain.c -o syscall/chain.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./syscall/enter.c -o syscall/enter.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./syscall/exit.c -o syscall/exit.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./syscall/sysnum.c -o syscall/sysnum.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./syscall/socket.c -o syscall/socket.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./syscall/heap.c -o syscall/heap.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./syscall/rlimit.c -o syscall/rlimit.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./tracee/tracee.c -o tracee/tracee.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./tracee/reg.c -o tracee/reg.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./tracee/event.c -o tracee/event.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./ptrace/ptrace.c -o ptrace/ptrace.o BUILDSTDERR: ./tracee/event.c: In function 'handle_tracee_event': BUILDSTDERR: ./tracee/event.c:366:14: warning: variable 'seccomp_enabled' set but not used [-Wunused-but-set-variable] BUILDSTDERR: static bool seccomp_enabled = false; BUILDSTDERR: ^ gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./ptrace/user.c -o ptrace/user.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./ptrace/wait.c -o ptrace/wait.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./extension/kompat/kompat.c -o extension/kompat/kompat.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./extension/fake_id0/fake_id0.c -o extension/fake_id0/fake_id0.o BUILDSTDERR: ./extension/fake_id0/fake_id0.c: In function 'handle_sysexit_end': BUILDSTDERR: ./extension/fake_id0/fake_id0.c:693:11: warning: ignoring return value of 'realpath', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: realpath(path_translated, path_translated_absolute); BUILDSTDERR: ^ BUILDSTDERR: ./extension/fake_id0/fake_id0.c:698:11: warning: ignoring return value of 'realpath', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: realpath(root_translated, root_translated_absolute); BUILDSTDERR: ^ gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./extension/portmap/portmap.c -o extension/portmap/portmap.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./extension/portmap/map.c -o extension/portmap/map.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./loader/loader.c -o loader/loader.o -fPIC -ffreestanding gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./loader/assembly.S -o loader/assembly.o -fPIC -ffreestanding gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./loader/loader.c -o loader/loader-m32.o -m32 -fPIC -ffreestanding -mregparm=3 gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./loader/assembly.S -o loader/assembly-m32.o -m32 -fPIC -ffreestanding -mregparm=3 gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./extension/python/python.c -o extension/python/python.o swig -python -outcurrentdir -I./ .//extension/python/proot.i BUILDSTDERR: In file included from /usr/include/python2.7/pyconfig.h:6:0, BUILDSTDERR: from /usr/include/python2.7/Python.h:8, BUILDSTDERR: from ./extension/python/python.c:4: BUILDSTDERR: /usr/include/python2.7/pyconfig-64.h:1191:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default] BUILDSTDERR: #define _POSIX_C_SOURCE 200112L BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/sys/types.h:25:0, BUILDSTDERR: from ./extension/python/python.c:1: BUILDSTDERR: /usr/include/features.h:168:0: note: this is the location of the previous definition BUILDSTDERR: # define _POSIX_C_SOURCE 200809L BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/python2.7/pyconfig.h:6:0, BUILDSTDERR: from /usr/include/python2.7/Python.h:8, BUILDSTDERR: from ./extension/python/python.c:4: BUILDSTDERR: /usr/include/python2.7/pyconfig-64.h:1213:0: warning: "_XOPEN_SOURCE" redefined [enabled by default] BUILDSTDERR: #define _XOPEN_SOURCE 600 BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/sys/types.h:25:0, BUILDSTDERR: from ./extension/python/python.c:1: BUILDSTDERR: /usr/include/features.h:170:0: note: this is the location of the previous definition BUILDSTDERR: # define _XOPEN_SOURCE 700 BUILDSTDERR: ^ cp extension/python/python_extension.py python_extension.py swig -python -outcurrentdir -I./ .//extension/python/proot.i gcc -o loader/loader loader/loader.o loader/assembly.o -static -nostdlib -Wl,--build-id=none,-Ttext=0x600000000000,-z,noexecstack gcc -m32 -o loader/loader-m32 loader/loader-m32.o loader/assembly-m32.o -static -nostdlib -Wl,--build-id=none,-Ttext=0xa0000000,-z,noexecstack gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c proot_wrap.c -o extension/python/proot_wrap.o if [ -e .check_process_vm ]; then echo "#define HAVE_PROCESS_VM" > .check_process_vm.res; else echo "" > .check_process_vm.res; fi if [ -e .check_seccomp_filter ]; then echo "#define HAVE_SECCOMP_FILTER" > .check_seccomp_filter.res; else echo "" > .check_seccomp_filter.res; fi cp loader/loader loader.exe strip loader.exe cp loader/loader-m32 loader-m32.exe strip loader-m32.exe echo "/* This file is auto-generated, edit at your own risk. */" > build.h echo "#ifndef BUILD_H" >> build.h echo "#define BUILD_H" >> build.h sh -c 'VERSION=$(git describe --tags --dirty --abbrev=8 --always 2>/dev/null); if [ ! -z "${VERSION}" ]; then /bin/echo -e "#undef VERSION\n#define VERSION \"${VERSION}\""; fi;' >> build.h sh -c '/bin/echo -e "#define HAVE_PYTHON_EXTENSION"' >> build.h cat .check_process_vm.res .check_seccomp_filter.res >> build.h echo "#endif /* BUILD_H */" >> build.h gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./cli/cli.c -o cli/cli.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./cli/proot.c -o cli/proot.o BUILDSTDERR: ./cli/proot.c:327:12: warning: 'handle_option_P' defined but not used [-Wunused-function] BUILDSTDERR: static int handle_option_P(Tracee *tracee, const Cli *cli UNUSED, const char *value) BUILDSTDERR: ^ BUILDSTDERR: ./cli/proot.c: In function 'handle_option_V': BUILDSTDERR: ./cli/proot.c:225:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(1, &_binary_licenses_start, size); BUILDSTDERR: ^ gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./execve/aoxp.c -o execve/aoxp.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./path/path.c -o path/path.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./syscall/seccomp.c -o syscall/seccomp.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./tracee/mem.c -o tracee/mem.o gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. -I./ `python2.7-config --includes` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wextra -O2 -MD -c ./extension/extension.c -o extension/extension.o objcopy --input-target binary --output-target `env LC_ALL=C objdump -f cli/cli.o | grep 'file format' | awk '{print $4}'` --binary-architecture `env LC_ALL=C objdump -f cli/cli.o | grep architecture | cut -f 1 -d , | awk '{print $2}'` loader.exe loader/loader-wrapped.o objcopy --input-target binary --output-target `env LC_ALL=C objdump -f cli/cli.o | grep 'file format' | awk '{print $4}'` --binary-architecture `env LC_ALL=C objdump -f cli/cli.o | grep architecture | cut -f 1 -d , | awk '{print $2}'` loader-m32.exe loader/loader-m32-wrapped.o objcopy --input-target binary --output-target `env LC_ALL=C objdump -f cli/cli.o | grep 'file format' | awk '{print $4}'` --binary-architecture `env LC_ALL=C objdump -f cli/cli.o | grep architecture | cut -f 1 -d , | awk '{print $2}'` python_extension.py extension/python/python_extension.o objcopy --input-target binary --output-target `env LC_ALL=C objdump -f cli/cli.o | grep 'file format' | awk '{print $4}'` --binary-architecture `env LC_ALL=C objdump -f cli/cli.o | grep architecture | cut -f 1 -d , | awk '{print $2}'` proot.py extension/python/proot.o gcc -o proot cli/cli.o cli/proot.o cli/note.o execve/enter.o execve/exit.o execve/shebang.o execve/elf.o execve/ldso.o execve/auxv.o execve/aoxp.o path/binding.o path/glue.o path/canon.o path/path.o path/proc.o path/temp.o syscall/seccomp.o syscall/syscall.o syscall/chain.o syscall/enter.o syscall/exit.o syscall/sysnum.o syscall/socket.o syscall/heap.o syscall/rlimit.o tracee/tracee.o tracee/mem.o tracee/reg.o tracee/event.o ptrace/ptrace.o ptrace/user.o ptrace/wait.o extension/extension.o extension/kompat/kompat.o extension/fake_id0/fake_id0.o extension/portmap/portmap.o extension/portmap/map.o loader/loader-wrapped.o loader/loader-m32-wrapped.o extension/python/python.o extension/python/proot_wrap.o extension/python/python_extension.o extension/python/proot.o -Wl,-z,relro -ltalloc -Wl,-z,noexecstack `python2.7-config --ldflags` BUILDSTDERR: syscall/socket.o: In function `translate_socketcall_enter': BUILDSTDERR: /builddir/build/BUILD/PRoot-6694d34c83c2b6f2d47686bbe70e828580df9b56/src/./syscall/socket.c:123: warning: the use of `mktemp' is dangerous, better use `mkstemp' rm .check_process_vm .check_process_vm.o python_extension.py loader.exe loader-m32.exe .check_seccomp_filter.o .check_seccomp_filter make: Leaving directory `/builddir/build/BUILD/PRoot-6694d34c83c2b6f2d47686bbe70e828580df9b56/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WatZ8J + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/proot-5.1.0-5.git6694d34.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/proot-5.1.0-5.git6694d34.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/proot-5.1.0-5.git6694d34.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/proot-5.1.0-5.git6694d34.el7.x86_64 + cd PRoot-6694d34c83c2b6f2d47686bbe70e828580df9b56 + install -m755 -D src/proot /builddir/build/BUILDROOT/proot-5.1.0-5.git6694d34.el7.x86_64//usr/bin/proot + install -m644 -D doc/proot/man.1 /builddir/build/BUILDROOT/proot-5.1.0-5.git6694d34.el7.x86_64//usr/share/man/man1/proot.1 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/PRoot-6694d34c83c2b6f2d47686bbe70e828580df9b56 extracting debug info from /builddir/build/BUILDROOT/proot-5.1.0-5.git6694d34.el7.x86_64/usr/bin/proot BUILDSTDERR: dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 1664 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.SodDNl + umask 022 + cd /builddir/build/BUILD + cd PRoot-6694d34c83c2b6f2d47686bbe70e828580df9b56 + exit 0 Processing files: proot-5.1.0-5.git6694d34.el7.x86_64 BUILDSTDERR: warning: File not found: /builddir/build/BUILDROOT/proot-5.1.0-5.git6694d34.el7.x86_64/usr/share/doc/proot-5.1.0/proot/man.1 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.EDCctX + umask 022 + cd /builddir/build/BUILD + cd PRoot-6694d34c83c2b6f2d47686bbe70e828580df9b56 + DOCDIR=/builddir/build/BUILDROOT/proot-5.1.0-5.git6694d34.el7.x86_64/usr/share/doc/proot-5.1.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/proot-5.1.0-5.git6694d34.el7.x86_64/usr/share/doc/proot-5.1.0 + cp -pr doc/articles /builddir/build/BUILDROOT/proot-5.1.0-5.git6694d34.el7.x86_64/usr/share/doc/proot-5.1.0 + cp -pr doc/proot /builddir/build/BUILDROOT/proot-5.1.0-5.git6694d34.el7.x86_64/usr/share/doc/proot-5.1.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.y0shbz + umask 022 + cd /builddir/build/BUILD + cd PRoot-6694d34c83c2b6f2d47686bbe70e828580df9b56 + LICENSEDIR=/builddir/build/BUILDROOT/proot-5.1.0-5.git6694d34.el7.x86_64/usr/share/licenses/proot-5.1.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/proot-5.1.0-5.git6694d34.el7.x86_64/usr/share/licenses/proot-5.1.0 + cp -pr COPYING /builddir/build/BUILDROOT/proot-5.1.0-5.git6694d34.el7.x86_64/usr/share/licenses/proot-5.1.0 + exit 0 Provides: proot = 5.1.0-5.git6694d34.el7 proot(x86-64) = 5.1.0-5.git6694d34.el7 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.13)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(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.4)(64bit) libdl.so.2()(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpython2.7.so.1.0()(64bit) libtalloc.so.2()(64bit) libtalloc.so.2(TALLOC_2.0.2)(64bit) libutil.so.1()(64bit) rtld(GNU_HASH) Processing files: proot-debuginfo-5.1.0-5.git6694d34.el7.x86_64 Provides: proot-debuginfo = 5.1.0-5.git6694d34.el7 proot-debuginfo(x86-64) = 5.1.0-5.git6694d34.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/proot-5.1.0-5.git6694d34.el7.x86_64 Wrote: /builddir/build/RPMS/proot-5.1.0-5.git6694d34.el7.x86_64.rpm Wrote: /builddir/build/RPMS/proot-debuginfo-5.1.0-5.git6694d34.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QNukrr + umask 022 + cd /builddir/build/BUILD + cd PRoot-6694d34c83c2b6f2d47686bbe70e828580df9b56 + /usr/bin/rm -rf /builddir/build/BUILDROOT/proot-5.1.0-5.git6694d34.el7.x86_64 + exit 0 Child return code was: 0