Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/debugbreak.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/epel-1-armhfp-7cc8adf2a5b67e5e7af5c836223e48f44e22b8c2/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/debugbreak.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/debugbreak-1.0-4.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/debugbreak.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/epel-1-armhfp-7cc8adf2a5b67e5e7af5c836223e48f44e22b8c2/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/debugbreak.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2dcKNx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf debugbreak-1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/debugbreak-1.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd debugbreak-1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qsDk4Y + umask 022 + cd /builddir/build/BUILD + cd debugbreak-1.0 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + /usr/bin/make -j4 -f GNUmakefile 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I.' 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I.' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -Wl,-z,relro test/fib.c -o test/fib cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -Wl,-z,relro test/trap.c -o test/trap cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -Wl,-z,relro test/break.c -o test/break g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -Wl,-z,relro test/break-c++.cc -o test/break-c++ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.I9uy8Y + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/debugbreak-1.0-4.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/debugbreak-1.0-4.el7.arm ++ dirname /builddir/build/BUILDROOT/debugbreak-1.0-4.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/debugbreak-1.0-4.el7.arm + cd debugbreak-1.0 + install -d /builddir/build/BUILDROOT/debugbreak-1.0-4.el7.arm/usr/include + install -t /builddir/build/BUILDROOT/debugbreak-1.0-4.el7.arm/usr/include -p -m 0644 debugbreak.h + install -d /builddir/build/BUILDROOT/debugbreak-1.0-4.el7.arm/usr/share/debugbreak + install -t /builddir/build/BUILDROOT/debugbreak-1.0-4.el7.arm/usr/share/debugbreak -p -m 0644 debugbreak-gdb.py + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.2PPVV5 + umask 022 + cd /builddir/build/BUILD + cd debugbreak-1.0 + find test -type f -perm /0111 '!' -name trap + read -r exe + tee test/break-c++-rpm-test.gdb set pagination off set logging file test/break-c++-rpm-test.txt set logging on file test/break-c++ run bt set logging off quit + gdb -q -x test/break-c++-rpm-test.gdb --batch Program received signal SIGTRAP, Trace/breakpoint trap. main () at test/break-c++.cc:6 6 debug_break(); #0 main () at test/break-c++.cc:6 A debugging session is active. Inferior 1 [process 32185] will be killed. Quit anyway? (y or n) [answered Y; input not from terminal] + grep -E 'SIG(TRAP|ILL)' test/break-c++-rpm-test.txt Program received signal SIGTRAP, Trace/breakpoint trap. + read -r exe + tee test/break-rpm-test.gdb set pagination off set logging file test/break-rpm-test.txt set logging on file test/break run bt set logging off quit + gdb -q -x test/break-rpm-test.gdb --batch Program received signal SIGTRAP, Trace/breakpoint trap. main () at test/break.c:6 6 debug_break(); #0 main () at test/break.c:6 A debugging session is active. Inferior 1 [process 32192] will be killed. Quit anyway? (y or n) [answered Y; input not from terminal] + grep -E 'SIG(TRAP|ILL)' test/break-rpm-test.txt Program received signal SIGTRAP, Trace/breakpoint trap. + read -r exe + tee test/fib-rpm-test.gdb set pagination off set logging file test/fib-rpm-test.txt set logging on file test/fib run bt set logging off quit + gdb -q -x test/fib-rpm-test.gdb --batch Program received signal SIGTRAP, Trace/breakpoint trap. fib (n=n@entry=10) at test/fib.c:12 12 debug_break(); #0 fib (n=n@entry=10) at test/fib.c:12 #1 0x00010598 in fib (n=n@entry=11) at test/fib.c:10 #2 0x00010598 in fib (n=n@entry=12) at test/fib.c:10 #3 0x00010598 in fib (n=n@entry=13) at test/fib.c:10 #4 0x00010598 in fib (n=n@entry=14) at test/fib.c:10 #5 0x00010598 in fib (n=n@entry=15) at test/fib.c:10 #6 0x00010430 in main () at test/fib.c:19 A debugging session is active. Inferior 1 [process 32199] will be killed. Quit anyway? (y or n) [answered Y; input not from terminal] + grep -E 'SIG(TRAP|ILL)' test/fib-rpm-test.txt Program received signal SIGTRAP, Trace/breakpoint trap. + read -r exe + exit 0 Processing files: debugbreak-devel-1.0-4.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Fcyir8 + umask 022 + cd /builddir/build/BUILD + cd debugbreak-1.0 + DOCDIR=/builddir/build/BUILDROOT/debugbreak-1.0-4.el7.arm/usr/share/doc/debugbreak-devel-1.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/debugbreak-1.0-4.el7.arm/usr/share/doc/debugbreak-devel-1.0 + cp -pr HOW-TO-USE-DEBUGBREAK-GDB-PY.md /builddir/build/BUILDROOT/debugbreak-1.0-4.el7.arm/usr/share/doc/debugbreak-devel-1.0 + cp -pr README.md /builddir/build/BUILDROOT/debugbreak-1.0-4.el7.arm/usr/share/doc/debugbreak-devel-1.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.WXSNRa + umask 022 + cd /builddir/build/BUILD + cd debugbreak-1.0 + LICENSEDIR=/builddir/build/BUILDROOT/debugbreak-1.0-4.el7.arm/usr/share/licenses/debugbreak-devel-1.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/debugbreak-1.0-4.el7.arm/usr/share/licenses/debugbreak-devel-1.0 + cp -pr COPYING /builddir/build/BUILDROOT/debugbreak-1.0-4.el7.arm/usr/share/licenses/debugbreak-devel-1.0 + exit 0 Provides: debugbreak-devel = 1.0-4.el7 debugbreak-static = 1.0-4.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/debugbreak-1.0-4.el7.arm Wrote: /builddir/build/RPMS/debugbreak-devel-1.0-4.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0tXf0f + umask 022 + cd /builddir/build/BUILD + cd debugbreak-1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/debugbreak-1.0-4.el7.arm + exit 0 Child return code was: 0