I: pbuilder: network access will be disabled during build
I: Current time: Mon Apr  6 19:29:18 -12 2026
I: pbuilder-time-stamp: 1775546958
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz]
I: copying local configuration
W: --override-config is not set; not updating apt.conf Read the manpage for details.
I: mounting /proc filesystem
I: mounting /sys filesystem
I: creating /{dev,run}/shm
I: mounting /dev/pts filesystem
I: redirecting /dev/ptmx to /dev/pts/ptmx
I: policy-rc.d already exists
I: Copying source file
I: copying [xa_2.4.1-0.1.dsc]
I: copying [./xa_2.4.1.orig.tar.gz]
I: copying [./xa_2.4.1-0.1.debian.tar.xz]
I: Extracting source
dpkg-source: warning: cannot verify inline signature for ./xa_2.4.1-0.1.dsc: unsupported subcommand
dpkg-source: info: extracting xa in xa-2.4.1
dpkg-source: info: unpacking xa_2.4.1.orig.tar.gz
dpkg-source: info: unpacking xa_2.4.1-0.1.debian.tar.xz
I: Not using root during the build.
I: Installing the build-deps
I: user script /srv/workspace/pbuilder/3439195/tmp/hooks/D02_print_environment starting
I: set
  BUILDDIR='/build/reproducible-path'
  BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other'
  BUILDUSERNAME='pbuilder1'
  BUILD_ARCH='amd64'
  DEBIAN_FRONTEND='noninteractive'
  DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 '
  DISTRIBUTION='unstable'
  HOME='/root'
  HOST_ARCH='amd64'
  IFS=' 	
  '
  INVOCATION_ID='fe3a1c7162ea4885b605435e42a8e40f'
  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='3439195'
  PS1='# '
  PS2='> '
  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.g498UACi/pbuilderrc_TM3t --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.g498UACi/b1 --logfile b1/build.log xa_2.4.1-0.1.dsc'
  SUDO_GID='110'
  SUDO_UID='105'
  SUDO_USER='jenkins'
  TERM='unknown'
  TZ='/usr/share/zoneinfo/Etc/GMT+12'
  USER='root'
  _='/usr/bin/systemd-run'
  http_proxy='http://213.165.73.152:3128'
I: uname -a
  Linux ionos5-amd64 6.12.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.12-1~bpo12+1 (2025-02-23) x86_64 GNU/Linux
I: ls -l /bin
  lrwxrwxrwx 1 root root 7 Nov 22  2024 /bin -> usr/bin
I: user script /srv/workspace/pbuilder/3439195/tmp/hooks/D02_print_environment finished
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <pbuilder-maint@lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: debhelper-compat (= 13)
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 19783 files and directories currently installed.)
Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested:
 pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however:
  Package debhelper-compat is not installed.

Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
Building tag database...
pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0)
pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0)
The following NEW packages will be installed:
  autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libtool{a} libuchardet0{a} libunistring5{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} 
The following packages are RECOMMENDED but will NOT be installed:
  curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 
0 packages upgraded, 30 newly installed, 0 to remove and 0 not upgraded.
Need to get 20.6 MB of archives. After unpacking 77.9 MB will be used.
Writing extended state information...
Get: 1 http://deb.debian.org/debian unstable/main amd64 sensible-utils all 0.0.24 [24.8 kB]
Get: 2 http://deb.debian.org/debian unstable/main amd64 libmagic-mgc amd64 1:5.45-3+b1 [314 kB]
Get: 3 http://deb.debian.org/debian unstable/main amd64 libmagic1t64 amd64 1:5.45-3+b1 [108 kB]
Get: 4 http://deb.debian.org/debian unstable/main amd64 file amd64 1:5.45-3+b1 [43.3 kB]
Get: 5 http://deb.debian.org/debian unstable/main amd64 gettext-base amd64 0.23.1-1 [243 kB]
Get: 6 http://deb.debian.org/debian unstable/main amd64 libuchardet0 amd64 0.0.8-1+b2 [68.9 kB]
Get: 7 http://deb.debian.org/debian unstable/main amd64 groff-base amd64 1.23.0-7 [1185 kB]
Get: 8 http://deb.debian.org/debian unstable/main amd64 bsdextrautils amd64 2.40.4-5 [92.4 kB]
Get: 9 http://deb.debian.org/debian unstable/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB]
Get: 10 http://deb.debian.org/debian unstable/main amd64 man-db amd64 2.13.0-1 [1420 kB]
Get: 11 http://deb.debian.org/debian unstable/main amd64 m4 amd64 1.4.19-5 [294 kB]
Get: 12 http://deb.debian.org/debian unstable/main amd64 autoconf all 2.72-3 [493 kB]
Get: 13 http://deb.debian.org/debian unstable/main amd64 autotools-dev all 20220109.1 [51.6 kB]
Get: 14 http://deb.debian.org/debian unstable/main amd64 automake all 1:1.17-3 [862 kB]
Get: 15 http://deb.debian.org/debian unstable/main amd64 autopoint all 0.23.1-1 [770 kB]
Get: 16 http://deb.debian.org/debian unstable/main amd64 libdebhelper-perl all 13.24.1 [90.9 kB]
Get: 17 http://deb.debian.org/debian unstable/main amd64 libtool all 2.5.4-3 [539 kB]
Get: 18 http://deb.debian.org/debian unstable/main amd64 dh-autoreconf all 20 [17.1 kB]
Get: 19 http://deb.debian.org/debian unstable/main amd64 libarchive-zip-perl all 1.68-1 [104 kB]
Get: 20 http://deb.debian.org/debian unstable/main amd64 libfile-stripnondeterminism-perl all 1.14.1-2 [19.7 kB]
Get: 21 http://deb.debian.org/debian unstable/main amd64 dh-strip-nondeterminism all 1.14.1-2 [8620 B]
Get: 22 http://deb.debian.org/debian unstable/main amd64 libelf1t64 amd64 0.192-4 [189 kB]
Get: 23 http://deb.debian.org/debian unstable/main amd64 dwz amd64 0.15-1+b1 [110 kB]
Get: 24 http://deb.debian.org/debian unstable/main amd64 libunistring5 amd64 1.3-1 [476 kB]
Get: 25 http://deb.debian.org/debian unstable/main amd64 libicu72 amd64 72.1-6 [9421 kB]
Get: 26 http://deb.debian.org/debian unstable/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-0.2+b2 [699 kB]
Get: 27 http://deb.debian.org/debian unstable/main amd64 gettext amd64 0.23.1-1 [1680 kB]
Get: 28 http://deb.debian.org/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB]
Get: 29 http://deb.debian.org/debian unstable/main amd64 po-debconf all 1.0.21+nmu1 [248 kB]
Get: 30 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.24.1 [920 kB]
Fetched 20.6 MB in 2s (11.1 MB/s)
Preconfiguring packages ...
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 ... 19783 files and directories currently installed.)
Preparing to unpack .../00-sensible-utils_0.0.24_all.deb ...
Unpacking sensible-utils (0.0.24) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../01-libmagic-mgc_1%3a5.45-3+b1_amd64.deb ...
Unpacking libmagic-mgc (1:5.45-3+b1) ...
Selecting previously unselected package libmagic1t64:amd64.
Preparing to unpack .../02-libmagic1t64_1%3a5.45-3+b1_amd64.deb ...
Unpacking libmagic1t64:amd64 (1:5.45-3+b1) ...
Selecting previously unselected package file.
Preparing to unpack .../03-file_1%3a5.45-3+b1_amd64.deb ...
Unpacking file (1:5.45-3+b1) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../04-gettext-base_0.23.1-1_amd64.deb ...
Unpacking gettext-base (0.23.1-1) ...
Selecting previously unselected package libuchardet0:amd64.
Preparing to unpack .../05-libuchardet0_0.0.8-1+b2_amd64.deb ...
Unpacking libuchardet0:amd64 (0.0.8-1+b2) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../06-groff-base_1.23.0-7_amd64.deb ...
Unpacking groff-base (1.23.0-7) ...
Selecting previously unselected package bsdextrautils.
Preparing to unpack .../07-bsdextrautils_2.40.4-5_amd64.deb ...
Unpacking bsdextrautils (2.40.4-5) ...
Selecting previously unselected package libpipeline1:amd64.
Preparing to unpack .../08-libpipeline1_1.5.8-1_amd64.deb ...
Unpacking libpipeline1:amd64 (1.5.8-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../09-man-db_2.13.0-1_amd64.deb ...
Unpacking man-db (2.13.0-1) ...
Selecting previously unselected package m4.
Preparing to unpack .../10-m4_1.4.19-5_amd64.deb ...
Unpacking m4 (1.4.19-5) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../11-autoconf_2.72-3_all.deb ...
Unpacking autoconf (2.72-3) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ...
Unpacking autotools-dev (20220109.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../13-automake_1%3a1.17-3_all.deb ...
Unpacking automake (1:1.17-3) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../14-autopoint_0.23.1-1_all.deb ...
Unpacking autopoint (0.23.1-1) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../15-libdebhelper-perl_13.24.1_all.deb ...
Unpacking libdebhelper-perl (13.24.1) ...
Selecting previously unselected package libtool.
Preparing to unpack .../16-libtool_2.5.4-3_all.deb ...
Unpacking libtool (2.5.4-3) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../17-dh-autoreconf_20_all.deb ...
Unpacking dh-autoreconf (20) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ...
Unpacking libarchive-zip-perl (1.68-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.1-2_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.14.1-2) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../20-dh-strip-nondeterminism_1.14.1-2_all.deb ...
Unpacking dh-strip-nondeterminism (1.14.1-2) ...
Selecting previously unselected package libelf1t64:amd64.
Preparing to unpack .../21-libelf1t64_0.192-4_amd64.deb ...
Unpacking libelf1t64:amd64 (0.192-4) ...
Selecting previously unselected package dwz.
Preparing to unpack .../22-dwz_0.15-1+b1_amd64.deb ...
Unpacking dwz (0.15-1+b1) ...
Selecting previously unselected package libunistring5:amd64.
Preparing to unpack .../23-libunistring5_1.3-1_amd64.deb ...
Unpacking libunistring5:amd64 (1.3-1) ...
Selecting previously unselected package libicu72:amd64.
Preparing to unpack .../24-libicu72_72.1-6_amd64.deb ...
Unpacking libicu72:amd64 (72.1-6) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../25-libxml2_2.12.7+dfsg+really2.9.14-0.2+b2_amd64.deb ...
Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2+b2) ...
Selecting previously unselected package gettext.
Preparing to unpack .../26-gettext_0.23.1-1_amd64.deb ...
Unpacking gettext (0.23.1-1) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../27-intltool-debian_0.35.0+20060710.6_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.6) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../28-po-debconf_1.0.21+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../29-debhelper_13.24.1_all.deb ...
Unpacking debhelper (13.24.1) ...
Setting up libpipeline1:amd64 (1.5.8-1) ...
Setting up libicu72:amd64 (72.1-6) ...
Setting up bsdextrautils (2.40.4-5) ...
Setting up libmagic-mgc (1:5.45-3+b1) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libdebhelper-perl (13.24.1) ...
Setting up libmagic1t64:amd64 (1:5.45-3+b1) ...
Setting up gettext-base (0.23.1-1) ...
Setting up m4 (1.4.19-5) ...
Setting up file (1:5.45-3+b1) ...
Setting up libelf1t64:amd64 (0.192-4) ...
Setting up autotools-dev (20220109.1) ...
Setting up libunistring5:amd64 (1.3-1) ...
Setting up autopoint (0.23.1-1) ...
Setting up autoconf (2.72-3) ...
Setting up dwz (0.15-1+b1) ...
Setting up sensible-utils (0.0.24) ...
Setting up libuchardet0:amd64 (0.0.8-1+b2) ...
Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2+b2) ...
Setting up automake (1:1.17-3) ...
update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode
Setting up libfile-stripnondeterminism-perl (1.14.1-2) ...
Setting up gettext (0.23.1-1) ...
Setting up libtool (2.5.4-3) ...
Setting up intltool-debian (0.35.0+20060710.6) ...
Setting up dh-autoreconf (20) ...
Setting up dh-strip-nondeterminism (1.14.1-2) ...
Setting up groff-base (1.23.0-7) ...
Setting up po-debconf (1.0.21+nmu1) ...
Setting up man-db (2.13.0-1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up debhelper (13.24.1) ...
Processing triggers for libc-bin (2.41-3) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Building tag database...
 -> Finished parsing the build-deps
I: Building the package
I: Running cd /build/reproducible-path/xa-2.4.1/ && 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.4.1-0.1_source.changes
dpkg-buildpackage: info: source package xa
dpkg-buildpackage: info: source version 2.4.1-0.1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Stephen Kitt <skitt@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean
   dh_auto_clean
	make -j42 clean
make[1]: Entering directory '/build/reproducible-path/xa-2.4.1'
(cd src && make clean)
make[2]: Entering directory '/build/reproducible-path/xa-2.4.1/src'
rm -f *.o *.o65
make[2]: Leaving directory '/build/reproducible-path/xa-2.4.1/src'
#(cd loader && make clean)
(cd misc && make mrproper)
make[2]: Entering directory '/build/reproducible-path/xa-2.4.1/misc'
rm -f *.o 
rm -f ../uncpk ../printcbm ../file65 ../mkrom.sh ../reloc65 ../ldo65
rm -f lt1 lt2 lt
make[2]: Leaving directory '/build/reproducible-path/xa-2.4.1/misc'
rm -f xa *.exe *.o65 *.s core
make[1]: Leaving directory '/build/reproducible-path/xa-2.4.1'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/xa-2.4.1'
dh_auto_build -- CC='x86_64-linux-gnu-gcc' LD='$(CC)' CFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection' LDFLAGS='-Wl,-z,relro'
	make -j42 "INSTALL=install --strip-program=true" CC=x86_64-linux-gnu-gcc LD=\$\(CC\) "CFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" LDFLAGS=-Wl,-z,relro
make[2]: Entering directory '/build/reproducible-path/xa-2.4.1'
rm -f xa
(cd src && LD=x86_64-linux-gnu-gcc CC="x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" make)
(cd misc && CC="x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" make)
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/src'
x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c -o xa.o xa.c
x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c -o xaa.o xaa.c
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/misc'
cp mkrom.sh ../mkrom.sh
x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection uncpk.c -o ../uncpk
x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c -o xal.o xal.c
x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c -o xap.o xap.c
x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection printcbm.c -o ../printcbm
x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection file65.c -o ../file65
x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c -o xat.o xat.c
x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c -o xar.o xar.c
x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection reloc65.c -o ../reloc65
x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c -o xar2.o xar2.c
x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection ldo65.c -o ../ldo65
x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c -o xao.o xao.c
x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c -o xau.o xau.c
x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c -o xam.o xam.c
x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c -o xacharset.o xacharset.c
x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c -o xalisting.o xalisting.c
reloc65.c: In function 'main':
reloc65.c:236:55: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
  236 |               fprintf(stderr,"Oops, no more memory! (%d)\n", file.fsize);
      |                                                      ~^      ~~~~~~~~~~
      |                                                       |          |
      |                                                       int        size_t {aka long unsigned int}
      |                                                      %ld
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/misc'
x86_64-linux-gnu-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 xalisting.o -Wl,-z,relro
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/src'
make[2]: Leaving directory '/build/reproducible-path/xa-2.4.1'
make[1]: Leaving directory '/build/reproducible-path/xa-2.4.1'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/reproducible-path/xa-2.4.1'
dh_auto_test --no-parallel
	make -j1 test
make[2]: Entering directory '/build/reproducible-path/xa-2.4.1'
rm -rf xa
make xa
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1'
(cd src && LD=gcc CC="gcc -O2 -g" make)
make[4]: Entering directory '/build/reproducible-path/xa-2.4.1/src'
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 xalisting.o -lc
make[4]: Leaving directory '/build/reproducible-path/xa-2.4.1/src'
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1'
make uncpk
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1'
make[3]: 'uncpk' is up to date.
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1'
cd tests && ./harness \
	-tests="ALL" \
	-cc="gcc" -cflags="-O2 -g"  \
	-make="make" -makeflags=" -j1"
CC = gcc
CFLAGS = -O2 -g
MAKE = make
MAKEFLAGS =  -j1
matching tests: adrm,align,alxl,aserr,binclude,branch,ca65,charset,chppch,cll,comcom,cpktest,cpp,csapiec,dos51,fordef,incerr,ldoreloc,listing,masmcom,math,mode,mvnmvp,neg_offset,op816,openpp,pparity,ppdefines,recmac,relmode,relocmode,relocundef,reset_segment,undef,usb65,chardelimiter,expando,line,linkr,nonl,ppstrings,quotch,recucom,stringcom

adrm ............................................. > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/adrm'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/adrm'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/adrm'
# xa should not allow this to happen. if it does, this test is no good.
../../xa 816.asm || exit 0 && exit 1
 sta @q
816.asm:line 17: 0415:65816 mode used/required error
 sta @$000005
816.asm:line 18: 0419:65816 mode used/required error
 sta $876543
816.asm:line 19: 041c:Overflow error
 jmp $99fce2
816.asm:line 23: 0423:Overflow error
816.asm:line 25: 041c:65816 mode used/required error
Break after 5 errors
../../xa zab.asm || exit 0 && exit 1
bip.inc:line 13: 400b:65816 mode used/required error
Break after 1 errors
../../xa zpa.asm || exit 0 && exit 1
bip.inc:line 13: 000b:65816 mode used/required error
Break after 1 errors
../../xa -C c02.asm || exit 0 && exit 1
 inc; a
c02.asm:line 18: 041a:CMOS instruction used with -C error
 dec; a
c02.asm:line 20: 041e:CMOS instruction used with -C error
Break after 2 errors
# expected-to-fail tests did fail. should be no more errors now.
../../xa -C 02.asm -o 02.o
../hextool -cmp=02.ok < 02.o
../../xa c02.asm -o c02.o
../hextool -cmp=c02.ok < c02.o
../../xa -w 816.asm -o 816.o
../hextool -cmp=816.ok < 816.o
../../xa -w zab.asm -o zab.o
../hextool -cmp=zab.ok < zab.o
../../xa -w zpa.asm -o zpa.o
../hextool -cmp=zpa.ok < zpa.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/adrm'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/adrm'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/adrm'
=================================== PASSED! ===================================
align ............................................ > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/align'
rm -f *.o65 *.hex
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/align'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/align'
../../xa -R -c -o t01.o65 t01.a65
../hextool -cmp=t01.ok t01.o65
../../xa -R -c -o t02.o65 t02.a65
../hextool -cmp=t02.ok t02.o65
../../xa -R -c -o t03.o65 t03.a65
../hextool -cmp=t03.ok t03.o65
../../xa -R -c -o t11.o65 t11.a65
../hextool -cmp=t11.ok t11.o65
../../xa -R -c -o t12.o65 t12.a65
../hextool -cmp=t12.ok t12.o65
../../xa -R -c -o t13.o65 t13.a65
../hextool -cmp=t13.ok t13.o65
../../xa -R -c -bt 1025 -o t21.o65 t01.a65 2> t21.msg
../hextool -cmp=t21.mok t21.msg
../hextool -cmp=t21.ok t21.o65
../../xa -R -c -bt 1025 -o t22.o65 t02.a65 2> t22.msg
../hextool -cmp=t22.mok t22.msg
../hextool -cmp=t22.ok t22.o65
../../xa -R -c -bt 1025 -o t23.o65 t03.a65 2> t23.msg
../hextool -cmp=t23.mok t23.msg
../hextool -cmp=t23.ok t23.o65
../../xa -R -c -bd 1025 -o t31.o65 t01.a65 2> t31.msg
../hextool -cmp=t31.mok t31.msg
../hextool -cmp=t31.ok t31.o65
../../xa -R -c -bd 1025 -o t32.o65 t02.a65 2> t32.msg
../hextool -cmp=t32.mok t32.msg
../hextool -cmp=t32.ok t32.o65
../../xa -R -c -bd 1025 -o t33.o65 t03.a65 2> t33.msg
../hextool -cmp=t33.mok t33.msg
../hextool -cmp=t33.ok t33.o65
../../xa -R -c -bd 1025 -o t41.o65 t11.a65 2> t41.msg
../hextool -cmp=t41.mok t41.msg
../hextool -cmp=t41.ok t41.o65
../../xa -R -c -bd 1025 -o t42.o65 t12.a65 2> t42.msg
../hextool -cmp=t42.mok t42.msg
../hextool -cmp=t42.ok t42.o65
../../xa -R -c -bd 1025 -o t43.o65 t13.a65 2> t43.msg
../hextool -cmp=t43.mok t43.msg
../hextool -cmp=t43.ok t43.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/align'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/align'
rm -f *.o65 *.hex
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/align'
=================================== PASSED! ===================================
alxl ............................................. > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/alxl'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/alxl'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/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/reproducible-path/xa-2.4.1/tests/alxl'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/alxl'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/alxl'
=================================== PASSED! ===================================
aserr ............................................ > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/aserr'
rm -f a.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/aserr'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/aserr'
expected to fail....
../../xa -DBAD0 test.s || exit 0 && exit 1
.assert w=w, "what the"
test.s:line 11: 1000:Label 'w' not defined
Break after 1 errors
../../xa -DBAD1 test.s || exit 0 && exit 1
#error bad1
test.s:line 17: 1000:#error directive error
Break after 1 errors
../../xa -DBAD2 test.s || exit 0 && exit 1
Assertion failed: everything is bad
test.s:line 21: 1000:Assertion error
Break after 1 errors
../../xa -DBAD3 test.s || exit 0 && exit 1
Assertion failed: everything is terrible
test.s:line 30: 1002:Assertion error
Break after 1 errors
../../xa -DBAD4 test.s || exit 0 && exit 1
Assertion failed: everything sucks and is terrible and hideous and bad
test.s:line 33: 1002:Assertion error
Break after 1 errors
../../xa -DBAD5 test.s || exit 0 && exit 1
#error I want a really old version
test.s:line 38: 1002:#error directive error
Break after 1 errors
no more failures!
../../xa test.s
../hextool -cmp=ok < a.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/aserr'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/aserr'
rm -f a.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/aserr'
=================================== PASSED! ===================================
binclude ......................................... > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/binclude'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/binclude'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/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/reproducible-path/xa-2.4.1/tests/binclude'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/binclude'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/binclude'
=================================== PASSED! ===================================
branch ........................................... > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/branch'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/branch'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/branch'
# xa should not allow this to happen. if it does, this test is no good.
../../xa bor.s || exit 0 && exit 1
beq pdq
bor.s:line 9: 1083:Branch out of range error
Break after 1 errors
# expected-to-fail tests did fail. should be no more errors now.
../../xa -w bir.s -o test.o
../hextool -cmp=bir.ok < test.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/branch'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/branch'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/branch'
=================================== PASSED! ===================================
ca65 ............................................. > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/ca65'
rm -f *.err a.o65 unnamed1 unnamed2 escape1 escape2 lll
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/ca65'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/ca65'
#ca65 unnamed1.a65; ld65 -t none -o unnamed1.ca65 unnamed1.o; rm unnamed1.o
../../xa -XCA65 unnamed1.a65 -o unnamed1
../hextool -cmp=unnamed1.ca65 < unnamed1
../../xa -a unnamed1.a65 -o unnamed1
../hextool -cmp=unnamed1.ca65 < unnamed1
#ca65 unnamed2.a65; ld65 -t none -o unnamed2.ca65 unnamed2.o; rm unnamed2.o
../../xa -XCA65 unnamed2.a65 -o unnamed2 2>a.err || true
../hextool -cmp=unnamed2.ca65 < unnamed2
../../xa -a unnamed2.a65 -o unnamed2 2>a.err || true
../hextool -cmp=unnamed2.ca65 < unnamed2
# shouldn't work by default
../../xa escape1.a65 -o escape1 || exit 0 && exit 1
 lda #"^^"
escape1.a65:line 4: 1002:Syntax error
Break after 1 errors
../../xa -XXA23 escape1.a65 -o escape1
Warning: -XXA23 is explicitly deprecated
../hextool -cmp=escape1.out < escape1
../../xa -k escape1.a65 -o escape1
../hextool -cmp=escape1.out < escape1
#ca65 escape2.a65; ld65 -t none -o escape2.ca65 escape2.o; rm escape2.o
../../xa -XCA65 escape2.a65 -o escape2 2>a.err || true
../hextool -cmp=escape2.ca65 < escape2
# shouldn't work
../../xa lll.a65 -o lll || exit 0 && exit 1
lll.a65:line 8: 0327:Syntax error
lll.a65:line 12: 0328:Syntax error
lll.a65:line 20: 032a:Syntax error
lll.a65:line 24: 032b:Syntax error
lll.a65:line 27: 032c:Syntax error
Break after 5 errors
../../xa -a lll.a65 -o lll || exit 0 && exit 1
lll.a65:line 8: 0327:Syntax error
lll.a65:line 12: 0328:Syntax error
lll.a65:line 20: 032a:Syntax error
lll.a65:line 24: 032b:Syntax error
lll.a65:line 27: 032c:Syntax error
Break after 5 errors
../../xa -w lll.a65 -o lll || exit 0 && exit 1
lll.a65:line 8: 0327:Syntax error
lll.a65:line 12: 0328:Syntax error
lll.a65:line 20: 032a:Syntax error
lll.a65:line 24: 032b:Syntax error
lll.a65:line 27: 032c:Syntax error
Break after 5 errors
# should work
../../xa -XCA65 lll.a65 -o lll
../hextool -cmp=lll.out < lll
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/ca65'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/ca65'
rm -f *.err a.o65 unnamed1 unnamed2 escape1 escape2 lll
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/ca65'
=================================== PASSED! ===================================
charset .......................................... > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/charset'
rm -rf a.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/charset'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/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/reproducible-path/xa-2.4.1/tests/charset'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/charset'
rm -rf a.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/charset'
=================================== PASSED! ===================================
chppch ........................................... > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/chppch'
rm -f a.o65 test.out
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/chppch'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/chppch'
../../xa -p'~' -e test.out test.c
12+12=12+12=24
10+10=10+10=20
5+5=5+5=10
../hextool -cmp=ok.out < test.out
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/chppch'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/chppch'
rm -f a.o65 test.out
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/chppch'
=================================== PASSED! ===================================
cll .............................................. > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/cll'
rm -f *.o65
rm -f test1
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/cll'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/cll'
../../xa -XCA65 -o test1.o65 
No input files given!
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/cll'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/cll'
rm -f *.o65
rm -f test1
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/cll'
=================================== PASSED! ===================================
comcom ........................................... > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/comcom'
rm -f a.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/comcom'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/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
../../xa -a 816com.asm || exit 0 && exit 1
 lda @$123456
816com.asm:line 2: 1004:65816 mode used/required error
 sta @$654321
816com.asm:line 6: 100c:65816 mode used/required error
Break after 2 errors
../../xa -w 816com.asm || exit 0 && exit 1
 beq :+
816com.asm:line 3: 1004:Syntax error
816com.asm:line 3: 1004:Syntax error
 bne :-
816com.asm:line 4: 1004:Syntax error
816com.asm:line 4: 1004:Syntax error
Break after 4 errors
# it did fail. these should now all succeed.
../../xa -XMASM scomcom.asm
../hextool -cmp=scomcomm.ok < a.o65
../../xa -a scomcom.asm
../hextool -cmp=scomcomm.ok < a.o65
../../xa comcom.asm
../hextool -cmp=comcom.ok < a.o65
../../xa -XMASM comcom.asm
../hextool -cmp=comcomm.ok < a.o65
../../xa -a comcom.asm
../hextool -cmp=comcomm.ok < a.o65
../../xa -a -w 816com.asm
../hextool -cmp=816com.ok < a.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/comcom'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/comcom'
rm -f a.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/comcom'
=================================== PASSED! ===================================
cpktest .......................................... > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/cpktest'
rm -f *.o test.l
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/cpktest'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/cpktest'
../../xa -l test.l -o test.o pack_eng.a65
../hextool -cmp=test.l < english.l || exit 1
../hextool -cmp=eng.ok < test.o
../../xa -l test.l -o test.o pack_ger.a65
../hextool -cmp=test.l < deutsch.l || exit 1
../hextool -cmp=de.ok < test.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/cpktest'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/cpktest'
rm -f *.o test.l
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/cpktest'
=================================== PASSED! ===================================
cpp .............................................. > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/cpp'
rm -f over.asm a.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/cpp'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/cpp'
gcc -E over.c > over.asm
../../xa -w over.asm
../hextool -cmp=expected.o < a.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/cpp'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/cpp'
rm -f over.asm a.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/cpp'
=================================== PASSED! ===================================
csapiec .......................................... > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/csapiec'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/csapiec'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/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/reproducible-path/xa-2.4.1/tests/csapiec'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/csapiec'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/csapiec'
=================================== PASSED! ===================================
dos51 ............................................ > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/dos51'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/dos51'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/dos51'
# 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
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/reproducible-path/xa-2.4.1/tests/dos51'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/dos51'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/dos51'
=================================== PASSED! ===================================
fordef ........................................... > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/fordef'
rm -f a.o65 test.out
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/fordef'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/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/reproducible-path/xa-2.4.1/tests/fordef'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/fordef'
rm -f a.o65 test.out
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/fordef'
=================================== PASSED! ===================================
incerr ........................................... > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/incerr'
rm -f a.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/incerr'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/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/reproducible-path/xa-2.4.1/tests/incerr'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/incerr'
rm -f a.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/incerr'
=================================== PASSED! ===================================
ldoreloc ......................................... > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/ldoreloc'
rm -f *.o65 *.hex t1 t2 t10 t11 t20 t21 t30 t31 t40 t41 t50 t51 t60 t61
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/ldoreloc'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/ldoreloc'
../../xa -R -c -o 1.o65 1.s
../../xa -R -c -o 2.o65 2.s
../../ldo65 -o linked.o65 1.o65 2.o65
../../reloc65 -bt 32768 -xt -o t1 linked.o65
reloc65: read file linked.o65 -> t1
../hextool -cmp=t1 < t1.ok
../../ldo65 -o linked2.o65 2.o65 1.o65
../../reloc65 -bt 32768 -xt -o t2 linked2.o65
reloc65: read file linked2.o65 -> t2
../hextool -cmp=t2 < t2.ok
../../xa -R -c -o 10.o65 10.s
10.s:line 3: 1006: Warning - Can't optimize forward-defined label; using absolute addressing
../../ldo65 -U -o linked10.o65 10.o65 2.o65
../../reloc65 -bt 32768 -xt -o t10 linked10.o65
reloc65: linked10.o65: Warning: undefined relocation table entry not handled!
reloc65: read file linked10.o65 -> t10
../hextool -cmp=t10 < t10.ok
../../ldo65 -U -o linked11.o65 2.o65 10.o65
../../reloc65 -bt 32768 -xt -o t11 linked11.o65
reloc65: linked11.o65: Warning: undefined relocation table entry not handled!
reloc65: read file linked11.o65 -> t11
../hextool -cmp=t11 < t11.ok
../../xa -R -c -o 20.o65 20.s
../../ldo65 -Ll1 -o linked20.o65 2.o65 20.o65
../../reloc65 -bt 32768 -xt -o t20 linked20.o65
reloc65: linked20.o65: Warning: undefined relocation table entry not handled!
reloc65: linked20.o65: Warning: undefined relocation table entry not handled!
reloc65: read file linked20.o65 -> t20
../hextool -cmp=t20 < t20.ok
../../ldo65 -L l1 -o linked21.o65 20.o65 2.o65
../../reloc65 -bt 32768 -xt -o t21 linked21.o65
reloc65: linked21.o65: Warning: undefined relocation table entry not handled!
reloc65: linked21.o65: Warning: undefined relocation table entry not handled!
reloc65: read file linked21.o65 -> t21
../hextool -cmp=t21 < t21.ok
../../xa -R -c -o 30.o65 30.s
../../xa -R -c -o 31.o65 31.s
../../ldo65 -o linked30.o65 30.o65 31.o65
../../reloc65 -bt 32768 -xt -o t30 linked30.o65
reloc65: read file linked30.o65 -> t30
../hextool -cmp=t30 < t30.ok
../../ldo65 -o linked31.o65 31.o65 30.o65
../../reloc65 -bt 32768 -xt -o t31 linked31.o65
reloc65: read file linked31.o65 -> t31
../hextool -cmp=t31 < t31.ok
../../xa -R -c -o 40.o65 40.s
../../xa -R -c -o 41.o65 41.s
41.s:line 3: 1006: Warning - Can't optimize forward-defined label; using absolute addressing
../../ldo65 -o linked40.o65 40.o65 41.o65
../../reloc65 -bt 32768 -xt -o t40 linked40.o65
reloc65: read file linked40.o65 -> t40
../hextool -cmp=t40 < t40.ok
../../ldo65 -o linked41.o65 41.o65 40.o65
../../reloc65 -bt 32768 -xt -o t41 linked41.o65
reloc65: read file linked41.o65 -> t41
../hextool -cmp=t41 < t41.ok
../../xa -R -c -o 50.o65 50.s
../../xa -R -c -o 51.o65 51.s
51.s:line 2: 1003: Warning - Can't optimize forward-defined label; using absolute addressing
../../ldo65 -o linked50.o65 50.o65 51.o65
../../reloc65 -bt 32768 -bd 40960 -o t50 linked50.o65
reloc65: read file linked50.o65 -> t50
../hextool -cmp=t50 < t50.ok
../../ldo65 -o linked51.o65 51.o65 50.o65
../../reloc65 -bt 32768 -bd 40960 -o t51 linked51.o65
reloc65: read file linked51.o65 -> t51
../hextool -cmp=t51 < t51.ok
../../xa -R -c -o 60.o65 60.s
60.s:line 8: 1000: Warning - Can't optimize forward-defined label; using absolute addressing
../../xa -R -c -o 61.o65 61.s
61.s:line 2: 1003: Warning - Can't optimize forward-defined label; using absolute addressing
61.s:line 3: 1006: Warning - Cutting word relocation in byte value
../../ldo65 -o linked60.o65 60.o65 61.o65
../../reloc65 -bt 32768 -bd 40960 -o t60 linked60.o65
reloc65: read file linked60.o65 -> t60
../hextool -cmp=t60 < t60.ok
../../ldo65 -o linked61.o65 61.o65 60.o65
../../reloc65 -bt 32768 -bd 40960 -o t61 linked61.o65
reloc65: read file linked61.o65 -> t61
../hextool -cmp=t61 < t61.ok
../../ldo65 -bd 65529 -bt 65523 -bz 255 -o linked62.o65 61.o65 60.o65 && exit 1 || exit 0
Overflow in text segment: end at 010001 behind 64k limit
Overflow in data segment: end at 010001 behind 64k limit
Overflow in zero segment: end at 0102 behind 256 byte limit
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/ldoreloc'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/ldoreloc'
rm -f *.o65 *.hex t1 t2 t10 t11 t20 t21 t30 t31 t40 t41 t50 t51 t60 t61
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/ldoreloc'
=================================== PASSED! ===================================
listing .......................................... > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/listing'
rm -f *.err *x.out *x.html *x.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/listing'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/listing'
../../xa -P- -o operatorsx.o65 operators.a65 > operatorsx.out
../hextool -cmp=operators.out < operatorsx.out
../../xa -P- -o assertx.o65 assert.a65 > assertx.out
../hextool -cmp=assert.out < assertx.out
../hextool -cmp=assert.o65 < assertx.o65
../../xa -P- -Fhtml -o assertx.o65 assert.a65 > assertx.html
../hextool -cmp=assert.html < assertx.html
../../xa -P- linebreak.a65 > linebreakx.out
../hextool -cmp=linebreak.out < linebreakx.out
../../xa -P- include1.a65 > include1x.out
../hextool -cmp=include1.out < include1x.out
../../xa -P- -Fhtml listblocks.a65 > listblocksx.html
../hextool -cmp=listblocks.html < listblocksx.html
../../xa -XCA65 -P- -Fhtml -o listca65x.o65 listca65.a65 > listca65x.html
#ca65 ; ld65 -t none -o listca65.ca65 listca65.o; rm listca65.o
../hextool -cmp=listca65.html < listca65x.html
../hextool -cmp=listca65.ca65 < listca65x.o65
../../xa -XCA65 -P- -Fhtml -o listca65_2x.o65 listca65_2.a65 > listca65_2x.html
#ca65 ; ld65 -t none -o listca65_2.ca65 listca65_2.o; rm listca65_2.o
../hextool -cmp=listca65_2.html < listca65_2x.html
../hextool -cmp=listca65_2.ca65 < listca65_2x.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/listing'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/listing'
rm -f *.err *x.out *x.html *x.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/listing'
=================================== PASSED! ===================================
masmcom .......................................... > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/masmcom'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/masmcom'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/masmcom'
# compile with masm mode on.
../../xa -XMASM -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/reproducible-path/xa-2.4.1/tests/masmcom'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/masmcom'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/masmcom'
=================================== PASSED! ===================================
math ............................................. > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/math'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/math'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/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
Break after 1 errors
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/math'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/math'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/math'
=================================== PASSED! ===================================
mode ............................................. > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/mode'
rm -f *.o65 *.tmp
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/mode'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/mode'
../../xa -R -o at1.o65 at1.a65
../../xa -R -o at2.o65 at2.a65
../../xa -R -o at4.o65 at4.a65
../../xa -R -o at256.o65 at256.a65
../../xa -R -o ad1.o65 ad1.a65
../../xa -R -o ad2.o65 ad2.a65
../../xa -R -o ad4.o65 ad4.a65
../../xa -R -o ad256.o65 ad256.a65
../../xa -R -o ab1.o65 ab1.a65
../../xa -R -o ab2.o65 ab2.a65
../../xa -R -o ab4.o65 ab4.a65
../../xa -R -o ab256.o65 ab256.a65
../../ldo65  -o test1.o65 at1.o65 at2.o65 at4.o65 at256.o65 ad1.o65 ad2.o65 ad4.o65 ad256.o65 ab1.o65 ab2.o65 ab4.o65 ab256.o65
Info: Alignment at 256-boundaries required
../hextool -cmp=test1.o65.ok test1.o65
../../ldo65  -o test2.o65 ab256.o65 ab4.o65 ab2.o65 ab1.o65 ad256.o65 ad4.o65 ad2.o65 ad1.o65 at256.o65 at4.o65 at2.o65 at1.o65
Info: Alignment at 256-boundaries required
../hextool -cmp=test2.o65.ok test2.o65
../../ldo65  -o test3.o65 ab2.o65 at2.o65 ad2.o65 ab4.o65 at4.o65 ad4.o65 ad256.o65 at256.o65 ab256.o65
Info: Alignment at 256-boundaries required
../hextool -cmp=test3.o65.ok test3.o65
../../ldo65  -bt 1025 -bd 1025 -o test4.o65 ab2.o65 at2.o65 ad2.o65 ab4.o65 at4.o65 ad4.o65 ad256.o65 at256.o65 ab256.o65 || exit 0 && exit 1
Error: text segment start address ($0401) not aligned as required by first file (at 2 bytes)
Error: data segment start address ($0401) not aligned as required by first file (at 2 bytes)
Info: Alignment at 256-boundaries required
../../ldo65  -bt 1026 -bd 1026 -o test4.o65 ab2.o65 at2.o65 ad2.o65 ab4.o65 at4.o65 ad4.o65 ad256.o65 at256.o65 ab256.o65 || exit 0 && exit 1
Error: text segment start address ($0402) not aligned as first required by file ad256.o65 (at 256 bytes)
Error: data segment start address ($0402) not aligned as first required by file ad256.o65 (at 256 bytes)
Info: Alignment at 256-boundaries required
../../ldo65  -bt 1027 -bd 1027 -o test4.o65 ab2.o65 at2.o65 ad2.o65 ab4.o65 at4.o65 ad4.o65 ad256.o65 at256.o65 ab256.o65 || exit 0 && exit 1
Error: text segment start address ($0403) not aligned as required by first file (at 2 bytes)
Error: data segment start address ($0403) not aligned as required by first file (at 2 bytes)
Info: Alignment at 256-boundaries required
../../ldo65  -bt 1028 -bd 1028 -o test4.o65 ab2.o65 at2.o65 ad2.o65 ab4.o65 at4.o65 ad4.o65 ad256.o65 at256.o65 ab256.o65 || exit 0 && exit 1
Error: text segment start address ($0404) not aligned as first required by file ad256.o65 (at 256 bytes)
Error: data segment start address ($0404) not aligned as first required by file ad256.o65 (at 256 bytes)
Info: Alignment at 256-boundaries required
../../reloc65 -C 65816 -o c65816-at2.o65 at2.o65
reloc65: read file at2.o65 -> c65816-at2.o65
../hextool -cmp=c65816-at2.o65.ok c65816-at2.o65
../../reloc65 -C 65816 -o c65816-ad4.o65 ad4.o65
reloc65: read file ad4.o65 -> c65816-ad4.o65
../hextool -cmp=c65816-ad4.o65.ok c65816-ad4.o65
../../reloc65 -C 6502 -o c6502-at2.o65 at2.o65
reloc65: read file at2.o65 -> c6502-at2.o65
../hextool -cmp=c6502-at2.o65.ok c6502-at2.o65
../../reloc65 -C 6502 -o c6502-ad4.o65 ad4.o65
reloc65: read file ad4.o65 -> c6502-ad4.o65
../hextool -cmp=c6502-ad4.o65.ok c6502-ad4.o65
../../reloc65 -C NMOS6502 -o n6502-at2.o65 at2.o65
reloc65: read file at2.o65 -> n6502-at2.o65
../hextool -cmp=n6502-at2.o65.ok n6502-at2.o65
../../reloc65 -C NMOS6502 -o n6502-ad4.o65 ad4.o65
reloc65: read file ad4.o65 -> n6502-ad4.o65
../hextool -cmp=n6502-ad4.o65.ok n6502-ad4.o65
../../reloc65 -C 65SC02 -o c65sc02-at2.o65 at2.o65
reloc65: read file at2.o65 -> c65sc02-at2.o65
../hextool -cmp=c65sc02-at2.o65.ok c65sc02-at2.o65
../../reloc65 -C 65SC02 -o c65sc02-ad4.o65 ad4.o65
reloc65: read file ad4.o65 -> c65sc02-ad4.o65
../hextool -cmp=c65sc02-ad4.o65.ok c65sc02-ad4.o65
../../reloc65 -C 65C02 -o c65c02-at2.o65 at2.o65
reloc65: read file at2.o65 -> c65c02-at2.o65
../hextool -cmp=c65c02-at2.o65.ok c65c02-at2.o65
../../reloc65 -C 65C02 -o c65c02-ad4.o65 ad4.o65
reloc65: read file ad4.o65 -> c65c02-ad4.o65
../hextool -cmp=c65c02-ad4.o65.ok c65c02-ad4.o65
../../reloc65 -C 65CE02 -o c65ce02-at2.o65 at2.o65
reloc65: read file at2.o65 -> c65ce02-at2.o65
../hextool -cmp=c65ce02-at2.o65.ok c65ce02-at2.o65
../../reloc65 -C 65CE02 -o c65ce02-ad4.o65 ad4.o65
reloc65: read file ad4.o65 -> c65ce02-ad4.o65
../hextool -cmp=c65ce02-ad4.o65.ok c65ce02-ad4.o65
# prereq for the following
../../reloc65 -o relocsame.o65 c65816-ad4.o65
reloc65: read file c65816-ad4.o65 -> relocsame.o65
../hextool -cmp=c65816-ad4.o65 relocsame.o65
../../reloc65 -o relocsame.o65 c65sc02-at2.o65
reloc65: read file c65sc02-at2.o65 -> relocsame.o65
../hextool -cmp=c65sc02-at2.o65 relocsame.o65
# overwrite 65816 with nmos 6502
../../reloc65 -C NMOS6502 -o overwrite-1.o65 c65816-at2.o65
reloc65: read file c65816-at2.o65 -> overwrite-1.o65
../hextool -cmp=n6502-at2.o65 overwrite-1.o65
# overwrite 65sc02 with 65c02
../../reloc65 -C 65C02 -o overwrite-2.o65 c65sc02-ad4.o65
reloc65: read file c65sc02-ad4.o65 -> overwrite-2.o65
../hextool -cmp=c65c02-ad4.o65 overwrite-2.o65
../../ldo65 -v -o linkup1.tmp.tmp c6502-ad4.o65 c65c02-at2.o65 c65sc02-ad4.o65
Starting CPU type calculation with mode documented 6502 (0) ...
Matching file c6502-ad4.o65 with CPU documented 6502 (0) to target documented 6502 (0) ...
... to new target documented 6502 (0)
Matching file c65c02-at2.o65 with CPU 65C02 (CMOS with BBR/BBS/RMB/SMB) (1) to target documented 6502 (0) ...
... to new target 65C02 (CMOS with BBR/BBS/RMB/SMB) (1)
Matching file c65sc02-ad4.o65 with CPU 65SC02 (CMOS without BBR/BBS/RMB/SMB) (2) to target 65C02 (CMOS with BBR/BBS/RMB/SMB) (1) ...
... to new target 65C02 (CMOS with BBR/BBS/RMB/SMB) (1)
Info: Alignment at 4-boundaries required
Relocating file: c6502-ad4.o65 [CPU documented 6502]
    text: align fill 0000, relocate from 1000 to 0400 (diff is fffff400, length is 0000)
    data: align fill 0000, relocate from 0400 to 1000 (diff is 0c00, length is 0001)
    bss:  align fill 0000, relocate from 4000 to 4000 (diff is 0000, length is 0000)
    zero: relocate from 04 to 02 (diff is fffffffe, length is 00)
Relocating file: c65c02-at2.o65 [CPU 65C02 (CMOS with BBR/BBS/RMB/SMB)]
    text: align fill 0000, relocate from 1000 to 0400 (diff is fffff400, length is 0001)
    data: align fill 0000, relocate from 0400 to 1001 (diff is 0c01, length is 0000)
    bss:  align fill 0000, relocate from 4000 to 4000 (diff is 0000, length is 0000)
    zero: relocate from 04 to 02 (diff is fffffffe, length is 00)
Relocating file: c65sc02-ad4.o65 [CPU 65SC02 (CMOS without BBR/BBS/RMB/SMB)]
    text: align fill 0000, relocate from 1000 to 0401 (diff is fffff401, length is 0000)
    data: align fill 0003, relocate from 0400 to 1004 (diff is 0c04, length is 0001)
    bss:  align fill 0000, relocate from 4000 to 4000 (diff is 0000, length is 0000)
    zero: relocate from 04 to 02 (diff is fffffffe, length is 00)
../../file65 linkup1.tmp.tmp > linkup1.tmp
../hextool -cmp=linkup1.tmp.ok linkup1.tmp
# incompatible links
../../ldo65  -o linkup2.o65 c6502-ad4.o65 c65c02-at2.o65 c65816-ad4.o65 || exit 0 && exit 1
Error: file 'c65816-ad4.o65' in CPU mode 5 (65816 in 6502 emulation mode) is incompatible with previous files with mode 1 (65C02 (CMOS with BBR/BBS/RMB/SMB))
../../ldo65  -o linkup2.o65 c6502-ad4.o65 c65ce02-at2.o65 c65816-ad4.o65 || exit 0 && exit 1
Error: file 'c65816-ad4.o65' in CPU mode 5 (65816 in 6502 emulation mode) is incompatible with previous files with mode 3 (65CE02)
../../ldo65  -o linkup2.o65 c6502-ad4.o65 c65816-at2.o65 c65c02-ad4.o65 || exit 0 && exit 1
Error: file 'c65c02-ad4.o65' in CPU mode 1 (65C02 (CMOS with BBR/BBS/RMB/SMB)) is incompatible with previous 65816 CPU mode
../../ldo65  -o linkup2.o65 c6502-ad4.o65 c65816-at2.o65 c65ce02-ad4.o65 || exit 0 && exit 1
Error: file 'c65ce02-ad4.o65' in CPU mode 3 (65CE02) is incompatible with previous 65816 CPU mode
../../ldo65  -o linkup2.o65 c65816-at2.o65 c65ce02-ad4.o65 c65c02-at2.o65 || exit 0 && exit 1
Error: file 'c65ce02-ad4.o65' in CPU mode 3 (65CE02) is incompatible with previous 65816 CPU mode
Error: file 'c65c02-at2.o65' in CPU mode 1 (65C02 (CMOS with BBR/BBS/RMB/SMB)) is incompatible with previous 65816 CPU mode
../../ldo65  -o linkup2.o65 n6502-at2.o65 c65ce02-ad4.o65 || exit 0 && exit 1
Error: file 'c65ce02-ad4.o65' in CPU mode 3 (65CE02) is incompatible with previous files with mode 4 (6502 with undocumented opcodes)
../../ldo65  -o linkup2.o65 n6502-at2.o65 c65c02-ad4.o65 || exit 0 && exit 1
Error: file 'c65c02-ad4.o65' in CPU mode 1 (65C02 (CMOS with BBR/BBS/RMB/SMB)) is incompatible with previous files with mode 4 (6502 with undocumented opcodes)
../../ldo65  -o linkup2.o65 n6502-at2.o65 c65sc02-ad4.o65 || exit 0 && exit 1
Error: file 'c65sc02-ad4.o65' in CPU mode 2 (65SC02 (CMOS without BBR/BBS/RMB/SMB)) is incompatible with previous files with mode 4 (6502 with undocumented opcodes)
../../ldo65  -o linkup2.o65 n6502-at2.o65 c65816-ad4.o65 || exit 0 && exit 1
Error: file 'c65816-ad4.o65' in 65816 CPU mode is incompatible with previous NMOS undocumented opcodes CPU mode
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/mode'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/mode'
rm -f *.o65 *.tmp
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/mode'
=================================== PASSED! ===================================
mvnmvp ........................................... > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/mvnmvp'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/mvnmvp'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/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
mvn $02,$01
test.s:line 11: 100a:65816 mode used/required error
mvn $00,$66
test.s:line 12: 100d:65816 mode used/required error
mvp $03, w+3
test.s:line 14: 1010:65816 mode used/required error
mvp $04,$03
test.s:line 19: 1013:65816 mode used/required error
mvp $00,$88
test.s:line 20: 1016:65816 mode used/required error
Break after 6 errors
../../xa -w -DOLD_SYNTAX test.s || exit 0 && exit 1
mvn $0201
test.s:line 8: 1008:Syntax error
mvn $0066
test.s:line 9: 100a:Syntax error
mvp $0403
test.s:line 16: 100e:Syntax error
mvp $0088
test.s:line 17: 1010:Syntax error
mvp $0403,$03
test.s:line 23: 1011:Syntax error
mvp $03,$0405
test.s:line 24: 1013:Syntax error
mvn $0403,$03
test.s:line 25: 1014:Syntax error
mvn $03,$0405
test.s:line 26: 1016:Syntax error
Break after 8 errors
# expected-to-fail tests did fail. should be no more errors now.
../../xa -w test.s -o test.o
../hextool -cmp=ok < test.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/mvnmvp'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/mvnmvp'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/mvnmvp'
=================================== PASSED! ===================================
neg_offset ....................................... > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/neg_offset'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/neg_offset'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/neg_offset'
# this test must fail.
../../xa -o test0.o test0.s || exit 0 && exit 1
test0.s:line 2: 1000:DSB has negative length error
Break after 1 errors
../../xa -R -LLIB6502 test1.s -o test1.o
../hextool -cmp=ok1 < test1.o
../../xa -R -LLIB6502 test2.s -o test2.o
../hextool -cmp=ok2 < test2.o
../../xa -R -LLIB6502 test3.s -o test3.o
../hextool -cmp=ok3 < test3.o
../../xa -R -LLIB6502 test4.s -o test4.o
../hextool -cmp=ok4 < test4.o
../../xa -R -LLIB6502 test5.s -o test5.o
../hextool -cmp=ok5 < test5.o
# this test must fail.
../../xa -R -LLIB6502 test6.s -o test6.o || exit 0 && exit 1
test6.s:line 4: 1003:Overflow error
Break after 1 errors
# this test must fail.
../../xa -R -LLIB6502 test7.s -o test7.o || exit 0 && exit 1
 jsr 65536
test7.s:line 4: 1003:Overflow error
Break after 1 errors
# this test must fail.
../../xa -R -LLIB6502 test8.s -o test8.o || exit 0 && exit 1
test8.s:line 4: 1003:Overflow error
Break after 1 errors
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/neg_offset'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/neg_offset'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/neg_offset'
=================================== PASSED! ===================================
op816 ............................................ > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/op816'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/op816'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/op816'
# xa should not allow this to happen. if it does, this test is no good.
../../xa test.s || exit 0 && exit 1
  COP #$00
test.s:line 47: 1005:65816 mode used/required error
  ORA ZEROPAGE_0,S
test.s:line 48: 1007:65816 mode used/required error
  ORA [ZEROPAGE_0]
test.s:line 52: 100f:65816 mode used/required error
  PHD
test.s:line 56: 1014:65816 mode used/required error
  ORA (ZEROPAGE_1,S),Y
test.s:line 66: 102b:65816 mode used/required error
  ORA [ZEROPAGE_1],Y
test.s:line 70: 1033:65816 mode used/required error
  TCS
test.s:line 74: 1039:65816 mode used/required error
  AND ZEROPAGE_2,S
test.s:line 84: 1052:65816 mode used/required error
  AND [ZEROPAGE_2]
test.s:line 88: 105a:65816 mode used/required error
  PLD
test.s:line 92: 105f:65816 mode used/required error
  AND (ZEROPAGE_3,S),Y
test.s:line 102: 1076:65816 mode used/required error
  AND [ZEROPAGE_3],Y
test.s:line 106: 107e:65816 mode used/required error
  TSC
test.s:line 110: 1084:65816 mode used/required error
  EOR ZEROPAGE_3,S
test.s:line 120: 1099:65816 mode used/required error
  MVP $44,$44 ;$4444 ; Should be $44, $44 instead
test.s:line 121: 109c:65816 mode used/required error
  EOR [ZEROPAGE_4]
test.s:line 124: 10a2:65816 mode used/required error
  PHK
test.s:line 128: 10a7:65816 mode used/required error
  EOR (ZEROPAGE_5,S),Y
test.s:line 138: 10be:65816 mode used/required error
  MVN $55,$55 ; $5555 ; Should be $55, $55 instead
test.s:line 139: 10c1:65816 mode used/required error
  EOR [ZEROPAGE_5],Y
test.s:line 142: 10c7:65816 mode used/required error
  TCD
test.s:line 146: 10cd:65816 mode used/required error
  ADC ZEROPAGE_6,S
test.s:line 156: 10e4:65816 mode used/required error
  ADC [ZEROPAGE_6]
test.s:line 160: 10ec:65816 mode used/required error
  RTL
test.s:line 164: 10f1:65816 mode used/required error
  ADC (ZEROPAGE_7,S),Y
test.s:line 174: 1108:65816 mode used/required error
  ADC [ZEROPAGE_7],Y
test.s:line 178: 1110:65816 mode used/required error
  TDC
test.s:line 182: 1116:65816 mode used/required error
  STA ZEROPAGE_8,S
test.s:line 192: 112e:65816 mode used/required error
  STA [ZEROPAGE_8]
test.s:line 196: 1136:65816 mode used/required error
  PHB
test.s:line 200: 113b:65816 mode used/required error
  STA (ZEROPAGE_9,S),Y
test.s:line 210: 1152:65816 mode used/required error
  STA [ZEROPAGE_9],Y
test.s:line 214: 115a:65816 mode used/required error
  TXY
test.s:line 218: 1160:65816 mode used/required error
  LDA ZEROPAGE_A,S
test.s:line 227: 1174:65816 mode used/required error
  LDA [ZEROPAGE_A]
test.s:line 231: 117c:65816 mode used/required error
  PLB
test.s:line 235: 1181:65816 mode used/required error
  LDA (ZEROPAGE_B,S),Y
test.s:line 245: 1198:65816 mode used/required error
  LDA [ZEROPAGE_B],Y
test.s:line 249: 11a0:65816 mode used/required error
  TYX
test.s:line 253: 11a6:65816 mode used/required error
  REP #$CC
test.s:line 262: 11bb:65816 mode used/required error
  CMP ZEROPAGE_C,S
test.s:line 263: 11bd:65816 mode used/required error
  CMP [ZEROPAGE_C]
test.s:line 267: 11c5:65816 mode used/required error
  WAI
test.s:line 271: 11ca:65816 mode used/required error
  CMP (ZEROPAGE_D,S),Y
test.s:line 281: 11e1:65816 mode used/required error
  PEI (ZEROPAGE_D)
test.s:line 282: 11e3:65816 mode used/required error
  CMP [ZEROPAGE_D],Y
test.s:line 285: 11e9:65816 mode used/required error
  STP
test.s:line 289: 11ef:65816 mode used/required error
  SEP #$EE
test.s:line 298: 1204:65816 mode used/required error
  SBC ZEROPAGE_E,S
test.s:line 299: 1206:65816 mode used/required error
  SBC [ZEROPAGE_E]
test.s:line 303: 120e:65816 mode used/required error
  XBA
test.s:line 307: 1213:65816 mode used/required error
  SBC (ZEROPAGE_F,S),Y
test.s:line 317: 122a:65816 mode used/required error
  PEA $1000
test.s:line 318: 122d:65816 mode used/required error
  SBC [ZEROPAGE_F],Y
test.s:line 321: 1233:65816 mode used/required error
  XCE
test.s:line 325: 1239:65816 mode used/required error
Break after 55 errors
# expected-to-fail tests did fail. should be no more errors now.
../../xa -w test.s -o test.o
../hextool -cmp=ok < test.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/op816'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/op816'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/op816'
=================================== PASSED! ===================================
openpp ........................................... > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/openpp'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/openpp'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/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/reproducible-path/xa-2.4.1/tests/openpp'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/openpp'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/openpp'
=================================== PASSED! ===================================
pparity .......................................... > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/pparity'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/pparity'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/pparity'
# xa should not allow this to happen. if it does, this test is no good.
../../xa bad.s || exit 0 && exit 1
#define BAR(c) FOO(c)
bad.s:line 2: 1000:pp:Wrong parameter count error
Break after 1 errors
../../xa bad2.s || exit 0 && exit 1
#define BAR(b,c) FOO(b,c)
bad2.s:line 2: 1000:pp:Wrong parameter count error
Break after 1 errors
../../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
#define BAR(c) FOO(c,a)
bad4.s:line 2: 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/reproducible-path/xa-2.4.1/tests/pparity'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/pparity'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/pparity'
=================================== PASSED! ===================================
ppdefines ........................................ > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/ppdefines'
rm -f a.o65 test1.u test2.u test3.u test4.u test5.u test6.u test6a.u test6b.u test7.u
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/ppdefines'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/ppdefines'
../../xa -XC test1.a65 -o test1.u
../hextool -cmp=test1.o65 < test1.u
../../xa -XC test2.a65 -o test2.u
../hextool -cmp=test2.o65 < test2.u
../../xa -XC test3.a65 -o test3.u
../hextool -cmp=test3.o65 < test3.u
../../xa -XC test4.a65 -o test4.u
../hextool -cmp=test4.o65 < test4.u
../../xa -XC test5.a65 -o test5.u
../hextool -cmp=test5.o65 < test5.u
../../xa -XC test6.a65 -o test6.u
../hextool -cmp=test6.o65 < test6.u
../../xa -XC test6a.a65 -o test6a.u
../hextool -cmp=test6a.o65 < test6a.u
../../xa -XC test6b.a65 -o test6b.u
../hextool -cmp=test6b.o65 < test6b.u
../../xa -XC test7.a65 -o test7.u
../hextool -cmp=test7.o65 < test7.u
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/ppdefines'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/ppdefines'
rm -f a.o65 test1.u test2.u test3.u test4.u test5.u test6.u test6a.u test6b.u test7.u
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/ppdefines'
=================================== PASSED! ===================================
recmac ........................................... > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/recmac'
rm -f a.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/recmac'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/recmac'
# this should fail.
../../xa -DFAIL test.asm || exit 0 && exit 1
test.asm:line 30: 1021:Label 'NOGOOD' not defined
Break after 1 errors
# these should not fail.
../../xa test.asm
../hextool -cmp=test.ok < a.o65
../../xa testi.asm
../hextool -cmp=testi.ok < a.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/recmac'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/recmac'
rm -f a.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/recmac'
=================================== PASSED! ===================================
relmode .......................................... > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/relmode'
rm -f a.err *.o65 a.hex  mixabs2* mix1 mix2 *.tmp
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/relmode'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/relmode'
This should fail
../../xa mixabsolute.a65 || exit 0 && exit 1
 .data
mixabsolute.a65:line 14: 2006:Illegal segment error
Break after 1 errors
../../xa -R mixabsolute.a65 -o mixabs2.tmp
../../file65 -v mixabs2.tmp
mixabs2.tmp: o65 version 0 executable file
 mode: 0000 =[executable][16bit][byte relocation][CPU 6502][CPU2 6502][align 1]
 text segment @ $1000 - $100c [$000c bytes]
 data segment @ $0400 - $0402 [$0002 bytes]
 bss  segment @ $4000 - $4000 [$0000 bytes]
 zero segment @ $0004 - $0004 [$0000 bytes]
 stack size $0000 bytes (i.e. unknown)
Undefined Labels: 0
Global Labels: 5
l1 (segID=2 (text), offset=1000)
l2 (segID=1 (absolute), offset=2000)
l2a (segID=2 (text), offset=1006)
l3 (segID=3 (data), offset=0400)
l4 (segID=2 (text), offset=1009)
../../reloc65 -bt 40960 -o mixabs2 mixabs2.tmp
reloc65: read file mixabs2.tmp -> mixabs2
../hextool -cmp=b.ok < mixabs2
../../xa -R -o mix1.o65 mix1.a65
../../file65 -v mix1.o65
mix1.o65: o65 version 0 executable file
 mode: 0000 =[executable][16bit][byte relocation][CPU 6502][CPU2 6502][align 1]
 text segment @ $1000 - $1002 [$0002 bytes]
 data segment @ $0400 - $0402 [$0002 bytes]
 bss  segment @ $4000 - $4000 [$0000 bytes]
 zero segment @ $0004 - $0004 [$0000 bytes]
 stack size $0000 bytes (i.e. unknown)
Undefined Labels: 0
Global Labels: 1
NextPacketPtr (segID=3 (data), offset=0400)
../../reloc65 -X -o mix1 mix1.o65
reloc65: read file mix1.o65 -> mix1
../hextool -cmp=mix1.ok < mix1.o65
../../xa -R -o mix2.o65 mix2.a65
../../file65 -v mix2.o65
mix2.o65: o65 version 0 executable file
 mode: 0000 =[executable][16bit][byte relocation][CPU 6502][CPU2 6502][align 1]
 text segment @ $1000 - $1002 [$0002 bytes]
 data segment @ $0400 - $0402 [$0002 bytes]
 bss  segment @ $4000 - $4000 [$0000 bytes]
 zero segment @ $0004 - $0004 [$0000 bytes]
 stack size $0000 bytes (i.e. unknown)
Undefined Labels: 0
Global Labels: 1
NextPacketPtr (segID=3 (data), offset=0400)
../../reloc65 -X -o mix2 mix2.o65
reloc65: read file mix2.o65 -> mix2
../hextool -cmp=mix2.ok < mix2.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/relmode'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/relmode'
rm -f a.err *.o65 a.hex  mixabs2* mix1 mix2 *.tmp
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/relmode'
=================================== PASSED! ===================================
relocmode ........................................ > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/relocmode'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/relocmode'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/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/reproducible-path/xa-2.4.1/tests/relocmode'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/relocmode'
rm -f *.o
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/relocmode'
=================================== PASSED! ===================================
relocundef ....................................... > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/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/reproducible-path/xa-2.4.1/tests/relocundef'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/relocundef'
../../xa -R -Lundefl -Ll2 -o test1.o65 test1.a65
test1.a65:line 5: 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 5: 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/reproducible-path/xa-2.4.1/tests/relocundef'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/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/reproducible-path/xa-2.4.1/tests/relocundef'
=================================== PASSED! ===================================
reset_segment .................................... > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/reset_segment'
rm -f *.o a.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/reset_segment'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/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/reproducible-path/xa-2.4.1/tests/reset_segment'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/reset_segment'
rm -f *.o a.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/reset_segment'
=================================== PASSED! ===================================
undef ............................................ > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/undef'
rm -f a.err a.o65 b.o65 *.tmp undef2 undef3 undef5 undef6
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/undef'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/undef'
=======================================
The following should fail
These should fail
../../xa undef.a65 || exit 0 && exit 1
undef.a65:line 4: 1003:Label 'l1' not defined
undef.a65:line 14: 1006:Label 'l3' not defined
undef.a65:line 18: 1006: Warning - Can't optimize forward-defined label; using absolute addressing
Break after 2 errors
../../xa -R undef.a65 || exit 0 && exit 1
undef.a65:line 4: 1003:Label 'l1' not defined
undef.a65:line 14: 1006:Label 'l3' not defined
undef.a65:line 18: 1006: Warning - Can't optimize forward-defined label; using absolute addressing
Break after 2 errors
../../xa -R -U -DFAIL undef.a65 || exit 0 && exit 1
undef.a65:line 4: 1000: Warning - Can't optimize forward-defined label; using absolute addressing
undef.a65:line 9: 2003:Label 'l2' not defined
undef.a65:line 14: 1006: Warning - Can't optimize forward-defined label; using absolute addressing
undef.a65:line 18: 1009: Warning - Can't optimize forward-defined label; using absolute addressing
Break after 1 errors
../../xa -R -Ll1 -Ll3 -Ll4 -Ll5 undef.a65 || exit 0 && exit 1
l4=1
undef.a65:line 21: 1009:Label already defined error
l5
undef.a65:line 23: 100c:Label already defined error
undef.a65:line 4: 1000: Warning - Can't optimize forward-defined label; using absolute addressing
undef.a65:line 14: 1003: Warning - Can't optimize forward-defined label; using absolute addressing
undef.a65:line 18: 1006: Warning - Can't optimize forward-defined label; using absolute addressing
undef.a65:line 22: 1009: Warning - Can't optimize forward-defined label; using absolute addressing
Break after 2 errors
These should fail
../../xa undef4.a65 || exit 0 && exit 1
l1
undef4.a65:line 13: 1006:Label already defined error
undef4.a65:line 4: 1003:Label 'l1' not defined
undef4.a65:line 10: 1006:Label 'l1' not defined
Break after 3 errors
../../xa -R undef4.a65 || exit 0 && exit 1
l1
undef4.a65:line 13: 1006:Label already defined error
undef4.a65:line 4: 1003:Label 'l1' not defined
undef4.a65:line 10: 1006:Label 'l1' not defined
Break after 3 errors
../../xa -R -Ll1 undef4.a65 || exit 0 && exit 1
l1
undef4.a65:line 13: 1006:Label already defined error
undef4.a65:line 4: 1000: Warning - Can't optimize forward-defined label; using absolute addressing
undef4.a65:line 10: 1003: Warning - Can't optimize forward-defined label; using absolute addressing
Break after 1 errors
../../xa -R -U undef4.a65 || exit 0 && exit 1
l1
undef4.a65:line 13: 1006:Label already defined error
undef4.a65:line 4: 1000: Warning - Can't optimize forward-defined label; using absolute addressing
undef4.a65:line 10: 1003: Warning - Can't optimize forward-defined label; using absolute addressing
Break after 1 errors
These should fail
../../xa undef5.a65 || exit 0 && exit 1
undef5.a65:line 15: 1006:Label 'l1' not defined
Break after 1 errors
../../xa -R undef5.a65 || exit 0 && exit 1
undef5.a65:line 15: 1006:Label 'l1' not defined
Break after 1 errors
../../xa -R -Ll1 undef5.a65 || exit 0 && exit 1
l1
undef5.a65:line 12: 1003:Label already defined error
undef5.a65:line 9: 1000: Warning - Can't optimize forward-defined label; using absolute addressing
undef5.a65:line 15: 1003: Warning - Can't optimize forward-defined label; using absolute addressing
Break after 1 errors
These should fail
../../xa undef6.a65 || exit 0 && exit 1
undef6.a65:line 25: 1009:Label 'l1' not defined
Break after 1 errors
../../xa -R undef6.a65 || exit 0 && exit 1
undef6.a65:line 25: 1009:Label 'l1' not defined
Break after 1 errors
../../xa -R -Ll1 undef6.a65 || exit 0 && exit 1
l1
undef6.a65:line 12: 1003:Label already defined error
l1
undef6.a65:line 22: 1006:Label already defined error
undef6.a65:line 9: 1000: Warning - Can't optimize forward-defined label; using absolute addressing
undef6.a65:line 19: 1003: Warning - Can't optimize forward-defined label; using absolute addressing
undef6.a65:line 25: 1006: Warning - Can't optimize forward-defined label; using absolute addressing
Break after 2 errors
=======================================
All tests meant to fail have done so correctly
The following tests should pass
../../xa -R -Ll1 -Ll3 undef.a65 -o undef2.tmp
undef.a65:line 4: 1000: Warning - Can't optimize forward-defined label; using absolute addressing
undef.a65:line 14: 1003: Warning - Can't optimize forward-defined label; using absolute addressing
undef.a65:line 18: 1006: Warning - Can't optimize forward-defined label; using absolute addressing
../../reloc65 -bt 40960 -o undef2 undef2.tmp
reloc65: read file undef2.tmp -> undef2
../hextool -cmp=undef2.ok < undef2
../../xa -R -U undef.a65 -o undef3.tmp
undef.a65:line 4: 1000: Warning - Can't optimize forward-defined label; using absolute addressing
undef.a65:line 14: 1003: Warning - Can't optimize forward-defined label; using absolute addressing
undef.a65:line 18: 1006: Warning - Can't optimize forward-defined label; using absolute addressing
../../reloc65 -bt 40960 -o undef3 undef3.tmp
reloc65: read file undef3.tmp -> undef3
../hextool -cmp=undef2.ok < undef3
../../xa -R -U undef5.a65  -o undef5
undef5.a65:line 15: 1003: Warning - Can't optimize forward-defined label; using absolute addressing
../hextool -cmp=undef5.ok < undef5
../../xa -R -U undef6.a65  -o undef6
undef6.a65:line 25: 1006: Warning - Can't optimize forward-defined label; using absolute addressing
../hextool -cmp=undef6.ok < undef6
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/undef'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/undef'
rm -f a.err a.o65 b.o65 *.tmp undef2 undef3 undef5 undef6
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/undef'
=================================== PASSED! ===================================
usb65 ............................................ > running Makefile
===============================================================================
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/usb65'
rm -f a.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/usb65'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/usb65'
../../xa -XC -R -U test1.a65
../hextool -cmp=test1.o65 < a.o65
../../xa -R -U test2.a65
../hextool -cmp=test2.o65 < a.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/usb65'
-------------------------------------------------------------------------------
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/tests/usb65'
rm -f a.o65
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/tests/usb65'
=================================== PASSED! ===================================
chardelimiter .................................... > PASSED
expando .......................................... > PASSED
line ............................................. > PASSED
linkr ............................................ > PASSED
nonl ............................................. > PASSED
ppstrings ........................................ > PASSED
quotch ........................................... > PASSED
recucom .......................................... > PASSED
stringcom ........................................ > PASSED
===============================================================================

## ALL SELECTED TESTS PASS (ALL, n=44) ##
make[2]: Leaving directory '/build/reproducible-path/xa-2.4.1'
make[1]: Leaving directory '/build/reproducible-path/xa-2.4.1'
   create-stamp debian/debhelper-build-stamp
   dh_prep
   debian/rules override_dh_auto_install
make[1]: Entering directory '/build/reproducible-path/xa-2.4.1'
make install DESTDIR=/build/reproducible-path/xa-2.4.1/debian/xa65/usr CC='x86_64-linux-gnu-gcc' LD='$(CC)' CFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection' LDFLAGS='-Wl,-z,relro'
make[2]: Entering directory '/build/reproducible-path/xa-2.4.1'
rm -f xa
(cd src && LD=x86_64-linux-gnu-gcc CC="x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xa-2.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" make)
make[3]: Entering directory '/build/reproducible-path/xa-2.4.1/src'
x86_64-linux-gnu-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 xalisting.o -Wl,-z,relro
make[3]: Leaving directory '/build/reproducible-path/xa-2.4.1/src'
mkdir -p /build/reproducible-path/xa-2.4.1/debian/xa65/usr/bin
mkdir -p /build/reproducible-path/xa-2.4.1/debian/xa65/usr/share/man/man1
install xa reloc65 ldo65 file65 printcbm uncpk /build/reproducible-path/xa-2.4.1/debian/xa65/usr/bin
install man/file65.1 man/ldo65.1 man/printcbm.1 man/reloc65.1 man/uncpk.1 man/xa.1 /build/reproducible-path/xa-2.4.1/debian/xa65/usr/share/man/man1
#mkdir -p /build/reproducible-path/xa-2.4.1/debian/xa65/usr/share/doc/xa65
make[2]: Leaving directory '/build/reproducible-path/xa-2.4.1'
make[1]: Leaving directory '/build/reproducible-path/xa-2.4.1'
   dh_installdocs
   dh_installchangelogs
   dh_installexamples
   dh_installman
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_missing
   dh_dwz -a
dwz: debian/xa65/usr/bin/xa: DWARF compression not beneficial - old size 72194 new size 72963
   dh_strip -a
   dh_makeshlibs -a
   dh_shlibdeps -a
   dh_installdeb
   dh_gencontrol
   dh_md5sums
   dh_builddeb
dpkg-deb: building package 'xa65' in '../xa65_2.4.1-0.1_amd64.deb'.
dpkg-deb: building package 'xa65-dbgsym' in '../xa65-dbgsym_2.4.1-0.1_amd64.deb'.
 dpkg-genbuildinfo --build=binary -O../xa_2.4.1-0.1_amd64.buildinfo
 dpkg-genchanges --build=binary -O../xa_2.4.1-0.1_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
dpkg-genchanges: info: including full source code in upload
I: copying local configuration
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/3439195 and its subdirectories
I: Current time: Mon Apr  6 19:30:40 -12 2026
I: pbuilder-time-stamp: 1775547040