Mock Version: 1.1.4 Mock Version: 1.1.4 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/atasm.spec'], False, '/var/lib/mock/dist-6E-epel-build-906361-133124/root/', None, 86400, True, 0, 417, 419, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/atasm.spec'] warning: Could not canonicalize hostname: x86-18.phx2.fedoraproject.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/atasm-1.07d-1.el6.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/atasm.spec'], False, '/var/lib/mock/dist-6E-epel-build-906361-133124/root/', None, 86400, True, 0, 417, 419, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/atasm.spec'] Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.l3JlWV + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf atasm107 + /usr/bin/unzip -qq /builddir/build/SOURCES/atasm107d.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd atasm107 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LCV29a + umask 022 + cd /builddir/build/BUILD + cd atasm107 + LANG=C + export LANG + unset DISPLAY + pushd src ~/build/BUILD/atasm107/src ~/build/BUILD/atasm107 + make -j16 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DZLIB_CAPABLE -DUNIX' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DZLIB_CAPABLE -DUNIX -c asm.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DZLIB_CAPABLE -DUNIX -c symbol.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DZLIB_CAPABLE -DUNIX -c parser.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DZLIB_CAPABLE -DUNIX -c setparse.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DZLIB_CAPABLE -DUNIX -c state.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DZLIB_CAPABLE -DUNIX -c dimage.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DZLIB_CAPABLE -DUNIX -c inc_path.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DZLIB_CAPABLE -DUNIX -c crc32.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DZLIB_CAPABLE -DUNIX -c atasm_err.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DZLIB_CAPABLE -DUNIX -c state2.c dimage.c: In function 'get_new_disk': dimage.c:97: warning: ignoring return value of 'fread', declared with attribute warn_unused_result dimage.c: In function 'readsec': dimage.c:202: warning: ignoring return value of 'fread', declared with attribute warn_unused_result dimage.c: In function 'writesec': dimage.c:211: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result dimage.c: In function 'readVTOC': dimage.c:217: warning: ignoring return value of 'fread', declared with attribute warn_unused_result dimage.c:223: warning: ignoring return value of 'fread', declared with attribute warn_unused_result dimage.c: In function 'writeVTOC': dimage.c:234: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result dimage.c:238: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result dimage.c:241: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result dimage.c: In function 'write_xfd_file': dimage.c:514: warning: ignoring return value of 'fread', declared with attribute warn_unused_result dimage.c:531: warning: ignoring return value of 'fread', declared with attribute warn_unused_result asm.c: In function 'get_nxt_word': asm.c:402: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result state2.c: In function 'read_page': state2.c:92: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result state2.c: In function 'save_snapshot': state2.c:177: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result state2.c:204: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result asm.c: In function 'save_block': asm.c:2017: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result asm.c: In function 'save_raw': asm.c:2131: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result asm.c: In function 'proc_sym': asm.c:1686: warning: 'symbolID' may be used uninitialized in this function 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-1.07d|g' atasm.1.in ~/build/BUILD/atasm107 + popd + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.j2EKns + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/atasm-1.07d-1.el6.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/atasm-1.07d-1.el6.i386 ++ dirname /builddir/build/BUILDROOT/atasm-1.07d-1.el6.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/atasm-1.07d-1.el6.i386 + cd atasm107 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/atasm-1.07d-1.el6.i386 + mkdir -p /builddir/build/BUILDROOT/atasm-1.07d-1.el6.i386/usr/bin + mkdir -p /builddir/build/BUILDROOT/atasm-1.07d-1.el6.i386/usr/share/man/man1 + pushd src ~/build/BUILD/atasm107/src ~/build/BUILD/atasm107 + install -p -m 755 atasm /builddir/build/BUILDROOT/atasm-1.07d-1.el6.i386/usr/bin + install -p -m 644 atasm.1 /builddir/build/BUILDROOT/atasm-1.07d-1.el6.i386/usr/share/man/man1 + popd ~/build/BUILD/atasm107 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/atasm107 extracting debug info from /builddir/build/BUILDROOT/atasm-1.07d-1.el6.i386/usr/bin/atasm 355 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.rg3I1J + umask 022 ~/build/BUILD/atasm107/tests ~/build/BUILD/atasm107 + cd /builddir/build/BUILD + cd atasm107 + unset DISPLAY + 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) 00:F0 AA 55 .byte $AA, $55 00:FF FF FF .byte $FF, $FF FE:FF 55 AA .byte $55, $AA -- 1 OK Writing raw binary image: f000-ffff Compiled to binary file 'testraw.bin' 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) -- 2 OK Must specify output file for -o (example: -omyprog.bin) 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) 00:F0 98 TYA 01:F0 0B 19 ANC #25 03:F0 6B 19 ARR #25 Success. (1 warnings) Pass 2: Assembly successful Compiled 5 bytes (~0k) Writing raw binary image: f000-f004 Compiled to binary file 'testill.bin' -- 6 OK 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) 00:F0 98 TYA 01:F0 0B 19 ANC #25 03:F0 6B 19 ARR #25 Success. (1 warnings) Pass 2: Assembly successful Compiled 5 bytes (~0k) Writing raw binary image: f000-f004 Compiled to binary file 'testill.bin' -- 7 OK 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) Pass 1: Success. (0 warnings) Pass 2: Equates: Symbol table: 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-1.el6.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ML5hS1 + umask 022 + cd /builddir/build/BUILD + cd atasm107 + DOCDIR=/builddir/build/BUILDROOT/atasm-1.07d-1.el6.i386/usr/share/doc/atasm-1.07d + export DOCDIR + rm -rf /builddir/build/BUILDROOT/atasm-1.07d-1.el6.i386/usr/share/doc/atasm-1.07d + /bin/mkdir -p /builddir/build/BUILDROOT/atasm-1.07d-1.el6.i386/usr/share/doc/atasm-1.07d + cp -pr LICENSE VERSION.TXT docs/atasm.blurb docs/atasm.pdf examples /builddir/build/BUILDROOT/atasm-1.07d-1.el6.i386/usr/share/doc/atasm-1.07d + exit 0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libz.so.1 rtld(GNU_HASH) Processing files: atasm-debuginfo-1.07d-1.el6.i686 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/atasm-1.07d-1.el6.i386 warning: Could not canonicalize hostname: x86-18.phx2.fedoraproject.org Wrote: /builddir/build/RPMS/atasm-1.07d-1.el6.i686.rpm Wrote: /builddir/build/RPMS/atasm-debuginfo-1.07d-1.el6.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CKRixU + umask 022 + cd /builddir/build/BUILD + cd atasm107 + rm -rf /builddir/build/BUILDROOT/atasm-1.07d-1.el6.i386 + exit 0 Child returncode was: 0 LEAVE do -->