Diff of the two buildlogs: -- --- b1/build.log 2023-05-08 19:11:18.419338480 +0000 +++ b2/build.log 2023-05-08 19:14:52.761957922 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon May 8 07:09:15 -12 2023 -I: pbuilder-time-stamp: 1683572955 +I: Current time: Tue May 9 09:11:28 +14 2023 +I: pbuilder-time-stamp: 1683573088 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./xa_2.3.14.orig.tar.gz] I: copying [./xa_2.3.14-0.1.debian.tar.xz] I: Extracting source -gpgv: Signature made Sun Feb 12 02:09:39 2023 -12 +gpgv: Signature made Mon Feb 13 04:09:39 2023 +14 gpgv: using RSA key 9CF557FE13CB90CA2AEF1D2080D302F5886D839C gpgv: issuer "skitt@debian.org" gpgv: Can't check signature: No public key @@ -26,135 +26,167 @@ dpkg-source: info: unpacking xa_2.3.14-0.1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/28419/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/19201/tmp/hooks/D01_modify_environment starting +debug: Running on jtx1a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 9 09:12 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/19201/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/19201/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='d1184bb8bcf14442bf8182acdcada350' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='28419' - PS1='# ' - PS2='> ' + INVOCATION_ID=0448d08002264e8083ea58d4612bb496 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=19201 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.j3N2986D/pbuilderrc_JC6i --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.j3N2986D/b1 --logfile b1/build.log xa_2.3.14-0.1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.j3N2986D/pbuilderrc_ZOfW --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.j3N2986D/b2 --logfile b2/build.log --extrapackages usrmerge xa_2.3.14-0.1.dsc' + SUDO_GID=114 + SUDO_UID=108 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32a 5.10.0-22-armmp-lpae #1 SMP Debian 5.10.178-3 (2023-04-22) armv7l GNU/Linux + Linux i-capture-the-hostname 5.10.0-22-arm64 #1 SMP Debian 5.10.178-3 (2023-04-22) aarch64 GNU/Linux I: ls -l /bin total 5072 - -rwxr-xr-x 1 root root 838488 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67112 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 67632 Sep 20 2022 cat - -rwxr-xr-x 1 root root 67676 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67644 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 67684 Sep 20 2022 chown - -rwxr-xr-x 1 root root 133532 Sep 20 2022 cp - -rwxr-xr-x 1 root root 132868 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 133220 Sep 20 2022 date - -rwxr-xr-x 1 root root 67732 Sep 20 2022 dd - -rwxr-xr-x 1 root root 68104 Sep 20 2022 df - -rwxr-xr-x 1 root root 133632 Sep 20 2022 dir - -rwxr-xr-x 1 root root 59128 Mar 22 21:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 67560 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 67548 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 55748 Mar 22 21:02 findmnt - -rwsr-xr-x 1 root root 26208 Mar 22 20:15 fusermount - -rwxr-xr-x 1 root root 128608 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 64220 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67032 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 67720 Sep 20 2022 ln - -rwxr-xr-x 1 root root 35132 Mar 22 21:51 login - -rwxr-xr-x 1 root root 133632 Sep 20 2022 ls - -rwxr-xr-x 1 root root 136808 Mar 22 21:02 lsblk - -rwxr-xr-x 1 root root 67800 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 67764 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 67596 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 38504 Mar 22 21:02 more - -rwsr-xr-x 1 root root 38496 Mar 22 21:02 mount - -rwxr-xr-x 1 root root 9824 Mar 22 21:02 mountpoint - -rwxr-xr-x 1 root root 133532 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 67608 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 67600 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 67672 Sep 20 2022 rm - -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 67400 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133372 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty - -rwsr-xr-x 1 root root 50800 Mar 22 21:02 su - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sync - -rwxr-xr-x 1 root root 336764 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 67144 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 133224 Sep 20 2022 touch - -rwxr-xr-x 1 root root 67548 Sep 20 2022 true - -rwxr-xr-x 1 root root 9768 Mar 22 20:15 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Mar 22 21:02 umount - -rwxr-xr-x 1 root root 67572 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 133632 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 42608 Mar 22 21:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/28419/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 838488 Apr 24 11:24 bash + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67112 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 67632 Sep 21 2022 cat + -rwxr-xr-x 1 root root 67676 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67644 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 67684 Sep 21 2022 chown + -rwxr-xr-x 1 root root 133532 Sep 21 2022 cp + -rwxr-xr-x 1 root root 132868 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 133220 Sep 21 2022 date + -rwxr-xr-x 1 root root 67732 Sep 21 2022 dd + -rwxr-xr-x 1 root root 68104 Sep 21 2022 df + -rwxr-xr-x 1 root root 133632 Sep 21 2022 dir + -rwxr-xr-x 1 root root 59128 Mar 23 23:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 67560 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 67548 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 55748 Mar 23 23:02 findmnt + -rwsr-xr-x 1 root root 26208 Mar 23 22:15 fusermount + -rwxr-xr-x 1 root root 128608 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 64220 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67032 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 67720 Sep 21 2022 ln + -rwxr-xr-x 1 root root 35132 Mar 23 23:51 login + -rwxr-xr-x 1 root root 133632 Sep 21 2022 ls + -rwxr-xr-x 1 root root 136808 Mar 23 23:02 lsblk + -rwxr-xr-x 1 root root 67800 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 67764 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 67596 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 38504 Mar 23 23:02 more + -rwsr-xr-x 1 root root 38496 Mar 23 23:02 mount + -rwxr-xr-x 1 root root 9824 Mar 23 23:02 mountpoint + -rwxr-xr-x 1 root root 133532 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 67608 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash + -rwxr-xr-x 1 root root 67600 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 67672 Sep 21 2022 rm + -rwxr-xr-x 1 root root 67600 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 67400 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133372 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 May 9 09:12 sh -> /bin/bash + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 67644 Sep 21 2022 stty + -rwsr-xr-x 1 root root 50800 Mar 23 23:02 su + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sync + -rwxr-xr-x 1 root root 336764 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 67144 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 133224 Sep 21 2022 touch + -rwxr-xr-x 1 root root 67548 Sep 21 2022 true + -rwxr-xr-x 1 root root 9768 Mar 23 22:15 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Mar 23 23:02 umount + -rwxr-xr-x 1 root root 67572 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 133632 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 42608 Mar 23 23:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/19201/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -220,7 +252,7 @@ Get: 28 http://deb.debian.org/debian bookworm/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian bookworm/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian bookworm/main armhf debhelper all 13.11.4 [942 kB] -Fetched 18.0 MB in 0s (39.5 MB/s) +Fetched 18.0 MB in 2s (10.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19329 files and directories currently installed.) @@ -354,8 +386,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/xa-2.3.14/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../xa_2.3.14-0.1_source.changes +I: user script /srv/workspace/pbuilder/19201/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/19201/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/xa-2.3.14/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../xa_2.3.14-0.1_source.changes dpkg-buildpackage: info: source package xa dpkg-buildpackage: info: source version 2.3.14-0.1 dpkg-buildpackage: info: source distribution unstable @@ -365,7 +408,7 @@ debian/rules clean dh clean dh_auto_clean - make -j3 clean + make -j4 clean make[1]: Entering directory '/build/xa-2.3.14' (cd src && make clean) make[2]: Entering directory '/build/xa-2.3.14/src' @@ -392,35 +435,35 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/xa-2.3.14' dh_auto_build -- CC='arm-linux-gnueabihf-gcc' LD='$(CC)' CFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security' LDFLAGS='-Wl,-z,relro' - make -j3 "INSTALL=install --strip-program=true" CC=arm-linux-gnueabihf-gcc LD=\$\(CC\) "CFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security" LDFLAGS=-Wl,-z,relro + make -j4 "INSTALL=install --strip-program=true" CC=arm-linux-gnueabihf-gcc LD=\$\(CC\) "CFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security" LDFLAGS=-Wl,-z,relro make[2]: Entering directory '/build/xa-2.3.14' rm -f xa (cd src && LD=arm-linux-gnueabihf-gcc CC="arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security" make) (cd misc && CC="arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security" make) +make[3]: Entering directory '/build/xa-2.3.14/src' make[3]: Entering directory '/build/xa-2.3.14/misc' cp mkrom.sh ../mkrom.sh -make[3]: Entering directory '/build/xa-2.3.14/src' arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xa.o xa.c arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security uncpk.c -o ../uncpk +arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xaa.o xaa.c arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security printcbm.c -o ../printcbm +arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xal.o xal.c arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security file65.c -o ../file65 +arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xap.o xap.c file65.c: In function 'read_options': file65.c:240:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 240 | fread(tb, 1, c-1, fp); | ^~~~~~~~~~~~~~~~~~~~~ +arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xat.o xat.c arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security reloc65.c -o ../reloc65 arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security ldo65.c -o ../ldo65 -arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xaa.o xaa.c -arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xal.o xal.c -arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xap.o xap.c -make[3]: Leaving directory '/build/xa-2.3.14/misc' -arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xat.o xat.c arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xar.o xar.c arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xar2.o xar2.c arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xao.o xao.c arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xau.o xau.c arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xam.o xam.c arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/xa-2.3.14=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xacharset.o xacharset.c +make[3]: Leaving directory '/build/xa-2.3.14/misc' arm-linux-gnueabihf-gcc -o ../xa xa.o xaa.o xal.o xap.o xat.o xar.o xar2.o xao.o xau.o xam.o xacharset.o -Wl,-z,relro make[3]: Leaving directory '/build/xa-2.3.14/src' make[2]: Leaving directory '/build/xa-2.3.14' @@ -438,99 +481,25 @@ MAKE = make tests to run: ALL -mvnmvp ........................................... > running Makefile -=============================================================================== -make[3]: Entering directory '/build/xa-2.3.14/tests/mvnmvp' -rm -f *.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/mvnmvp' -------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/mvnmvp' -# xa should not allow this to happen. if it does, this test is no good. -../../xa test.s || exit 0 && exit 1 -mvn w, $02 -test.s:line 6: 1007:65816 mode used/required error -test.s:line 7: 1007: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed -mvn $0201 -test.s:line 7: 100a:65816 mode used/required error -test.s:line 8: 100a: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed -mvn $0066 -test.s:line 8: 100d:65816 mode used/required error -mvp $03, w+3 -test.s:line 9: 1010:65816 mode used/required error -test.s:line 10: 1010: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed -mvp $0403 -test.s:line 10: 1013:65816 mode used/required error -test.s:line 11: 1013: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed -mvp $0088 -test.s:line 11: 1016:65816 mode used/required error -Break after 6 errors -# expected-to-fail tests did fail. should be no more errors now. -../../xa -w test.s -o test.o -test.s:line 7: 1007: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed -test.s:line 8: 100a: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed -test.s:line 10: 1010: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed -test.s:line 11: 1013: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed -../hextool -cmp=ok < test.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/mvnmvp' -------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/mvnmvp' -rm -f *.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/mvnmvp' -=================================== PASSED! =================================== -csapiec .......................................... > running Makefile -=============================================================================== -make[3]: Entering directory '/build/xa-2.3.14/tests/csapiec' -rm -f *.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/csapiec' -------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/csapiec' -# xa should not allow this to happen. if it does, this test is no good. -../../xa -DBUG=1 -o test.o test.s || exit 0 && exit 1 - .data -test.s:line 6: 1000:Illegal segment error -Break after 1 errors -../../xa -R -DBUG=1 -o testseg.o test.s || exit 0 && exit 1 -cmda .byt cmdt-c0 -test.s:line 26: 0444:Syntax error - .byt c2-c0, c3-c0, c4-c0, c5-c0, c6-c0, c7-c0 -test.s:line 30: 0448:Syntax error - .byt c11-c0, c12-c0, c13-c0, c14-c0, c15-c0, 0 -test.s:line 31: 0448:Syntax error -Break after 3 errors -# xa *should* allow this to happen. -../../xa -o test.o test.s -../hextool -cmp=test.ok < test.o -../../xa -R -o testseg.o test.s -../hextool -cmp=testseg.ok < testseg.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/csapiec' -------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/csapiec' -rm -f *.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/csapiec' -=================================== PASSED! =================================== -openpp ........................................... > running Makefile +dos51 ............................................ > running Makefile =============================================================================== -make[3]: Entering directory '/build/xa-2.3.14/tests/openpp' +make[3]: Entering directory '/build/xa-2.3.14/tests/dos51' rm -f *.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/openpp' +make[3]: Leaving directory '/build/xa-2.3.14/tests/dos51' ------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/openpp' +make[3]: Entering directory '/build/xa-2.3.14/tests/dos51' # xa should not allow this to happen. if it does, this test is no good. -../../xa test.inc || exit 0 && exit 1 -test.inc:line 4: 1000:Unresolved preprocessor directive at end of file error +../../xa -DBUG test.s || exit 0 && exit 1 +test.s:line 5: c1f1:Label 'crunchsrv' not defined Break after 1 errors # expected-to-fail tests did fail. should be no more errors now. -../../xa -DBUG test.s -o test.o -at end of included file test.inc: -test.s:line 14: c005: Warning - Open preprocessor directive at end of file (intentional?) -../hextool -cmp=ok < test.o ../../xa test.s -o test.o ../hextool -cmp=ok < test.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/openpp' +make[3]: Leaving directory '/build/xa-2.3.14/tests/dos51' ------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/openpp' +make[3]: Entering directory '/build/xa-2.3.14/tests/dos51' rm -f *.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/openpp' +make[3]: Leaving directory '/build/xa-2.3.14/tests/dos51' =================================== PASSED! =================================== recmac ........................................... > running Makefile =============================================================================== @@ -554,27 +523,207 @@ rm -f a.o65 make[3]: Leaving directory '/build/xa-2.3.14/tests/recmac' =================================== PASSED! =================================== -binclude ......................................... > running Makefile +charset .......................................... > running Makefile =============================================================================== -make[3]: Entering directory '/build/xa-2.3.14/tests/binclude' +make[3]: Entering directory '/build/xa-2.3.14/tests/charset' +rm -rf a.o65 +make[3]: Leaving directory '/build/xa-2.3.14/tests/charset' +------------------------------------------------------------------------------- +make[3]: Entering directory '/build/xa-2.3.14/tests/charset' +../../xa test.s +../hextool -cmp=no-charset.o < a.o65 +../../xa -O PETSCII test.s +../hextool -cmp=petscii.o < a.o65 +../../xa -O PETSCREEN test.s +../hextool -cmp=petscreen.o < a.o65 +../../xa -O HIGH test.s +../hextool -cmp=high.o < a.o65 +make[3]: Leaving directory '/build/xa-2.3.14/tests/charset' +------------------------------------------------------------------------------- +make[3]: Entering directory '/build/xa-2.3.14/tests/charset' +rm -rf a.o65 +make[3]: Leaving directory '/build/xa-2.3.14/tests/charset' +=================================== PASSED! =================================== +incerr ........................................... > running Makefile +=============================================================================== +make[3]: Entering directory '/build/xa-2.3.14/tests/incerr' +rm -f a.o65 +make[3]: Leaving directory '/build/xa-2.3.14/tests/incerr' +------------------------------------------------------------------------------- +make[3]: Entering directory '/build/xa-2.3.14/tests/incerr' +# in 6502 mode, it will fail. +../../xa test.s || exit 0 && exit 1 + .xl +test.6502:line 1: 1000:65816 mode used/required error +Break after 1 errors +# in 65816 mode, it will pass. +../../xa -w test.s +make[3]: Leaving directory '/build/xa-2.3.14/tests/incerr' +------------------------------------------------------------------------------- +make[3]: Entering directory '/build/xa-2.3.14/tests/incerr' +rm -f a.o65 +make[3]: Leaving directory '/build/xa-2.3.14/tests/incerr' +=================================== PASSED! =================================== +alxl ............................................. > running Makefile +=============================================================================== +make[3]: Entering directory '/build/xa-2.3.14/tests/alxl' rm -f *.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/binclude' +make[3]: Leaving directory '/build/xa-2.3.14/tests/alxl' ------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/binclude' -../../xa test.asm -o test.o -../hextool -cmp=test.ok < test.o -../../xa -w test.asm -o test816.o -../hextool -cmp=test.ok < test816.o -../../xa test2.asm -o test2.o -../hextool -cmp=test2.ok < test2.o -../../xa test3.asm -o test3.o -../hextool -cmp=test.ok < test3.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/binclude' +make[3]: Entering directory '/build/xa-2.3.14/tests/alxl' +# xa should not allow this to happen. if it does, this test is no good. +../../xa alxl.s || exit 0 && exit 1 + rep #%00010000 +alxl.s:line 6: f002:65816 mode used/required error + .xl +alxl.s:line 8: f002:65816 mode used/required error + ldx #$1234 +alxl.s:line 9: f004:Overflow error + ldy #$1234 +alxl.s:line 10: f006:Overflow error + .al +alxl.s:line 12: f006:65816 mode used/required error + lda #$1234 +alxl.s:line 13: f008:Overflow error +Break after 6 errors +../../xa alxlo1.s || exit 0 && exit 1 + rep #%00010000 +alxlo1.s:line 6: f002:65816 mode used/required error + .al +alxlo1.s:line 9: f002:65816 mode used/required error + lda #$1234 +alxlo1.s:line 10: f004:Overflow error +Break after 3 errors +../../xa alxlo2.s || exit 0 && exit 1 + rep #%00010000 +alxlo2.s:line 6: f002:65816 mode used/required error + .xl +alxlo2.s:line 8: f002:65816 mode used/required error + ldx #$1234 +alxlo2.s:line 9: f004:Overflow error + ldy #$1234 +alxlo2.s:line 10: f006:Overflow error +Break after 4 errors +../../xa alxlx1.s || exit 0 && exit 1 + rep #%00010000 +alxlx1.s:line 6: f002:65816 mode used/required error + .al +alxlx1.s:line 9: f002:65816 mode used/required error + ldx #$1234 +alxlx1.s:line 10: f004:Overflow error + ldy #$1234 +alxlx1.s:line 11: f006:Overflow error + lda #$1234 +alxlx1.s:line 12: f008:Overflow error +Break after 5 errors +../../xa alxlx2.s || exit 0 && exit 1 + rep #%00010000 +alxlx2.s:line 6: f002:65816 mode used/required error + .xl +alxlx2.s:line 8: f002:65816 mode used/required error + ldx #$1234 +alxlx2.s:line 9: f004:Overflow error + ldy #$1234 +alxlx2.s:line 10: f006:Overflow error + lda #$1234 +alxlx2.s:line 11: f008:Overflow error +Break after 5 errors +../../xa alxlx3.s || exit 0 && exit 1 + rep #%00010000 +alxlx3.s:line 6: f002:65816 mode used/required error + ldx #$1234 +alxlx3.s:line 8: f004:Overflow error + ldy #$1234 +alxlx3.s:line 9: f006:Overflow error + lda #$1234 +alxlx3.s:line 10: f008:Overflow error +Break after 4 errors +../../xa sizes.s || exit 0 && exit 1 + .al +sizes.s:line 4: 1000:65816 mode used/required error + .xl +sizes.s:line 5: 1000:65816 mode used/required error + jmp SYM +sizes.s:line 9: 112237:Overflow error + jmp $112233 +sizes.s:line 10: 11223a:Overflow error + lda $112233 +sizes.s:line 11: 11223d:Overflow error + lda @$2233 +sizes.s:line 12: 112241:65816 mode used/required error +HI(SYM)=(((SYM) >> 16) & $FFFF)=17 +LO(SYM)=((SYM) & $FFFF)=8755 + lda #LO(SYM) +sizes.s:line 20: 11224b:Overflow error +Break after 7 errors +../../xa -w alxlx1.s || exit 0 && exit 1 + ldx #$1234 +alxlx1.s:line 10: f004:Overflow error + ldy #$1234 +alxlx1.s:line 11: f006:Overflow error +Break after 2 errors +../../xa -w alxlx2.s || exit 0 && exit 1 + lda #$1234 +alxlx2.s:line 11: f00a:Overflow error +Break after 1 errors +../../xa -w alxlx3.s || exit 0 && exit 1 + ldx #$1234 +alxlx3.s:line 8: f004:Overflow error + ldy #$1234 +alxlx3.s:line 9: f006:Overflow error + lda #$1234 +alxlx3.s:line 10: f008:Overflow error +Break after 3 errors +# expected-to-fail tests did fail. should be no more errors now. +../../xa -w alxl.s -o alxl.o +../hextool -cmp=alxl.ok < alxl.o +../../xa -w alxlo1.s -o alxlo1.o +../hextool -cmp=alxlo1.ok < alxlo1.o +../../xa -w alxlo2.s -o alxlo2.o +../hextool -cmp=alxlo2.ok < alxlo2.o +../../xa -w sizes.s -o sizes.o +HI(SYM)=(((SYM) >> 16) & $FFFF)=17 +LO(SYM)=((SYM) & $FFFF)=8755 +../hextool -cmp=sizes.ok < sizes.o +make[3]: Leaving directory '/build/xa-2.3.14/tests/alxl' ------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/binclude' +make[3]: Entering directory '/build/xa-2.3.14/tests/alxl' rm -f *.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/binclude' +make[3]: Leaving directory '/build/xa-2.3.14/tests/alxl' +=================================== PASSED! =================================== +fordef ........................................... > running Makefile +=============================================================================== +make[3]: Entering directory '/build/xa-2.3.14/tests/fordef' +rm -f a.o65 test.out +make[3]: Leaving directory '/build/xa-2.3.14/tests/fordef' +------------------------------------------------------------------------------- +make[3]: Entering directory '/build/xa-2.3.14/tests/fordef' +# this must not pass. +../../xa -DFAIL test3.asm || exit 0 && exit 1 +test3.asm:line 7: 0400:Wrong addressing mode error +test3.asm:line 8: 0402:Wrong addressing mode error +test3.asm:line 9: 0401:Wrong addressing mode error +test3.asm:line 10: 0400:Wrong addressing mode error +congrats, you have FAILED! +test3.asm:line 10: 0409:Overflow error +Break after 5 errors +# these must pass. +../../xa test3.asm +../hextool -cmp=test3.ok < a.o65 +# testing warnings. +../../xa -e test.out test.asm +test.asm:line 6: 0400: Warning - Can't optimize forward-defined label; using absolute addressing +test.asm:line 7: 0403: Warning - Can't optimize forward-defined label; using absolute addressing +../hextool -cmp=ok.out < test.out +../hextool -cmp=test1.ok < a.o65 +make[3]: Leaving directory '/build/xa-2.3.14/tests/fordef' +------------------------------------------------------------------------------- +make[3]: Entering directory '/build/xa-2.3.14/tests/fordef' +rm -f a.o65 test.out +make[3]: Leaving directory '/build/xa-2.3.14/tests/fordef' =================================== PASSED! =================================== +quotch ........................................... > PASSED +chardelimiter .................................... > PASSED ldoreloc ......................................... > running Makefile =============================================================================== make[3]: Entering directory '/build/xa-2.3.14/tests/ldoreloc' @@ -598,26 +747,119 @@ rm -f *.o65 *.hex t make[3]: Leaving directory '/build/xa-2.3.14/tests/ldoreloc' =================================== PASSED! =================================== -cpktest .......................................... > running Makefile +mvnmvp ........................................... > running Makefile =============================================================================== -make[3]: Entering directory '/build/xa-2.3.14/tests/cpktest' -rm -f *.o test.l -make[3]: Leaving directory '/build/xa-2.3.14/tests/cpktest' +make[3]: Entering directory '/build/xa-2.3.14/tests/mvnmvp' +rm -f *.o +make[3]: Leaving directory '/build/xa-2.3.14/tests/mvnmvp' ------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/cpktest' -../../xa -l test.l -o test.o pack_eng.a65 -cmp test.l english.l || exit 1 -../hextool -cmp=eng.ok < test.o -../../xa -l test.l -o test.o pack_ger.a65 -cmp test.l deutsch.l || exit 1 -../hextool -cmp=de.ok < test.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/cpktest' +make[3]: Entering directory '/build/xa-2.3.14/tests/mvnmvp' +# xa should not allow this to happen. if it does, this test is no good. +../../xa test.s || exit 0 && exit 1 +mvn w, $02 +test.s:line 6: 1007:65816 mode used/required error +test.s:line 7: 1007: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed +mvn $0201 +test.s:line 7: 100a:65816 mode used/required error +test.s:line 8: 100a: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed +mvn $0066 +test.s:line 8: 100d:65816 mode used/required error +mvp $03, w+3 +test.s:line 9: 1010:65816 mode used/required error +test.s:line 10: 1010: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed +mvp $0403 +test.s:line 10: 1013:65816 mode used/required error +test.s:line 11: 1013: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed +mvp $0088 +test.s:line 11: 1016:65816 mode used/required error +Break after 6 errors +# expected-to-fail tests did fail. should be no more errors now. +../../xa -w test.s -o test.o +test.s:line 7: 1007: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed +test.s:line 8: 100a: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed +test.s:line 10: 1010: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed +test.s:line 11: 1013: Warning - MVN/MVP $XXXX syntax is deprecated and will be removed +../hextool -cmp=ok < test.o +make[3]: Leaving directory '/build/xa-2.3.14/tests/mvnmvp' ------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/cpktest' -rm -f *.o test.l -make[3]: Leaving directory '/build/xa-2.3.14/tests/cpktest' +make[3]: Entering directory '/build/xa-2.3.14/tests/mvnmvp' +rm -f *.o +make[3]: Leaving directory '/build/xa-2.3.14/tests/mvnmvp' =================================== PASSED! =================================== -stringcom ........................................ > PASSED +relocmode ........................................ > running Makefile +=============================================================================== +make[3]: Entering directory '/build/xa-2.3.14/tests/relocmode' +rm -f *.o +make[3]: Leaving directory '/build/xa-2.3.14/tests/relocmode' +------------------------------------------------------------------------------- +make[3]: Entering directory '/build/xa-2.3.14/tests/relocmode' +# this should fail in non-relocating mode +../../xa test1.s -o test1.o || exit 0 && exit 1 + .data +test1.s:line 4: 1003:Illegal segment error +Break after 1 errors +../../xa -R test1.s -o test1.o +../hextool -cmp=ok < test1.o +make[3]: Leaving directory '/build/xa-2.3.14/tests/relocmode' +------------------------------------------------------------------------------- +make[3]: Entering directory '/build/xa-2.3.14/tests/relocmode' +rm -f *.o +make[3]: Leaving directory '/build/xa-2.3.14/tests/relocmode' +=================================== PASSED! =================================== +nonl ............................................. > PASSED +masmcom .......................................... > running Makefile +=============================================================================== +make[3]: Entering directory '/build/xa-2.3.14/tests/masmcom' +rm -f *.o +make[3]: Leaving directory '/build/xa-2.3.14/tests/masmcom' +------------------------------------------------------------------------------- +make[3]: Entering directory '/build/xa-2.3.14/tests/masmcom' +# compile with masm mode on. +../../xa -M -o test.o test.s +../hextool -cmp=okmasm < test.o +# compile without +../../xa -o test.o test.s +../hextool -cmp=oknomasm < test.o +make[3]: Leaving directory '/build/xa-2.3.14/tests/masmcom' +------------------------------------------------------------------------------- +make[3]: Entering directory '/build/xa-2.3.14/tests/masmcom' +rm -f *.o +make[3]: Leaving directory '/build/xa-2.3.14/tests/masmcom' +=================================== PASSED! =================================== +relocundef ....................................... > running Makefile +=============================================================================== +make[3]: Entering directory '/build/xa-2.3.14/tests/relocundef' +rm -f test1.o65 a.o65 test1.o65.hex a.o65.hex +rm -f test2.o65 b.o65 test2.o65.hex b.o65.hex +make[3]: Leaving directory '/build/xa-2.3.14/tests/relocundef' +------------------------------------------------------------------------------- +make[3]: Entering directory '/build/xa-2.3.14/tests/relocundef' +../../xa -R -Lundefl -Ll2 -o test1.o65 test1.a65 +test1.a65:line 4: 1002: Warning - Can't optimize forward-defined label; using absolute addressing +../hextool test1.o65 > test1.o65.hex +********* This should give a warning about an undefined relocation table entry +../../reloc65 -X test1.o65 +reloc65: test1.o65: Warning: undefined relocation table entry not handled! +reloc65: read file test1.o65 -> a.o65 +../hextool a.o65 > a.o65.hex +../../xa -R -o test2.o65 test2.a65 +test2.a65:line 4: 1002: Warning - Can't optimize forward-defined label; using absolute addressing +../hextool test2.o65 > test2.o65.hex +********* This should NOT give a warning +../../reloc65 -X -o b.o65 test2.o65 +reloc65: read file test2.o65 -> b.o65 +../hextool b.o65 > b.o65.hex +../hextool -cmp=a.ok < a.o65 +../hextool -cmp=b.ok < b.o65 +make[3]: Leaving directory '/build/xa-2.3.14/tests/relocundef' +------------------------------------------------------------------------------- +make[3]: Entering directory '/build/xa-2.3.14/tests/relocundef' +rm -f test1.o65 a.o65 test1.o65.hex a.o65.hex +rm -f test2.o65 b.o65 test2.o65.hex b.o65.hex +make[3]: Leaving directory '/build/xa-2.3.14/tests/relocundef' +=================================== PASSED! =================================== +ppstrings ........................................ > PASSED +recucom .......................................... > PASSED op816 ............................................ > running Makefile =============================================================================== make[3]: Entering directory '/build/xa-2.3.14/tests/op816' @@ -747,7 +989,31 @@ rm -f *.o make[3]: Leaving directory '/build/xa-2.3.14/tests/op816' =================================== PASSED! =================================== -quotch ........................................... > PASSED +stringcom ........................................ > PASSED +openpp ........................................... > running Makefile +=============================================================================== +make[3]: Entering directory '/build/xa-2.3.14/tests/openpp' +rm -f *.o +make[3]: Leaving directory '/build/xa-2.3.14/tests/openpp' +------------------------------------------------------------------------------- +make[3]: Entering directory '/build/xa-2.3.14/tests/openpp' +# xa should not allow this to happen. if it does, this test is no good. +../../xa test.inc || exit 0 && exit 1 +test.inc:line 4: 1000:Unresolved preprocessor directive at end of file error +Break after 1 errors +# expected-to-fail tests did fail. should be no more errors now. +../../xa -DBUG test.s -o test.o +at end of included file test.inc: +test.s:line 14: c005: Warning - Open preprocessor directive at end of file (intentional?) +../hextool -cmp=ok < test.o +../../xa test.s -o test.o +../hextool -cmp=ok < test.o +make[3]: Leaving directory '/build/xa-2.3.14/tests/openpp' +------------------------------------------------------------------------------- +make[3]: Entering directory '/build/xa-2.3.14/tests/openpp' +rm -f *.o +make[3]: Leaving directory '/build/xa-2.3.14/tests/openpp' +=================================== PASSED! =================================== neg_offset ....................................... > running Makefile =============================================================================== make[3]: Entering directory '/build/xa-2.3.14/tests/neg_offset' @@ -788,130 +1054,79 @@ rm -f *.o make[3]: Leaving directory '/build/xa-2.3.14/tests/neg_offset' =================================== PASSED! =================================== -pparity .......................................... > running Makefile +csapiec .......................................... > running Makefile =============================================================================== -make[3]: Entering directory '/build/xa-2.3.14/tests/pparity' +make[3]: Entering directory '/build/xa-2.3.14/tests/csapiec' rm -f *.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/pparity' +make[3]: Leaving directory '/build/xa-2.3.14/tests/csapiec' ------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/pparity' +make[3]: Entering directory '/build/xa-2.3.14/tests/csapiec' # xa should not allow this to happen. if it does, this test is no good. -../../xa bad.s || exit 0 && exit 1 -Segmentation fault -../../xa bad2.s || exit 0 && exit 1 -Segmentation fault -../../xa bad3.s || exit 0 && exit 1 -bad3.s:line 10: 1000:pp:Wrong parameter count error -Break after 1 errors -../../xa bad4.s || exit 0 && exit 1 -bad4.s:line 4: 1000:pp:Wrong parameter count error +../../xa -DBUG=1 -o test.o test.s || exit 0 && exit 1 + .data +test.s:line 6: 1000:Illegal segment error Break after 1 errors -# expected-to-fail tests did fail. should be no more errors now. -../../xa good.s -o good.o -../hextool -cmp=good.ok < good.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/pparity' -------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/pparity' -rm -f *.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/pparity' -=================================== PASSED! =================================== -masmcom .......................................... > running Makefile -=============================================================================== -make[3]: Entering directory '/build/xa-2.3.14/tests/masmcom' -rm -f *.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/masmcom' -------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/masmcom' -# compile with masm mode on. -../../xa -M -o test.o test.s -../hextool -cmp=okmasm < test.o -# compile without +../../xa -R -DBUG=1 -o testseg.o test.s || exit 0 && exit 1 +cmda .byt cmdt-c0 +test.s:line 26: 0444:Syntax error + .byt c2-c0, c3-c0, c4-c0, c5-c0, c6-c0, c7-c0 +test.s:line 30: 0448:Syntax error + .byt c11-c0, c12-c0, c13-c0, c14-c0, c15-c0, 0 +test.s:line 31: 0448:Syntax error +Break after 3 errors +# xa *should* allow this to happen. ../../xa -o test.o test.s -../hextool -cmp=oknomasm < test.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/masmcom' +../hextool -cmp=test.ok < test.o +../../xa -R -o testseg.o test.s +../hextool -cmp=testseg.ok < testseg.o +make[3]: Leaving directory '/build/xa-2.3.14/tests/csapiec' ------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/masmcom' +make[3]: Entering directory '/build/xa-2.3.14/tests/csapiec' rm -f *.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/masmcom' -=================================== PASSED! =================================== -incerr ........................................... > running Makefile -=============================================================================== -make[3]: Entering directory '/build/xa-2.3.14/tests/incerr' -rm -f a.o65 -make[3]: Leaving directory '/build/xa-2.3.14/tests/incerr' -------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/incerr' -# in 6502 mode, it will fail. -../../xa test.s || exit 0 && exit 1 - .xl -test.6502:line 1: 1000:65816 mode used/required error -Break after 1 errors -# in 65816 mode, it will pass. -../../xa -w test.s -make[3]: Leaving directory '/build/xa-2.3.14/tests/incerr' -------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/incerr' -rm -f a.o65 -make[3]: Leaving directory '/build/xa-2.3.14/tests/incerr' -=================================== PASSED! =================================== -charset .......................................... > running Makefile -=============================================================================== -make[3]: Entering directory '/build/xa-2.3.14/tests/charset' -rm -rf a.o65 -make[3]: Leaving directory '/build/xa-2.3.14/tests/charset' -------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/charset' -../../xa test.s -../hextool -cmp=no-charset.o < a.o65 -../../xa -O PETSCII test.s -../hextool -cmp=petscii.o < a.o65 -../../xa -O PETSCREEN test.s -../hextool -cmp=petscreen.o < a.o65 -../../xa -O HIGH test.s -../hextool -cmp=high.o < a.o65 -make[3]: Leaving directory '/build/xa-2.3.14/tests/charset' -------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/charset' -rm -rf a.o65 -make[3]: Leaving directory '/build/xa-2.3.14/tests/charset' +make[3]: Leaving directory '/build/xa-2.3.14/tests/csapiec' =================================== PASSED! =================================== -dos51 ............................................ > running Makefile +math ............................................. > running Makefile =============================================================================== -make[3]: Entering directory '/build/xa-2.3.14/tests/dos51' +make[3]: Entering directory '/build/xa-2.3.14/tests/math' rm -f *.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/dos51' +make[3]: Leaving directory '/build/xa-2.3.14/tests/math' ------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/dos51' +make[3]: Entering directory '/build/xa-2.3.14/tests/math' # xa should not allow this to happen. if it does, this test is no good. -../../xa -DBUG test.s || exit 0 && exit 1 -test.s:line 5: c1f1:Label 'crunchsrv' not defined +../../xa -o divzero.o divzero.s || exit 0 && exit 1 +* = $0/00 +divzero.s:line 2: 1002:Division by zero error Break after 1 errors -# expected-to-fail tests did fail. should be no more errors now. -../../xa test.s -o test.o -../hextool -cmp=ok < test.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/dos51' +../../xa -o divzero2.o divzero2.s || exit 0 && exit 1 +* = $0/zyx +divzero2.s:line 5: 1002:Division by zero error +Break after 1 errors +make[3]: Leaving directory '/build/xa-2.3.14/tests/math' ------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/dos51' +make[3]: Entering directory '/build/xa-2.3.14/tests/math' rm -f *.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/dos51' +make[3]: Leaving directory '/build/xa-2.3.14/tests/math' =================================== PASSED! =================================== -reset_segment .................................... > running Makefile +cpktest .......................................... > running Makefile =============================================================================== -make[3]: Entering directory '/build/xa-2.3.14/tests/reset_segment' -rm -f *.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/reset_segment' +make[3]: Entering directory '/build/xa-2.3.14/tests/cpktest' +rm -f *.o test.l +make[3]: Leaving directory '/build/xa-2.3.14/tests/cpktest' ------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/reset_segment' -../../xa -R -LLIB6502 test1.s -o test1.o -../hextool -cmp=ok1 < test1.o -../../xa -R test2.s -o test2.o -../hextool -cmp=ok2 < test2.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/reset_segment' +make[3]: Entering directory '/build/xa-2.3.14/tests/cpktest' +../../xa -l test.l -o test.o pack_eng.a65 +cmp test.l english.l || exit 1 +../hextool -cmp=eng.ok < test.o +../../xa -l test.l -o test.o pack_ger.a65 +cmp test.l deutsch.l || exit 1 +../hextool -cmp=de.ok < test.o +make[3]: Leaving directory '/build/xa-2.3.14/tests/cpktest' ------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/reset_segment' -rm -f *.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/reset_segment' +make[3]: Entering directory '/build/xa-2.3.14/tests/cpktest' +rm -f *.o test.l +make[3]: Leaving directory '/build/xa-2.3.14/tests/cpktest' =================================== PASSED! =================================== +linkr ............................................ > PASSED branch ........................................... > running Makefile =============================================================================== make[3]: Entering directory '/build/xa-2.3.14/tests/branch' @@ -933,51 +1148,6 @@ rm -f *.o make[3]: Leaving directory '/build/xa-2.3.14/tests/branch' =================================== PASSED! =================================== -relocmode ........................................ > running Makefile -=============================================================================== -make[3]: Entering directory '/build/xa-2.3.14/tests/relocmode' -rm -f *.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/relocmode' -------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/relocmode' -# this should fail in non-relocating mode -../../xa test1.s -o test1.o || exit 0 && exit 1 - .data -test1.s:line 4: 1003:Illegal segment error -Break after 1 errors -../../xa -R test1.s -o test1.o -../hextool -cmp=ok < test1.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/relocmode' -------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/relocmode' -rm -f *.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/relocmode' -=================================== PASSED! =================================== -comcom ........................................... > running Makefile -=============================================================================== -make[3]: Entering directory '/build/xa-2.3.14/tests/comcom' -rm -f a.o65 -make[3]: Leaving directory '/build/xa-2.3.14/tests/comcom' -------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/comcom' -# this should fail. -../../xa scomcom.asm || exit 0 && exit 1 -; some comment: *2 = 1 -scomcom.asm:line 1: 1000:Syntax error -Break after 1 errors -# it did fail. these should now all succeed. -../../xa -M scomcom.asm -../hextool -cmp=scomcomm.ok < a.o65 -../../xa comcom.asm -../hextool -cmp=comcom.ok < a.o65 -../../xa -M comcom.asm -../hextool -cmp=comcomm.ok < a.o65 -make[3]: Leaving directory '/build/xa-2.3.14/tests/comcom' -------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/comcom' -rm -f a.o65 -make[3]: Leaving directory '/build/xa-2.3.14/tests/comcom' -=================================== PASSED! =================================== adrm ............................................. > running Makefile =============================================================================== make[3]: Entering directory '/build/xa-2.3.14/tests/adrm' @@ -1026,6 +1196,23 @@ rm -f *.o make[3]: Leaving directory '/build/xa-2.3.14/tests/adrm' =================================== PASSED! =================================== +reset_segment .................................... > running Makefile +=============================================================================== +make[3]: Entering directory '/build/xa-2.3.14/tests/reset_segment' +rm -f *.o +make[3]: Leaving directory '/build/xa-2.3.14/tests/reset_segment' +------------------------------------------------------------------------------- +make[3]: Entering directory '/build/xa-2.3.14/tests/reset_segment' +../../xa -R -LLIB6502 test1.s -o test1.o +../hextool -cmp=ok1 < test1.o +../../xa -R test2.s -o test2.o +../hextool -cmp=ok2 < test2.o +make[3]: Leaving directory '/build/xa-2.3.14/tests/reset_segment' +------------------------------------------------------------------------------- +make[3]: Entering directory '/build/xa-2.3.14/tests/reset_segment' +rm -f *.o +make[3]: Leaving directory '/build/xa-2.3.14/tests/reset_segment' +=================================== PASSED! =================================== chppch ........................................... > running Makefile =============================================================================== make[3]: Entering directory '/build/xa-2.3.14/tests/chppch' @@ -1044,188 +1231,76 @@ rm -f a.o65 test.out make[3]: Leaving directory '/build/xa-2.3.14/tests/chppch' =================================== PASSED! =================================== -ppstrings ........................................ > PASSED -linkr ............................................ > PASSED -alxl ............................................. > running Makefile +binclude ......................................... > running Makefile =============================================================================== -make[3]: Entering directory '/build/xa-2.3.14/tests/alxl' +make[3]: Entering directory '/build/xa-2.3.14/tests/binclude' rm -f *.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/alxl' +make[3]: Leaving directory '/build/xa-2.3.14/tests/binclude' ------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/alxl' -# xa should not allow this to happen. if it does, this test is no good. -../../xa alxl.s || exit 0 && exit 1 - rep #%00010000 -alxl.s:line 6: f002:65816 mode used/required error - .xl -alxl.s:line 8: f002:65816 mode used/required error - ldx #$1234 -alxl.s:line 9: f004:Overflow error - ldy #$1234 -alxl.s:line 10: f006:Overflow error - .al -alxl.s:line 12: f006:65816 mode used/required error - lda #$1234 -alxl.s:line 13: f008:Overflow error -Break after 6 errors -../../xa alxlo1.s || exit 0 && exit 1 - rep #%00010000 -alxlo1.s:line 6: f002:65816 mode used/required error - .al -alxlo1.s:line 9: f002:65816 mode used/required error - lda #$1234 -alxlo1.s:line 10: f004:Overflow error -Break after 3 errors -../../xa alxlo2.s || exit 0 && exit 1 - rep #%00010000 -alxlo2.s:line 6: f002:65816 mode used/required error - .xl -alxlo2.s:line 8: f002:65816 mode used/required error - ldx #$1234 -alxlo2.s:line 9: f004:Overflow error - ldy #$1234 -alxlo2.s:line 10: f006:Overflow error -Break after 4 errors -../../xa alxlx1.s || exit 0 && exit 1 - rep #%00010000 -alxlx1.s:line 6: f002:65816 mode used/required error - .al -alxlx1.s:line 9: f002:65816 mode used/required error - ldx #$1234 -alxlx1.s:line 10: f004:Overflow error - ldy #$1234 -alxlx1.s:line 11: f006:Overflow error - lda #$1234 -alxlx1.s:line 12: f008:Overflow error -Break after 5 errors -../../xa alxlx2.s || exit 0 && exit 1 - rep #%00010000 -alxlx2.s:line 6: f002:65816 mode used/required error - .xl -alxlx2.s:line 8: f002:65816 mode used/required error - ldx #$1234 -alxlx2.s:line 9: f004:Overflow error - ldy #$1234 -alxlx2.s:line 10: f006:Overflow error - lda #$1234 -alxlx2.s:line 11: f008:Overflow error -Break after 5 errors -../../xa alxlx3.s || exit 0 && exit 1 - rep #%00010000 -alxlx3.s:line 6: f002:65816 mode used/required error - ldx #$1234 -alxlx3.s:line 8: f004:Overflow error - ldy #$1234 -alxlx3.s:line 9: f006:Overflow error - lda #$1234 -alxlx3.s:line 10: f008:Overflow error -Break after 4 errors -../../xa sizes.s || exit 0 && exit 1 - .al -sizes.s:line 4: 1000:65816 mode used/required error - .xl -sizes.s:line 5: 1000:65816 mode used/required error - jmp SYM -sizes.s:line 9: 112237:Overflow error - jmp $112233 -sizes.s:line 10: 11223a:Overflow error - lda $112233 -sizes.s:line 11: 11223d:Overflow error - lda @$2233 -sizes.s:line 12: 112241:65816 mode used/required error -HI(SYM)=(((SYM) >> 16) & $FFFF)=17 -LO(SYM)=((SYM) & $FFFF)=8755 - lda #LO(SYM) -sizes.s:line 20: 11224b:Overflow error -Break after 7 errors -../../xa -w alxlx1.s || exit 0 && exit 1 - ldx #$1234 -alxlx1.s:line 10: f004:Overflow error - ldy #$1234 -alxlx1.s:line 11: f006:Overflow error -Break after 2 errors -../../xa -w alxlx2.s || exit 0 && exit 1 - lda #$1234 -alxlx2.s:line 11: f00a:Overflow error -Break after 1 errors -../../xa -w alxlx3.s || exit 0 && exit 1 - ldx #$1234 -alxlx3.s:line 8: f004:Overflow error - ldy #$1234 -alxlx3.s:line 9: f006:Overflow error - lda #$1234 -alxlx3.s:line 10: f008:Overflow error -Break after 3 errors -# expected-to-fail tests did fail. should be no more errors now. -../../xa -w alxl.s -o alxl.o -../hextool -cmp=alxl.ok < alxl.o -../../xa -w alxlo1.s -o alxlo1.o -../hextool -cmp=alxlo1.ok < alxlo1.o -../../xa -w alxlo2.s -o alxlo2.o -../hextool -cmp=alxlo2.ok < alxlo2.o -../../xa -w sizes.s -o sizes.o -HI(SYM)=(((SYM) >> 16) & $FFFF)=17 -LO(SYM)=((SYM) & $FFFF)=8755 -../hextool -cmp=sizes.ok < sizes.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/alxl' +make[3]: Entering directory '/build/xa-2.3.14/tests/binclude' +../../xa test.asm -o test.o +../hextool -cmp=test.ok < test.o +../../xa -w test.asm -o test816.o +../hextool -cmp=test.ok < test816.o +../../xa test2.asm -o test2.o +../hextool -cmp=test2.ok < test2.o +../../xa test3.asm -o test3.o +../hextool -cmp=test.ok < test3.o +make[3]: Leaving directory '/build/xa-2.3.14/tests/binclude' ------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/alxl' +make[3]: Entering directory '/build/xa-2.3.14/tests/binclude' rm -f *.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/alxl' +make[3]: Leaving directory '/build/xa-2.3.14/tests/binclude' =================================== PASSED! =================================== -math ............................................. > running Makefile +comcom ........................................... > running Makefile =============================================================================== -make[3]: Entering directory '/build/xa-2.3.14/tests/math' -rm -f *.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/math' +make[3]: Entering directory '/build/xa-2.3.14/tests/comcom' +rm -f a.o65 +make[3]: Leaving directory '/build/xa-2.3.14/tests/comcom' ------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/math' -# xa should not allow this to happen. if it does, this test is no good. -../../xa -o divzero.o divzero.s || exit 0 && exit 1 -* = $0/00 -divzero.s:line 2: 1002:Division by zero error -Break after 1 errors -../../xa -o divzero2.o divzero2.s || exit 0 && exit 1 -* = $0/zyx -divzero2.s:line 5: 1002:Division by zero error +make[3]: Entering directory '/build/xa-2.3.14/tests/comcom' +# this should fail. +../../xa scomcom.asm || exit 0 && exit 1 +; some comment: *2 = 1 +scomcom.asm:line 1: 1000:Syntax error Break after 1 errors -make[3]: Leaving directory '/build/xa-2.3.14/tests/math' +# it did fail. these should now all succeed. +../../xa -M scomcom.asm +../hextool -cmp=scomcomm.ok < a.o65 +../../xa comcom.asm +../hextool -cmp=comcom.ok < a.o65 +../../xa -M comcom.asm +../hextool -cmp=comcomm.ok < a.o65 +make[3]: Leaving directory '/build/xa-2.3.14/tests/comcom' ------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/math' -rm -f *.o -make[3]: Leaving directory '/build/xa-2.3.14/tests/math' +make[3]: Entering directory '/build/xa-2.3.14/tests/comcom' +rm -f a.o65 +make[3]: Leaving directory '/build/xa-2.3.14/tests/comcom' =================================== PASSED! =================================== -relocundef ....................................... > running Makefile +pparity .......................................... > running Makefile =============================================================================== -make[3]: Entering directory '/build/xa-2.3.14/tests/relocundef' -rm -f test1.o65 a.o65 test1.o65.hex a.o65.hex -rm -f test2.o65 b.o65 test2.o65.hex b.o65.hex -make[3]: Leaving directory '/build/xa-2.3.14/tests/relocundef' +make[3]: Entering directory '/build/xa-2.3.14/tests/pparity' +rm -f *.o +make[3]: Leaving directory '/build/xa-2.3.14/tests/pparity' ------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/relocundef' -../../xa -R -Lundefl -Ll2 -o test1.o65 test1.a65 -test1.a65:line 4: 1002: Warning - Can't optimize forward-defined label; using absolute addressing -../hextool test1.o65 > test1.o65.hex -********* This should give a warning about an undefined relocation table entry -../../reloc65 -X test1.o65 -reloc65: test1.o65: Warning: undefined relocation table entry not handled! -reloc65: read file test1.o65 -> a.o65 -../hextool a.o65 > a.o65.hex -../../xa -R -o test2.o65 test2.a65 -test2.a65:line 4: 1002: Warning - Can't optimize forward-defined label; using absolute addressing -../hextool test2.o65 > test2.o65.hex -********* This should NOT give a warning -../../reloc65 -X -o b.o65 test2.o65 -reloc65: read file test2.o65 -> b.o65 -../hextool b.o65 > b.o65.hex -../hextool -cmp=a.ok < a.o65 -../hextool -cmp=b.ok < b.o65 -make[3]: Leaving directory '/build/xa-2.3.14/tests/relocundef' +make[3]: Entering directory '/build/xa-2.3.14/tests/pparity' +# xa should not allow this to happen. if it does, this test is no good. +../../xa bad.s || exit 0 && exit 1 +../../xa bad2.s || exit 0 && exit 1 +../../xa bad3.s || exit 0 && exit 1 +bad3.s:line 10: 1000:pp:Wrong parameter count error +Break after 1 errors +../../xa bad4.s || exit 0 && exit 1 +bad4.s:line 4: 1000:pp:Wrong parameter count error +Break after 1 errors +# expected-to-fail tests did fail. should be no more errors now. +../../xa good.s -o good.o +../hextool -cmp=good.ok < good.o +make[3]: Leaving directory '/build/xa-2.3.14/tests/pparity' ------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/relocundef' -rm -f test1.o65 a.o65 test1.o65.hex a.o65.hex -rm -f test2.o65 b.o65 test2.o65.hex b.o65.hex -make[3]: Leaving directory '/build/xa-2.3.14/tests/relocundef' +make[3]: Entering directory '/build/xa-2.3.14/tests/pparity' +rm -f *.o +make[3]: Leaving directory '/build/xa-2.3.14/tests/pparity' =================================== PASSED! =================================== cpp .............................................. > running Makefile =============================================================================== @@ -1243,40 +1318,6 @@ rm -f over.asm a.o65 make[3]: Leaving directory '/build/xa-2.3.14/tests/cpp' =================================== PASSED! =================================== -nonl ............................................. > PASSED -fordef ........................................... > running Makefile -=============================================================================== -make[3]: Entering directory '/build/xa-2.3.14/tests/fordef' -rm -f a.o65 test.out -make[3]: Leaving directory '/build/xa-2.3.14/tests/fordef' -------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/fordef' -# this must not pass. -../../xa -DFAIL test3.asm || exit 0 && exit 1 -test3.asm:line 7: 0400:Wrong addressing mode error -test3.asm:line 8: 0402:Wrong addressing mode error -test3.asm:line 9: 0401:Wrong addressing mode error -test3.asm:line 10: 0400:Wrong addressing mode error -congrats, you have FAILED! -test3.asm:line 10: 0409:Overflow error -Break after 5 errors -# these must pass. -../../xa test3.asm -../hextool -cmp=test3.ok < a.o65 -# testing warnings. -../../xa -e test.out test.asm -test.asm:line 6: 0400: Warning - Can't optimize forward-defined label; using absolute addressing -test.asm:line 7: 0403: Warning - Can't optimize forward-defined label; using absolute addressing -../hextool -cmp=ok.out < test.out -../hextool -cmp=test1.ok < a.o65 -make[3]: Leaving directory '/build/xa-2.3.14/tests/fordef' -------------------------------------------------------------------------------- -make[3]: Entering directory '/build/xa-2.3.14/tests/fordef' -rm -f a.o65 test.out -make[3]: Leaving directory '/build/xa-2.3.14/tests/fordef' -=================================== PASSED! =================================== -chardelimiter .................................... > PASSED -recucom .......................................... > PASSED =============================================================================== ## ALL SELECTED TESTS PASS (ALL, n=32) ## @@ -1323,12 +1364,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/19201/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/19201/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/28419 and its subdirectories -I: Current time: Mon May 8 07:11:14 -12 2023 -I: pbuilder-time-stamp: 1683573074 +I: removing directory /srv/workspace/pbuilder/19201 and its subdirectories +I: Current time: Tue May 9 09:14:49 +14 2023 +I: pbuilder-time-stamp: 1683573289