Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/stripesnoop.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667635038.281676/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.3q3jy1m8:/etc/resolv.conf', '--bind=/dev/btrfs-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.3q3jy1m8:/etc/resolv.conf', '--bind=/dev/btrfs-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', 'b63cb158cbb14fc88c07965203a2cba8', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667635038.281676/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3q3jy1m8:/etc/resolv.conf', '--bind=/dev/btrfs-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 x86_64 --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: x86_64 Building for target x86_64 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 x86_64 --nodeps /builddir/build/SPECS/stripesnoop.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667635038.281676/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.3q3jy1m8:/etc/resolv.conf', '--bind=/dev/btrfs-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.3q3jy1m8:/etc/resolv.conf', '--bind=/dev/btrfs-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', '2e35676c361c448490219086b500241a', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667635038.281676/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3q3jy1m8:/etc/resolv.conf', '--bind=/dev/btrfs-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 x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2WzDhc + 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.zts6hc + 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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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/lib64: + 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 -m64 -mtune=generic -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 'long 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from ss.cpp:39: In function 'printf', inlined from 'main' at ss.cpp:466:9: /usr/include/bits/stdio2.h:86:23: warning: 'cardOut' may be used uninitialized [-Wmaybe-uninitialized] 86 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ss.cpp: In function 'main': 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 -m64 -mtune=generic -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 'long unsigned int'} [-Wsign-compare] 284 | for(i=0;i