+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/atasm.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: Macro expanded in comment on line 10: %{name}/%{name}106.zip Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.V01rud + 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.kcuoi4 + umask 022 + cd /builddir/build/BUILD + cd atasm107 + pushd src ~/build/BUILD/atasm107/src ~/build/BUILD/atasm107 + make -j4 'CFLAGS=-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 -DZLIB_CAPABLE -DUNIX' gcc -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 -DZLIB_CAPABLE -DUNIX -c asm.c gcc -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 -DZLIB_CAPABLE -DUNIX -c symbol.c gcc -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 -DZLIB_CAPABLE -DUNIX -c parser.c gcc -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 -DZLIB_CAPABLE -DUNIX -c setparse.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); ^~~~~~~~~~~~~~~~~~~~~~~ gcc -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 -DZLIB_CAPABLE -DUNIX -c state.c gcc -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 -DZLIB_CAPABLE -DUNIX -c dimage.c 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)); ^~~~~~~ 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 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DZLIB_CAPABLE -DUNIX -c inc_path.c gcc -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 -DZLIB_CAPABLE -DUNIX -c crc32.c gcc -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 -DZLIB_CAPABLE -DUNIX -c atasm_err.c gcc -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 -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.kpM966 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/atasm-1.07d-14.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/atasm-1.07d-14.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/atasm-1.07d-14.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/atasm-1.07d-14.fc28.riscv64 + cd atasm107 + mkdir -p /builddir/build/BUILDROOT/atasm-1.07d-14.fc28.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/atasm-1.07d-14.fc28.riscv64/usr/share/man/man1 + pushd src ~/build/BUILD/atasm107/src ~/build/BUILD/atasm107 + install -p -m 755 atasm /builddir/build/BUILDROOT/atasm-1.07d-14.fc28.riscv64/usr/bin + install -p -m 644 atasm.1 /builddir/build/BUILDROOT/atasm-1.07d-14.fc28.riscv64/usr/share/man/man1 + popd ~/build/BUILD/atasm107 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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 Processing files: atasm-1.07d-14.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uPv4aI + umask 022 + cd /builddir/build/BUILD + cd atasm107 + DOCDIR=/builddir/build/BUILDROOT/atasm-1.07d-14.fc28.riscv64/usr/share/doc/atasm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/atasm-1.07d-14.fc28.riscv64/usr/share/doc/atasm + cp -pr LICENSE /builddir/build/BUILDROOT/atasm-1.07d-14.fc28.riscv64/usr/share/doc/atasm + cp -pr VERSION.TXT /builddir/build/BUILDROOT/atasm-1.07d-14.fc28.riscv64/usr/share/doc/atasm + cp -pr docs/atasm.blurb /builddir/build/BUILDROOT/atasm-1.07d-14.fc28.riscv64/usr/share/doc/atasm + cp -pr docs/atasm.pdf /builddir/build/BUILDROOT/atasm-1.07d-14.fc28.riscv64/usr/share/doc/atasm + cp -pr examples /builddir/build/BUILDROOT/atasm-1.07d-14.fc28.riscv64/usr/share/doc/atasm + exit 0 Provides: atasm = 1.07d-14.fc28 atasm(riscv-64) = 1.07d-14.fc28 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) libz.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/atasm-1.07d-14.fc28.riscv64 Wrote: /builddir/build/SRPMS/atasm-1.07d-14.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/atasm-1.07d-14.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.rp6P6i + umask 022 + cd /builddir/build/BUILD + cd atasm107 + /usr/bin/rm -rf /builddir/build/BUILDROOT/atasm-1.07d-14.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff