Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/spasm-ng.spec'], chrootPath='/var/lib/mock/f33-build-124966-39733/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/spasm-ng.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580342400 Wrote: /builddir/build/SRPMS/spasm-ng-0.5-0.13.beta.3.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/spasm-ng.spec'], chrootPath='/var/lib/mock/f33-build-124966-39733/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/spasm-ng.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580342400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TbgC6C + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf spasm-ng-0.5-beta.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/spasm-ng-0.5-beta.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd spasm-ng-0.5-beta.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf inc/ + rm -rf lib/ + rm gmp.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4Rv1aE + umask 022 + cd /builddir/build/BUILD + cd spasm-ng-0.5-beta.3 + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + /usr/bin/make -O -j4 V=1 VERBOSE=1 debug g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_REUSABLES -DUNIXVER -DUSE_BUILTIN_FCREATE -g -c opcodes.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_REUSABLES -DUNIXVER -DUSE_BUILTIN_FCREATE -g -c pass_two.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_REUSABLES -DUNIXVER -DUSE_BUILTIN_FCREATE -g -c main.cpp main.cpp: In function 'int run_assembly()': main.cpp:44:19: warning: 'int ftime(timeb*)' is deprecated [-Wdeprecated-declarations] 44 | ftime(&time_start); | ^ In file included from stdafx.h:134, from main.cpp:1: /usr/include/sys/timeb.h:39:12: note: declared here 39 | extern int ftime (struct timeb *__timebuf) | ^~~~~ main.cpp:44:19: warning: 'int ftime(timeb*)' is deprecated [-Wdeprecated-declarations] 44 | ftime(&time_start); | ^ In file included from stdafx.h:134, from main.cpp:1: /usr/include/sys/timeb.h:39:12: note: declared here 39 | extern int ftime (struct timeb *__timebuf) | ^~~~~ main.cpp:206:17: warning: 'int ftime(timeb*)' is deprecated [-Wdeprecated-declarations] 206 | ftime(&time_end); | ^ In file included from stdafx.h:134, from main.cpp:1: /usr/include/sys/timeb.h:39:12: note: declared here 39 | extern int ftime (struct timeb *__timebuf) | ^~~~~ main.cpp:206:17: warning: 'int ftime(timeb*)' is deprecated [-Wdeprecated-declarations] 206 | ftime(&time_end); | ^ In file included from stdafx.h:134, from main.cpp:1: /usr/include/sys/timeb.h:39:12: note: declared here 39 | extern int ftime (struct timeb *__timebuf) | ^~~~~ main.cpp:109:9: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 109 | getcwd(temp_path, sizeof (temp_path)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_REUSABLES -DUNIXVER -DUSE_BUILTIN_FCREATE -g -c pass_one.cpp pass_one.cpp: In function 'char* handle_opcode_or_macro(char*)': pass_one.cpp:322:8: warning: enum constant in boolean context [-Wint-in-bool-context] 322 | if (MODE_EZ80) { | ^~~~~~~~~ pass_one.cpp: In function 'char* match_opcode_args(char*, char**, char**, opcode*, instr**)': pass_one.cpp:603:10: warning: unused variable 'test' [-Wunused-variable] 603 | BOOL test = read_expr (&curr_arg_file, trash_buf, ","); | ^~~~ pass_one.cpp: In function 'void do_listing_for_line(char*)': pass_one.cpp:100:32: warning: ' ' directive writing 13 bytes into a region of size between 11 and 19 [-Wformat-overflow=] 100 | sprintf (text, "%5d %02X:%04X ", old_line_num, (program_counter >> 16), program_counter & 0xFFFF); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from stdafx.h:119, from pass_one.cpp:1: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 27 and 35 bytes into a destination of size 32 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_REUSABLES -DUNIXVER -DUSE_BUILTIN_FCREATE -g -c utils.cpp utils.cpp: In function 'char* parse_args(const char*, define_t*, list_t**)': utils.cpp:297:15: warning: unused variable 'label' [-Wunused-variable] 297 | label_t *label = search_labels(define->name); | ^~~~~ utils.cpp: In function 'char* replace_literal_args(const char*, define_t*, list_t**)': utils.cpp:325:6: warning: unused variable 'totalLen' [-Wunused-variable] 325 | int totalLen = strlen(ptr); | ^~~~~~~~ utils.cpp: In function 'bool line_has_word(char*, const char*, int)': utils.cpp:381:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 381 | if (strnlen (ptr, word_len) == word_len && !strncasecmp (ptr, word, word_len)) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ utils.cpp: At global scope: utils.cpp:16:13: warning: 'void destroy_char_value(label_t*)' defined but not used [-Wunused-function] 16 | static void destroy_char_value (label_t *label) { | ^~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_REUSABLES -DUNIXVER -DUSE_BUILTIN_FCREATE -g -c preop.cpp preop.cpp: In function 'char* do_if(char*, int)': preop.cpp:652:8: warning: unused variable 'endif' [-Wunused-variable] 652 | char *endif = skip_until (ptr, NULL, 1, "#endif"); | ^~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_REUSABLES -DUNIXVER -DUSE_BUILTIN_FCREATE -g -c export.cpp export.cpp: In function 'void write_file(const unsigned char*, int, const char*)': export.cpp:124:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 124 | for (type = 0; type < ARRAYSIZE(extensions); type++) { export.cpp:144:7: warning: unused variable 'error' [-Wunused-variable] 144 | int error = errno; | ^~~~~ export.cpp: In function 'void makeapp(const unsigned char*, DWORD, FILE*, const char*)': export.cpp:313:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 313 | for (i = 0; i < hleng; i++) fputc(header8xk[i], outfile); | ^ export.cpp: In function 'void makeprgm(const unsigned char*, int, FILE*, const char*, calc_type)': export.cpp:606:15: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 606 | for (i=0; i < sizeof(trailer83); i++) { | ~~^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_REUSABLES -DUNIXVER -DUSE_BUILTIN_FCREATE -g -c directive.cpp directive.cpp: In function 'char* handle_directive(const char*)': directive.cpp:447:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 447 | if (value > program_counter && (value - program_counter > output_buf_size - (out_ptr - output_contents))) | ~~~~~~^~~~~~~~~~~~~~~~~ directive.cpp:449:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 449 | else if (value < program_counter && (value - (int) program_counter + (out_ptr - output_contents) < 0)) | ~~~~~~^~~~~~~~~~~~~~~~~ directive.cpp: In function 'char* parse_emit_string(const char*, ES_TYPE, void*)': directive.cpp:575:12: warning: enumeration value 'ES_NONE' not handled in switch [-Wswitch] 575 | switch (type) | ^ directive.cpp:621:12: warning: enumeration value 'ES_FCREATE' not handled in switch [-Wswitch] 621 | switch (type) | ^ directive.cpp:621:12: warning: enumeration value 'ES_NONE' not handled in switch [-Wswitch] directive.cpp:728:13: warning: enumeration value 'ES_BYTE' not handled in switch [-Wswitch] 728 | switch (type) | ^ directive.cpp:728:13: warning: enumeration value 'ES_WORD' not handled in switch [-Wswitch] directive.cpp:728:13: warning: enumeration value 'ES_LONG' not handled in switch [-Wswitch] directive.cpp:728:13: warning: enumeration value 'ES_NONE' not handled in switch [-Wswitch] directive.cpp:746:29: warning: 'session' may be used uninitialized in this function [-Wmaybe-uninitialized] 746 | ReplaySPASMErrorSession(session); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/include/string.h:495, from stdafx.h:121, from directive.cpp:1: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'char* handle_directive(const char*)' at directive.cpp:265:14: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'char* handle_directive(const char*)' at directive.cpp:270:13: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_REUSABLES -DUNIXVER -DUSE_BUILTIN_FCREATE -g -c console.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_REUSABLES -DUNIXVER -DUSE_BUILTIN_FCREATE -g -c expand_buf.cpp expand_buf.cpp: In function 'expand_buf* eb_init(size_t)': expand_buf.cpp:16:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 16 | if (init_size == -1) init_size = 64; | ~~~~~~~~~~^~~~~ expand_buf.cpp: In function 'int eb_insert(expand_buf*, int, const char*, size_t)': expand_buf.cpp:49:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 49 | if (length == -1) | ~~~~~~~^~~~~ expand_buf.cpp: In function 'void eb_overwrite(expand_buf*, int, const char*, size_t)': expand_buf.cpp:94:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 94 | if (length == -1) | ~~~~~~~^~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_REUSABLES -DUNIXVER -DUSE_BUILTIN_FCREATE -g -c list.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_REUSABLES -DUNIXVER -DUSE_BUILTIN_FCREATE -g -c hash.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_REUSABLES -DUNIXVER -DUSE_BUILTIN_FCREATE -g -c parser.cpp parser.cpp: In function 'const char* parse_num_full(const char*, int*, int)': parser.cpp:606:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 606 | for (int i = 0; i < ARRAYSIZE(MathDefs); i++) In file included from /usr/include/string.h:495, from stdafx.h:121, from parser.cpp:1: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* parse_single_num(const char*, int*)' at parser.cpp:362:16: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_REUSABLES -DUNIXVER -DUSE_BUILTIN_FCREATE -g -c storage.cpp storage.cpp: In function 'void write_labels(char*)': storage.cpp:50:7: warning: unused variable 'error' [-Wunused-variable] 50 | int error = errno; | ^~~~~ storage.cpp: In function 'void dump_defines_callback(void*, void*)': storage.cpp:134:12: warning: unused variable 'define' [-Wunused-variable] 134 | define_t *define = (define_t *)data; | ^~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_REUSABLES -DUNIXVER -DUSE_BUILTIN_FCREATE -g -c errors.cpp errors.cpp: In function 'int CleanupSPASMErrorSession(int)': errors.cpp:240:25: warning: unused variable 'old_list' [-Wunused-variable] 240 | list_t *pPrev = NULL, *old_list = NULL; | ^~~~~~~~ errors.cpp: In function 'void SetLastSPASMProblem(DWORD, bool, va_list)': errors.cpp:347:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 347 | for (int i = 0; i < ARRAYSIZE(g_ErrorCodes); i++) g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_REUSABLES -DUNIXVER -DUSE_BUILTIN_FCREATE -g -c modp_ascii.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_REUSABLES -DUNIXVER -DUSE_BUILTIN_FCREATE -g -c bitmap.cpp bitmap.cpp: In function 'void handle_bitmap_internal(FILE*, const RECT*, const BITMAPFILEHEADER*, const BITMAPINFOHEADER*, LPRGBQUAD)': bitmap.cpp:203:40: warning: comparison of integer expressions of different signedness: 'DWORD' {aka 'unsigned int'} and 'int' [-Wsign-compare] 203 | if ((value = parse_f("__BM_INV_RGB")) != -1) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ bitmap.cpp:166:14: warning: unused variable 'biImageSize' [-Wunused-variable] 166 | const DWORD biImageSize = (_DW(bf->bfSize) - _DW(bf->bfOffBits)); | ^~~~~~~~~~~ bitmap.cpp: In function 'void handle_bitmap(FILE*)': bitmap.cpp:377:46: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 377 | if (last_label != NULL && last_label->value == program_counter) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ bitmap.cpp: In function 'bool IsFileBitmap(FILE*)': bitmap.cpp:148:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | fread (&bf, sizeof (BITMAPFILEHEADER), 1, file); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bitmap.cpp: In function 'void handle_bitmap(FILE*)': bitmap.cpp:353:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 353 | fread (&bf, sizeof (BITMAPFILEHEADER), 1, file); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bitmap.cpp:355:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 355 | fread (&bi, sizeof (BITMAPINFOHEADER), 1, file); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bitmap.cpp:370:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 370 | fread(bmiColors, sizeof(RGBQUAD), nColors, file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bitmap.cpp: In function 'void handle_bitmap_internal(FILE*, const RECT*, const BITMAPFILEHEADER*, const BITMAPINFOHEADER*, LPRGBQUAD)': bitmap.cpp:178:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 178 | fread ((BYTE *) pBits, biScanWidth * (r->bottom - r->top), 1, file); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bitmap.cpp: In function 'void handle_bitmap(FILE*)': bitmap.cpp:454:24: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] 454 | sprintf(num_buf, "%d", bmp_num); | ^~ bitmap.cpp:454:23: note: directive argument in the range [1, 2147483647] 454 | sprintf(num_buf, "%d", bmp_num); | ^~~~ In file included from /usr/include/stdio.h:871, from stdafx.h:119, from bitmap.cpp:1: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 8 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_REUSABLES -DUNIXVER -DUSE_BUILTIN_FCREATE -g -c opcodes_ez80.cpp g++ -o spasm main.o opcodes.o pass_one.o pass_two.o utils.o export.o preop.o directive.o console.o expand_buf.o hash.o list.o parser.o storage.o errors.o bitmap.o modp_ascii.o opcodes_ez80.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lm -lgmp -lcrypto : spasm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9MnAJC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/spasm-ng-0.5-0.13.beta.3.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/spasm-ng-0.5-0.13.beta.3.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/spasm-ng-0.5-0.13.beta.3.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/spasm-ng-0.5-0.13.beta.3.fc33.riscv64 + cd spasm-ng-0.5-beta.3 + mkdir -p /builddir/build/BUILDROOT/spasm-ng-0.5-0.13.beta.3.fc33.riscv64/usr/bin + make install DESTDIR=/builddir/build/BUILDROOT/spasm-ng-0.5-0.13.beta.3.fc33.riscv64/usr cp spasm /builddir/build/BUILDROOT/spasm-ng-0.5-0.13.beta.3.fc33.riscv64/usr/bin/spasm + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.5-0.13.beta.3.fc33 --unique-debug-suffix -0.5-0.13.beta.3.fc33.riscv64 --unique-debug-src-base spasm-ng-0.5-0.13.beta.3.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/spasm-ng-0.5-beta.3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/spasm-ng-0.5-0.13.beta.3.fc33.riscv64/usr/bin/spasm extracting debug info from /builddir/build/BUILDROOT/spasm-ng-0.5-0.13.beta.3.fc33.riscv64/usr/bin/spasm original debug info size: 768kB, size after compression: 520kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 637 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.kBZK3D + umask 022 + cd /builddir/build/BUILD + cd spasm-ng-0.5-beta.3 + make check tests/test-runner.py ./spasm No tests specified, so sourcing from tests directory. /builddir/build/BUILD/spasm-ng-0.5-beta.3/tests/empty-macro.asm PASS /builddir/build/BUILD/spasm-ng-0.5-beta.3/tests/dd.asm PASS /builddir/build/BUILD/spasm-ng-0.5-beta.3/tests/jr-ez80-offset.asm PASS /builddir/build/BUILD/spasm-ng-0.5-beta.3/tests/eval-neg.asm PASS /builddir/build/BUILD/spasm-ng-0.5-beta.3/tests/name-starts-with-reg.asm PASS /builddir/build/BUILD/spasm-ng-0.5-beta.3/tests/space-after-unary.asm PASS /builddir/build/BUILD/spasm-ng-0.5-beta.3/tests/undoc-ez80.asm PASS /builddir/build/BUILD/spasm-ng-0.5-beta.3/tests/macro-string-argument.asm PASS /builddir/build/BUILD/spasm-ng-0.5-beta.3/tests/neg-index-offset.asm PASS /builddir/build/BUILD/spasm-ng-0.5-beta.3/tests/bugs/pass_one_eol.asm (exited with code 3) PASS /builddir/build/BUILD/spasm-ng-0.5-beta.3/tests/bugs/extra-long-addinstr.asm (exited with code 3) PASS /builddir/build/BUILD/spasm-ng-0.5-beta.3/tests/bugs/empty-macro-name.asm (exited with code 3) PASS /builddir/build/BUILD/spasm-ng-0.5-beta.3/tests/bugs/non-existent-jmp.asm PASS PASS /builddir/build/BUILD/spasm-ng-0.5-beta.3/tests/bugs/too-far-relative-jmp.asm (exited with code 3) PASS Completed with 15 passes, 0 failures and 0 errors + RPM_EC=0 ++ jobs -p + exit 0 Processing files: spasm-ng-0.5-0.13.beta.3.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BkwYBE + umask 022 + cd /builddir/build/BUILD + cd spasm-ng-0.5-beta.3 + DOCDIR=/builddir/build/BUILDROOT/spasm-ng-0.5-0.13.beta.3.fc33.riscv64/usr/share/doc/spasm-ng + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/spasm-ng-0.5-0.13.beta.3.fc33.riscv64/usr/share/doc/spasm-ng + cp -pr README.md /builddir/build/BUILDROOT/spasm-ng-0.5-0.13.beta.3.fc33.riscv64/usr/share/doc/spasm-ng + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yKEq9F + umask 022 + cd /builddir/build/BUILD + cd spasm-ng-0.5-beta.3 + LICENSEDIR=/builddir/build/BUILDROOT/spasm-ng-0.5-0.13.beta.3.fc33.riscv64/usr/share/licenses/spasm-ng + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/spasm-ng-0.5-0.13.beta.3.fc33.riscv64/usr/share/licenses/spasm-ng + cp -pr LICENSE /builddir/build/BUILDROOT/spasm-ng-0.5-0.13.beta.3.fc33.riscv64/usr/share/licenses/spasm-ng + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(stringencoders) = 2011.08.20 spasm-ng = 0.5-0.13.beta.3.fc33 spasm-ng(riscv-64) = 0.5-0.13.beta.3.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: spasm-ng-debugsource-0.5-0.13.beta.3.fc33.riscv64 Provides: spasm-ng-debugsource = 0.5-0.13.beta.3.fc33 spasm-ng-debugsource(riscv-64) = 0.5-0.13.beta.3.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: spasm-ng-debuginfo-0.5-0.13.beta.3.fc33.riscv64 Provides: debuginfo(build-id) = f6db0d8dba50c3dcb1b14dff095d9912bea91759 spasm-ng-debuginfo = 0.5-0.13.beta.3.fc33 spasm-ng-debuginfo(riscv-64) = 0.5-0.13.beta.3.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: spasm-ng-debugsource(riscv-64) = 0.5-0.13.beta.3.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/spasm-ng-0.5-0.13.beta.3.fc33.riscv64 Wrote: /builddir/build/RPMS/spasm-ng-0.5-0.13.beta.3.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/spasm-ng-debugsource-0.5-0.13.beta.3.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/spasm-ng-debuginfo-0.5-0.13.beta.3.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.b7OsIC + umask 022 + cd /builddir/build/BUILD + cd spasm-ng-0.5-beta.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/spasm-ng-0.5-0.13.beta.3.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0