Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/stripesnoop.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1672349980.209403/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2oifkqpf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2oifkqpf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '33f34c25e44c4fb388224d69ede7fe0a', '-D', '/var/lib/mock/fedora-rawhide-i686-1672349980.209403/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2oifkqpf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/stripesnoop.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: line 13: It's not recommended to have unversioned Obsoletes: Obsoletes: stripesnoop-devel Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/stripesnoop-1.5-35.fc38.src.rpm RPM build warnings: line 13: It's not recommended to have unversioned Obsoletes: Obsoletes: stripesnoop-devel Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/stripesnoop.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1672349980.209403/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2oifkqpf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2oifkqpf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '22fe795c573f4533b4a0de5d1996f2b4', '-D', '/var/lib/mock/fedora-rawhide-i686-1672349980.209403/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2oifkqpf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/stripesnoop.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: line 13: It's not recommended to have unversioned Obsoletes: Obsoletes: stripesnoop-devel Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.S1dQyw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf stripesnoop-1.5 + /usr/bin/mkdir -p stripesnoop-1.5 + cd stripesnoop-1.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ss-1.5-src.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (stripesnoop-1.5-rpmoptflags.patch): + echo 'Patch #0 (stripesnoop-1.5-rpmoptflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile Patch #1 (stripesnoop-1.5-deflinux.patch): + echo 'Patch #1 (stripesnoop-1.5-deflinux.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ss.cpp Patch #3 (stripesnoop-1.5-pathing.patch): + echo 'Patch #3 (stripesnoop-1.5-pathing.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file parser.h + chmod -x cards.txt ChangeLog.txt COPYING.txt README.txt visa-pre.txt hardware/wiring.png samples/amex-blue.txt samples/amex.txt samples/drivers.txt samples/fakeaaa.txt samples/fakeamex.txt samples/fakebuzz.txt samples/fakekroger.txt samples/fakevisa.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vDqnkj + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd stripesnoop-1.5 + make c++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c ss.cpp ss.cpp: In function 'void goRaw()': ss.cpp:167:13: warning: unused variable 'i' [-Wunused-variable] 167 | int i=0; | ^ ss.cpp: In function 'int isBCD(char*)': ss.cpp:320:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | for(i=0;ic) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ ss.cpp:429:22: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 429 | fgets(bitstream,240,stdin); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ ss.cpp:445:22: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 445 | fgets(bitstream,120,stdin); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ ss.cpp:465:9: warning: 'cardOut' may be used uninitialized [-Wmaybe-uninitialized] 465 | if(cardOut != NULL) { | ^~ ss.cpp:380:15: note: 'cardOut' was declared here 380 | char *cardOut; | ^~~~~~~ c++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c parser.cpp parser.cpp: In member function 'char* cardType::getName(int)': parser.cpp:37:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 37 | return "ERROR!"; | ^~~~~~~~ parser.cpp: In member function 'char* cardType::getData(int)': parser.cpp:45:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 45 | return "ERROR!"; | ^~~~~~~~ parser.cpp: In function 'int extractFields(char*, char**, int, char*)': parser.cpp:84:15: warning: unused variable 'st1' [-Wunused-variable] 84 | char* st1 = st; | ^~~ In file included from parser.cpp:1: parser.cpp: In function 'track2 extractTrack2(char*)': parser.h:52:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 52 | #define TRACK2DELIM ":<>=?" | ^~~~~~~ parser.cpp:130:65: note: in expansion of macro 'TRACK2DELIM' 130 | t2.numFields = extractFields(t2.divided, t2.fields, 40, TRACK2DELIM); | ^~~~~~~~~~~ parser.cpp: In function 'bool dateValid(char*, char*, char*)': parser.cpp:203:14: warning: unused variable 'leap' [-Wunused-variable] 203 | bool leap=false; | ^~~~ parser.cpp: In function 'char* monthName(int)': parser.cpp:239:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 239 | return "January"; | ^~~~~~~~~ parser.cpp:242:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 242 | return "February"; | ^~~~~~~~~~ parser.cpp:245:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 245 | return "March"; | ^~~~~~~ parser.cpp:248:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 248 | return "April"; | ^~~~~~~ parser.cpp:251:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 251 | return "May"; | ^~~~~ parser.cpp:254:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 254 | return "June"; | ^~~~~~ parser.cpp:257:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 257 | return "July"; | ^~~~~~ parser.cpp:260:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 260 | return "August"; | ^~~~~~~~ parser.cpp:263:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | return "September"; | ^~~~~~~~~~~ parser.cpp:266:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 266 | return "October"; | ^~~~~~~~~ parser.cpp:269:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 269 | return "November"; | ^~~~~~~~~~ parser.cpp:272:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 272 | return "December"; | ^~~~~~~~~~ parser.cpp:275:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 275 | return "ERROR!"; | ^~~~~~~~ parser.cpp: In function 'char* formatter(char*, char*)': parser.cpp:284:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 284 | for(i=0;i