Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/spasm-ng.spec'], chrootPath='/var/lib/mock/f29-build-8613-3256/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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 Wrote: /builddir/build/SRPMS/spasm-ng-0.5-0.9.beta.3.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/spasm-ng.spec'], chrootPath='/var/lib/mock/f29-build-8613-3256/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ymTqy3 + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.d9iYRf + umask 022 + cd /builddir/build/BUILD + cd spasm-ng-0.5-beta.3 + LDFLAGS='-Wl,-z,relro -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 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 BUILDSTDERR: main.cpp: In function 'int run_assembly()': BUILDSTDERR: main.cpp:109:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: getcwd(temp_path, sizeof (temp_path)); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 BUILDSTDERR: pass_one.cpp: In function 'char* handle_opcode_or_macro(char*)': BUILDSTDERR: pass_one.cpp:322:17: warning: enum constant in boolean context [-Wint-in-bool-context] BUILDSTDERR: if (MODE_EZ80) { BUILDSTDERR: ^ BUILDSTDERR: pass_one.cpp: In function 'char* match_opcode_args(char*, char**, char**, opcode*, instr**)': BUILDSTDERR: pass_one.cpp:603:10: warning: unused variable 'test' [-Wunused-variable] BUILDSTDERR: BOOL test = read_expr (&curr_arg_file, trash_buf, ","); BUILDSTDERR: ^~~~ BUILDSTDERR: pass_one.cpp: In function 'void do_listing_for_line(char*)': BUILDSTDERR: pass_one.cpp:100:18: warning: ' ' directive writing 13 bytes into a region of size between 11 and 19 [-Wformat-overflow=] BUILDSTDERR: sprintf (text, "%5d %02X:%04X ", old_line_num, (program_counter >> 16), program_counter & 0xFFFF); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from stdafx.h:119, BUILDSTDERR: from pass_one.cpp:1: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 27 and 35 bytes into a destination of size 32 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 BUILDSTDERR: utils.cpp: In function 'char* parse_args(const char*, define_t*, list_t**)': BUILDSTDERR: utils.cpp:297:15: warning: unused variable 'label' [-Wunused-variable] BUILDSTDERR: label_t *label = search_labels(define->name); BUILDSTDERR: ^~~~~ BUILDSTDERR: utils.cpp: In function 'char* replace_literal_args(const char*, define_t*, list_t**)': BUILDSTDERR: utils.cpp:325:6: warning: unused variable 'totalLen' [-Wunused-variable] BUILDSTDERR: int totalLen = strlen(ptr); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: utils.cpp: In function 'bool line_has_word(char*, const char*, int)': BUILDSTDERR: utils.cpp:381:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (strnlen (ptr, word_len) == word_len && !strncasecmp (ptr, word, word_len)) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: utils.cpp: At global scope: BUILDSTDERR: utils.cpp:16:13: warning: 'void destroy_char_value(label_t*)' defined but not used [-Wunused-function] BUILDSTDERR: static void destroy_char_value (label_t *label) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ 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 BUILDSTDERR: preop.cpp: In function 'char* do_if(char*, int)': BUILDSTDERR: preop.cpp:652:8: warning: unused variable 'endif' [-Wunused-variable] BUILDSTDERR: char *endif = skip_until (ptr, NULL, 1, "#endif"); BUILDSTDERR: ^~~~~ 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 BUILDSTDERR: export.cpp: In function 'void write_file(const unsigned char*, int, const char*)': BUILDSTDERR: export.cpp:124:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: for (type = 0; type < ARRAYSIZE(extensions); type++) { BUILDSTDERR: export.cpp:144:7: warning: unused variable 'error' [-Wunused-variable] BUILDSTDERR: int error = errno; BUILDSTDERR: ^~~~~ BUILDSTDERR: export.cpp: In function 'void makeapp(const unsigned char*, DWORD, FILE*, const char*)': BUILDSTDERR: export.cpp:313:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: for (i = 0; i < hleng; i++) fputc(header8xk[i], outfile); BUILDSTDERR: ^ BUILDSTDERR: export.cpp: In function 'void makeprgm(const unsigned char*, int, FILE*, const char*, calc_type)': BUILDSTDERR: export.cpp:606:15: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: for (i=0; i < sizeof(trailer83); i++) { BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~ 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 BUILDSTDERR: directive.cpp: In function 'char* handle_directive(const char*)': BUILDSTDERR: directive.cpp:447:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: if (value > program_counter && (value - program_counter > output_buf_size - (out_ptr - output_contents))) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: directive.cpp:449:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: else if (value < program_counter && (value - (int) program_counter + (out_ptr - output_contents) < 0)) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: directive.cpp: In function 'char* parse_emit_string(const char*, ES_TYPE, void*)': BUILDSTDERR: directive.cpp:575:12: warning: enumeration value 'ES_NONE' not handled in switch [-Wswitch] BUILDSTDERR: switch (type) BUILDSTDERR: ^ BUILDSTDERR: directive.cpp:621:12: warning: enumeration value 'ES_FCREATE' not handled in switch [-Wswitch] BUILDSTDERR: switch (type) BUILDSTDERR: ^ BUILDSTDERR: directive.cpp:621:12: warning: enumeration value 'ES_NONE' not handled in switch [-Wswitch] BUILDSTDERR: directive.cpp:728:13: warning: enumeration value 'ES_BYTE' not handled in switch [-Wswitch] BUILDSTDERR: switch (type) BUILDSTDERR: ^ BUILDSTDERR: directive.cpp:728:13: warning: enumeration value 'ES_WORD' not handled in switch [-Wswitch] BUILDSTDERR: directive.cpp:728:13: warning: enumeration value 'ES_LONG' not handled in switch [-Wswitch] BUILDSTDERR: directive.cpp:728:13: warning: enumeration value 'ES_NONE' not handled in switch [-Wswitch] BUILDSTDERR: directive.cpp:746:29: warning: 'session' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: ReplaySPASMErrorSession(session); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 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 BUILDSTDERR: expand_buf.cpp: In function 'expand_buf* eb_init(size_t)': BUILDSTDERR: expand_buf.cpp:16:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (init_size == -1) init_size = 64; BUILDSTDERR: ~~~~~~~~~~^~~~~ BUILDSTDERR: expand_buf.cpp: In function 'int eb_insert(expand_buf*, int, const char*, size_t)': BUILDSTDERR: expand_buf.cpp:49:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (length == -1) BUILDSTDERR: ~~~~~~~^~~~~ BUILDSTDERR: expand_buf.cpp: In function 'void eb_overwrite(expand_buf*, int, const char*, size_t)': BUILDSTDERR: expand_buf.cpp:94:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (length == -1) BUILDSTDERR: ~~~~~~~^~~~~ 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 BUILDSTDERR: parser.cpp: In function 'const char* parse_num_full(const char*, int*, int)': BUILDSTDERR: parser.cpp:606:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < ARRAYSIZE(MathDefs); 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 storage.cpp BUILDSTDERR: storage.cpp: In function 'void write_labels(char*)': BUILDSTDERR: storage.cpp:50:7: warning: unused variable 'error' [-Wunused-variable] BUILDSTDERR: int error = errno; BUILDSTDERR: ^~~~~ BUILDSTDERR: storage.cpp: In function 'void dump_defines_callback(void*, void*)': BUILDSTDERR: storage.cpp:134:12: warning: unused variable 'define' [-Wunused-variable] BUILDSTDERR: define_t *define = (define_t *)data; BUILDSTDERR: ^~~~~~ 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 BUILDSTDERR: errors.cpp: In function 'int CleanupSPASMErrorSession(int)': BUILDSTDERR: errors.cpp:240:25: warning: unused variable 'old_list' [-Wunused-variable] BUILDSTDERR: list_t *pPrev = NULL, *old_list = NULL; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: errors.cpp: In function 'void SetLastSPASMProblem(DWORD, bool, va_list)': BUILDSTDERR: errors.cpp:347:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 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 opcodes_ez80.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 BUILDSTDERR: bitmap.cpp: In function 'void handle_bitmap_internal(FILE*, const RECT*, const BITMAPFILEHEADER*, const BITMAPINFOHEADER*, LPRGBQUAD)': BUILDSTDERR: bitmap.cpp:203:40: warning: comparison of integer expressions of different signedness: 'DWORD' {aka 'unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if ((value = parse_f("__BM_INV_RGB")) != -1) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: bitmap.cpp:166:14: warning: unused variable 'biImageSize' [-Wunused-variable] BUILDSTDERR: const DWORD biImageSize = (_DW(bf->bfSize) - _DW(bf->bfOffBits)); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: bitmap.cpp: In function 'void handle_bitmap(FILE*)': BUILDSTDERR: bitmap.cpp:377:46: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: if (last_label != NULL && last_label->value == program_counter) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: bitmap.cpp: In function 'bool IsFileBitmap(FILE*)': BUILDSTDERR: 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] BUILDSTDERR: fread (&bf, sizeof (BITMAPFILEHEADER), 1, file); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: bitmap.cpp: In function 'void handle_bitmap(FILE*)': BUILDSTDERR: 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] BUILDSTDERR: fread (&bf, sizeof (BITMAPFILEHEADER), 1, file); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: fread (&bi, sizeof (BITMAPINFOHEADER), 1, file); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: fread(bmiColors, sizeof(RGBQUAD), nColors, file); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: bitmap.cpp: In function 'void handle_bitmap_internal(FILE*, const RECT*, const BITMAPFILEHEADER*, const BITMAPINFOHEADER*, LPRGBQUAD)': BUILDSTDERR: 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] BUILDSTDERR: fread ((BYTE *) pBits, biScanWidth * (r->bottom - r->top), 1, file); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: bitmap.cpp: In function 'void handle_bitmap(FILE*)': BUILDSTDERR: bitmap.cpp:454:23: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] BUILDSTDERR: sprintf(num_buf, "%d", bmp_num); BUILDSTDERR: ^~~~ BUILDSTDERR: bitmap.cpp:454:23: note: directive argument in the range [1, 2147483647] BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from stdafx.h:119, BUILDSTDERR: from bitmap.cpp:1: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 8 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lm -lgmp -lcrypto : spasm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cqxvTi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/spasm-ng-0.5-0.9.beta.3.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/spasm-ng-0.5-0.9.beta.3.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/spasm-ng-0.5-0.9.beta.3.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/spasm-ng-0.5-0.9.beta.3.fc29.riscv64 + cd spasm-ng-0.5-beta.3 + mkdir -p /builddir/build/BUILDROOT/spasm-ng-0.5-0.9.beta.3.fc29.riscv64/usr/bin + make install DESTDIR=/builddir/build/BUILDROOT/spasm-ng-0.5-0.9.beta.3.fc29.riscv64/usr cp spasm /builddir/build/BUILDROOT/spasm-ng-0.5-0.9.beta.3.fc29.riscv64/usr/bin/spasm + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.5-0.9.beta.3.fc29 --unique-debug-suffix -0.5-0.9.beta.3.fc29.riscv64 --unique-debug-src-base spasm-ng-0.5-0.9.beta.3.fc29.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 extracting debug info from /builddir/build/BUILDROOT/spasm-ng-0.5-0.9.beta.3.fc29.riscv64/usr/bin/spasm /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 637 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.7CbrqF Processing files: spasm-ng-0.5-0.9.beta.3.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wB4Nv2 + umask 022 + cd /builddir/build/BUILD + cd spasm-ng-0.5-beta.3 + DOCDIR=/builddir/build/BUILDROOT/spasm-ng-0.5-0.9.beta.3.fc29.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.9.beta.3.fc29.riscv64/usr/share/doc/spasm-ng + cp -pr README.md /builddir/build/BUILDROOT/spasm-ng-0.5-0.9.beta.3.fc29.riscv64/usr/share/doc/spasm-ng Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.rkf0ar + exit 0 + umask 022 + cd /builddir/build/BUILD + cd spasm-ng-0.5-beta.3 + LICENSEDIR=/builddir/build/BUILDROOT/spasm-ng-0.5-0.9.beta.3.fc29.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.9.beta.3.fc29.riscv64/usr/share/licenses/spasm-ng + cp -pr LICENSE /builddir/build/BUILDROOT/spasm-ng-0.5-0.9.beta.3.fc29.riscv64/usr/share/licenses/spasm-ng + exit 0 Provides: bundled(stringencoders) = 2011.08.20 spasm-ng = 0.5-0.9.beta.3.fc29 spasm-ng(riscv-64) = 0.5-0.9.beta.3.fc29 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) libgcc_s.so.1()(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.9.beta.3.fc29.riscv64 Provides: spasm-ng-debugsource = 0.5-0.9.beta.3.fc29 spasm-ng-debugsource(riscv-64) = 0.5-0.9.beta.3.fc29 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.9.beta.3.fc29.riscv64 Provides: debuginfo(build-id) = 4e7aa38af65465524135d95821d14299ca13b9d1 spasm-ng-debuginfo = 0.5-0.9.beta.3.fc29 spasm-ng-debuginfo(riscv-64) = 0.5-0.9.beta.3.fc29 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.9.beta.3.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/spasm-ng-0.5-0.9.beta.3.fc29.riscv64 Wrote: /builddir/build/RPMS/spasm-ng-0.5-0.9.beta.3.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/spasm-ng-debugsource-0.5-0.9.beta.3.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/spasm-ng-debuginfo-0.5-0.9.beta.3.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.k9FgV4 + 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.9.beta.3.fc29.riscv64 + exit 0 Child return code was: 0