Mock Version: 1.3.3 Mock Version: 1.3.3 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/atasm.spec'], shell=FalseprintOutput=Falselogger=gid=425user='mockbuild'timeout=172800uid=1000env={'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'}chrootPath='/var/lib/mock/f26-build-7590455-693991/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/atasm.spec'] with env {'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/atasm-1.07d-12.fc26.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/atasm.spec'], shell=Falseprivate_network=TrueprintOutput=Falselogger=gid=425user='mockbuild'timeout=172800uid=1000env={'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'}chrootPath='/var/lib/mock/f26-build-7590455-693991/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/atasm.spec'] with env {'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3qv6tC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf atasm107 + /usr/bin/unzip -qq /builddir/build/SOURCES/atasm107d.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd atasm107 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OJxLOa + umask 022 ~/build/BUILD/atasm107/src ~/build/BUILD/atasm107 + cd /builddir/build/BUILD + cd atasm107 + pushd src + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DZLIB_CAPABLE -DUNIX' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DZLIB_CAPABLE -DUNIX -c asm.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DZLIB_CAPABLE -DUNIX -c symbol.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DZLIB_CAPABLE -DUNIX -c parser.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DZLIB_CAPABLE -DUNIX -c setparse.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DZLIB_CAPABLE -DUNIX -c state.c asm.c: In function 'get_nxt_word': asm.c:402:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line,256,fin->in); ^~~~~~~~~~~~~~~~~~~~~~~ state.c: In function 'SaveUBYTE': state.c:104:21: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] result = GZWRITE( StateOut, data, num ); ^ state.c:51:37: note: in definition of macro 'GZWRITE' #define GZWRITE( X, Y, Z ) gzwrite( X, Y, Z ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1446:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^~~~~~~ state.c: In function 'ReadUBYTE': state.c:114:20: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] result = GZREAD( StateIn, data, num ); ^ state.c:50:35: note: in definition of macro 'GZREAD' #define GZREAD( X, Y, Z ) gzread( X, Y, Z ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1390:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^~~~~~ state.c: In function 'SaveUWORD': state.c:134:23: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] result = GZWRITE( StateOut, &byte, 1 ); ^ state.c:51:37: note: in definition of macro 'GZWRITE' #define GZWRITE( X, Y, Z ) gzwrite( X, Y, Z ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1446:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^~~~~~~ state.c:143:23: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] result = GZWRITE( StateOut, &byte, 1 ); ^ state.c:51:37: note: in definition of macro 'GZWRITE' #define GZWRITE( X, Y, Z ) gzwrite( X, Y, Z ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1446:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^~~~~~~ state.c: In function 'ReadUWORD': state.c:161:22: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] result = GZREAD( StateIn, &byte1, 1 ); ^ state.c:50:35: note: in definition of macro 'GZREAD' #define GZREAD( X, Y, Z ) gzread( X, Y, Z ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1390:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^~~~~~ state.c:168:22: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] result = GZREAD( StateIn, &byte2, 1 ); ^ state.c:50:35: note: in definition of macro 'GZREAD' #define GZREAD( X, Y, Z ) gzread( X, Y, Z ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1390:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^~~~~~ state.c: In function 'SaveINT': state.c:198:23: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] result = GZWRITE( StateOut, &byte, 1 ); ^ state.c:51:37: note: in definition of macro 'GZWRITE' #define GZWRITE( X, Y, Z ) gzwrite( X, Y, Z ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1446:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^~~~~~~ state.c:207:23: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] result = GZWRITE( StateOut, &byte, 1 ); ^ state.c:51:37: note: in definition of macro 'GZWRITE' #define GZWRITE( X, Y, Z ) gzwrite( X, Y, Z ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1446:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^~~~~~~ state.c:216:23: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] result = GZWRITE( StateOut, &byte, 1 ); ^ state.c:51:37: note: in definition of macro 'GZWRITE' #define GZWRITE( X, Y, Z ) gzwrite( X, Y, Z ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1446:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^~~~~~~ state.c:227:23: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] result = GZWRITE( StateOut, &byte, 1 ); ^ state.c:51:37: note: in definition of macro 'GZWRITE' #define GZWRITE( X, Y, Z ) gzwrite( X, Y, Z ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1446:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^~~~~~~ state.c: In function 'ReadINT': state.c:247:21: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] result = GZREAD(StateIn, &byte1, 1); ^ state.c:50:35: note: in definition of macro 'GZREAD' #define GZREAD( X, Y, Z ) gzread( X, Y, Z ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1390:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^~~~~~ state.c:254:19: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] result=GZREAD(StateIn, &byte2, 1); ^ state.c:50:35: note: in definition of macro 'GZREAD' #define GZREAD( X, Y, Z ) gzread( X, Y, Z ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1390:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^~~~~~ state.c:261:19: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] result=GZREAD(StateIn, &byte3, 1); ^ state.c:50:35: note: in definition of macro 'GZREAD' #define GZREAD( X, Y, Z ) gzread( X, Y, Z ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1390:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^~~~~~ state.c:268:19: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] result=GZREAD(StateIn, &byte4, 1); ^ state.c:50:35: note: in definition of macro 'GZREAD' #define GZREAD( X, Y, Z ) gzread( X, Y, Z ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1390:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^~~~~~ state.c: In function 'FileCopy': state.c:512:19: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] result=GZREAD(in,buf,16384); ^ state.c:50:35: note: in definition of macro 'GZREAD' #define GZREAD( X, Y, Z ) gzread( X, Y, Z ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1390:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^~~~~~ state.c:513:13: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] GZWRITE(out,buf,result); ^ state.c:51:37: note: in definition of macro 'GZWRITE' #define GZWRITE( X, Y, Z ) gzwrite( X, Y, Z ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1446:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^~~~~~~ state.c: In function 'save_A800state': state.c:553:10: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] StateIn=GZOPEN(fin,"rb"); ^ state.c:559:17: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] result=GZREAD(StateIn,header_string,8); ^ state.c:50:35: note: in definition of macro 'GZREAD' #define GZREAD( X, Y, Z ) gzread( X, Y, Z ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1390:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^~~~~~ state.c:563:20: warning: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] result=GZCLOSE(StateIn); ^ state.c:49:32: note: in definition of macro 'GZCLOSE' #define GZCLOSE( X ) gzclose( X ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1630:24: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^~~~~~~ state.c:567:17: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] result=GZREAD(StateIn,&StateVersion,1); ^ state.c:50:35: note: in definition of macro 'GZREAD' #define GZREAD( X, Y, Z ) gzread( X, Y, Z ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1390:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^~~~~~ state.c:568:18: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] result1=GZREAD(StateIn,&SaveVerbose,1); ^ state.c:50:35: note: in definition of macro 'GZREAD' #define GZREAD( X, Y, Z ) gzread( X, Y, Z ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1390:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^~~~~~ state.c:571:22: warning: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] result = GZCLOSE(StateIn); ^ state.c:49:32: note: in definition of macro 'GZCLOSE' #define GZCLOSE( X ) gzclose( X ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1630:24: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^~~~~~~ state.c:577:20: warning: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] result=GZCLOSE(StateIn); ^ state.c:49:32: note: in definition of macro 'GZCLOSE' #define GZCLOSE( X ) gzclose( X ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1630:24: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^~~~~~~ state.c:585:11: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] StateOut=GZOPEN(fout,"wb"); ^ state.c:590:20: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] result = GZWRITE(StateOut,"ATARI800",8); ^ state.c:51:37: note: in definition of macro 'GZWRITE' #define GZWRITE( X, Y, Z ) gzwrite( X, Y, Z ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1446:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^~~~~~~ state.c:605:18: warning: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] result=GZCLOSE(StateOut); ^ state.c:49:32: note: in definition of macro 'GZCLOSE' #define GZCLOSE( X ) gzclose( X ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1630:24: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^~~~~~~ state.c:606:18: warning: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] result=GZCLOSE(StateIn); ^ state.c:49:32: note: in definition of macro 'GZCLOSE' #define GZCLOSE( X ) gzclose( X ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1630:24: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^~~~~~~ state.c: In function 'templateType': state.c:634:10: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] StateIn=GZOPEN(fin,"rb"); ^ state.c:639:17: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] result=GZREAD(StateIn,header_string,8); ^ state.c:50:35: note: in definition of macro 'GZREAD' #define GZREAD( X, Y, Z ) gzread( X, Y, Z ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1390:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^~~~~~ state.c:642:20: warning: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] result=GZCLOSE(StateIn); ^ state.c:49:32: note: in definition of macro 'GZCLOSE' #define GZCLOSE( X ) gzclose( X ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1630:24: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^~~~~~~ state.c:645:11: warning: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] GZCLOSE(StateIn); ^ state.c:49:32: note: in definition of macro 'GZCLOSE' #define GZCLOSE( X ) gzclose( X ) ^ In file included from state.c:46:0: /usr/include/zlib.h:1630:24: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DZLIB_CAPABLE -DUNIX -c dimage.c dimage.c: In function 'scandir': dimage.c:323:25: warning: variable 'length' set but not used [-Wunused-but-set-variable] int secnum,cnt,status,length,startsec; ^~~~~~ dimage.c: In function 'get_new_disk': dimage.c:97:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(hdr,16,1,fd); ^~~~~~~~~~~~~~~~~~ dimage.c: In function 'readsec': dimage.c:202:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(img->secbuf,img->secSize,1,img->image); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dimage.c: In function 'readVTOC': dimage.c:217:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(img->VTOCsec,img->secSize,1,img->image); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dimage.c:223:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buf,img->secSize,1,img->image); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dimage.c: In function 'write_xfd_file': dimage.c:514:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(data,image->lnk,1,in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ dimage.c:531:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(data,image->lnk,1,in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DZLIB_CAPABLE -DUNIX -c inc_path.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DZLIB_CAPABLE -DUNIX -c crc32.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DZLIB_CAPABLE -DUNIX -c atasm_err.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DZLIB_CAPABLE -DUNIX -c state2.c state2.c: In function 'read_page': state2.c:92:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf,512,in); ^~~~~~~~~~~~~~~~~ state2.c: In function 'save_snapshot': state2.c:177:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf,512,in); ^~~~~~~~~~~~~~~~~ state2.c:204:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf,512,in); ^~~~~~~~~~~~~~~~~ asm.c: In function 'proc_sym': asm.c:1727:11: warning: 'symbolID' may be used uninitialized in this function [-Wmaybe-uninitialized] sprintf(buf,"Using bank %d,%d\n",bankID,symbolID); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o atasm asm.o symbol.o parser.o setparse.o state.o dimage.o inc_path.o crc32.o atasm_err.o state2.o -lz + sed -e 's|%DOCDIR%|/usr/share/doc/atasm|g' atasm.1.in + popd ~/build/BUILD/atasm107 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7LBvv1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/atasm-1.07d-12.fc26.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/atasm-1.07d-12.fc26.arm ++ dirname /builddir/build/BUILDROOT/atasm-1.07d-12.fc26.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/atasm-1.07d-12.fc26.arm + cd atasm107 + mkdir -p /builddir/build/BUILDROOT/atasm-1.07d-12.fc26.arm/usr/bin + mkdir -p /builddir/build/BUILDROOT/atasm-1.07d-12.fc26.arm/usr/share/man/man1 + pushd src ~/build/BUILD/atasm107/src ~/build/BUILD/atasm107 + install -p -m 755 atasm /builddir/build/BUILDROOT/atasm-1.07d-12.fc26.arm/usr/bin + install -p -m 644 atasm.1 /builddir/build/BUILDROOT/atasm-1.07d-12.fc26.arm/usr/share/man/man1 + popd ~/build/BUILD/atasm107 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/atasm107 extracting debug info from /builddir/build/BUILDROOT/atasm-1.07d-12.fc26.arm/usr/bin/atasm dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 355 blocks + /usr/lib/rpm/check-buildroot + /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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.WPvWe6 + umask 022 ~/build/BUILD/atasm107/tests ~/build/BUILD/atasm107 + cd /builddir/build/BUILD + cd atasm107 + pushd tests + make test Test 1: raw output mode -------- cd ../tests && ../src/atasm -v -r testraw.m65 && echo " -- 1 OK" ATasm 1.07 (A mostly Mac65 compatible 6502 cross-assembler) Pass 1: Success. (0 warnings) Pass 2: Assembly successful Compiled 6 bytes (~0k) Writing raw binary image: f000-ffff Compiled to binary file 'testraw.bin' 00:F0 AA 55 .byte $AA, $55 00:FF FF FF .byte $FF, $FF FE:FF 55 AA .byte $55, $AA -- 1 OK Test 2: bad -o option -------- cd ../tests && ../src/atasm -v -r -o testraw.m65 || echo " -- 2 OK" ATasm 1.07 (A mostly Mac65 compatible 6502 cross-assembler) Must specify output file for -o (example: -omyprog.bin) -- 2 OK Test 3: correct -o option -------- cd ../tests && ../src/atasm -v -r -otestraw.bin testraw.m65 && echo " -- 3 OK" ATasm 1.07 (A mostly Mac65 compatible 6502 cross-assembler) Pass 1: Success. (0 warnings) Pass 2: Assembly successful Compiled 6 bytes (~0k) 00:F0 AA 55 .byte $AA, $55 00:FF FF FF .byte $FF, $FF FE:FF 55 AA .byte $55, $AA -- 3 OK Writing raw binary image: f000-ffff Compiled to binary file 'testraw.bin' Test 4: missing -u option -------- cd ../tests && ../src/atasm -v -r -otestu.bin testu.m65 || echo " -- 4 OK" ATasm 1.07 (A mostly Mac65 compatible 6502 cross-assembler) Pass 1: In testu.m65, line 4-- Error: 6502 `illegal' opcode used without `.OPT ILL' or -u -- 4 OK Test 5: correct -u option -------- cd ../tests && ../src/atasm -v -r -u -otestu.bin testu.m65 && echo " -- 5 OK" ATasm 1.07 (A mostly Mac65 compatible 6502 cross-assembler) Pass 1: Success. (0 warnings) Pass 2: Assembly successful Compiled 5 bytes (~0k) 00:F0 98 TYA 01:F0 0B 19 ANC #25 03:F0 6B 19 ARR #25 -- 5 OK Writing raw binary image: f000-f004 Compiled to binary file 'testu.bin' Test 6: missing -u option, but .OPT ILL in code -------- cd ../tests && ../src/atasm -v -r -otestill.bin testill.m65 && echo " -- 6 OK" ATasm 1.07 (A mostly Mac65 compatible 6502 cross-assembler) Pass 1: In testill.m65, line 3-- Warning: .OPT ILL encountered (code would not compile on MAC/65) Success. (1 warnings) Pass 2: Assembly successful Compiled 5 bytes (~0k) 00:F0 98 TYA 01:F0 0B 19 ANC #25 03:F0 6B 19 ARR #25 -- 6 OK Writing raw binary image: f000-f004 Compiled to binary file 'testill.bin' Test 7: correct -u option, *and* .OPT ILL in code -------- cd ../tests && ../src/atasm -v -r -otestill.bin testill.m65 && echo " -- 7 OK" ATasm 1.07 (A mostly Mac65 compatible 6502 cross-assembler) Pass 1: In testill.m65, line 3-- Warning: .OPT ILL encountered (code would not compile on MAC/65) Success. (1 warnings) Pass 2: Assembly successful Compiled 5 bytes (~0k) 00:F0 98 TYA 01:F0 0B 19 ANC #25 03:F0 6B 19 ARR #25 -- 7 OK Writing raw binary image: f000-f004 Compiled to binary file 'testill.bin' Test 8: missing -dfoo=1 on the command line -------- cd ../tests && ../src/atasm -v -r -otestdfoo.bin testdfoo.m65 || echo " -- 8 OK" ATasm 1.07 (A mostly Mac65 compatible 6502 cross-assembler) Equates: Symbol table: Pass 1: Success. (0 warnings) Pass 2: In testdfoo.m65, line 3-- Error: Unknown symbol 'FOO' -- 8 OK Test 9: correct -dfoo=1 on the command line -------- cd ../tests && ../src/atasm -v -r -dFOO=1 -otestdfoo.bin testdfoo.m65 && echo " -- 9 OK" ATasm 1.07 (A mostly Mac65 compatible 6502 cross-assembler) Pass 1: Success. (0 warnings) Pass 2: Assembly successful Compiled 1 bytes (~0k) 00:F0 01 .byte foo -- 9 OK Writing raw binary image: f000-f000 Compiled to binary file 'testdfoo.bin' Test 10: correct -dfoo=1+1 on the command line -------- cd ../tests && ../src/atasm -v -r -dFOO=1+1 -otestdfoo.bin testdfoo.m65 && echo " -- 10 OK" ATasm 1.07 (A mostly Mac65 compatible 6502 cross-assembler) Pass 1: Success. (0 warnings) Pass 2: Assembly successful Compiled 1 bytes (~0k) 00:F0 02 .byte foo -- 10 OK Writing raw binary image: f000-f000 Compiled to binary file 'testdfoo.bin' Test 11: bad .pseudoop in source code. -------- cd ../tests && ../src/atasm -v -r -otestunkn.bin testunkn.m65 || echo " -- 11 OK" ATasm 1.07 (A mostly Mac65 compatible 6502 cross-assembler) Pass 1: In testunkn.m65, line 2-- Error: Illegal label name, must start with '@','?', or a letter. -- 11 OK ~/build/BUILD/atasm107 + popd + exit 0 Processing files: atasm-1.07d-12.fc26.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.h80Qds + umask 022 + cd /builddir/build/BUILD + cd atasm107 + DOCDIR=/builddir/build/BUILDROOT/atasm-1.07d-12.fc26.arm/usr/share/doc/atasm + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/atasm-1.07d-12.fc26.arm/usr/share/doc/atasm + cp -pr LICENSE /builddir/build/BUILDROOT/atasm-1.07d-12.fc26.arm/usr/share/doc/atasm + cp -pr VERSION.TXT /builddir/build/BUILDROOT/atasm-1.07d-12.fc26.arm/usr/share/doc/atasm + cp -pr docs/atasm.blurb /builddir/build/BUILDROOT/atasm-1.07d-12.fc26.arm/usr/share/doc/atasm + cp -pr docs/atasm.pdf /builddir/build/BUILDROOT/atasm-1.07d-12.fc26.arm/usr/share/doc/atasm + cp -pr examples /builddir/build/BUILDROOT/atasm-1.07d-12.fc26.arm/usr/share/doc/atasm + exit 0 Provides: atasm = 1.07d-12.fc26 atasm(armv7hl-32) = 1.07d-12.fc26 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libz.so.1 rtld(GNU_HASH) Processing files: atasm-debuginfo-1.07d-12.fc26.armv7hl Provides: atasm-debuginfo = 1.07d-12.fc26 atasm-debuginfo(armv7hl-32) = 1.07d-12.fc26 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/atasm-1.07d-12.fc26.arm Wrote: /builddir/build/RPMS/atasm-1.07d-12.fc26.armv7hl.rpm Wrote: /builddir/build/RPMS/atasm-debuginfo-1.07d-12.fc26.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VoC5HG + umask 022 + cd /builddir/build/BUILD + cd atasm107 + /usr/bin/rm -rf /builddir/build/BUILDROOT/atasm-1.07d-12.fc26.arm + exit 0 Child return code was: 0