https://launchpad.net/ubuntu/+source/scm/5f2-2build1/+build/14819721 RUN: /usr/share/launchpad-buildd/slavebin/slave-prep Forking launchpad-buildd slave process... Kernel version: Linux lgw01-amd64-030 4.4.0-122-generic #146-Ubuntu SMP Mon Apr 23 15:34:04 UTC 2018 x86_64 Buildd toolchain package versions: launchpad-buildd_161 python-lpbuildd_161 sbuild_0.67.0-2ubuntu7.1 bzr-builder_0.7.3+bzr174~ppa13~ubuntu14.10.1 bzr_2.7.0-2ubuntu3.1 git-build-recipe_0.3.4~git201611291343.dcee459~ubuntu16.04.1 git_1:2.7.4-0ubuntu1.3 dpkg-dev_1.18.4ubuntu1.4 python-debian_0.1.27ubuntu2. Syncing the system clock with the buildd NTP service... 3 May 15:17:17 ntpdate[1819]: adjust time server 10.211.37.1 offset 0.050251 sec RUN: /usr/share/launchpad-buildd/slavebin/in-target unpack-chroot --backend=chroot --series=cosmic --arch=amd64 PACKAGEBUILD-14819721 /home/buildd/filecache-default/b7d07d6b68ae68badf26a018a3a0291d50e41e42 Creating target for build PACKAGEBUILD-14819721 RUN: /usr/share/launchpad-buildd/slavebin/in-target mount-chroot --backend=chroot --series=cosmic --arch=amd64 PACKAGEBUILD-14819721 Starting target for build PACKAGEBUILD-14819721 RUN: /usr/share/launchpad-buildd/slavebin/in-target override-sources-list --backend=chroot --series=cosmic --arch=amd64 PACKAGEBUILD-14819721 'deb http://ftpmaster.internal/ubuntu cosmic main universe' 'deb http://ftpmaster.internal/ubuntu cosmic-security main universe' 'deb http://ftpmaster.internal/ubuntu cosmic-updates main universe' 'deb http://ftpmaster.internal/ubuntu cosmic-proposed main universe' Overriding sources.list in build-PACKAGEBUILD-14819721 RUN: /usr/share/launchpad-buildd/slavebin/in-target update-debian-chroot --backend=chroot --series=cosmic --arch=amd64 PACKAGEBUILD-14819721 Updating target for build PACKAGEBUILD-14819721 Get:1 http://ftpmaster.internal/ubuntu cosmic InRelease [242 kB] Get:2 http://ftpmaster.internal/ubuntu cosmic-security InRelease [65.4 kB] Get:3 http://ftpmaster.internal/ubuntu cosmic-updates InRelease [65.4 kB] Get:4 http://ftpmaster.internal/ubuntu cosmic-proposed InRelease [83.2 kB] Get:5 http://ftpmaster.internal/ubuntu cosmic/main amd64 Packages [1017 kB] Get:6 http://ftpmaster.internal/ubuntu cosmic/main Translation-en [516 kB] Get:7 http://ftpmaster.internal/ubuntu cosmic/universe amd64 Packages [8565 kB] Get:8 http://ftpmaster.internal/ubuntu cosmic/universe Translation-en [4941 kB] Get:9 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 Packages [27.1 kB] Get:10 http://ftpmaster.internal/ubuntu cosmic-proposed/main Translation-en [12.1 kB] Get:11 http://ftpmaster.internal/ubuntu cosmic-proposed/universe amd64 Packages [42.3 kB] Get:12 http://ftpmaster.internal/ubuntu cosmic-proposed/universe Translation-en [23.0 kB] Fetched 15.6 MB in 5s (2924 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following NEW packages will be installed: libtinfo6 The following packages will be upgraded: base-files bash binutils binutils-common binutils-x86-64-linux-gnu build-essential cpp cpp-7 g++ g++-7 gcc gcc-7 gcc-7-base gcc-8-base libasan4 libatomic1 libbinutils libcc1-0 libcilkrts5 libgcc-7-dev libgcc1 libgomp1 libitm1 liblsan0 libmpx2 libncurses5 libncursesw5 libquadmath0 libreadline7 libstdc++-7-dev libstdc++6 libtinfo5 libtsan0 libubsan0 ncurses-base ncurses-bin readline-common 37 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 31.3 MB of archives. After this operation, 509 kB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu cosmic/main amd64 base-files amd64 10.1ubuntu3 [58.0 kB] Get:2 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 libtinfo6 amd64 6.1+20180210-2ubuntu2 [83.8 kB] Get:3 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 bash amd64 4.4.18-2ubuntu2 [614 kB] Get:4 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 ncurses-bin amd64 6.1+20180210-2ubuntu2 [163 kB] Get:5 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 ncurses-base all 6.1+20180210-2ubuntu2 [17.8 kB] Get:6 http://ftpmaster.internal/ubuntu cosmic/main amd64 libquadmath0 amd64 8.1.0-1ubuntu1 [133 kB] Get:7 http://ftpmaster.internal/ubuntu cosmic/main amd64 libitm1 amd64 8.1.0-1ubuntu1 [28.1 kB] Get:8 http://ftpmaster.internal/ubuntu cosmic/main amd64 gcc-8-base amd64 8.1.0-1ubuntu1 [18.1 kB] Get:9 http://ftpmaster.internal/ubuntu cosmic/main amd64 libstdc++6 amd64 8.1.0-1ubuntu1 [399 kB] Get:10 http://ftpmaster.internal/ubuntu cosmic/main amd64 libmpx2 amd64 8.1.0-1ubuntu1 [11.7 kB] Get:11 http://ftpmaster.internal/ubuntu cosmic/main amd64 liblsan0 amd64 8.1.0-1ubuntu1 [132 kB] Get:12 http://ftpmaster.internal/ubuntu cosmic/main amd64 libtsan0 amd64 8.1.0-1ubuntu1 [288 kB] Get:13 http://ftpmaster.internal/ubuntu cosmic/main amd64 libcc1-0 amd64 8.1.0-1ubuntu1 [39.5 kB] Get:14 http://ftpmaster.internal/ubuntu cosmic/main amd64 libatomic1 amd64 8.1.0-1ubuntu1 [9056 B] Get:15 http://ftpmaster.internal/ubuntu cosmic/main amd64 libgomp1 amd64 8.1.0-1ubuntu1 [76.3 kB] Get:16 http://ftpmaster.internal/ubuntu cosmic/main amd64 libgcc1 amd64 1:8.1.0-1ubuntu1 [40.7 kB] Get:17 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 libncurses5 amd64 6.1+20180210-2ubuntu2 [95.2 kB] Get:18 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 libtinfo5 amd64 6.1+20180210-2ubuntu2 [79.3 kB] Get:19 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 libncursesw5 amd64 6.1+20180210-2ubuntu2 [117 kB] Get:20 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 readline-common all 7.0-4 [52.9 kB] Get:21 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 libreadline7 amd64 7.0-4 [124 kB] Get:22 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 binutils-x86-64-linux-gnu amd64 2.30-17ubuntu1 [1855 kB] Get:23 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 libbinutils amd64 2.30-17ubuntu1 [502 kB] Get:24 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 binutils amd64 2.30-17ubuntu1 [3392 B] Get:25 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 binutils-common amd64 2.30-17ubuntu1 [193 kB] Get:26 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 libubsan0 amd64 7.3.0-17ubuntu1 [126 kB] Get:27 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 libasan4 amd64 7.3.0-17ubuntu1 [358 kB] Get:28 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 libcilkrts5 amd64 7.3.0-17ubuntu1 [42.4 kB] Get:29 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 g++-7 amd64 7.3.0-17ubuntu1 [7566 kB] Get:30 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 gcc-7 amd64 7.3.0-17ubuntu1 [7445 kB] Get:31 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 libstdc++-7-dev amd64 7.3.0-17ubuntu1 [1463 kB] Get:32 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 libgcc-7-dev amd64 7.3.0-17ubuntu1 [2372 kB] Get:33 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 cpp-7 amd64 7.3.0-17ubuntu1 [6731 kB] Get:34 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 gcc-7-base amd64 7.3.0-17ubuntu1 [18.9 kB] Get:35 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 cpp amd64 4:7.3.0-3ubuntu3 [27.5 kB] Get:36 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 gcc amd64 4:7.3.0-3ubuntu3 [5216 B] Get:37 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 g++ amd64 4:7.3.0-3ubuntu3 [1592 B] Get:38 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 build-essential amd64 12.5ubuntu2 [4732 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 31.3 MB in 1s (34.1 MB/s) (Reading database ... 12637 files and directories currently installed.) Preparing to unpack .../base-files_10.1ubuntu3_amd64.deb ... Unpacking base-files (10.1ubuntu3) over (10.1ubuntu2) ... Setting up base-files (10.1ubuntu3) ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... Selecting previously unselected package libtinfo6:amd64. (Reading database ... 12637 files and directories currently installed.) Preparing to unpack .../libtinfo6_6.1+20180210-2ubuntu2_amd64.deb ... Unpacking libtinfo6:amd64 (6.1+20180210-2ubuntu2) ... Setting up libtinfo6:amd64 (6.1+20180210-2ubuntu2) ... (Reading database ... 12646 files and directories currently installed.) Preparing to unpack .../bash_4.4.18-2ubuntu2_amd64.deb ... Unpacking bash (4.4.18-2ubuntu2) over (4.4.18-2ubuntu1) ... Setting up bash (4.4.18-2ubuntu2) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode (Reading database ... 12646 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.1+20180210-2ubuntu2_amd64.deb ... Unpacking ncurses-bin (6.1+20180210-2ubuntu2) over (6.1-1ubuntu1) ... Setting up ncurses-bin (6.1+20180210-2ubuntu2) ... (Reading database ... 12646 files and directories currently installed.) Preparing to unpack .../ncurses-base_6.1+20180210-2ubuntu2_all.deb ... Unpacking ncurses-base (6.1+20180210-2ubuntu2) over (6.1-1ubuntu1) ... Setting up ncurses-base (6.1+20180210-2ubuntu2) ... (Reading database ... 12646 files and directories currently installed.) Preparing to unpack .../libquadmath0_8.1.0-1ubuntu1_amd64.deb ... Unpacking libquadmath0:amd64 (8.1.0-1ubuntu1) over (8-20180414-1ubuntu2) ... Preparing to unpack .../libitm1_8.1.0-1ubuntu1_amd64.deb ... Unpacking libitm1:amd64 (8.1.0-1ubuntu1) over (8-20180414-1ubuntu2) ... Preparing to unpack .../gcc-8-base_8.1.0-1ubuntu1_amd64.deb ... Unpacking gcc-8-base:amd64 (8.1.0-1ubuntu1) over (8-20180414-1ubuntu2) ... Setting up gcc-8-base:amd64 (8.1.0-1ubuntu1) ... (Reading database ... 12646 files and directories currently installed.) Preparing to unpack .../libstdc++6_8.1.0-1ubuntu1_amd64.deb ... Unpacking libstdc++6:amd64 (8.1.0-1ubuntu1) over (8-20180414-1ubuntu2) ... Setting up libstdc++6:amd64 (8.1.0-1ubuntu1) ... (Reading database ... 12646 files and directories currently installed.) Preparing to unpack .../0-libmpx2_8.1.0-1ubuntu1_amd64.deb ... Unpacking libmpx2:amd64 (8.1.0-1ubuntu1) over (8-20180414-1ubuntu2) ... Preparing to unpack .../1-liblsan0_8.1.0-1ubuntu1_amd64.deb ... Unpacking liblsan0:amd64 (8.1.0-1ubuntu1) over (8-20180414-1ubuntu2) ... Preparing to unpack .../2-libtsan0_8.1.0-1ubuntu1_amd64.deb ... Unpacking libtsan0:amd64 (8.1.0-1ubuntu1) over (8-20180414-1ubuntu2) ... Preparing to unpack .../3-libcc1-0_8.1.0-1ubuntu1_amd64.deb ... Unpacking libcc1-0:amd64 (8.1.0-1ubuntu1) over (8-20180414-1ubuntu2) ... Preparing to unpack .../4-libatomic1_8.1.0-1ubuntu1_amd64.deb ... Unpacking libatomic1:amd64 (8.1.0-1ubuntu1) over (8-20180414-1ubuntu2) ... Preparing to unpack .../5-libgomp1_8.1.0-1ubuntu1_amd64.deb ... Unpacking libgomp1:amd64 (8.1.0-1ubuntu1) over (8-20180414-1ubuntu2) ... Preparing to unpack .../6-libgcc1_1%3a8.1.0-1ubuntu1_amd64.deb ... Unpacking libgcc1:amd64 (1:8.1.0-1ubuntu1) over (1:8-20180414-1ubuntu2) ... Setting up libgcc1:amd64 (1:8.1.0-1ubuntu1) ... (Reading database ... 12646 files and directories currently installed.) Preparing to unpack .../libncurses5_6.1+20180210-2ubuntu2_amd64.deb ... Unpacking libncurses5:amd64 (6.1+20180210-2ubuntu2) over (6.1-1ubuntu1) ... Preparing to unpack .../libtinfo5_6.1+20180210-2ubuntu2_amd64.deb ... Unpacking libtinfo5:amd64 (6.1+20180210-2ubuntu2) over (6.1-1ubuntu1) ... Setting up libtinfo5:amd64 (6.1+20180210-2ubuntu2) ... (Reading database ... 12644 files and directories currently installed.) Preparing to unpack .../libncursesw5_6.1+20180210-2ubuntu2_amd64.deb ... Unpacking libncursesw5:amd64 (6.1+20180210-2ubuntu2) over (6.1-1ubuntu1) ... Setting up libncursesw5:amd64 (6.1+20180210-2ubuntu2) ... (Reading database ... 12644 files and directories currently installed.) Preparing to unpack .../00-readline-common_7.0-4_all.deb ... Unpacking readline-common (7.0-4) over (7.0-3) ... Preparing to unpack .../01-libreadline7_7.0-4_amd64.deb ... Unpacking libreadline7:amd64 (7.0-4) over (7.0-3) ... Preparing to unpack .../02-binutils-x86-64-linux-gnu_2.30-17ubuntu1_amd64.deb ... Unpacking binutils-x86-64-linux-gnu (2.30-17ubuntu1) over (2.30-15ubuntu1) ... Preparing to unpack .../03-libbinutils_2.30-17ubuntu1_amd64.deb ... Unpacking libbinutils:amd64 (2.30-17ubuntu1) over (2.30-15ubuntu1) ... Preparing to unpack .../04-binutils_2.30-17ubuntu1_amd64.deb ... Unpacking binutils (2.30-17ubuntu1) over (2.30-15ubuntu1) ... Preparing to unpack .../05-binutils-common_2.30-17ubuntu1_amd64.deb ... Unpacking binutils-common:amd64 (2.30-17ubuntu1) over (2.30-15ubuntu1) ... Preparing to unpack .../06-libubsan0_7.3.0-17ubuntu1_amd64.deb ... Unpacking libubsan0:amd64 (7.3.0-17ubuntu1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../07-libasan4_7.3.0-17ubuntu1_amd64.deb ... Unpacking libasan4:amd64 (7.3.0-17ubuntu1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../08-libcilkrts5_7.3.0-17ubuntu1_amd64.deb ... Unpacking libcilkrts5:amd64 (7.3.0-17ubuntu1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../09-g++-7_7.3.0-17ubuntu1_amd64.deb ... Unpacking g++-7 (7.3.0-17ubuntu1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../10-gcc-7_7.3.0-17ubuntu1_amd64.deb ... Unpacking gcc-7 (7.3.0-17ubuntu1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../11-libstdc++-7-dev_7.3.0-17ubuntu1_amd64.deb ... Unpacking libstdc++-7-dev:amd64 (7.3.0-17ubuntu1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../12-libgcc-7-dev_7.3.0-17ubuntu1_amd64.deb ... Unpacking libgcc-7-dev:amd64 (7.3.0-17ubuntu1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../13-cpp-7_7.3.0-17ubuntu1_amd64.deb ... Unpacking cpp-7 (7.3.0-17ubuntu1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../14-gcc-7-base_7.3.0-17ubuntu1_amd64.deb ... Unpacking gcc-7-base:amd64 (7.3.0-17ubuntu1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../15-cpp_4%3a7.3.0-3ubuntu3_amd64.deb ... Unpacking cpp (4:7.3.0-3ubuntu3) over (4:7.3.0-3ubuntu2) ... Preparing to unpack .../16-gcc_4%3a7.3.0-3ubuntu3_amd64.deb ... Unpacking gcc (4:7.3.0-3ubuntu3) over (4:7.3.0-3ubuntu2) ... Preparing to unpack .../17-g++_4%3a7.3.0-3ubuntu3_amd64.deb ... Unpacking g++ (4:7.3.0-3ubuntu3) over (4:7.3.0-3ubuntu2) ... Preparing to unpack .../18-build-essential_12.5ubuntu2_amd64.deb ... Unpacking build-essential (12.5ubuntu2) over (12.4ubuntu1) ... Setting up libquadmath0:amd64 (8.1.0-1ubuntu1) ... Setting up libncurses5:amd64 (6.1+20180210-2ubuntu2) ... Setting up libgomp1:amd64 (8.1.0-1ubuntu1) ... Setting up libatomic1:amd64 (8.1.0-1ubuntu1) ... Setting up readline-common (7.0-4) ... Setting up libcc1-0:amd64 (8.1.0-1ubuntu1) ... Setting up libreadline7:amd64 (7.0-4) ... Setting up libtsan0:amd64 (8.1.0-1ubuntu1) ... Setting up liblsan0:amd64 (8.1.0-1ubuntu1) ... Setting up gcc-7-base:amd64 (7.3.0-17ubuntu1) ... Setting up binutils-common:amd64 (2.30-17ubuntu1) ... Setting up libmpx2:amd64 (8.1.0-1ubuntu1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Setting up libitm1:amd64 (8.1.0-1ubuntu1) ... Setting up libasan4:amd64 (7.3.0-17ubuntu1) ... Setting up libbinutils:amd64 (2.30-17ubuntu1) ... Setting up libcilkrts5:amd64 (7.3.0-17ubuntu1) ... Setting up libubsan0:amd64 (7.3.0-17ubuntu1) ... Setting up libgcc-7-dev:amd64 (7.3.0-17ubuntu1) ... Setting up cpp-7 (7.3.0-17ubuntu1) ... Setting up libstdc++-7-dev:amd64 (7.3.0-17ubuntu1) ... Setting up binutils-x86-64-linux-gnu (2.30-17ubuntu1) ... Setting up cpp (4:7.3.0-3ubuntu3) ... Setting up binutils (2.30-17ubuntu1) ... Setting up gcc-7 (7.3.0-17ubuntu1) ... Setting up g++-7 (7.3.0-17ubuntu1) ... Setting up gcc (4:7.3.0-3ubuntu3) ... Setting up g++ (4:7.3.0-3ubuntu3) ... Setting up build-essential (12.5ubuntu2) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... RUN: /usr/share/launchpad-buildd/slavebin/sbuild-package PACKAGEBUILD-14819721 amd64 cosmic-proposed -c chroot:build-PACKAGEBUILD-14819721 --arch=amd64 --dist=cosmic-proposed --nolog -A scm_5f2-2build1.dsc Initiating build PACKAGEBUILD-14819721 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 4.4.0-122-generic #146-Ubuntu SMP Mon Apr 23 15:34:04 UTC 2018 x86_64 sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on lgw01-amd64-030.buildd +==============================================================================+ | scm 5f2-2build1 (amd64) 03 May 2018 15:17 | +==============================================================================+ Package: scm Version: 5f2-2build1 Source Version: 5f2-2build1 Distribution: cosmic-proposed Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 I: NOTICE: Log filtering will replace 'build/scm-UnkU54/scm-5f2' with '<>' I: NOTICE: Log filtering will replace 'build/scm-UnkU54' with '<>' I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-14819721/chroot-autobuild' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- scm_5f2-2build1.dsc exists in .; copying to chroot Check architectures ------------------- Check dependencies ------------------ Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-psYMW7/apt_archive/sbuild-build-depends-core-dummy.deb'. Ign:1 copy:/<>/resolver-psYMW7/apt_archive ./ InRelease Get:2 copy:/<>/resolver-psYMW7/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-psYMW7/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-psYMW7/apt_archive ./ Sources [214 B] Get:5 copy:/<>/resolver-psYMW7/apt_archive ./ Packages [527 B] Fetched 2860 B in 0s (216 kB/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install core build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 852 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-psYMW7/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [852 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 852 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 12644 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: slib (>> 3b1), libncurses5-dev, libreadline-dev, texinfo, libx11-dev, debhelper (>= 9) Filtered Build-Depends: slib (>> 3b1), libncurses5-dev, libreadline-dev, texinfo, libx11-dev, debhelper (>= 9) dpkg-deb: building package 'sbuild-build-depends-scm-dummy' in '/<>/resolver-hu3aPv/apt_archive/sbuild-build-depends-scm-dummy.deb'. Ign:1 copy:/<>/resolver-hu3aPv/apt_archive ./ InRelease Get:2 copy:/<>/resolver-hu3aPv/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-hu3aPv/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-hu3aPv/apt_archive ./ Sources [247 B] Get:5 copy:/<>/resolver-hu3aPv/apt_archive ./ Packages [563 B] Fetched 2929 B in 0s (213 kB/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install scm build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libfile-stripnondeterminism-perl libglib2.0-0 libicu60 libmagic-mgc libmagic1 libncurses-dev libncurses5-dev libncurses6 libncursesw6 libpipeline1 libpthread-stubs0-dev libreadline-dev libsigsegv2 libtext-unidecode-perl libtimedate-perl libtool libx11-6 libx11-data libx11-dev libxau-dev libxau6 libxcb1 libxcb1-dev libxdmcp-dev libxdmcp6 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml2 m4 man-db po-debconf slib tex-common texinfo ucf x11proto-core-dev x11proto-dev xorg-sgml-doctools xtrans-dev Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make dwz gettext-doc libasprintf-dev libgettextpo-dev groff readline-doc libtool-doc gfortran | fortran95-compiler gcj-jdk libxcb-doc m4-doc apparmor less www-browser libmail-box-perl texlive-base texlive-latex-base texlive-generic-recommended texinfo-doc-nonfree texlive-fonts-recommended Recommended packages: curl | wget | lynx libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libgpm2 libltdl-dev libx11-doc libxml-sax-expat-perl libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libfile-stripnondeterminism-perl libglib2.0-0 libicu60 libmagic-mgc libmagic1 libncurses-dev libncurses5-dev libncurses6 libncursesw6 libpipeline1 libpthread-stubs0-dev libreadline-dev libsigsegv2 libtext-unidecode-perl libtimedate-perl libtool libx11-6 libx11-data libx11-dev libxau-dev libxau6 libxcb1 libxcb1-dev libxdmcp-dev libxdmcp6 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml2 m4 man-db po-debconf sbuild-build-depends-scm-dummy slib tex-common texinfo ucf x11proto-core-dev x11proto-dev xorg-sgml-doctools xtrans-dev 0 upgraded, 58 newly installed, 0 to remove and 0 not upgraded. Need to get 21.2 MB of archives. After this operation, 88.1 MB of additional disk space will be used. Get:1 copy:/<>/resolver-hu3aPv/apt_archive ./ sbuild-build-depends-scm-dummy 0.invalid.0 [892 B] Get:2 http://ftpmaster.internal/ubuntu cosmic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] Get:3 http://ftpmaster.internal/ubuntu cosmic/main amd64 libbsd0 amd64 0.8.7-1 [41.5 kB] Get:4 http://ftpmaster.internal/ubuntu cosmic/main amd64 bsdmainutils amd64 11.1.2ubuntu1 [181 kB] Get:5 http://ftpmaster.internal/ubuntu cosmic/main amd64 groff-base amd64 1.22.3-10 [1153 kB] Get:6 http://ftpmaster.internal/ubuntu cosmic/main amd64 libpipeline1 amd64 1.5.0-1 [25.3 kB] Get:7 http://ftpmaster.internal/ubuntu cosmic/main amd64 man-db amd64 2.8.3-2 [1019 kB] Get:8 http://ftpmaster.internal/ubuntu cosmic/main amd64 ucf all 3.0038 [50.5 kB] Get:9 http://ftpmaster.internal/ubuntu cosmic/main amd64 tex-common all 6.09 [33.0 kB] Get:10 http://ftpmaster.internal/ubuntu cosmic/main amd64 libmagic-mgc amd64 1:5.32-2 [184 kB] Get:11 http://ftpmaster.internal/ubuntu cosmic/main amd64 libmagic1 amd64 1:5.32-2 [68.5 kB] Get:12 http://ftpmaster.internal/ubuntu cosmic/main amd64 file amd64 1:5.32-2 [22.1 kB] Get:13 http://ftpmaster.internal/ubuntu cosmic/main amd64 libglib2.0-0 amd64 2.56.1-2ubuntu1 [1167 kB] Get:14 http://ftpmaster.internal/ubuntu cosmic/main amd64 libicu60 amd64 60.2-3ubuntu3 [8054 kB] Get:15 http://ftpmaster.internal/ubuntu cosmic/main amd64 libxml2 amd64 2.9.4+dfsg1-6.1ubuntu1 [662 kB] Get:16 http://ftpmaster.internal/ubuntu cosmic/main amd64 gettext-base amd64 0.19.8.1-6 [50.0 kB] Get:17 http://ftpmaster.internal/ubuntu cosmic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] Get:18 http://ftpmaster.internal/ubuntu cosmic/main amd64 libxcb1 amd64 1.13-1 [45.6 kB] Get:19 http://ftpmaster.internal/ubuntu cosmic/main amd64 libx11-data all 2:1.6.4-3 [114 kB] Get:20 http://ftpmaster.internal/ubuntu cosmic/main amd64 libx11-6 amd64 2:1.6.4-3 [572 kB] Get:21 http://ftpmaster.internal/ubuntu cosmic/main amd64 libsigsegv2 amd64 2.12-1 [14.7 kB] Get:22 http://ftpmaster.internal/ubuntu cosmic/main amd64 m4 amd64 1.4.18-1 [197 kB] Get:23 http://ftpmaster.internal/ubuntu cosmic/main amd64 autoconf all 2.69-11 [322 kB] Get:24 http://ftpmaster.internal/ubuntu cosmic/main amd64 autotools-dev all 20180224.1 [39.6 kB] Get:25 http://ftpmaster.internal/ubuntu cosmic/main amd64 automake all 1:1.15.1-3ubuntu2 [509 kB] Get:26 http://ftpmaster.internal/ubuntu cosmic/main amd64 autopoint all 0.19.8.1-6 [412 kB] Get:27 http://ftpmaster.internal/ubuntu cosmic/main amd64 libtool all 2.4.6-2 [194 kB] Get:28 http://ftpmaster.internal/ubuntu cosmic/main amd64 dh-autoreconf all 17 [15.8 kB] Get:29 http://ftpmaster.internal/ubuntu cosmic/main amd64 libarchive-zip-perl all 1.60-1 [83.9 kB] Get:30 http://ftpmaster.internal/ubuntu cosmic/main amd64 libfile-stripnondeterminism-perl all 0.040-1.1~build1 [13.8 kB] Get:31 http://ftpmaster.internal/ubuntu cosmic/main amd64 libtimedate-perl all 2.3000-2 [37.5 kB] Get:32 http://ftpmaster.internal/ubuntu cosmic/main amd64 dh-strip-nondeterminism all 0.040-1.1~build1 [5208 B] Get:33 http://ftpmaster.internal/ubuntu cosmic/main amd64 libcroco3 amd64 0.6.12-2 [81.3 kB] Get:34 http://ftpmaster.internal/ubuntu cosmic/main amd64 gettext amd64 0.19.8.1-6 [895 kB] Get:35 http://ftpmaster.internal/ubuntu cosmic/main amd64 intltool-debian all 0.35.0+20060710.4 [24.9 kB] Get:36 http://ftpmaster.internal/ubuntu cosmic/main amd64 po-debconf all 1.0.20 [232 kB] Get:37 http://ftpmaster.internal/ubuntu cosmic/main amd64 debhelper all 11.2.1ubuntu1 [906 kB] Get:38 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 libncurses6 amd64 6.1+20180210-2ubuntu2 [100 kB] Get:39 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 libncursesw6 amd64 6.1+20180210-2ubuntu2 [130 kB] Get:40 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 libncurses-dev amd64 6.1+20180210-2ubuntu2 [333 kB] Get:41 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 libncurses5-dev amd64 6.1+20180210-2ubuntu2 [976 B] Get:42 http://ftpmaster.internal/ubuntu cosmic/main amd64 libpthread-stubs0-dev amd64 0.3-4 [4068 B] Get:43 http://ftpmaster.internal/ubuntu cosmic-proposed/main amd64 libreadline-dev amd64 7.0-4 [133 kB] Get:44 http://ftpmaster.internal/ubuntu cosmic/universe amd64 libtext-unidecode-perl all 1.30-1 [99.0 kB] Get:45 http://ftpmaster.internal/ubuntu cosmic/main amd64 xorg-sgml-doctools all 1:1.11-1 [12.9 kB] Get:46 http://ftpmaster.internal/ubuntu cosmic/main amd64 x11proto-dev all 2018.4-4 [251 kB] Get:47 http://ftpmaster.internal/ubuntu cosmic/main amd64 x11proto-core-dev all 2018.4-4 [2620 B] Get:48 http://ftpmaster.internal/ubuntu cosmic/main amd64 libxau-dev amd64 1:1.0.8-1 [11.1 kB] Get:49 http://ftpmaster.internal/ubuntu cosmic/main amd64 libxdmcp-dev amd64 1:1.1.2-3 [25.1 kB] Get:50 http://ftpmaster.internal/ubuntu cosmic/main amd64 xtrans-dev all 1.3.5-1 [70.5 kB] Get:51 http://ftpmaster.internal/ubuntu cosmic/main amd64 libxcb1-dev amd64 1.13-1 [80.0 kB] Get:52 http://ftpmaster.internal/ubuntu cosmic/main amd64 libx11-dev amd64 2:1.6.4-3 [642 kB] Get:53 http://ftpmaster.internal/ubuntu cosmic/main amd64 libxml-namespacesupport-perl all 1.12-1 [13.2 kB] Get:54 http://ftpmaster.internal/ubuntu cosmic/main amd64 libxml-sax-base-perl all 1.09-1 [18.8 kB] Get:55 http://ftpmaster.internal/ubuntu cosmic/main amd64 libxml-sax-perl all 0.99+dfsg-2ubuntu1 [64.6 kB] Get:56 http://ftpmaster.internal/ubuntu cosmic/main amd64 libxml-libxml-perl amd64 2.0128+dfsg-5 [316 kB] Get:57 http://ftpmaster.internal/ubuntu cosmic/universe amd64 slib all 3b1-5 [715 kB] Get:58 http://ftpmaster.internal/ubuntu cosmic/universe amd64 texinfo amd64 6.5.0.dfsg.1-2 [752 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 21.2 MB in 1s (34.6 MB/s) Selecting previously unselected package libxau6:amd64. (Reading database ... 12644 files and directories currently installed.) Preparing to unpack .../00-libxau6_1%3a1.0.8-1_amd64.deb ... Unpacking libxau6:amd64 (1:1.0.8-1) ... Selecting previously unselected package libbsd0:amd64. Preparing to unpack .../01-libbsd0_0.8.7-1_amd64.deb ... Unpacking libbsd0:amd64 (0.8.7-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../02-bsdmainutils_11.1.2ubuntu1_amd64.deb ... Unpacking bsdmainutils (11.1.2ubuntu1) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.3-10_amd64.deb ... Unpacking groff-base (1.22.3-10) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../04-libpipeline1_1.5.0-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.0-1) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.3-2_amd64.deb ... Unpacking man-db (2.8.3-2) ... Selecting previously unselected package ucf. Preparing to unpack .../06-ucf_3.0038_all.deb ... Moving old data out of the way Unpacking ucf (3.0038) ... Selecting previously unselected package tex-common. Preparing to unpack .../07-tex-common_6.09_all.deb ... Unpacking tex-common (6.09) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../08-libmagic-mgc_1%3a5.32-2_amd64.deb ... Unpacking libmagic-mgc (1:5.32-2) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../09-libmagic1_1%3a5.32-2_amd64.deb ... Unpacking libmagic1:amd64 (1:5.32-2) ... Selecting previously unselected package file. Preparing to unpack .../10-file_1%3a5.32-2_amd64.deb ... Unpacking file (1:5.32-2) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../11-libglib2.0-0_2.56.1-2ubuntu1_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.56.1-2ubuntu1) ... Selecting previously unselected package libicu60:amd64. Preparing to unpack .../12-libicu60_60.2-3ubuntu3_amd64.deb ... Unpacking libicu60:amd64 (60.2-3ubuntu3) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../13-libxml2_2.9.4+dfsg1-6.1ubuntu1_amd64.deb ... Unpacking libxml2:amd64 (2.9.4+dfsg1-6.1ubuntu1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../14-gettext-base_0.19.8.1-6_amd64.deb ... Unpacking gettext-base (0.19.8.1-6) ... Selecting previously unselected package libxdmcp6:amd64. Preparing to unpack .../15-libxdmcp6_1%3a1.1.2-3_amd64.deb ... Unpacking libxdmcp6:amd64 (1:1.1.2-3) ... Selecting previously unselected package libxcb1:amd64. Preparing to unpack .../16-libxcb1_1.13-1_amd64.deb ... Unpacking libxcb1:amd64 (1.13-1) ... Selecting previously unselected package libx11-data. Preparing to unpack .../17-libx11-data_2%3a1.6.4-3_all.deb ... Unpacking libx11-data (2:1.6.4-3) ... Selecting previously unselected package libx11-6:amd64. Preparing to unpack .../18-libx11-6_2%3a1.6.4-3_amd64.deb ... Unpacking libx11-6:amd64 (2:1.6.4-3) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../19-libsigsegv2_2.12-1_amd64.deb ... Unpacking libsigsegv2:amd64 (2.12-1) ... Selecting previously unselected package m4. Preparing to unpack .../20-m4_1.4.18-1_amd64.deb ... Unpacking m4 (1.4.18-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../21-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../22-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../23-automake_1%3a1.15.1-3ubuntu2_all.deb ... Unpacking automake (1:1.15.1-3ubuntu2) ... Selecting previously unselected package autopoint. Preparing to unpack .../24-autopoint_0.19.8.1-6_all.deb ... Unpacking autopoint (0.19.8.1-6) ... Selecting previously unselected package libtool. Preparing to unpack .../25-libtool_2.4.6-2_all.deb ... Unpacking libtool (2.4.6-2) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../26-dh-autoreconf_17_all.deb ... Unpacking dh-autoreconf (17) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../27-libarchive-zip-perl_1.60-1_all.deb ... Unpacking libarchive-zip-perl (1.60-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../28-libfile-stripnondeterminism-perl_0.040-1.1~build1_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.040-1.1~build1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../29-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../30-dh-strip-nondeterminism_0.040-1.1~build1_all.deb ... Unpacking dh-strip-nondeterminism (0.040-1.1~build1) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../31-libcroco3_0.6.12-2_amd64.deb ... Unpacking libcroco3:amd64 (0.6.12-2) ... Selecting previously unselected package gettext. Preparing to unpack .../32-gettext_0.19.8.1-6_amd64.deb ... Unpacking gettext (0.19.8.1-6) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../33-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../34-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../35-debhelper_11.2.1ubuntu1_all.deb ... Unpacking debhelper (11.2.1ubuntu1) ... Selecting previously unselected package libncurses6:amd64. Preparing to unpack .../36-libncurses6_6.1+20180210-2ubuntu2_amd64.deb ... Unpacking libncurses6:amd64 (6.1+20180210-2ubuntu2) ... Selecting previously unselected package libncursesw6:amd64. Preparing to unpack .../37-libncursesw6_6.1+20180210-2ubuntu2_amd64.deb ... Unpacking libncursesw6:amd64 (6.1+20180210-2ubuntu2) ... Selecting previously unselected package libncurses-dev:amd64. Preparing to unpack .../38-libncurses-dev_6.1+20180210-2ubuntu2_amd64.deb ... Unpacking libncurses-dev:amd64 (6.1+20180210-2ubuntu2) ... Selecting previously unselected package libncurses5-dev:amd64. Preparing to unpack .../39-libncurses5-dev_6.1+20180210-2ubuntu2_amd64.deb ... Unpacking libncurses5-dev:amd64 (6.1+20180210-2ubuntu2) ... Selecting previously unselected package libpthread-stubs0-dev:amd64. Preparing to unpack .../40-libpthread-stubs0-dev_0.3-4_amd64.deb ... Unpacking libpthread-stubs0-dev:amd64 (0.3-4) ... Selecting previously unselected package libreadline-dev:amd64. Preparing to unpack .../41-libreadline-dev_7.0-4_amd64.deb ... Unpacking libreadline-dev:amd64 (7.0-4) ... Selecting previously unselected package libtext-unidecode-perl. Preparing to unpack .../42-libtext-unidecode-perl_1.30-1_all.deb ... Unpacking libtext-unidecode-perl (1.30-1) ... Selecting previously unselected package xorg-sgml-doctools. Preparing to unpack .../43-xorg-sgml-doctools_1%3a1.11-1_all.deb ... Unpacking xorg-sgml-doctools (1:1.11-1) ... Selecting previously unselected package x11proto-dev. Preparing to unpack .../44-x11proto-dev_2018.4-4_all.deb ... Unpacking x11proto-dev (2018.4-4) ... Selecting previously unselected package x11proto-core-dev. Preparing to unpack .../45-x11proto-core-dev_2018.4-4_all.deb ... Unpacking x11proto-core-dev (2018.4-4) ... Selecting previously unselected package libxau-dev:amd64. Preparing to unpack .../46-libxau-dev_1%3a1.0.8-1_amd64.deb ... Unpacking libxau-dev:amd64 (1:1.0.8-1) ... Selecting previously unselected package libxdmcp-dev:amd64. Preparing to unpack .../47-libxdmcp-dev_1%3a1.1.2-3_amd64.deb ... Unpacking libxdmcp-dev:amd64 (1:1.1.2-3) ... Selecting previously unselected package xtrans-dev. Preparing to unpack .../48-xtrans-dev_1.3.5-1_all.deb ... Unpacking xtrans-dev (1.3.5-1) ... Selecting previously unselected package libxcb1-dev:amd64. Preparing to unpack .../49-libxcb1-dev_1.13-1_amd64.deb ... Unpacking libxcb1-dev:amd64 (1.13-1) ... Selecting previously unselected package libx11-dev:amd64. Preparing to unpack .../50-libx11-dev_2%3a1.6.4-3_amd64.deb ... Unpacking libx11-dev:amd64 (2:1.6.4-3) ... Selecting previously unselected package libxml-namespacesupport-perl. Preparing to unpack .../51-libxml-namespacesupport-perl_1.12-1_all.deb ... Unpacking libxml-namespacesupport-perl (1.12-1) ... Selecting previously unselected package libxml-sax-base-perl. Preparing to unpack .../52-libxml-sax-base-perl_1.09-1_all.deb ... Unpacking libxml-sax-base-perl (1.09-1) ... Selecting previously unselected package libxml-sax-perl. Preparing to unpack .../53-libxml-sax-perl_0.99+dfsg-2ubuntu1_all.deb ... Unpacking libxml-sax-perl (0.99+dfsg-2ubuntu1) ... Selecting previously unselected package libxml-libxml-perl. Preparing to unpack .../54-libxml-libxml-perl_2.0128+dfsg-5_amd64.deb ... Unpacking libxml-libxml-perl (2.0128+dfsg-5) ... Selecting previously unselected package slib. Preparing to unpack .../55-slib_3b1-5_all.deb ... Unpacking slib (3b1-5) ... Selecting previously unselected package texinfo. Preparing to unpack .../56-texinfo_6.5.0.dfsg.1-2_amd64.deb ... Unpacking texinfo (6.5.0.dfsg.1-2) ... Selecting previously unselected package sbuild-build-depends-scm-dummy. Preparing to unpack .../57-sbuild-build-depends-scm-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-scm-dummy (0.invalid.0) ... Setting up libicu60:amd64 (60.2-3ubuntu3) ... Setting up libarchive-zip-perl (1.60-1) ... Setting up libxml-namespacesupport-perl (1.12-1) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libsigsegv2:amd64 (2.12-1) ... Setting up libpthread-stubs0-dev:amd64 (0.3-4) ... Setting up groff-base (1.22.3-10) ... Setting up libglib2.0-0:amd64 (2.56.1-2ubuntu1) ... No schema files found: doing nothing. Setting up xorg-sgml-doctools (1:1.11-1) ... Setting up libncursesw6:amd64 (6.1+20180210-2ubuntu2) ... Setting up libtext-unidecode-perl (1.30-1) ... Setting up gettext-base (0.19.8.1-6) ... Setting up libpipeline1:amd64 (1.5.0-1) ... Setting up m4 (1.4.18-1) ... Setting up libbsd0:amd64 (0.8.7-1) ... Setting up ucf (3.0038) ... Setting up libxml2:amd64 (2.9.4+dfsg1-6.1ubuntu1) ... Setting up x11proto-dev (2018.4-4) ... Setting up libmagic-mgc (1:5.32-2) ... Setting up libmagic1:amd64 (1:5.32-2) ... Setting up libcroco3:amd64 (0.6.12-2) ... Setting up libxml-sax-base-perl (1.09-1) ... Setting up xtrans-dev (1.3.5-1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Setting up autotools-dev (20180224.1) ... Setting up libxdmcp6:amd64 (1:1.1.2-3) ... Setting up bsdmainutils (11.1.2ubuntu1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up slib (3b1-5) ... Setting up libncurses6:amd64 (6.1+20180210-2ubuntu2) ... Setting up libx11-data (2:1.6.4-3) ... Setting up libxau6:amd64 (1:1.0.8-1) ... Setting up autopoint (0.19.8.1-6) ... Setting up libfile-stripnondeterminism-perl (0.040-1.1~build1) ... Setting up libxml-sax-perl (0.99+dfsg-2ubuntu1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up tex-common (6.09) ... update-language: texlive-base not installed and configured, doing nothing! Setting up x11proto-core-dev (2018.4-4) ... Setting up gettext (0.19.8.1-6) ... Setting up libxau-dev:amd64 (1:1.0.8-1) ... Setting up autoconf (2.69-11) ... Setting up file (1:5.32-2) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up libxdmcp-dev:amd64 (1:1.1.2-3) ... Setting up automake (1:1.15.1-3ubuntu2) ... update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode Setting up man-db (2.8.3-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libxml-libxml-perl (2.0128+dfsg-5) ... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up libncurses-dev:amd64 (6.1+20180210-2ubuntu2) ... Setting up libxcb1:amd64 (1.13-1) ... Setting up libtool (2.4.6-2) ... Setting up po-debconf (1.0.20) ... Setting up libx11-6:amd64 (2:1.6.4-3) ... Setting up libncurses5-dev:amd64 (6.1+20180210-2ubuntu2) ... Setting up libreadline-dev:amd64 (7.0-4) ... Setting up libxcb1-dev:amd64 (1.13-1) ... Setting up texinfo (6.5.0.dfsg.1-2) ... Setting up libx11-dev:amd64 (2:1.6.4-3) ... Setting up dh-autoreconf (17) ... Setting up debhelper (11.2.1ubuntu1) ... Setting up dh-strip-nondeterminism (0.040-1.1~build1) ... Setting up sbuild-build-depends-scm-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.4.0-122-generic amd64 (x86_64) Toolchain package versions: binutils_2.30-17ubuntu1 dpkg-dev_1.19.0.5ubuntu2 g++-7_7.3.0-17ubuntu1 gcc-7_7.3.0-17ubuntu1 libc6-dev_2.27-3ubuntu1 libstdc++-7-dev_7.3.0-17ubuntu1 libstdc++6_8.1.0-1ubuntu1 linux-libc-dev_4.15.0-20.21 Package versions: adduser_3.116ubuntu1 advancecomp_2.1-1 apt_1.6.1 autoconf_2.69-11 automake_1:1.15.1-3ubuntu2 autopoint_0.19.8.1-6 autotools-dev_20180224.1 base-files_10.1ubuntu3 base-passwd_3.5.44 bash_4.4.18-2ubuntu2 binutils_2.30-17ubuntu1 binutils-common_2.30-17ubuntu1 binutils-x86-64-linux-gnu_2.30-17ubuntu1 bsdmainutils_11.1.2ubuntu1 bsdutils_1:2.31.1-0.4ubuntu3 build-essential_12.5ubuntu2 bzip2_1.0.6-8.1 ca-certificates_20180409 coreutils_8.28-1ubuntu1 cpp_4:7.3.0-3ubuntu3 cpp-7_7.3.0-17ubuntu1 dash_0.5.8-2.10 debconf_1.5.66 debhelper_11.2.1ubuntu1 debianutils_4.8.4 dh-autoreconf_17 dh-strip-nondeterminism_0.040-1.1~build1 diffutils_1:3.6-1 dmsetup_2:1.02.145-4.1ubuntu3 dpkg_1.19.0.5ubuntu2 dpkg-dev_1.19.0.5ubuntu2 e2fslibs_1.44.1-1 e2fsprogs_1.44.1-1 fakeroot_1.22-2ubuntu1 fdisk_2.31.1-0.4ubuntu3 file_1:5.32-2 findutils_4.6.0+git+20170828-2 g++_4:7.3.0-3ubuntu3 g++-7_7.3.0-17ubuntu1 gcc_4:7.3.0-3ubuntu3 gcc-7_7.3.0-17ubuntu1 gcc-7-base_7.3.0-17ubuntu1 gcc-8-base_8.1.0-1ubuntu1 gettext_0.19.8.1-6 gettext-base_0.19.8.1-6 gpg_2.2.4-1ubuntu1 gpg-agent_2.2.4-1ubuntu1 gpgconf_2.2.4-1ubuntu1 gpgv_2.2.4-1ubuntu1 grep_3.1-2 groff-base_1.22.3-10 gzip_1.6-5ubuntu1 hostname_3.20 init_1.51 init-system-helpers_1.51 initscripts_2.88dsf-59.3ubuntu2 insserv_1.14.0-5ubuntu3 intltool-debian_0.35.0+20060710.4 libacl1_2.2.52-3build1 libapparmor1_2.12-4ubuntu5 libapt-pkg5.0_1.6.1 libarchive-zip-perl_1.60-1 libargon2-0_0~20161029-1.1 libasan4_7.3.0-17ubuntu1 libassuan0_2.5.1-2 libatomic1_8.1.0-1ubuntu1 libattr1_1:2.4.47-2build1 libaudit-common_1:2.8.2-1ubuntu1 libaudit1_1:2.8.2-1ubuntu1 libbinutils_2.30-17ubuntu1 libblkid1_2.31.1-0.4ubuntu3 libbsd0_0.8.7-1 libbz2-1.0_1.0.6-8.1 libc-bin_2.27-3ubuntu1 libc-dev-bin_2.27-3ubuntu1 libc6_2.27-3ubuntu1 libc6-dev_2.27-3ubuntu1 libcap-ng0_0.7.7-3.1 libcap2_1:2.25-1.2 libcc1-0_8.1.0-1ubuntu1 libcilkrts5_7.3.0-17ubuntu1 libcom-err2_1.44.1-1 libcomerr2_1.44.1-1 libcroco3_0.6.12-2 libcryptsetup12_2:2.0.2-1ubuntu1 libdb5.3_5.3.28-13.1ubuntu1 libdebconfclient0_0.213ubuntu1 libdevmapper1.02.1_2:1.02.145-4.1ubuntu3 libdpkg-perl_1.19.0.5ubuntu2 libext2fs2_1.44.1-1 libfakeroot_1.22-2ubuntu1 libfdisk1_2.31.1-0.4ubuntu3 libffi6_3.2.1-8 libfile-stripnondeterminism-perl_0.040-1.1~build1 libgcc-7-dev_7.3.0-17ubuntu1 libgcc1_1:8.1.0-1ubuntu1 libgcrypt20_1.8.1-4ubuntu1 libgdbm-compat4_1.14.1-6 libgdbm5_1.14.1-6 libglib2.0-0_2.56.1-2ubuntu1 libgmp10_2:6.1.2+dfsg-2 libgnutls30_3.5.18-1ubuntu1 libgomp1_8.1.0-1ubuntu1 libgpg-error0_1.27-6 libhogweed4_3.4-1 libicu60_60.2-3ubuntu3 libidn11_1.33-2.1ubuntu1 libidn2-0_2.0.4-1.1build2 libip4tc0_1.6.1-2ubuntu2 libisl19_0.19-1 libitm1_8.1.0-1ubuntu1 libjson-c3_0.12.1-1.3 libkmod2_24-1ubuntu3 liblockfile-bin_1.14-1.1 liblockfile1_1.14-1.1 liblsan0_8.1.0-1ubuntu1 liblz4-1_0.0~r131-2ubuntu3 liblzma5_5.2.2-1.3 libmagic-mgc_1:5.32-2 libmagic1_1:5.32-2 libmount1_2.31.1-0.4ubuntu3 libmpc3_1.1.0-1 libmpfr6_4.0.1-1 libmpx2_8.1.0-1ubuntu1 libncurses-dev_6.1+20180210-2ubuntu2 libncurses5_6.1+20180210-2ubuntu2 libncurses5-dev_6.1+20180210-2ubuntu2 libncurses6_6.1+20180210-2ubuntu2 libncursesw5_6.1+20180210-2ubuntu2 libncursesw6_6.1+20180210-2ubuntu2 libnettle6_3.4-1 libnpth0_1.5-3 libp11-kit0_0.23.9-2 libpam-modules_1.1.8-3.6ubuntu2 libpam-modules-bin_1.1.8-3.6ubuntu2 libpam-runtime_1.1.8-3.6ubuntu2 libpam0g_1.1.8-3.6ubuntu2 libpcre3_2:8.39-9 libperl5.26_5.26.1-6 libpipeline1_1.5.0-1 libpng16-16_1.6.34-1 libprocps6_2:3.3.12-3ubuntu1 libpthread-stubs0-dev_0.3-4 libquadmath0_8.1.0-1ubuntu1 libreadline-dev_7.0-4 libreadline7_7.0-4 libseccomp2_2.3.1-2.1ubuntu4 libselinux1_2.7-2build2 libsemanage-common_2.7-2build2 libsemanage1_2.7-2build2 libsepol1_2.7-1 libsigsegv2_2.12-1 libslang2_2.3.1a-3ubuntu1 libsmartcols1_2.31.1-0.4ubuntu3 libsqlite3-0_3.22.0-1 libss2_1.44.1-1 libssl1.1_1.1.0g-2ubuntu4 libstdc++-7-dev_7.3.0-17ubuntu1 libstdc++6_8.1.0-1ubuntu1 libsystemd0_237-3ubuntu10 libtasn1-6_4.13-2 libtext-unidecode-perl_1.30-1 libtimedate-perl_2.3000-2 libtinfo5_6.1+20180210-2ubuntu2 libtinfo6_6.1+20180210-2ubuntu2 libtool_2.4.6-2 libtsan0_8.1.0-1ubuntu1 libubsan0_7.3.0-17ubuntu1 libudev1_237-3ubuntu10 libunistring2_0.9.9-0ubuntu1 libusb-0.1-4_2:0.1.12-31 libuuid1_2.31.1-0.4ubuntu3 libx11-6_2:1.6.4-3 libx11-data_2:1.6.4-3 libx11-dev_2:1.6.4-3 libxau-dev_1:1.0.8-1 libxau6_1:1.0.8-1 libxcb1_1.13-1 libxcb1-dev_1.13-1 libxdmcp-dev_1:1.1.2-3 libxdmcp6_1:1.1.2-3 libxml-libxml-perl_2.0128+dfsg-5 libxml-namespacesupport-perl_1.12-1 libxml-sax-base-perl_1.09-1 libxml-sax-perl_0.99+dfsg-2ubuntu1 libxml2_2.9.4+dfsg1-6.1ubuntu1 libzstd1_1.3.3+dfsg-2ubuntu1 linux-libc-dev_4.15.0-20.21 lockfile-progs_0.1.17build1 login_1:4.5-1ubuntu1 lsb-base_9.20170808ubuntu1 m4_1.4.18-1 make_4.1-9.1ubuntu1 man-db_2.8.3-2 mawk_1.3.3-17ubuntu3 mount_2.31.1-0.4ubuntu3 multiarch-support_2.27-3ubuntu1 ncurses-base_6.1+20180210-2ubuntu2 ncurses-bin_6.1+20180210-2ubuntu2 openssl_1.1.0g-2ubuntu4 optipng_0.7.6-1.1 passwd_1:4.5-1ubuntu1 patch_2.7.6-2ubuntu1 perl_5.26.1-6 perl-base_5.26.1-6 perl-modules-5.26_5.26.1-6 pinentry-curses_1.1.0-1 pkgbinarymangler_138 po-debconf_1.0.20 policyrcd-script-zg2_0.1-3 procps_2:3.3.12-3ubuntu1 readline-common_7.0-4 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-scm-dummy_0.invalid.0 sed_4.4-2 sensible-utils_0.0.12 slib_3b1-5 systemd_237-3ubuntu10 systemd-sysv_237-3ubuntu10 sysv-rc_2.88dsf-59.3ubuntu2 sysvinit-utils_2.88dsf-59.10ubuntu1 tar_1.29b-2 tex-common_6.09 texinfo_6.5.0.dfsg.1-2 tzdata_2018d-1 ubuntu-keyring_2018.02.28 ucf_3.0038 util-linux_2.31.1-0.4ubuntu3 x11proto-core-dev_2018.4-4 x11proto-dev_2018.4-4 xorg-sgml-doctools_1:1.11-1 xtrans-dev_1.3.5-1 xz-utils_5.2.2-1.3 zlib1g_1:1.2.11.dfsg-0ubuntu2 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: Signature made Thu May 3 14:30:49 2018 UTC gpgv: using RSA key D56571B88A8BBAF140BF63D6BD7EAA60778FA6F5 gpgv: issuer "doko@ubuntu.com" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./scm_5f2-2build1.dsc dpkg-source: info: extracting scm in scm-5f2 dpkg-source: info: unpacking scm_5f2.orig.tar.gz dpkg-source: info: unpacking scm_5f2-2build1.debian.tar.xz dpkg-source: info: applying not-usr-local.patch dpkg-source: info: applying kfreebsd_support.patch dpkg-source: info: applying texinfo5_fixes.patch dpkg-source: info: applying ppc64_short_int.patch dpkg-source: info: applying arm64_short_int.patch dpkg-source: info: applying hurd_maxpathlen.patch dpkg-source: info: applying bigrecy_32bit_upstream.patch Check disc space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=parallel=4 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-14819721 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-14819721 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-14819721 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package scm dpkg-buildpackage: info: source version 5f2-2build1 dpkg-buildpackage: info: source distribution cosmic dpkg-source --before-build scm-5f2 dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean debian/rules override_dh_testdir make[1]: Entering directory '/<>' dh_testdir test -e /usr/share/slib || \ (echo "Must have slib installed for compile" && exit 1) make[1]: Leaving directory '/<>' dh_auto_clean make -j1 distclean make[1]: Entering directory '/<>' rm -f core a.out ramap.o ramap.obj scm.o time.o repl.o scl.o sys.o eval.o subr.o unif.o rope.o continue.o findexec.o script.o debug.o scmmain.o lints rm -rf *temp rm -f *.o *.obj a.out TAGS implcat slibcat gdbscm make[1]: Leaving directory '/<>' dh_clean debian/rules build make: 'build' is up to date. fakeroot debian/rules binary dh binary debian/rules override_dh_testdir make[1]: Entering directory '/<>' dh_testdir test -e /usr/share/slib || \ (echo "Must have slib installed for compile" && exit 1) make[1]: Leaving directory '/<>' dh_update_autotools_config debian/rules override_dh_auto_configure make[1]: Entering directory '/<>' ./configure #! /bin/cat # Generated by configure for scm 5f2. # This file (config.status) is included by the (scm) Makefile. PACKAGE_NAME=scm PACKAGE_TARNAME=scm PACKAGE_VERSION=5f2 PACKAGE_STRING=scm 5f2 PACKAGE_BUGREPORT=scm-discuss@gnu.org srcdir=/<>/ prefix=/usr/local/ exec_prefix=${prefix} bindir=${exec_prefix}bin/ sbindir=${exec_prefix}sbin/ libexecdir=${exec_prefix}libexec/ datarootdir=${prefix}share/ datadir=${datarootdir} sysconfdir=${prefix}etc/ sharedstatedir=${prefix}com/ localstatedir=${prefix}var/ includedir=${prefix}include/ oldincludedir=/usr/include/ docdir=${datarootdir}doc/${PACKAGE_TARNAME}/ infodir=${datarootdir}info/ htmldir=${docdir} dvidir=${docdir} pdfdir=${docdir} psdir=${docdir} libdir=${exec_prefix}lib/ localedir=${datarootdir}locale/ mandir=${datarootdir}man/ distdir=${srcdir} snapdir=${srcdir} cp debian/require.scm.debian require.scm cp debian/scm.opt.debian libscm.opt make[1]: Leaving directory '/<>' debian/rules override_dh_auto_build make[1]: Entering directory '/<>' make scmlit make[2]: Entering directory '/<>' echo "#ifndef IMPLINIT" > newflags.h echo "#define IMPLINIT \"/<>/Init5f2.scm\"" >> newflags.h echo "#endif" >> newflags.h echo "#define CHEAP_CONTINUATIONS" >> newflags.h echo "#define CAUTIOUS" >> newflags.h if (cmp -s newflags.h scmflags.h) then rm newflags.h; \ else mv newflags.h scmflags.h; fi cc -c -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security scm.c -o scm.o scm.c: In function ‘process_signals’: scm.c:176:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wta(UNDEFINED, (char *)i, ""); ^ scm.c: In function ‘scmable_signal’: scm.c:290:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wta(UNDEFINED, (char *)i, ""); ^ cc -c -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security time.c -o time.o cc -c -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security repl.c -o repl.o repl.c: In function ‘handle_it’: repl.c:1270:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wta(UNDEFINED, (char *)i, ""); /* sends it to def_err_response */ ^ repl.c: In function ‘def_err_response’: repl.c:2077:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lputc((long)err_pos <= ARGn ? ' ' : '1' + (int)err_pos - ARG1, cur_errp); ^ repl.c:2080:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else lputs(errmsgs[((int)err_pos)-WNA].msg, cur_errp); ^ repl.c: In function ‘everr’: repl.c:2133:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] err_pos = pos; ^ repl.c:2134:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] err_s_subr = s_subr; ^ In file included from repl.c:21:0: repl.c:2139:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] COOKIE(1) : COOKIE((int)pos)); ^ scm.h:260:21: note: in definition of macro ‘COOKIE’ # define COOKIE(n) (n) ^ cc -c -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security scl.c -o scl.o cc -c -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security sys.c -o sys.o cc -c -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security eval.c -o eval.o cc -c -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security subr.c -o subr.o cc -c -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security unif.c -o unif.o cc -c -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security rope.c -o rope.o cc -c -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security continue.c -o continue.o cc -c -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security findexec.c -o findexec.o cc -c -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security script.c -o script.o script.c: In function ‘find_impl_file’: script.c:149:18: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] char *extptr = exec_path + strlen(exec_path); ^~~~~~~~~ script.c:165:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] extptr = exec_path + strlen(exec_path); ^ script.c: In function ‘script_process_argv’: script.c:362:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] nargv[0] = argv[0]; ^ script.c:377:22: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] nargv[nargi++] = argv[argi++]; ^ script.c:380:39: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] while (argi <= argc) nargv[nargi++] = argv[argi++]; ^ cc -c -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security debug.c -o debug.o cc -c -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security scmmain.c -o scmmain.o scmmain.c: In function ‘main’: scmmain.c:109:32: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] if (0==argc) {argc = 1; argv = generic_name;} /* for macintosh */ ^ scmmain.c:119:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] script_arg = argv[2]; /* Save for scm_find_execpath() call */ ^ scmmain.c:120:31: warning: passing argument 1 of ‘script_count_argv’ from incompatible pointer type [-Wincompatible-pointer-types] nargc = script_count_argv(nargv); ^~~~~ In file included from scmmain.c:30:0: scm.h:1080:17: note: expected ‘const char **’ but argument is of type ‘char **’ SCM_EXPORT int script_count_argv P((const char **argv)); ^~~~~~~~~~~~~~~~~ scmmain.c:122:15: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] else {nargv = argv; nargc = argc;} ^ scmmain.c:124:39: warning: passing argument 2 of ‘scm_find_execpath’ from incompatible pointer type [-Wincompatible-pointer-types] execpath = scm_find_execpath(nargc, nargv, script_arg); ^~~~~ In file included from scmmain.c:30:0: scm.h:775:18: note: expected ‘const char * const*’ but argument is of type ‘char **’ SCM_EXPORT char *scm_find_execpath P((int argc, const char * const *argv, const char *script_arg)); ^~~~~~~~~~~~~~~~~ scmmain.c:131:31: warning: passing argument 2 of ‘scm_init_from_argv’ from incompatible pointer type [-Wincompatible-pointer-types] scm_init_from_argv(nargc, nargv, script_arg, iverbose, buf0stdin); ^~~~~ In file included from scmmain.c:30:0: scm.h:768:17: note: expected ‘const char * const*’ but argument is of type ‘char **’ SCM_EXPORT void scm_init_from_argv P((int argc, const char * const *argv, char *script_arg, ^~~~~~~~~~~~~~~~~~ cc -o scmlit scm.o time.o repl.o scl.o sys.o eval.o subr.o unif.o rope.o continue.o findexec.o script.o debug.o scmmain.o sys.o: In function `ltmpnam': ./sys.c:267: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make checklit make[3]: Entering directory '/<>' ./scmlit -fr4rstest.scm -e'(test-sc4)(test-delay)(gc)' \ -e '(or (null? errs) (quit 1))' < /dev/null SECTION(2 1) SECTION(3 4) # # # # # # # # # (#t #f #f #f #f #f #f #f #f)#t (#t #f #f #f #f #f #f #f #f)#f (#f #t #f #f #f #f #f #f #f)#\a (#f #f #t #f #f #f #f #f #f)() (#f #f #f #t #f #f #f #f #f)9739 (#f #f #f #f #t #f #f #f #f)(test) (#f #f #f #f #f #t #f #f #f)# (#f #f #f #f #f #f #t #f #f)"test" (#f #f #f #f #f #f #t #f #f)"" (#f #f #f #f #f #f #f #t #f)test (#f #f #f #f #f #f #f #f #t)#() (#f #f #f #f #f #f #f #f #t)#(a b c) SECTION(4 1 2) (quote (quote a)) ==> (quote a) (quote (quote a)) ==> (quote a) SECTION(4 1 3) (# 3 4) ==> 12 SECTION(4 1 4) (# "r4rstest.scm": (x) (+ x x)> 4) ==> 8 (# 7 10) ==> 3 (# "r4rstest.scm": (y) (+ x y)> 6) ==> 10 (# "r4rstest.scm": x x> 3 4 5 6) ==> (3 4 5 6) (# "r4rstest.scm": (x y . z) z> 3 4 5 6) ==> (5 6) SECTION(4 1 5) (if yes) ==> yes (if no) ==> no (if 1) ==> 1 SECTION(4 1 6) (define 3) ==> 3 (set! 5) ==> 5 SECTION(4 2 1) (cond greater) ==> greater (cond equal) ==> equal (cond 2) ==> 2 (case composite) ==> composite (case consonant) ==> consonant (and #t) ==> #t (and #f) ==> #f (and (f g)) ==> (f g) (and #t) ==> #t (or #t) ==> #t (or #t) ==> #t (or #f) ==> #f (or #f) ==> #f (or (b c)) ==> (b c) SECTION(4 2 2) (let 6) ==> 6 (let 35) ==> 35 (let* 70) ==> 70 (letrec #t) ==> #t (let 5) ==> 5 (let 34) ==> 34 (let 6) ==> 6 (let 34) ==> 34 (let 34) ==> 34 (let* 7) ==> 7 (let* 34) ==> 34 (let* 8) ==> 8 (let* 34) ==> 34 (letrec 9) ==> 9 (letrec 34) ==> 34 (letrec 10) ==> 10 (letrec 34) ==> 34 SECTION(4 2 3) (begin 6) ==> 6 SECTION(4 2 4) (do #(0 1 2 3 4)) ==> #(0 1 2 3 4) (do 25) ==> 25 (do 25) ==> 25 (let 1) ==> 1 (let ((6 1 3) (-5 -2))) ==> ((6 1 3) (-5 -2)) (let -1) ==> -1 SECTION(4 2 6) (quasiquote (list 3 4)) ==> (list 3 4) (quasiquote (list a (quote a))) ==> (list a (quote a)) (quasiquote (a 3 4 5 6 b)) ==> (a 3 4 5 6 b) (quasiquote ((foo 7) . cons)) ==> ((foo 7) . cons) (quasiquote #(10 5 2 4 3 8)) ==> #(10 5 2 4 3 8) (quasiquote 5) ==> 5 (quasiquote (a (quasiquote (b (unquote (+ 1 2)) (unquote (foo 4 d)) e)) f)) ==> (a (quasiquote (b (unquote (+ 1 2)) (unquote (foo 4 d)) e)) f) (quasiquote (a (quasiquote (b (unquote x) (unquote (quote y)) d)) e)) ==> (a (quasiquote (b (unquote x) (unquote (quote y)) d)) e) (quasiquote (list 3 4)) ==> (list 3 4) (quasiquote (quasiquote (list (unquote (+ 1 2)) 4))) ==> (quasiquote (list (unquote (+ 1 2)) 4)) SECTION(5 2 1) (tprint #t) ==> #t (define 6) ==> 6 (define 1) ==> 1 (define 9) ==> 9 (define 9) ==> 9 (define 10) ==> 10 (# 6) ==> (3 6) (# 6) ==> 9 SECTION(5 2 2) (define 45) ==> 45 (#) ==> 5 (define 34) ==> 34 (#) ==> 5 (define 34) ==> 34 (# 88) ==> 88 (# 4) ==> 4 (define 34) ==> 34 (internal-define 99) ==> 99 (internal-define 77) ==> 77 SECTION(6 1) (# #t) ==> #f (# 3) ==> #f (# (3)) ==> #f (# #f) ==> #t (# ()) ==> #f (# ()) ==> #f (# nil) ==> #f SECTION(6 2) (# a a) ==> #t (# a b) ==> #f (# 2 2) ==> #t (# () ()) ==> #t (# 10000 10000) ==> #t (# (1 . 2) (1 . 2)) ==> #f (# # "r4rstest.scm": () 1> # "r4rstest.scm": () 2>) ==> #f (# #f nil) ==> #f (# # #) ==> #t (# # "r4rstest.scm": () (set! n (+ n 1)) n> # "r4rstest.scm": () (set! n (+ n 1)) n>) ==> #t (# # "r4rstest.scm": () (set! n (+ n 1)) n> # "r4rstest.scm": () (set! n (+ n 1)) n>) ==> #f (# # #) ==> #f (# a a) ==> #t (# (a) (a)) ==> #f (# () ()) ==> #t (# # #) ==> #t (# (a) (a)) ==> #t (# #() #()) ==> #t (# # #) ==> #t (# a a) ==> #t (# (a) (a)) ==> #t (# (a (b) c) (a (b) c)) ==> #t (# "abc" "abc") ==> #t (# 2 2) ==> #t (# #(a a a a a) #(a a a a a)) ==> #t SECTION(6 3) (dot (a b c d e)) ==> (a b c d e) (# (a b c)) ==> #t (set-cdr! (a . 4)) ==> (a . 4) (# (a . 4) (a . 4)) ==> #t (dot (a b c . d)) ==> (a b c . d) (# (a . 4)) ==> #f (list? #f) ==> #f (# a ()) ==> (a) (# (a) (b c d)) ==> ((a) b c d) (# "a" (b c)) ==> ("a" b c) (# a 3) ==> (a . 3) (# (a b) c) ==> ((a b) . c) (# (a b c)) ==> a (# ((a) b c d)) ==> (a) (# (1 . 2)) ==> 1 (# ((a) b c d)) ==> (b c d) (# (1 . 2)) ==> 2 (# a 7 c) ==> (a 7 c) (#) ==> () (# (a b c)) ==> 3 (# (a (b) (c d e))) ==> 3 (# ()) ==> 0 (# (x) (y)) ==> (x y) (# (a) (b c d)) ==> (a b c d) (# (a (b)) ((c))) ==> (a (b) (c)) (#) ==> () (# (a b) (c . d)) ==> (a b c . d) (# () a) ==> a (# (a b c)) ==> (c b a) (# (a (b c) d (e (f)))) ==> ((e (f)) d (b c) a) (# (a b c d) 2) ==> c (# a (a b c)) ==> (a b c) (# b (a b c)) ==> (b c) (# a (b c d)) ==> #f (# (a) (b (a) c)) ==> #f (# (a) (b (a) c)) ==> ((a) c) (# 101 (100 101 102)) ==> (101 102) (# a ((a 1) (b 2) (c 3))) ==> (a 1) (# b ((a 1) (b 2) (c 3))) ==> (b 2) (# d ((a 1) (b 2) (c 3))) ==> #f (# (a) (((a)) ((b)) ((c)))) ==> #f (# (a) (((a)) ((b)) ((c)))) ==> ((a)) (# 5 ((2 3) (5 7) (11 13))) ==> (5 7) SECTION(6 4) (# a) ==> #t (standard-case #t) ==> #t (standard-case #t) ==> #t (#string> flying-fish) ==> "flying-fish" (#string> martin) ==> "martin" (#string> \Malvina) ==> "Malvina" (standard-case #t) ==> #t (string-set! "cb") ==> "cb" (#string> ab) ==> "ab" (#symbol> "ab") ==> ab (# mississippi mississippi) ==> #t (string->symbol #f) ==> #f (#symbol> "jollywog") ==> jollywog SECTION(6 5 5) (# 3) ==> #t (# 3) ==> #t (# 3) ==> #t (# 3) ==> #t (# 3) ==> #t (# 3) ==> #t (# 3) ==> #f (# 0 0) ==> 1 (# 0 1) ==> 0 (# 0 256) ==> 0 (# -1 256) ==> 1 (# -1 255) ==> -1 (# -1 -256) ==> 1 (# -1 -255) ==> -1 (# 256 0) ==> 1 (# -256 0) ==> 1 (# 256 1) ==> 256 (# -256 1) ==> -256 (# 2 3) ==> 8 (# -2 3) ==> -8 (# 3 2) ==> 9 (# -3 2) ==> 9 (# 22 22 22) ==> #t (# 22 22) ==> #t (# 34 34 35) ==> #f (# 34 35) ==> #f (#> 3 -6246) ==> #t (#> 9 9 -2424) ==> #f (#=> 3 -4 -6246) ==> #t (#=> 9 9) ==> #t (#=> 8 9) ==> #f (# -1 2 3 4 5 6 7 8) ==> #t (# -1 2 3 4 4 5 6 7) ==> #f (# -1 2 3 4 5 6 7 8) ==> #t (# -1 2 3 4 4 5 6 7) ==> #t (# 1 3 2) ==> #f (#=> 1 3 2) ==> #f (# 0) ==> #t (# 1) ==> #f (# -1) ==> #f (# -100) ==> #f (# 4) ==> #t (# -4) ==> #f (# 0) ==> #f (# 4) ==> #f (# -4) ==> #t (# 0) ==> #f (# 3) ==> #t (# 2) ==> #f (# -4) ==> #f (# -1) ==> #t (# 3) ==> #f (# 2) ==> #t (# -4) ==> #t (# -1) ==> #f (# 34 5 7 38 6) ==> 38 (# 3 5 5 330 4 -24) ==> -24 (# 3 4) ==> 7 (# 3) ==> 3 (#) ==> 0 (# 4) ==> 4 (#) ==> 1 (# 1) ==> 1 (# -1) ==> -1 (# 6 3) ==> 2 (# 6 -2) ==> -3 (# -6 2) ==> -3 (# -6 -2) ==> 3 (# 3 4) ==> -1 (# 3) ==> -3 (# -7) ==> 7 (# 7) ==> 7 (# 0) ==> 0 (# 35 7) ==> 5 (# -35 7) ==> -5 (# 35 -7) ==> -5 (# -35 -7) ==> 5 (# 13 4) ==> 1 (# 13 4) ==> 1 (# -13 4) ==> 3 (# -13 4) ==> -1 (# 13 -4) ==> -3 (# 13 -4) ==> 1 (# -13 -4) ==> -1 (# -13 -4) ==> -1 (# 0 86400) ==> 0 (# 0 -86400) ==> 0 (# 238 9) ==> #t (# -238 9) ==> #t (# 238 -9) ==> #t (# -238 -9) ==> #t (# 0 4) ==> 4 (# -4 0) ==> 4 (# 32 -36) ==> 4 (#) ==> 0 (# 32 -36) ==> 288 (#) ==> 1 SECTION(6 5 5) (#number "r4rstest.scm": (str) (#@define ((ans (string->number str))) (cond ((not ans) #t) ((number? ans) #t) (else ans)))> "+#.#") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "-#.#") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "#.#") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "1/0") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "-1/0") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "0/0") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "+1/0i") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "-1/0i") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "0/0i") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "0/0-0/0i") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "1/0-1/0i") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "-1/0+1/0i") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "#i") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "#e") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "#") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "#i0/0") ==> #t SECTION(6 5 9) (#string> 0) ==> "0" (#string> 100) ==> "100" (#string> 256 16) ==> "100" (#number> "100") ==> 100 (#number> "100" 16) ==> 256 (#number> "") ==> #f (#number> ".") ==> #f (#number> "d") ==> #f (#number> "D") ==> #f (#number> "i") ==> #f (#number> "I") ==> #f (#number> "3i") ==> #f (#number> "3I") ==> #f (#number> "33i") ==> #f (#number> "33I") ==> #f (#number> "3.3i") ==> #f (#number> "3.3I") ==> #f (#number> "-") ==> #f (#number> "+") ==> #f (string->number #t) ==> #t (string->number #t) ==> #t SECTION(6 6) (# #\space #\space) ==> #t (# #\space #\space) ==> #t (# #\a) ==> #t (# #\() ==> #t (# #\space) ==> #t (# #\nl) ==> #t (# #\A #\B) ==> #f (# #\a #\b) ==> #f (# #\9 #\0) ==> #f (# #\A #\A) ==> #t (# #\A #\B) ==> #t (# #\a #\b) ==> #t (# #\9 #\0) ==> #f (# #\A #\A) ==> #f (#?> #\A #\B) ==> #f (#?> #\a #\b) ==> #f (#?> #\9 #\0) ==> #t (#?> #\A #\A) ==> #f (# #\A #\B) ==> #t (# #\a #\b) ==> #t (# #\9 #\0) ==> #f (# #\A #\A) ==> #t (#=?> #\A #\B) ==> #f (#=?> #\a #\b) ==> #f (#=?> #\9 #\0) ==> #t (#=?> #\A #\A) ==> #t (# #\A #\B) ==> #f (# #\a #\B) ==> #f (# #\A #\b) ==> #f (# #\a #\b) ==> #f (# #\9 #\0) ==> #f (# #\A #\A) ==> #t (# #\A #\a) ==> #t (# #\A #\B) ==> #t (# #\a #\B) ==> #t (# #\A #\b) ==> #t (# #\a #\b) ==> #t (# #\9 #\0) ==> #f (# #\A #\A) ==> #f (# #\A #\a) ==> #f (#?> #\A #\B) ==> #f (#?> #\a #\B) ==> #f (#?> #\A #\b) ==> #f (#?> #\a #\b) ==> #f (#?> #\9 #\0) ==> #t (#?> #\A #\A) ==> #f (#?> #\A #\a) ==> #f (# #\A #\B) ==> #t (# #\a #\B) ==> #t (# #\A #\b) ==> #t (# #\a #\b) ==> #t (# #\9 #\0) ==> #f (# #\A #\A) ==> #t (# #\A #\a) ==> #t (#=?> #\A #\B) ==> #f (#=?> #\a #\B) ==> #f (#=?> #\A #\b) ==> #f (#=?> #\a #\b) ==> #f (#=?> #\9 #\0) ==> #t (#=?> #\A #\A) ==> #t (#=?> #\A #\a) ==> #t (# #\a) ==> #t (# #\A) ==> #t (# #\z) ==> #t (# #\Z) ==> #t (# #\0) ==> #f (# #\9) ==> #f (# #\space) ==> #f (# #\;) ==> #f (# #\a) ==> #f (# #\A) ==> #f (# #\z) ==> #f (# #\Z) ==> #f (# #\0) ==> #t (# #\9) ==> #t (# #\space) ==> #f (# #\;) ==> #f (# #\a) ==> #f (# #\A) ==> #f (# #\z) ==> #f (# #\Z) ==> #f (# #\0) ==> #f (# #\9) ==> #f (# #\space) ==> #t (# #\;) ==> #f (# #\0) ==> #f (# #\9) ==> #f (# #\space) ==> #f (# #\;) ==> #f (# #\0) ==> #f (# #\9) ==> #f (# #\space) ==> #f (# #\;) ==> #f (#char> 46) ==> #\. (#char> 65) ==> #\A (#char> 97) ==> #\a (# #\A) ==> #\A (# #\a) ==> #\A (# #\A) ==> #\a (# #\a) ==> #\a SECTION(6 7) (# "The word \"recursion\\\" has many meanings.") ==> #t (string-set! "?**") ==> "?**" (# #\a #\b #\c) ==> "abc" (#) ==> "" (# "abc") ==> 3 (# "abc" 0) ==> #\a (# "abc" 2) ==> #\c (# "") ==> 0 (# "ab" 0 0) ==> "" (# "ab" 1 1) ==> "" (# "ab" 2 2) ==> "" (# "ab" 0 1) ==> "a" (# "ab" 1 2) ==> "b" (# "ab" 0 2) ==> "ab" (# "foo" "bar") ==> "foobar" (# "foo") ==> "foo" (# "foo" "") ==> "foo" (# "" "foo") ==> "foo" (#) ==> "" (# 0) ==> "" (# "" "") ==> #t (# "" "") ==> #f (#?> "" "") ==> #f (# "" "") ==> #t (#=?> "" "") ==> #t (# "" "") ==> #t (# "" "") ==> #f (#?> "" "") ==> #f (# "" "") ==> #t (#=?> "" "") ==> #t (# "A" "B") ==> #f (# "a" "b") ==> #f (# "9" "0") ==> #f (# "A" "A") ==> #t (# "A" "B") ==> #t (# "a" "b") ==> #t (# "9" "0") ==> #f (# "A" "A") ==> #f (#?> "A" "B") ==> #f (#?> "a" "b") ==> #f (#?> "9" "0") ==> #t (#?> "A" "A") ==> #f (# "A" "B") ==> #t (# "a" "b") ==> #t (# "9" "0") ==> #f (# "A" "A") ==> #t (#=?> "A" "B") ==> #f (#=?> "a" "b") ==> #f (#=?> "9" "0") ==> #t (#=?> "A" "A") ==> #t (# "A" "B") ==> #f (# "a" "B") ==> #f (# "A" "b") ==> #f (# "a" "b") ==> #f (# "9" "0") ==> #f (# "A" "A") ==> #t (# "A" "a") ==> #t (# "A" "B") ==> #t (# "a" "B") ==> #t (# "A" "b") ==> #t (# "a" "b") ==> #t (# "9" "0") ==> #f (# "A" "A") ==> #f (# "A" "a") ==> #f (#?> "A" "B") ==> #f (#?> "a" "B") ==> #f (#?> "A" "b") ==> #f (#?> "a" "b") ==> #f (#?> "9" "0") ==> #t (#?> "A" "A") ==> #f (#?> "A" "a") ==> #f (# "A" "B") ==> #t (# "a" "B") ==> #t (# "A" "b") ==> #t (# "a" "b") ==> #t (# "9" "0") ==> #f (# "A" "A") ==> #t (# "A" "a") ==> #t (#=?> "A" "B") ==> #f (#=?> "a" "B") ==> #f (#=?> "A" "b") ==> #f (#=?> "a" "b") ==> #f (#=?> "9" "0") ==> #t (#=?> "A" "A") ==> #t (#=?> "A" "a") ==> #t SECTION(6 8) (# #(0 (2 2 2 2) "Anna")) ==> #t (# a b c) ==> #(a b c) (#) ==> #() (# #(0 (2 2 2 2) "Anna")) ==> 3 (# #()) ==> 0 (# #(1 1 2 3 5 8 13 21) 5) ==> 8 (vector-set #(0 ("Sue" "Sue") "Anna")) ==> #(0 ("Sue" "Sue") "Anna") (# 2 hi) ==> #(hi hi) (# 0) ==> #() (# 0 a) ==> #() SECTION(6 9) (# #) ==> #t (# car) ==> #f (# # "r4rstest.scm": (x) (* x x)>) ==> #t (# (lambda (x) (* x x))) ==> #f (# #) ==> #t (# #) ==> #t (# # (3 4)) ==> 7 (# # "r4rstest.scm": (a b) (+ a b)> (3 4)) ==> 7 (# # 10 (3 4)) ==> 17 (# # ()) ==> () (# "r4rstest.scm": args (f (apply g args))> 12 75) ==> 30 (# # ((a b) (d e) (g h))) ==> (b e h) (# # (1 2 3) (4 5 6)) ==> (5 7 9) (# # (1 2 3)) ==> (1 2 3) (# # (1 2 3)) ==> (1 2 3) (# # (1 2 3)) ==> (-1 -2 -3) (for-each #(0 1 4 9 16)) ==> #(0 1 4 9 16) (# # "r4rstest.scm": (exit) (for-each (lambda (x) (if (negative? x) (exit x))) (quote (54 0 37 -3 245 19))) #t>) ==> -3 (# (1 2 3 4)) ==> 4 (# (a b . c)) ==> #f (# # ()) ==> () SECTION(6 10 1) (# #) ==> #t (# #) ==> #t (#>/Init5f2.scm": (str proc) (#@call-with-open-ports (#@open-input-file #@str) #@proc)> "r4rstest.scm" #) ==> #t (# #) ==> #t SECTION(6 10 2) (# #) ==> #\; (# #) ==> #\; (# #) ==> (define cur-section (quote ())) (# #) ==> #\( (# #) ==> (define errs (quote ())) SECTION(6 10 3) (#>/Init5f2.scm": (str proc) (#@call-with-open-ports (#@open-output-file #@str) #@proc)> "tmp1" # "r4rstest.scm": (test-file) (write-char #\; test-file) (display #\; test-file) (display ";" test-file) (write write-test-obj test-file) (newline test-file) (write load-test-obj test-file) (output-port? test-file)>) ==> #t (# #) ==> (define foo (quote (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c)))) (# #) ==> #t (# #) ==> #t (input-port? #t) ==> #t (# #) ==> #\; (# #) ==> #\; (# #) ==> #\; (# #) ==> (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c)) (# #) ==> (define foo (quote (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c)))) (# #) ==> #t (# #) ==> (define foo (quote (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c)))) (# #) ==> #t (# #) ==> #t (input-port? #t) ==> #t (# #) ==> #\; (# #) ==> #\; (# #) ==> #\; (# #) ==> (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c)) (# #) ==> (define foo (quote (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c)))) Passed all tests To fully test continuations, Scheme 4, and DELAY/FORCE do: (test-cont) (test-sc4) (test-delay) ;testing scheme 4 functions; SECTION(6 7) (#list> "P l") ==> (#\P #\space #\l) (#list> "") ==> () (#string> (#\1 #\\ #\")) ==> "1\\\"" (#string> ()) ==> "" SECTION(6 8) (#list> #(dah dah didah)) ==> (dah dah didah) (#list> #()) ==> () (#vector> (dididit dah)) ==> #(dididit dah) (#vector> ()) ==> #() SECTION(6 10 4) (load (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c))) ==> (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c)) Passed all tests ;testing DELAY and FORCE; SECTION(6 9) (delay 3) ==> 3 (delay (3 3)) ==> (3 3) (delay 2) ==> 2 (# # count x) count (force p)))>>) ==> 6 (# #) ==> 6 (force 3) ==> 3 Passed all tests make[3]: Leaving directory '/<>' make[2]: Leaving directory '/<>' # Use the same options for both static library and executable ./build -p linux -hsystem -f libscm.opt ; Scheme (linux) script created by SLIB/batch ; [-p linux] ; used options from: libscm.opt ; ================ Write file with C defines (delete-file "scmflags.h") (call-with-output-file "scmflags.h" (lambda (fp) (for-each (lambda (string) (write-line string fp)) '("#define IMPLINIT \"Init5f2.scm\"" "#define INITS init_sc2();init_ioext();" "#define COMPILED_INITS init_ramap();init_record();init_gsubr();init_edline();init_rgx();init_socket();init_posix();init_unix();init_crs();init_x();init_differ();" "#define CAUTIOUS" "#define BIGNUMS" "#define ARRAYS" "#define FLOATS" "#define CCLO" "#define TICKS" "#define CAN_DUMP" "#define MACRO")))) ; ================ Compile C source files (system "gcc -c -I/usr/include/X11 -DX11 -DSUN_DL sc2.c ramap.c record.c gsubr.c ioext.c edline.c rgx.c socket.c posix.c unix.c crs.c dynl.c x.c differ.c continue.c scm.c scmmain.c findexec.c script.c time.c repl.c scl.c eval.c sys.c subr.c debug.c unif.c rope.c unexelf.c gmalloc.c") socket.c: In function ‘l_hostinfo’: socket.c:147:28: warning: passing argument 2 of ‘makfromstrs’ from incompatible pointer type [-Wincompatible-pointer-types] ve[ 1] = makfromstrs(-1, entry->h_aliases); ^~~~~ In file included from socket.c:24:0: scm.h:1037:17: note: expected ‘const char * const*’ but argument is of type ‘char **’ SCM_EXPORT SCM makfromstrs P((int argc, const char * const *argv)); ^~~~~~~~~~~ socket.c:152:13: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] for (argv = entry->h_addr_list; argv[i]; i++); ^ socket.c: In function ‘l_netinfo’: socket.c:184:28: warning: passing argument 2 of ‘makfromstrs’ from incompatible pointer type [-Wincompatible-pointer-types] ve[ 1] = makfromstrs(-1, entry->n_aliases); ^~~~~ In file included from socket.c:24:0: scm.h:1037:17: note: expected ‘const char * const*’ but argument is of type ‘char **’ SCM_EXPORT SCM makfromstrs P((int argc, const char * const *argv)); ^~~~~~~~~~~ socket.c: In function ‘l_protoinfo’: socket.c:214:28: warning: passing argument 2 of ‘makfromstrs’ from incompatible pointer type [-Wincompatible-pointer-types] ve[ 1] = makfromstrs(-1, entry->p_aliases); ^~~~~ In file included from socket.c:24:0: scm.h:1037:17: note: expected ‘const char * const*’ but argument is of type ‘char **’ SCM_EXPORT SCM makfromstrs P((int argc, const char * const *argv)); ^~~~~~~~~~~ socket.c: In function ‘l_servinfo’: socket.c:247:28: warning: passing argument 2 of ‘makfromstrs’ from incompatible pointer type [-Wincompatible-pointer-types] ve[ 1] = makfromstrs(-1, entry->s_aliases); ^~~~~ In file included from socket.c:24:0: scm.h:1037:17: note: expected ‘const char * const*’ but argument is of type ‘char **’ SCM_EXPORT SCM makfromstrs P((int argc, const char * const *argv)); ^~~~~~~~~~~ posix.c: In function ‘l_grinfo’: posix.c:194:28: warning: passing argument 2 of ‘makfromstrs’ from incompatible pointer type [-Wincompatible-pointer-types] ve[ 3] = makfromstrs(-1, entry->gr_mem); ^~~~~ In file included from posix.c:21:0: scm.h:1037:17: note: expected ‘const char * const*’ but argument is of type ‘char **’ SCM_EXPORT SCM makfromstrs P((int argc, const char * const *argv)); ^~~~~~~~~~~ crs.c:72:3: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] wrefresh, ^~~~~~~~ crs.c:72:3: note: (near initialization for ‘winptob.fflush’) crs.c:73:3: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] wgetch, ^~~~~~ crs.c:73:3: note: (near initialization for ‘winptob.fgetc’) crs.c: In function ‘lunctrl’: crs.c:241:17: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] char *str = unctrl(ICHR(c)); ^~~~~~ crs.c: In function ‘init_crs’: crs.c:390:13: warning: passing argument 1 of ‘add_final’ from incompatible pointer type [-Wincompatible-pointer-types] add_final(lendwin); ^~~~~~~ In file included from crs.c:21:0: scm.h:1001:17: note: expected ‘void (*)(void)’ but argument is of type ‘SCM (*)() {aka long int (*)()}’ SCM_EXPORT void add_final P((void (*final)(void))); ^~~~~~~~~ x.c: In function ‘make_xcolormap’: x.c:337:51: warning: passing argument 4 of ‘XSaveContext’ makes pointer from integer without a cast [-Wint-conversion] XSaveContext(XDISPLAY(sdpy), (XID)cmp, xtc_cmp, z); ^ In file included from x.c:39:0: /usr/include/X11/Xutil.h:576:12: note: expected ‘const char *’ but argument is of type ‘SCM {aka long int}’ extern int XSaveContext( ^~~~~~~~~~~~ x.c: In function ‘CCC2SCM’: x.c:585:47: warning: passing argument 4 of ‘XSaveContext’ makes pointer from integer without a cast [-Wint-conversion] XSaveContext(ccc->dpy, (XID)ccc, xtc_ccc, s_ccc); ^~~~~ In file included from x.c:39:0: /usr/include/X11/Xutil.h:576:12: note: expected ‘const char *’ but argument is of type ‘SCM {aka long int}’ extern int XSaveContext( ^~~~~~~~~~~~ x.c: In function ‘x_draw_string’: x.c:2070:35: warning: passing argument 4 of ‘xldraw_string’ from incompatible pointer type [-Wincompatible-pointer-types] xldraw_string(sdbl, sgc, sargs, &XDrawString, s_x_draw_string); ^ x.c:2051:6: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(Display *, Drawable, struct _XGC *, int, int, const char *, int) {aka int (*)(struct _XDisplay *, long unsigned int, struct _XGC *, int, int, const char *, int)}’ void xldraw_string(sdbl, sgc, sargs, proc, s_caller) ^~~~~~~~~~~~~ x.c: In function ‘x_image_string’: x.c:2076:35: warning: passing argument 4 of ‘xldraw_string’ from incompatible pointer type [-Wincompatible-pointer-types] xldraw_string(sdbl, sgc, sargs, &XDrawImageString, s_x_image_string); ^ x.c:2051:6: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(Display *, Drawable, struct _XGC *, int, int, const char *, int) {aka int (*)(struct _XDisplay *, long unsigned int, struct _XGC *, int, int, const char *, int)}’ void xldraw_string(sdbl, sgc, sargs, proc, s_caller) ^~~~~~~~~~~~~ differ.c:33:0: warning: "I32" redefined #define I32 long differ.c:27:0: note: this is the location of the previous definition # define I32 int differ.c:122:4: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] {long_subarray, ^~~~~~~~~~~~~ differ.c:122:4: note: (near initialization for ‘long_procs.subarray’) differ.c:126:4: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] {short_subarray, ^~~~~~~~~~~~~~ differ.c:126:4: note: (near initialization for ‘short_procs.subarray’) differ.c:130:4: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] {char_subarray, ^~~~~~~~~~~~~ differ.c:130:4: note: (near initialization for ‘char_procs.subarray’) In file included from scmfig.h:71:0, from scm.h:55, from scm.c:26: scm.c: In function ‘scm_init_extensions’: scmflags.h:3:116: warning: implicit declaration of function ‘init_unix’; did you mean ‘init_unif’? [-Wimplicit-function-declaration] #define COMPILED_INITS init_ramap();init_record();init_gsubr();init_edline();init_rgx();init_socket();init_posix();init_unix();init_crs();init_x();init_differ(); ^ scm.c:110:3: note: in expansion of macro ‘COMPILED_INITS’ COMPILED_INITS; /* initialize statically linked add-ons */ ^~~~~~~~~~~~~~ In file included from scmfig.h:71:0, from scm.h:55, from scm.c:26: scmflags.h:3:128: warning: implicit declaration of function ‘init_crs’; did you mean ‘init_subrs’? [-Wimplicit-function-declaration] #define COMPILED_INITS init_ramap();init_record();init_gsubr();init_edline();init_rgx();init_socket();init_posix();init_unix();init_crs();init_x();init_differ(); ^ scm.c:110:3: note: in expansion of macro ‘COMPILED_INITS’ COMPILED_INITS; /* initialize statically linked add-ons */ ^~~~~~~~~~~~~~ scmflags.h:3:139: warning: implicit declaration of function ‘init_x’; did you mean ‘init_rgx’? [-Wimplicit-function-declaration] #define COMPILED_INITS init_ramap();init_record();init_gsubr();init_edline();init_rgx();init_socket();init_posix();init_unix();init_crs();init_x();init_differ(); ^ scm.c:110:3: note: in expansion of macro ‘COMPILED_INITS’ COMPILED_INITS; /* initialize statically linked add-ons */ ^~~~~~~~~~~~~~ scmflags.h:3:148: warning: implicit declaration of function ‘init_differ’; did you mean ‘init_banner’? [-Wimplicit-function-declaration] #define COMPILED_INITS init_ramap();init_record();init_gsubr();init_edline();init_rgx();init_socket();init_posix();init_unix();init_crs();init_x();init_differ(); ^ scm.c:110:3: note: in expansion of macro ‘COMPILED_INITS’ COMPILED_INITS; /* initialize statically linked add-ons */ ^~~~~~~~~~~~~~ scm.c: In function ‘process_signals’: scm.c:176:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wta(UNDEFINED, (char *)i, ""); ^ scm.c: In function ‘scmable_signal’: scm.c:290:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wta(UNDEFINED, (char *)i, ""); ^ scmmain.c: In function ‘main’: scmmain.c:109:32: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] if (0==argc) {argc = 1; argv = generic_name;} /* for macintosh */ ^ scmmain.c:119:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] script_arg = argv[2]; /* Save for scm_find_execpath() call */ ^ scmmain.c:120:31: warning: passing argument 1 of ‘script_count_argv’ from incompatible pointer type [-Wincompatible-pointer-types] nargc = script_count_argv(nargv); ^~~~~ In file included from scmmain.c:30:0: scm.h:1080:17: note: expected ‘const char **’ but argument is of type ‘char **’ SCM_EXPORT int script_count_argv P((const char **argv)); ^~~~~~~~~~~~~~~~~ scmmain.c:122:15: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] else {nargv = argv; nargc = argc;} ^ scmmain.c:124:39: warning: passing argument 2 of ‘scm_find_execpath’ from incompatible pointer type [-Wincompatible-pointer-types] execpath = scm_find_execpath(nargc, nargv, script_arg); ^~~~~ In file included from scmmain.c:30:0: scm.h:775:18: note: expected ‘const char * const*’ but argument is of type ‘char **’ SCM_EXPORT char *scm_find_execpath P((int argc, const char * const *argv, const char *script_arg)); ^~~~~~~~~~~~~~~~~ scmmain.c:131:31: warning: passing argument 2 of ‘scm_init_from_argv’ from incompatible pointer type [-Wincompatible-pointer-types] scm_init_from_argv(nargc, nargv, script_arg, iverbose, buf0stdin); ^~~~~ In file included from scmmain.c:30:0: scm.h:768:17: note: expected ‘const char * const*’ but argument is of type ‘char **’ SCM_EXPORT void scm_init_from_argv P((int argc, const char * const *argv, char *script_arg, ^~~~~~~~~~~~~~~~~~ script.c: In function ‘find_impl_file’: script.c:149:18: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] char *extptr = exec_path + strlen(exec_path); ^~~~~~~~~ script.c:165:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] extptr = exec_path + strlen(exec_path); ^ script.c: In function ‘script_process_argv’: script.c:362:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] nargv[0] = argv[0]; ^ script.c:377:22: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] nargv[nargi++] = argv[argi++]; ^ script.c:380:39: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] while (argi <= argc) nargv[nargi++] = argv[argi++]; ^ repl.c: In function ‘handle_it’: repl.c:1270:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wta(UNDEFINED, (char *)i, ""); /* sends it to def_err_response */ ^ repl.c: In function ‘def_err_response’: repl.c:2077:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lputc((long)err_pos <= ARGn ? ' ' : '1' + (int)err_pos - ARG1, cur_errp); ^ repl.c:2080:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else lputs(errmsgs[((int)err_pos)-WNA].msg, cur_errp); ^ repl.c: In function ‘everr’: repl.c:2133:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] err_pos = pos; ^ repl.c:2134:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] err_s_subr = s_subr; ^ In file included from repl.c:21:0: repl.c:2139:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] COOKIE(1) : COOKIE((int)pos)); ^ scm.h:260:21: note: in definition of macro ‘COOKIE’ # define COOKIE(n) (n) ^ unexelf.c: In function ‘find_section’: unexelf.c:406:51: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:634:2: note: in expansion of macro ‘fatal’ fatal ("Can't find %s in %s.\n", name, file_name); ^~~~~ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:634:2: note: in expansion of macro ‘fatal’ fatal ("Can't find %s in %s.\n", name, file_name); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:634:2: note: in expansion of macro ‘fatal’ fatal ("Can't find %s in %s.\n", name, file_name); ^~~~~ unexelf.c: In function ‘unexec’: unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:692:5: note: in expansion of macro ‘fatal’ fatal ("Can't open %s for reading: errno %d\n", old_name, errno); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:692:5: note: in expansion of macro ‘fatal’ fatal ("Can't open %s for reading: errno %d\n", old_name, errno); ^~~~~ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:695:5: note: in expansion of macro ‘fatal’ fatal ("Can't fstat (%s): errno %d\n", old_name, errno); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:695:5: note: in expansion of macro ‘fatal’ fatal ("Can't fstat (%s): errno %d\n", old_name, errno); ^~~~~ unexelf.c:711:12: warning: too many arguments for format [-Wformat-extra-args] fatal ("Can't allocate buffer for %s\n", old_name, 0); ^ unexelf.c:406:41: note: in definition of macro ‘fatal’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:711:5: note: in expansion of macro ‘fatal’ fatal ("Can't allocate buffer for %s\n", old_name, 0); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:711:5: note: in expansion of macro ‘fatal’ fatal ("Can't allocate buffer for %s\n", old_name, 0); ^~~~~ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:714:5: note: in expansion of macro ‘fatal’ fatal ("Didn't read all of %s: errno %d\n", old_name, errno); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:714:5: note: in expansion of macro ‘fatal’ fatal ("Didn't read all of %s: errno %d\n", old_name, errno); ^~~~~ unexelf.c:782:12: warning: too many arguments for format [-Wformat-extra-args] fatal (".bss shrank when undumping???\n", 0, 0); ^ unexelf.c:406:41: note: in definition of macro ‘fatal’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:782:5: note: in expansion of macro ‘fatal’ fatal (".bss shrank when undumping???\n", 0, 0); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:782:5: note: in expansion of macro ‘fatal’ fatal (".bss shrank when undumping???\n", 0, 0); ^~~~~ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:790:5: note: in expansion of macro ‘fatal’ fatal ("Can't creat (%s): errno %d\n", new_name, errno); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:790:5: note: in expansion of macro ‘fatal’ fatal ("Can't creat (%s): errno %d\n", new_name, errno); ^~~~~ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:795:5: note: in expansion of macro ‘fatal’ fatal ("Can't ftruncate (%s): errno %d\n", new_name, errno); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:795:5: note: in expansion of macro ‘fatal’ fatal ("Can't ftruncate (%s): errno %d\n", new_name, errno); ^~~~~ unexelf.c:800:12: warning: too many arguments for format [-Wformat-extra-args] fatal ("Can't allocate buffer for %s\n", old_name, 0); ^ unexelf.c:406:41: note: in definition of macro ‘fatal’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:800:5: note: in expansion of macro ‘fatal’ fatal ("Can't allocate buffer for %s\n", old_name, 0); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:800:5: note: in expansion of macro ‘fatal’ fatal ("Can't allocate buffer for %s\n", old_name, 0); ^~~~~ unexelf.c:855:11: warning: too many arguments for format [-Wformat-extra-args] fatal ("Program segment above .bss in %s\n", old_name, 0); ^ unexelf.c:406:41: note: in definition of macro ‘fatal’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:855:4: note: in expansion of macro ‘fatal’ fatal ("Program segment above .bss in %s\n", old_name, 0); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:855:4: note: in expansion of macro ‘fatal’ fatal ("Program segment above .bss in %s\n", old_name, 0); ^~~~~ unexelf.c:865:12: warning: too many arguments for format [-Wformat-extra-args] fatal ("Couldn't find segment next to .bss in %s\n", old_name, 0); ^ unexelf.c:406:41: note: in definition of macro ‘fatal’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:865:5: note: in expansion of macro ‘fatal’ fatal ("Couldn't find segment next to .bss in %s\n", old_name, 0); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:865:5: note: in expansion of macro ‘fatal’ fatal ("Couldn't find segment next to .bss in %s\n", old_name, 0); ^~~~~ unexelf.c:895:12: warning: too many arguments for format [-Wformat-extra-args] fatal ("Can't find .data in %s.\n", old_name, 0); ^ unexelf.c:406:41: note: in definition of macro ‘fatal’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:895:5: note: in expansion of macro ‘fatal’ fatal ("Can't find .data in %s.\n", old_name, 0); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:895:5: note: in expansion of macro ‘fatal’ fatal ("Can't find .data in %s.\n", old_name, 0); ^~~~~ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:1256:5: note: in expansion of macro ‘fatal’ fatal ("Didn't write %d bytes: errno %d\n", ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:1256:5: note: in expansion of macro ‘fatal’ fatal ("Didn't write %d bytes: errno %d\n", ^~~~~ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:1272:5: note: in expansion of macro ‘fatal’ fatal ("Can't close (%s): errno %d\n", old_name, errno); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:1272:5: note: in expansion of macro ‘fatal’ fatal ("Can't close (%s): errno %d\n", old_name, errno); ^~~~~ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:1275:5: note: in expansion of macro ‘fatal’ fatal ("Can't close (%s): errno %d\n", new_name, errno); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:1275:5: note: in expansion of macro ‘fatal’ fatal ("Can't close (%s): errno %d\n", new_name, errno); ^~~~~ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:1278:5: note: in expansion of macro ‘fatal’ fatal ("Can't stat (%s): errno %d\n", new_name, errno); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:1278:5: note: in expansion of macro ‘fatal’ fatal ("Can't stat (%s): errno %d\n", new_name, errno); ^~~~~ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:1284:5: note: in expansion of macro ‘fatal’ fatal ("Can't chmod (%s): errno %d\n", new_name, errno); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:1284:5: note: in expansion of macro ‘fatal’ fatal ("Can't chmod (%s): errno %d\n", new_name, errno); ^~~~~ gmalloc.c: In function ‘__malloc_initialize’: gmalloc.c:56:28: warning: implicit declaration of function ‘bzero’ [-Wimplicit-function-declaration] #define memset(s, zero, n) bzero ((s), (n)) ^ gmalloc.c:486:3: note: in expansion of macro ‘memset’ memset (_heapinfo, 0, heapsize * sizeof (malloc_info)); ^~~~~~ gmalloc.c:56:28: warning: incompatible implicit declaration of built-in function ‘bzero’ #define memset(s, zero, n) bzero ((s), (n)) ^ gmalloc.c:486:3: note: in expansion of macro ‘memset’ memset (_heapinfo, 0, heapsize * sizeof (malloc_info)); ^~~~~~ gmalloc.c: In function ‘morecore’: gmalloc.c:56:28: warning: incompatible implicit declaration of built-in function ‘bzero’ #define memset(s, zero, n) bzero ((s), (n)) ^ gmalloc.c:556:8: note: in expansion of macro ‘memset’ memset (&newinfo[heapsize], 0, ^~~~~~ gmalloc.c:59:26: warning: implicit declaration of function ‘bcopy’ [-Wimplicit-function-declaration] #define memcpy(d, s, n) bcopy ((s), (d), (n)) ^ gmalloc.c:590:7: note: in expansion of macro ‘memcpy’ memcpy (newinfo, _heapinfo, heapsize * sizeof (malloc_info)); ^~~~~~ gmalloc.c:59:26: warning: incompatible implicit declaration of built-in function ‘bcopy’ #define memcpy(d, s, n) bcopy ((s), (d), (n)) ^ gmalloc.c:590:7: note: in expansion of macro ‘memcpy’ memcpy (newinfo, _heapinfo, heapsize * sizeof (malloc_info)); ^~~~~~ gmalloc.c:56:28: warning: incompatible implicit declaration of built-in function ‘bzero’ #define memset(s, zero, n) bzero ((s), (n)) ^ gmalloc.c:591:7: note: in expansion of macro ‘memset’ memset (&newinfo[heapsize], 0, ^~~~~~ gmalloc.c: In function ‘__malloc_safe_bcopy’: gmalloc.c:1211:5: warning: incompatible implicit declaration of built-in function ‘bcopy’ bcopy (from, to, size); ^~~~~ gmalloc.c:1241:8: warning: incompatible implicit declaration of built-in function ‘bcopy’ bcopy (endf, endt, to - from); ^~~~~ gmalloc.c:1247:4: warning: incompatible implicit declaration of built-in function ‘bcopy’ bcopy (from, to, endt - from); ^~~~~ gmalloc.c: In function ‘_realloc_internal’: gmalloc.c:59:26: warning: incompatible implicit declaration of built-in function ‘bcopy’ #define memcpy(d, s, n) bcopy ((s), (d), (n)) ^ gmalloc.c:1301:8: note: in expansion of macro ‘memcpy’ memcpy (result, ptr, size); ^~~~~~ gmalloc.c:59:26: warning: incompatible implicit declaration of built-in function ‘bcopy’ #define memcpy(d, s, n) bcopy ((s), (d), (n)) ^ gmalloc.c:1376:4: note: in expansion of macro ‘memcpy’ memcpy (result, ptr, min (size, (__malloc_size_t) 1 << type)); ^~~~~~ gmalloc.c: In function ‘calloc’: gmalloc.c:56:28: warning: incompatible implicit declaration of built-in function ‘bzero’ #define memset(s, zero, n) bzero ((s), (n)) ^ gmalloc.c:1431:12: note: in expansion of macro ‘memset’ (void) memset (result, 0, nmemb * size); ^~~~~~ gmalloc.c: In function ‘valloc’: gmalloc.c:1646:16: warning: implicit declaration of function ‘__getpagesize’ [-Wimplicit-function-declaration] pagesize = __getpagesize (); ^~~~~~~~~~~~~ ; ================ Link C object files (system "gcc -rdynamic -o scm sc2.o ramap.o record.o gsubr.o ioext.o edline.o rgx.o socket.o posix.o unix.o crs.o dynl.o x.o differ.o continue.o scm.o scmmain.o findexec.o script.o time.o repl.o scl.o eval.o sys.o subr.o debug.o unif.o rope.o unexelf.o gmalloc.o -lm -lreadline -ltermcap -lcurses -ldl -L/usr/X11R6/lib -lX11 -lc") sys.o: In function `ltmpnam': sys.c:(.text+0x852): warning: the use of `tmpnam' is dangerous, better use `mkstemp' ./build -p linux -hsystem -f libscm.opt -t lib ; Scheme (linux) script created by SLIB/batch ; [-p linux] ; used options from: libscm.opt ; ================ Write file with C defines (delete-file "scmflags.h") (call-with-output-file "scmflags.h" (lambda (fp) (for-each (lambda (string) (write-line string fp)) '("#define IMPLINIT \"Init5f2.scm\"" "#define INITS init_sc2();init_ioext();" "#define COMPILED_INITS init_ramap();init_record();init_gsubr();init_edline();init_rgx();init_socket();init_posix();init_unix();init_crs();init_x();init_differ();" "#define CAUTIOUS" "#define BIGNUMS" "#define ARRAYS" "#define FLOATS" "#define CCLO" "#define TICKS" "#define CAN_DUMP" "#define MACRO")))) ; ================ Compile C source files (system "gcc -c -I/usr/include/X11 -DX11 -DSUN_DL sc2.c ramap.c record.c gsubr.c ioext.c edline.c rgx.c socket.c posix.c unix.c crs.c dynl.c x.c differ.c continue.c scm.c findexec.c script.c time.c repl.c scl.c eval.c sys.c subr.c debug.c unif.c rope.c unexelf.c gmalloc.c") socket.c: In function ‘l_hostinfo’: socket.c:147:28: warning: passing argument 2 of ‘makfromstrs’ from incompatible pointer type [-Wincompatible-pointer-types] ve[ 1] = makfromstrs(-1, entry->h_aliases); ^~~~~ In file included from socket.c:24:0: scm.h:1037:17: note: expected ‘const char * const*’ but argument is of type ‘char **’ SCM_EXPORT SCM makfromstrs P((int argc, const char * const *argv)); ^~~~~~~~~~~ socket.c:152:13: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] for (argv = entry->h_addr_list; argv[i]; i++); ^ socket.c: In function ‘l_netinfo’: socket.c:184:28: warning: passing argument 2 of ‘makfromstrs’ from incompatible pointer type [-Wincompatible-pointer-types] ve[ 1] = makfromstrs(-1, entry->n_aliases); ^~~~~ In file included from socket.c:24:0: scm.h:1037:17: note: expected ‘const char * const*’ but argument is of type ‘char **’ SCM_EXPORT SCM makfromstrs P((int argc, const char * const *argv)); ^~~~~~~~~~~ socket.c: In function ‘l_protoinfo’: socket.c:214:28: warning: passing argument 2 of ‘makfromstrs’ from incompatible pointer type [-Wincompatible-pointer-types] ve[ 1] = makfromstrs(-1, entry->p_aliases); ^~~~~ In file included from socket.c:24:0: scm.h:1037:17: note: expected ‘const char * const*’ but argument is of type ‘char **’ SCM_EXPORT SCM makfromstrs P((int argc, const char * const *argv)); ^~~~~~~~~~~ socket.c: In function ‘l_servinfo’: socket.c:247:28: warning: passing argument 2 of ‘makfromstrs’ from incompatible pointer type [-Wincompatible-pointer-types] ve[ 1] = makfromstrs(-1, entry->s_aliases); ^~~~~ In file included from socket.c:24:0: scm.h:1037:17: note: expected ‘const char * const*’ but argument is of type ‘char **’ SCM_EXPORT SCM makfromstrs P((int argc, const char * const *argv)); ^~~~~~~~~~~ posix.c: In function ‘l_grinfo’: posix.c:194:28: warning: passing argument 2 of ‘makfromstrs’ from incompatible pointer type [-Wincompatible-pointer-types] ve[ 3] = makfromstrs(-1, entry->gr_mem); ^~~~~ In file included from posix.c:21:0: scm.h:1037:17: note: expected ‘const char * const*’ but argument is of type ‘char **’ SCM_EXPORT SCM makfromstrs P((int argc, const char * const *argv)); ^~~~~~~~~~~ crs.c:72:3: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] wrefresh, ^~~~~~~~ crs.c:72:3: note: (near initialization for ‘winptob.fflush’) crs.c:73:3: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] wgetch, ^~~~~~ crs.c:73:3: note: (near initialization for ‘winptob.fgetc’) crs.c: In function ‘lunctrl’: crs.c:241:17: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] char *str = unctrl(ICHR(c)); ^~~~~~ crs.c: In function ‘init_crs’: crs.c:390:13: warning: passing argument 1 of ‘add_final’ from incompatible pointer type [-Wincompatible-pointer-types] add_final(lendwin); ^~~~~~~ In file included from crs.c:21:0: scm.h:1001:17: note: expected ‘void (*)(void)’ but argument is of type ‘SCM (*)() {aka long int (*)()}’ SCM_EXPORT void add_final P((void (*final)(void))); ^~~~~~~~~ x.c: In function ‘make_xcolormap’: x.c:337:51: warning: passing argument 4 of ‘XSaveContext’ makes pointer from integer without a cast [-Wint-conversion] XSaveContext(XDISPLAY(sdpy), (XID)cmp, xtc_cmp, z); ^ In file included from x.c:39:0: /usr/include/X11/Xutil.h:576:12: note: expected ‘const char *’ but argument is of type ‘SCM {aka long int}’ extern int XSaveContext( ^~~~~~~~~~~~ x.c: In function ‘CCC2SCM’: x.c:585:47: warning: passing argument 4 of ‘XSaveContext’ makes pointer from integer without a cast [-Wint-conversion] XSaveContext(ccc->dpy, (XID)ccc, xtc_ccc, s_ccc); ^~~~~ In file included from x.c:39:0: /usr/include/X11/Xutil.h:576:12: note: expected ‘const char *’ but argument is of type ‘SCM {aka long int}’ extern int XSaveContext( ^~~~~~~~~~~~ x.c: In function ‘x_draw_string’: x.c:2070:35: warning: passing argument 4 of ‘xldraw_string’ from incompatible pointer type [-Wincompatible-pointer-types] xldraw_string(sdbl, sgc, sargs, &XDrawString, s_x_draw_string); ^ x.c:2051:6: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(Display *, Drawable, struct _XGC *, int, int, const char *, int) {aka int (*)(struct _XDisplay *, long unsigned int, struct _XGC *, int, int, const char *, int)}’ void xldraw_string(sdbl, sgc, sargs, proc, s_caller) ^~~~~~~~~~~~~ x.c: In function ‘x_image_string’: x.c:2076:35: warning: passing argument 4 of ‘xldraw_string’ from incompatible pointer type [-Wincompatible-pointer-types] xldraw_string(sdbl, sgc, sargs, &XDrawImageString, s_x_image_string); ^ x.c:2051:6: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(Display *, Drawable, struct _XGC *, int, int, const char *, int) {aka int (*)(struct _XDisplay *, long unsigned int, struct _XGC *, int, int, const char *, int)}’ void xldraw_string(sdbl, sgc, sargs, proc, s_caller) ^~~~~~~~~~~~~ differ.c:33:0: warning: "I32" redefined #define I32 long differ.c:27:0: note: this is the location of the previous definition # define I32 int differ.c:122:4: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] {long_subarray, ^~~~~~~~~~~~~ differ.c:122:4: note: (near initialization for ‘long_procs.subarray’) differ.c:126:4: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] {short_subarray, ^~~~~~~~~~~~~~ differ.c:126:4: note: (near initialization for ‘short_procs.subarray’) differ.c:130:4: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] {char_subarray, ^~~~~~~~~~~~~ differ.c:130:4: note: (near initialization for ‘char_procs.subarray’) In file included from scmfig.h:71:0, from scm.h:55, from scm.c:26: scm.c: In function ‘scm_init_extensions’: scmflags.h:3:116: warning: implicit declaration of function ‘init_unix’; did you mean ‘init_unif’? [-Wimplicit-function-declaration] #define COMPILED_INITS init_ramap();init_record();init_gsubr();init_edline();init_rgx();init_socket();init_posix();init_unix();init_crs();init_x();init_differ(); ^ scm.c:110:3: note: in expansion of macro ‘COMPILED_INITS’ COMPILED_INITS; /* initialize statically linked add-ons */ ^~~~~~~~~~~~~~ In file included from scmfig.h:71:0, from scm.h:55, from scm.c:26: scmflags.h:3:128: warning: implicit declaration of function ‘init_crs’; did you mean ‘init_subrs’? [-Wimplicit-function-declaration] #define COMPILED_INITS init_ramap();init_record();init_gsubr();init_edline();init_rgx();init_socket();init_posix();init_unix();init_crs();init_x();init_differ(); ^ scm.c:110:3: note: in expansion of macro ‘COMPILED_INITS’ COMPILED_INITS; /* initialize statically linked add-ons */ ^~~~~~~~~~~~~~ scmflags.h:3:139: warning: implicit declaration of function ‘init_x’; did you mean ‘init_rgx’? [-Wimplicit-function-declaration] #define COMPILED_INITS init_ramap();init_record();init_gsubr();init_edline();init_rgx();init_socket();init_posix();init_unix();init_crs();init_x();init_differ(); ^ scm.c:110:3: note: in expansion of macro ‘COMPILED_INITS’ COMPILED_INITS; /* initialize statically linked add-ons */ ^~~~~~~~~~~~~~ scmflags.h:3:148: warning: implicit declaration of function ‘init_differ’; did you mean ‘init_banner’? [-Wimplicit-function-declaration] #define COMPILED_INITS init_ramap();init_record();init_gsubr();init_edline();init_rgx();init_socket();init_posix();init_unix();init_crs();init_x();init_differ(); ^ scm.c:110:3: note: in expansion of macro ‘COMPILED_INITS’ COMPILED_INITS; /* initialize statically linked add-ons */ ^~~~~~~~~~~~~~ scm.c: In function ‘process_signals’: scm.c:176:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wta(UNDEFINED, (char *)i, ""); ^ scm.c: In function ‘scmable_signal’: scm.c:290:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wta(UNDEFINED, (char *)i, ""); ^ script.c: In function ‘find_impl_file’: script.c:149:18: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] char *extptr = exec_path + strlen(exec_path); ^~~~~~~~~ script.c:165:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] extptr = exec_path + strlen(exec_path); ^ script.c: In function ‘script_process_argv’: script.c:362:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] nargv[0] = argv[0]; ^ script.c:377:22: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] nargv[nargi++] = argv[argi++]; ^ script.c:380:39: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] while (argi <= argc) nargv[nargi++] = argv[argi++]; ^ repl.c: In function ‘handle_it’: repl.c:1270:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wta(UNDEFINED, (char *)i, ""); /* sends it to def_err_response */ ^ repl.c: In function ‘def_err_response’: repl.c:2077:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lputc((long)err_pos <= ARGn ? ' ' : '1' + (int)err_pos - ARG1, cur_errp); ^ repl.c:2080:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else lputs(errmsgs[((int)err_pos)-WNA].msg, cur_errp); ^ repl.c: In function ‘everr’: repl.c:2133:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] err_pos = pos; ^ repl.c:2134:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] err_s_subr = s_subr; ^ In file included from repl.c:21:0: repl.c:2139:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] COOKIE(1) : COOKIE((int)pos)); ^ scm.h:260:21: note: in definition of macro ‘COOKIE’ # define COOKIE(n) (n) ^ unexelf.c: In function ‘find_section’: unexelf.c:406:51: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:634:2: note: in expansion of macro ‘fatal’ fatal ("Can't find %s in %s.\n", name, file_name); ^~~~~ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:634:2: note: in expansion of macro ‘fatal’ fatal ("Can't find %s in %s.\n", name, file_name); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:634:2: note: in expansion of macro ‘fatal’ fatal ("Can't find %s in %s.\n", name, file_name); ^~~~~ unexelf.c: In function ‘unexec’: unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:692:5: note: in expansion of macro ‘fatal’ fatal ("Can't open %s for reading: errno %d\n", old_name, errno); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:692:5: note: in expansion of macro ‘fatal’ fatal ("Can't open %s for reading: errno %d\n", old_name, errno); ^~~~~ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:695:5: note: in expansion of macro ‘fatal’ fatal ("Can't fstat (%s): errno %d\n", old_name, errno); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:695:5: note: in expansion of macro ‘fatal’ fatal ("Can't fstat (%s): errno %d\n", old_name, errno); ^~~~~ unexelf.c:711:12: warning: too many arguments for format [-Wformat-extra-args] fatal ("Can't allocate buffer for %s\n", old_name, 0); ^ unexelf.c:406:41: note: in definition of macro ‘fatal’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:711:5: note: in expansion of macro ‘fatal’ fatal ("Can't allocate buffer for %s\n", old_name, 0); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:711:5: note: in expansion of macro ‘fatal’ fatal ("Can't allocate buffer for %s\n", old_name, 0); ^~~~~ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:714:5: note: in expansion of macro ‘fatal’ fatal ("Didn't read all of %s: errno %d\n", old_name, errno); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:714:5: note: in expansion of macro ‘fatal’ fatal ("Didn't read all of %s: errno %d\n", old_name, errno); ^~~~~ unexelf.c:782:12: warning: too many arguments for format [-Wformat-extra-args] fatal (".bss shrank when undumping???\n", 0, 0); ^ unexelf.c:406:41: note: in definition of macro ‘fatal’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:782:5: note: in expansion of macro ‘fatal’ fatal (".bss shrank when undumping???\n", 0, 0); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:782:5: note: in expansion of macro ‘fatal’ fatal (".bss shrank when undumping???\n", 0, 0); ^~~~~ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:790:5: note: in expansion of macro ‘fatal’ fatal ("Can't creat (%s): errno %d\n", new_name, errno); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:790:5: note: in expansion of macro ‘fatal’ fatal ("Can't creat (%s): errno %d\n", new_name, errno); ^~~~~ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:795:5: note: in expansion of macro ‘fatal’ fatal ("Can't ftruncate (%s): errno %d\n", new_name, errno); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:795:5: note: in expansion of macro ‘fatal’ fatal ("Can't ftruncate (%s): errno %d\n", new_name, errno); ^~~~~ unexelf.c:800:12: warning: too many arguments for format [-Wformat-extra-args] fatal ("Can't allocate buffer for %s\n", old_name, 0); ^ unexelf.c:406:41: note: in definition of macro ‘fatal’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:800:5: note: in expansion of macro ‘fatal’ fatal ("Can't allocate buffer for %s\n", old_name, 0); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:800:5: note: in expansion of macro ‘fatal’ fatal ("Can't allocate buffer for %s\n", old_name, 0); ^~~~~ unexelf.c:855:11: warning: too many arguments for format [-Wformat-extra-args] fatal ("Program segment above .bss in %s\n", old_name, 0); ^ unexelf.c:406:41: note: in definition of macro ‘fatal’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:855:4: note: in expansion of macro ‘fatal’ fatal ("Program segment above .bss in %s\n", old_name, 0); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:855:4: note: in expansion of macro ‘fatal’ fatal ("Program segment above .bss in %s\n", old_name, 0); ^~~~~ unexelf.c:865:12: warning: too many arguments for format [-Wformat-extra-args] fatal ("Couldn't find segment next to .bss in %s\n", old_name, 0); ^ unexelf.c:406:41: note: in definition of macro ‘fatal’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:865:5: note: in expansion of macro ‘fatal’ fatal ("Couldn't find segment next to .bss in %s\n", old_name, 0); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:865:5: note: in expansion of macro ‘fatal’ fatal ("Couldn't find segment next to .bss in %s\n", old_name, 0); ^~~~~ unexelf.c:895:12: warning: too many arguments for format [-Wformat-extra-args] fatal ("Can't find .data in %s.\n", old_name, 0); ^ unexelf.c:406:41: note: in definition of macro ‘fatal’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:895:5: note: in expansion of macro ‘fatal’ fatal ("Can't find .data in %s.\n", old_name, 0); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:895:5: note: in expansion of macro ‘fatal’ fatal ("Can't find .data in %s.\n", old_name, 0); ^~~~~ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:1256:5: note: in expansion of macro ‘fatal’ fatal ("Didn't write %d bytes: errno %d\n", ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:1256:5: note: in expansion of macro ‘fatal’ fatal ("Didn't write %d bytes: errno %d\n", ^~~~~ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:1272:5: note: in expansion of macro ‘fatal’ fatal ("Can't close (%s): errno %d\n", old_name, errno); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:1272:5: note: in expansion of macro ‘fatal’ fatal ("Can't close (%s): errno %d\n", old_name, errno); ^~~~~ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:1275:5: note: in expansion of macro ‘fatal’ fatal ("Can't close (%s): errno %d\n", new_name, errno); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:1275:5: note: in expansion of macro ‘fatal’ fatal ("Can't close (%s): errno %d\n", new_name, errno); ^~~~~ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:1278:5: note: in expansion of macro ‘fatal’ fatal ("Can't stat (%s): errno %d\n", new_name, errno); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:1278:5: note: in expansion of macro ‘fatal’ fatal ("Can't stat (%s): errno %d\n", new_name, errno); ^~~~~ unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:1284:5: note: in expansion of macro ‘fatal’ fatal ("Can't chmod (%s): errno %d\n", new_name, errno); ^~~~~ unexelf.c:406:51: note: include ‘’ or provide a declaration of ‘exit’ #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) ^ unexelf.c:1284:5: note: in expansion of macro ‘fatal’ fatal ("Can't chmod (%s): errno %d\n", new_name, errno); ^~~~~ gmalloc.c: In function ‘__malloc_initialize’: gmalloc.c:56:28: warning: implicit declaration of function ‘bzero’ [-Wimplicit-function-declaration] #define memset(s, zero, n) bzero ((s), (n)) ^ gmalloc.c:486:3: note: in expansion of macro ‘memset’ memset (_heapinfo, 0, heapsize * sizeof (malloc_info)); ^~~~~~ gmalloc.c:56:28: warning: incompatible implicit declaration of built-in function ‘bzero’ #define memset(s, zero, n) bzero ((s), (n)) ^ gmalloc.c:486:3: note: in expansion of macro ‘memset’ memset (_heapinfo, 0, heapsize * sizeof (malloc_info)); ^~~~~~ gmalloc.c: In function ‘morecore’: gmalloc.c:56:28: warning: incompatible implicit declaration of built-in function ‘bzero’ #define memset(s, zero, n) bzero ((s), (n)) ^ gmalloc.c:556:8: note: in expansion of macro ‘memset’ memset (&newinfo[heapsize], 0, ^~~~~~ gmalloc.c:59:26: warning: implicit declaration of function ‘bcopy’ [-Wimplicit-function-declaration] #define memcpy(d, s, n) bcopy ((s), (d), (n)) ^ gmalloc.c:590:7: note: in expansion of macro ‘memcpy’ memcpy (newinfo, _heapinfo, heapsize * sizeof (malloc_info)); ^~~~~~ gmalloc.c:59:26: warning: incompatible implicit declaration of built-in function ‘bcopy’ #define memcpy(d, s, n) bcopy ((s), (d), (n)) ^ gmalloc.c:590:7: note: in expansion of macro ‘memcpy’ memcpy (newinfo, _heapinfo, heapsize * sizeof (malloc_info)); ^~~~~~ gmalloc.c:56:28: warning: incompatible implicit declaration of built-in function ‘bzero’ #define memset(s, zero, n) bzero ((s), (n)) ^ gmalloc.c:591:7: note: in expansion of macro ‘memset’ memset (&newinfo[heapsize], 0, ^~~~~~ gmalloc.c: In function ‘__malloc_safe_bcopy’: gmalloc.c:1211:5: warning: incompatible implicit declaration of built-in function ‘bcopy’ bcopy (from, to, size); ^~~~~ gmalloc.c:1241:8: warning: incompatible implicit declaration of built-in function ‘bcopy’ bcopy (endf, endt, to - from); ^~~~~ gmalloc.c:1247:4: warning: incompatible implicit declaration of built-in function ‘bcopy’ bcopy (from, to, endt - from); ^~~~~ gmalloc.c: In function ‘_realloc_internal’: gmalloc.c:59:26: warning: incompatible implicit declaration of built-in function ‘bcopy’ #define memcpy(d, s, n) bcopy ((s), (d), (n)) ^ gmalloc.c:1301:8: note: in expansion of macro ‘memcpy’ memcpy (result, ptr, size); ^~~~~~ gmalloc.c:59:26: warning: incompatible implicit declaration of built-in function ‘bcopy’ #define memcpy(d, s, n) bcopy ((s), (d), (n)) ^ gmalloc.c:1376:4: note: in expansion of macro ‘memcpy’ memcpy (result, ptr, min (size, (__malloc_size_t) 1 << type)); ^~~~~~ gmalloc.c: In function ‘calloc’: gmalloc.c:56:28: warning: incompatible implicit declaration of built-in function ‘bzero’ #define memset(s, zero, n) bzero ((s), (n)) ^ gmalloc.c:1431:12: note: in expansion of macro ‘memset’ (void) memset (result, 0, nmemb * size); ^~~~~~ gmalloc.c: In function ‘valloc’: gmalloc.c:1646:16: warning: implicit declaration of function ‘__getpagesize’ [-Wimplicit-function-declaration] pagesize = __getpagesize (); ^~~~~~~~~~~~~ ; ================ Link C object files (system "ar rc libscm.a sc2.o ramap.o record.o gsubr.o ioext.o edline.o rgx.o socket.o posix.o unix.o crs.o dynl.o x.o differ.o continue.o scm.o findexec.o script.o time.o repl.o scl.o eval.o sys.o subr.o debug.o unif.o rope.o unexelf.o gmalloc.o") (system "ranlib libscm.a") makeinfo --html --no-split scm.texi scm.texi:4020: warning: multiple @menu makeinfo --html --no-split Xlibscm.texi cp XlibScm.html Xlibscm.html cp ChangeLog changelog make[1]: Leaving directory '/<>' dh_auto_test make -j1 check VERBOSE=1 make[1]: Entering directory '/<>' ./scm -fr4rstest.scm -e'(test-sc4)(test-cont)(test-delay)(gc)' \ -e '(or (null? errs) (quit 1))' < /dev/null SECTION(2 1) SECTION(3 4) # # # # # # # # # (#t #f #f #f #f #f #f #f #f)#t (#t #f #f #f #f #f #f #f #f)#f (#f #t #f #f #f #f #f #f #f)#\a (#f #f #t #f #f #f #f #f #f)() (#f #f #f #t #f #f #f #f #f)9739 (#f #f #f #f #t #f #f #f #f)(test) (#f #f #f #f #f #t #f #f #f)# (#f #f #f #f #f #f #t #f #f)"test" (#f #f #f #f #f #f #t #f #f)"" (#f #f #f #f #f #f #f #t #f)test (#f #f #f #f #f #f #f #f #t)#() (#f #f #f #f #f #f #f #f #t)#(a b c) SECTION(4 1 2) (quote (quote a)) ==> (quote a) (quote (quote a)) ==> (quote a) SECTION(4 1 3) (# 3 4) ==> 12 SECTION(4 1 4) (# "r4rstest.scm": (x) (+ x x)> 4) ==> 8 (# 7 10) ==> 3 (# "r4rstest.scm": (y) (+ x y)> 6) ==> 10 (# "r4rstest.scm": x x> 3 4 5 6) ==> (3 4 5 6) (# "r4rstest.scm": (x y . z) z> 3 4 5 6) ==> (5 6) SECTION(4 1 5) (if yes) ==> yes (if no) ==> no (if 1) ==> 1 SECTION(4 1 6) (define 3) ==> 3 (set! 5) ==> 5 SECTION(4 2 1) (cond greater) ==> greater (cond equal) ==> equal (cond 2) ==> 2 (case composite) ==> composite (case consonant) ==> consonant (and #t) ==> #t (and #f) ==> #f (and (f g)) ==> (f g) (and #t) ==> #t (or #t) ==> #t (or #t) ==> #t (or #f) ==> #f (or #f) ==> #f (or (b c)) ==> (b c) SECTION(4 2 2) (let 6) ==> 6 (let 35) ==> 35 (let* 70) ==> 70 (letrec #t) ==> #t (let 5) ==> 5 (let 34) ==> 34 (let 6) ==> 6 (let 34) ==> 34 (let 34) ==> 34 (let* 7) ==> 7 (let* 34) ==> 34 (let* 8) ==> 8 (let* 34) ==> 34 (letrec 9) ==> 9 (letrec 34) ==> 34 (letrec 10) ==> 10 (letrec 34) ==> 34 SECTION(4 2 3) (begin 6) ==> 6 SECTION(4 2 4) (do #(0 1 2 3 4)) ==> #(0 1 2 3 4) (do 25) ==> 25 (do 25) ==> 25 (let 1) ==> 1 (let ((6 1 3) (-5 -2))) ==> ((6 1 3) (-5 -2)) (let -1) ==> -1 SECTION(4 2 6) (quasiquote (list 3 4)) ==> (list 3 4) (quasiquote (list a (quote a))) ==> (list a (quote a)) (quasiquote (a 3 4 5 6 b)) ==> (a 3 4 5 6 b) (quasiquote ((foo 7) . cons)) ==> ((foo 7) . cons) (quasiquote #(10 5 2 4 3 8)) ==> #(10 5 2 4 3 8) (quasiquote 5) ==> 5 (quasiquote (a (quasiquote (b (unquote (+ 1 2)) (unquote (foo 4 d)) e)) f)) ==> (a (quasiquote (b (unquote (+ 1 2)) (unquote (foo 4 d)) e)) f) (quasiquote (a (quasiquote (b (unquote x) (unquote (quote y)) d)) e)) ==> (a (quasiquote (b (unquote x) (unquote (quote y)) d)) e) (quasiquote (list 3 4)) ==> (list 3 4) (quasiquote (quasiquote (list (unquote (+ 1 2)) 4))) ==> (quasiquote (list (unquote (+ 1 2)) 4)) SECTION(5 2 1) (tprint #t) ==> #t (define 6) ==> 6 (define 1) ==> 1 (define 9) ==> 9 (define 9) ==> 9 (define 10) ==> 10 (# 6) ==> (3 6) (# 6) ==> 9 SECTION(5 2 2) (define 45) ==> 45 (#) ==> 5 (define 34) ==> 34 (#) ==> 5 (define 34) ==> 34 (# 88) ==> 88 (# 4) ==> 4 (define 34) ==> 34 (internal-define 99) ==> 99 (internal-define 77) ==> 77 SECTION(6 1) (# #t) ==> #f (# 3) ==> #f (# (3)) ==> #f (# #f) ==> #t (# ()) ==> #f (# ()) ==> #f (# nil) ==> #f SECTION(6 2) (# a a) ==> #t (# a b) ==> #f (# 2 2) ==> #t (# () ()) ==> #t (# 10000 10000) ==> #t (# (1 . 2) (1 . 2)) ==> #f (# # "r4rstest.scm": () 1> # "r4rstest.scm": () 2>) ==> #f (# #f nil) ==> #f (# # #) ==> #t (# # "r4rstest.scm": () (set! n (+ n 1)) n> # "r4rstest.scm": () (set! n (+ n 1)) n>) ==> #t (# # "r4rstest.scm": () (set! n (+ n 1)) n> # "r4rstest.scm": () (set! n (+ n 1)) n>) ==> #f (# # #) ==> #f (# a a) ==> #t (# (a) (a)) ==> #f (# () ()) ==> #t (# # #) ==> #t (# (a) (a)) ==> #t (# #() #()) ==> #t (# # #) ==> #t (# a a) ==> #t (# (a) (a)) ==> #t (# (a (b) c) (a (b) c)) ==> #t (# "abc" "abc") ==> #t (# 2 2) ==> #t (# #(a a a a a) #(a a a a a)) ==> #t SECTION(6 3) (dot (a b c d e)) ==> (a b c d e) (# (a b c)) ==> #t (set-cdr! (a . 4)) ==> (a . 4) (# (a . 4) (a . 4)) ==> #t (dot (a b c . d)) ==> (a b c . d) (# (a . 4)) ==> #f (list? #f) ==> #f (# a ()) ==> (a) (# (a) (b c d)) ==> ((a) b c d) (# "a" (b c)) ==> ("a" b c) (# a 3) ==> (a . 3) (# (a b) c) ==> ((a b) . c) (# (a b c)) ==> a (# ((a) b c d)) ==> (a) (# (1 . 2)) ==> 1 (# ((a) b c d)) ==> (b c d) (# (1 . 2)) ==> 2 (# a 7 c) ==> (a 7 c) (#) ==> () (# (a b c)) ==> 3 (# (a (b) (c d e))) ==> 3 (# ()) ==> 0 (# (x) (y)) ==> (x y) (# (a) (b c d)) ==> (a b c d) (# (a (b)) ((c))) ==> (a (b) (c)) (#) ==> () (# (a b) (c . d)) ==> (a b c . d) (# () a) ==> a (# (a b c)) ==> (c b a) (# (a (b c) d (e (f)))) ==> ((e (f)) d (b c) a) (# (a b c d) 2) ==> c (# a (a b c)) ==> (a b c) (# b (a b c)) ==> (b c) (# a (b c d)) ==> #f (# (a) (b (a) c)) ==> #f (# (a) (b (a) c)) ==> ((a) c) (# 101 (100 101 102)) ==> (101 102) (# a ((a 1) (b 2) (c 3))) ==> (a 1) (# b ((a 1) (b 2) (c 3))) ==> (b 2) (# d ((a 1) (b 2) (c 3))) ==> #f (# (a) (((a)) ((b)) ((c)))) ==> #f (# (a) (((a)) ((b)) ((c)))) ==> ((a)) (# 5 ((2 3) (5 7) (11 13))) ==> (5 7) SECTION(6 4) (# a) ==> #t (standard-case #t) ==> #t (standard-case #t) ==> #t (#string> flying-fish) ==> "flying-fish" (#string> martin) ==> "martin" (#string> \Malvina) ==> "Malvina" (standard-case #t) ==> #t (string-set! "cb") ==> "cb" (#string> ab) ==> "ab" (#symbol> "ab") ==> ab (# mississippi mississippi) ==> #t (string->symbol #f) ==> #f (#symbol> "jollywog") ==> jollywog SECTION(6 5 5) (# 3) ==> #t (# 3) ==> #t (# 3) ==> #t (# 3) ==> #t (# 3) ==> #t (# 3) ==> #t (# 3) ==> #f (#>/Transcen.scm": (z1 z2) (cond ((and (exact? z2) (not (and (zero? z1) (negative? z2)))) (integer-expt z1 z2)) ((zero? z2) (+ 1 (* z1 z2))) ((and (real? z2) (real? z1) (positive? z1)) (real-expt z1 z2)) (else (exp (* (if (zero? z1) (real-part z2) z2) (log z1)))))> 0 0) ==> 1 (#>/Transcen.scm": (z1 z2) (#@cond ((#@and (#@exact? #@z2) (#@not (#@and (#@zero? #@z1) (#@negative? #@z2)))) (#@integer-expt #@z1 #@z2)) ((zero? z2) (+ 1 (* z1 z2))) ((and (real? z2) (real? z1) (positive? z1)) (real-expt z1 z2)) (#t (exp (* (if (zero? z1) (real-part z2) z2) (log z1)))))> 0 1) ==> 0 (#>/Transcen.scm": (z1 z2) (#@cond ((#@and (#@exact? #@z2) (#@not (#@and (#@zero? #@z1) (#@negative? #@z2)))) (#@integer-expt #@z1 #@z2)) ((zero? z2) (+ 1 (* z1 z2))) ((and (real? z2) (real? z1) (positive? z1)) (real-expt z1 z2)) (#t (exp (* (if (zero? z1) (real-part z2) z2) (log z1)))))> 0 256) ==> 0 (#>/Transcen.scm": (z1 z2) (#@cond ((#@and (#@exact? #@z2) (#@not (#@and (#@zero? #@z1) (#@negative? #@z2)))) (#@integer-expt #@z1 #@z2)) ((zero? z2) (+ 1 (* z1 z2))) ((and (real? z2) (real? z1) (positive? z1)) (real-expt z1 z2)) (#t (exp (* (if (zero? z1) (real-part z2) z2) (log z1)))))> -1 256) ==> 1 (#>/Transcen.scm": (z1 z2) (#@cond ((#@and (#@exact? #@z2) (#@not (#@and (#@zero? #@z1) (#@negative? #@z2)))) (#@integer-expt #@z1 #@z2)) ((zero? z2) (+ 1 (* z1 z2))) ((and (real? z2) (real? z1) (positive? z1)) (real-expt z1 z2)) (#t (exp (* (if (zero? z1) (real-part z2) z2) (log z1)))))> -1 255) ==> -1 (#>/Transcen.scm": (z1 z2) (#@cond ((#@and (#@exact? #@z2) (#@not (#@and (#@zero? #@z1) (#@negative? #@z2)))) (#@integer-expt #@z1 #@z2)) ((zero? z2) (+ 1 (* z1 z2))) ((and (real? z2) (real? z1) (positive? z1)) (real-expt z1 z2)) (#t (exp (* (if (zero? z1) (real-part z2) z2) (log z1)))))> -1 -256) ==> 1 (#>/Transcen.scm": (z1 z2) (#@cond ((#@and (#@exact? #@z2) (#@not (#@and (#@zero? #@z1) (#@negative? #@z2)))) (#@integer-expt #@z1 #@z2)) ((zero? z2) (+ 1 (* z1 z2))) ((and (real? z2) (real? z1) (positive? z1)) (real-expt z1 z2)) (#t (exp (* (if (zero? z1) (real-part z2) z2) (log z1)))))> -1 -255) ==> -1 (#>/Transcen.scm": (z1 z2) (#@cond ((#@and (#@exact? #@z2) (#@not (#@and (#@zero? #@z1) (#@negative? #@z2)))) (#@integer-expt #@z1 #@z2)) ((zero? z2) (+ 1 (* z1 z2))) ((and (real? z2) (real? z1) (positive? z1)) (real-expt z1 z2)) (#t (exp (* (if (zero? z1) (real-part z2) z2) (log z1)))))> 256 0) ==> 1 (#>/Transcen.scm": (z1 z2) (#@cond ((#@and (#@exact? #@z2) (#@not (#@and (#@zero? #@z1) (#@negative? #@z2)))) (#@integer-expt #@z1 #@z2)) ((zero? z2) (+ 1 (* z1 z2))) ((and (real? z2) (real? z1) (positive? z1)) (real-expt z1 z2)) (#t (exp (* (if (zero? z1) (real-part z2) z2) (log z1)))))> -256 0) ==> 1 (#>/Transcen.scm": (z1 z2) (#@cond ((#@and (#@exact? #@z2) (#@not (#@and (#@zero? #@z1) (#@negative? #@z2)))) (#@integer-expt #@z1 #@z2)) ((zero? z2) (+ 1 (* z1 z2))) ((and (real? z2) (real? z1) (positive? z1)) (real-expt z1 z2)) (#t (exp (* (if (zero? z1) (real-part z2) z2) (log z1)))))> 256 1) ==> 256 (#>/Transcen.scm": (z1 z2) (#@cond ((#@and (#@exact? #@z2) (#@not (#@and (#@zero? #@z1) (#@negative? #@z2)))) (#@integer-expt #@z1 #@z2)) ((zero? z2) (+ 1 (* z1 z2))) ((and (real? z2) (real? z1) (positive? z1)) (real-expt z1 z2)) (#t (exp (* (if (zero? z1) (real-part z2) z2) (log z1)))))> -256 1) ==> -256 (#>/Transcen.scm": (z1 z2) (#@cond ((#@and (#@exact? #@z2) (#@not (#@and (#@zero? #@z1) (#@negative? #@z2)))) (#@integer-expt #@z1 #@z2)) ((zero? z2) (+ 1 (* z1 z2))) ((and (real? z2) (real? z1) (positive? z1)) (real-expt z1 z2)) (#t (exp (* (if (zero? z1) (real-part z2) z2) (log z1)))))> 2 3) ==> 8 (#>/Transcen.scm": (z1 z2) (#@cond ((#@and (#@exact? #@z2) (#@not (#@and (#@zero? #@z1) (#@negative? #@z2)))) (#@integer-expt #@z1 #@z2)) ((zero? z2) (+ 1 (* z1 z2))) ((and (real? z2) (real? z1) (positive? z1)) (real-expt z1 z2)) (#t (exp (* (if (zero? z1) (real-part z2) z2) (log z1)))))> -2 3) ==> -8 (#>/Transcen.scm": (z1 z2) (#@cond ((#@and (#@exact? #@z2) (#@not (#@and (#@zero? #@z1) (#@negative? #@z2)))) (#@integer-expt #@z1 #@z2)) ((zero? z2) (+ 1 (* z1 z2))) ((and (real? z2) (real? z1) (positive? z1)) (real-expt z1 z2)) (#t (exp (* (if (zero? z1) (real-part z2) z2) (log z1)))))> 3 2) ==> 9 (#>/Transcen.scm": (z1 z2) (#@cond ((#@and (#@exact? #@z2) (#@not (#@and (#@zero? #@z1) (#@negative? #@z2)))) (#@integer-expt #@z1 #@z2)) ((zero? z2) (+ 1 (* z1 z2))) ((and (real? z2) (real? z1) (positive? z1)) (real-expt z1 z2)) (#t (exp (* (if (zero? z1) (real-part z2) z2) (log z1)))))> -3 2) ==> 9 (# 22 22 22) ==> #t (# 22 22) ==> #t (# 34 34 35) ==> #f (# 34 35) ==> #f (#> 3 -6246) ==> #t (#> 9 9 -2424) ==> #f (#=> 3 -4 -6246) ==> #t (#=> 9 9) ==> #t (#=> 8 9) ==> #f (# -1 2 3 4 5 6 7 8) ==> #t (# -1 2 3 4 4 5 6 7) ==> #f (# -1 2 3 4 5 6 7 8) ==> #t (# -1 2 3 4 4 5 6 7) ==> #t (# 1 3 2) ==> #f (#=> 1 3 2) ==> #f (# 0) ==> #t (# 1) ==> #f (# -1) ==> #f (# -100) ==> #f (# 4) ==> #t (# -4) ==> #f (# 0) ==> #f (# 4) ==> #f (# -4) ==> #t (# 0) ==> #f (# 3) ==> #t (# 2) ==> #f (# -4) ==> #f (# -1) ==> #t (# 3) ==> #f (# 2) ==> #t (# -4) ==> #t (# -1) ==> #f (# 34 5 7 38 6) ==> 38 (# 3 5 5 330 4 -24) ==> -24 (# 3 4) ==> 7 (# 3) ==> 3 (#) ==> 0 (# 4) ==> 4 (#) ==> 1 (# 1) ==> 1 (# -1) ==> -1 (# 6 3) ==> 2 (# 6 -2) ==> -3 (# -6 2) ==> -3 (# -6 -2) ==> 3 (# 3 4) ==> -1 (# 3) ==> -3 (# -7) ==> 7 (# 7) ==> 7 (# 0) ==> 0 (# 35 7) ==> 5 (# -35 7) ==> -5 (# 35 -7) ==> -5 (# -35 -7) ==> 5 (# 13 4) ==> 1 (# 13 4) ==> 1 (# -13 4) ==> 3 (# -13 4) ==> -1 (# 13 -4) ==> -3 (# 13 -4) ==> 1 (# -13 -4) ==> -1 (# -13 -4) ==> -1 (# 0 86400) ==> 0 (# 0 -86400) ==> 0 (# 238 9) ==> #t (# -238 9) ==> #t (# 238 -9) ==> #t (# -238 -9) ==> #t (# 0 4) ==> 4 (# -4 0) ==> 4 (# 32 -36) ==> 4 (#) ==> 0 (# 32 -36) ==> 288 (#) ==> 1 SECTION(6 5 5) (#number "r4rstest.scm": (str) (#@define ((ans (string->number str))) (cond ((not ans) #t) ((number? ans) #t) (else ans)))> "+#.#") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "-#.#") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "#.#") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "1/0") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((#@number? #@ans) #t) (#t ans)))> "-1/0") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((#@number? #@ans) #t) (#t ans)))> "0/0") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((#@number? #@ans) #t) (#t ans)))> "+1/0i") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((#@number? #@ans) #t) (#t ans)))> "-1/0i") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((#@number? #@ans) #t) (#t ans)))> "0/0i") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((#@number? #@ans) #t) (#t ans)))> "0/0-0/0i") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((#@number? #@ans) #t) (#t ans)))> "1/0-1/0i") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((#@number? #@ans) #t) (#t ans)))> "-1/0+1/0i") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((#@number? #@ans) #t) (#t ans)))> "#i") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((#@number? #@ans) #t) (#t ans)))> "#e") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((#@number? #@ans) #t) (#t ans)))> "#") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((#@number? #@ans) #t) (#t ans)))> "#i0/0") ==> #t (# 0.0-1.i) ==> #t (# 0.0+1.i) ==> #t (# 2.+1.i) ==> #t SECTION(6 5 9) (#string> 0) ==> "0" (#string> 100) ==> "100" (#string> 256 16) ==> "100" (#number> "100") ==> 100 (#number> "100" 16) ==> 256 (#number> "") ==> #f (#number> ".") ==> #f (#number> "d") ==> #f (#number> "D") ==> #f (#number> "i") ==> #f (#number> "I") ==> #f (#number> "3i") ==> #f (#number> "3I") ==> #f (#number> "33i") ==> #f (#number> "33I") ==> #f (#number> "3.3i") ==> #f (#number> "3.3I") ==> #f (#number> "-") ==> #f (#number> "+") ==> #f (string->number #t) ==> #t (string->number #t) ==> #t SECTION(6 6) (# #\space #\space) ==> #t (# #\space #\space) ==> #t (# #\a) ==> #t (# #\() ==> #t (# #\space) ==> #t (# #\nl) ==> #t (# #\A #\B) ==> #f (# #\a #\b) ==> #f (# #\9 #\0) ==> #f (# #\A #\A) ==> #t (# #\A #\B) ==> #t (# #\a #\b) ==> #t (# #\9 #\0) ==> #f (# #\A #\A) ==> #f (#?> #\A #\B) ==> #f (#?> #\a #\b) ==> #f (#?> #\9 #\0) ==> #t (#?> #\A #\A) ==> #f (# #\A #\B) ==> #t (# #\a #\b) ==> #t (# #\9 #\0) ==> #f (# #\A #\A) ==> #t (#=?> #\A #\B) ==> #f (#=?> #\a #\b) ==> #f (#=?> #\9 #\0) ==> #t (#=?> #\A #\A) ==> #t (# #\A #\B) ==> #f (# #\a #\B) ==> #f (# #\A #\b) ==> #f (# #\a #\b) ==> #f (# #\9 #\0) ==> #f (# #\A #\A) ==> #t (# #\A #\a) ==> #t (# #\A #\B) ==> #t (# #\a #\B) ==> #t (# #\A #\b) ==> #t (# #\a #\b) ==> #t (# #\9 #\0) ==> #f (# #\A #\A) ==> #f (# #\A #\a) ==> #f (#?> #\A #\B) ==> #f (#?> #\a #\B) ==> #f (#?> #\A #\b) ==> #f (#?> #\a #\b) ==> #f (#?> #\9 #\0) ==> #t (#?> #\A #\A) ==> #f (#?> #\A #\a) ==> #f (# #\A #\B) ==> #t (# #\a #\B) ==> #t (# #\A #\b) ==> #t (# #\a #\b) ==> #t (# #\9 #\0) ==> #f (# #\A #\A) ==> #t (# #\A #\a) ==> #t (#=?> #\A #\B) ==> #f (#=?> #\a #\B) ==> #f (#=?> #\A #\b) ==> #f (#=?> #\a #\b) ==> #f (#=?> #\9 #\0) ==> #t (#=?> #\A #\A) ==> #t (#=?> #\A #\a) ==> #t (# #\a) ==> #t (# #\A) ==> #t (# #\z) ==> #t (# #\Z) ==> #t (# #\0) ==> #f (# #\9) ==> #f (# #\space) ==> #f (# #\;) ==> #f (# #\a) ==> #f (# #\A) ==> #f (# #\z) ==> #f (# #\Z) ==> #f (# #\0) ==> #t (# #\9) ==> #t (# #\space) ==> #f (# #\;) ==> #f (# #\a) ==> #f (# #\A) ==> #f (# #\z) ==> #f (# #\Z) ==> #f (# #\0) ==> #f (# #\9) ==> #f (# #\space) ==> #t (# #\;) ==> #f (# #\0) ==> #f (# #\9) ==> #f (# #\space) ==> #f (# #\;) ==> #f (# #\0) ==> #f (# #\9) ==> #f (# #\space) ==> #f (# #\;) ==> #f (#char> 46) ==> #\. (#char> 65) ==> #\A (#char> 97) ==> #\a (# #\A) ==> #\A (# #\a) ==> #\A (# #\A) ==> #\a (# #\a) ==> #\a SECTION(6 7) (# "The word \"recursion\\\" has many meanings.") ==> #t (string-set! "?**") ==> "?**" (# #\a #\b #\c) ==> "abc" (#) ==> "" (# "abc") ==> 3 (# "abc" 0) ==> #\a (# "abc" 2) ==> #\c (# "") ==> 0 (# "ab" 0 0) ==> "" (# "ab" 1 1) ==> "" (# "ab" 2 2) ==> "" (# "ab" 0 1) ==> "a" (# "ab" 1 2) ==> "b" (# "ab" 0 2) ==> "ab" (# "foo" "bar") ==> "foobar" (# "foo") ==> "foo" (# "foo" "") ==> "foo" (# "" "foo") ==> "foo" (#) ==> "" (# 0) ==> "" (# "" "") ==> #t (# "" "") ==> #f (#?> "" "") ==> #f (# "" "") ==> #t (#=?> "" "") ==> #t (# "" "") ==> #t (# "" "") ==> #f (#?> "" "") ==> #f (# "" "") ==> #t (#=?> "" "") ==> #t (# "A" "B") ==> #f (# "a" "b") ==> #f (# "9" "0") ==> #f (# "A" "A") ==> #t (# "A" "B") ==> #t (# "a" "b") ==> #t (# "9" "0") ==> #f (# "A" "A") ==> #f (#?> "A" "B") ==> #f (#?> "a" "b") ==> #f (#?> "9" "0") ==> #t (#?> "A" "A") ==> #f (# "A" "B") ==> #t (# "a" "b") ==> #t (# "9" "0") ==> #f (# "A" "A") ==> #t (#=?> "A" "B") ==> #f (#=?> "a" "b") ==> #f (#=?> "9" "0") ==> #t (#=?> "A" "A") ==> #t (# "A" "B") ==> #f (# "a" "B") ==> #f (# "A" "b") ==> #f (# "a" "b") ==> #f (# "9" "0") ==> #f (# "A" "A") ==> #t (# "A" "a") ==> #t (# "A" "B") ==> #t (# "a" "B") ==> #t (# "A" "b") ==> #t (# "a" "b") ==> #t (# "9" "0") ==> #f (# "A" "A") ==> #f (# "A" "a") ==> #f (#?> "A" "B") ==> #f (#?> "a" "B") ==> #f (#?> "A" "b") ==> #f (#?> "a" "b") ==> #f (#?> "9" "0") ==> #t (#?> "A" "A") ==> #f (#?> "A" "a") ==> #f (# "A" "B") ==> #t (# "a" "B") ==> #t (# "A" "b") ==> #t (# "a" "b") ==> #t (# "9" "0") ==> #f (# "A" "A") ==> #t (# "A" "a") ==> #t (#=?> "A" "B") ==> #f (#=?> "a" "B") ==> #f (#=?> "A" "b") ==> #f (#=?> "a" "b") ==> #f (#=?> "9" "0") ==> #t (#=?> "A" "A") ==> #t (#=?> "A" "a") ==> #t SECTION(6 8) (# #(0 (2 2 2 2) "Anna")) ==> #t (# a b c) ==> #(a b c) (#) ==> #() (# #(0 (2 2 2 2) "Anna")) ==> 3 (# #()) ==> 0 (# #(1 1 2 3 5 8 13 21) 5) ==> 8 (vector-set #(0 ("Sue" "Sue") "Anna")) ==> #(0 ("Sue" "Sue") "Anna") (# 2 hi) ==> #(hi hi) (# 0) ==> #() (# 0 a) ==> #() SECTION(6 9) (# #) ==> #t (# car) ==> #f (# # "r4rstest.scm": (x) (* x x)>) ==> #t (# (lambda (x) (* x x))) ==> #f (# #) ==> #t (# #) ==> #t (# # (3 4)) ==> 7 (# # "r4rstest.scm": (a b) (+ a b)> (3 4)) ==> 7 (# # 10 (3 4)) ==> 17 (# # ()) ==> () (# "r4rstest.scm": args (f (apply g args))> 12 75) ==> 30 (# # ((a b) (d e) (g h))) ==> (b e h) (# # (1 2 3) (4 5 6)) ==> (5 7 9) (# # (1 2 3)) ==> (1 2 3) (# # (1 2 3)) ==> (1 2 3) (# # (1 2 3)) ==> (-1 -2 -3) (for-each #(0 1 4 9 16)) ==> #(0 1 4 9 16) (# # "r4rstest.scm": (exit) (for-each (lambda (x) (if (negative? x) (exit x))) (quote (54 0 37 -3 245 19))) #t>) ==> -3 (# (1 2 3 4)) ==> 4 (# (a b . c)) ==> #f (# # ()) ==> () SECTION(6 10 1) (# #) ==> #t (# #) ==> #t (#>/Init5f2.scm": (str proc) (#@call-with-open-ports (#@open-input-file #@str) #@proc)> "r4rstest.scm" #) ==> #t (# #) ==> #t SECTION(6 10 2) (# #) ==> #\; (# #) ==> #\; (# #) ==> (define cur-section (quote ())) (# #) ==> #\( (# #) ==> (define errs (quote ())) SECTION(6 10 3) (#>/Init5f2.scm": (str proc) (call-with-open-ports (open-output-file str) proc)> "tmp1" # "r4rstest.scm": (test-file) (write-char #\; test-file) (display #\; test-file) (display ";" test-file) (write write-test-obj test-file) (newline test-file) (write load-test-obj test-file) (output-port? test-file)>) ==> #t (# #) ==> (define foo (quote (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c)))) (# #) ==> #t (# #) ==> #t (input-port? #t) ==> #t (# #) ==> #\; (# #) ==> #\; (# #) ==> #\; (# #) ==> (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c)) (# #) ==> (define foo (quote (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c)))) (# #) ==> #t (# #) ==> (define foo (quote (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c)))) (# #) ==> #t (# #) ==> #t (input-port? #t) ==> #t (# #) ==> #\; (# #) ==> #\; (# #) ==> #\; (# #) ==> (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c)) (# #) ==> (define foo (quote (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c)))) Passed all tests ;testing inexact numbers; SECTION(6 2) (# 1 1.) ==> #f (# 0 0.0) ==> #f (# 0.0 0.0) ==> #t (# 0.0 0.0) ==> #t (# 0.0 0.0) ==> #t (# 0.0 0.0) ==> #t (# 0.0 0.0) ==> #t SECTION(6 5 5) (magnitude 1.) ==> 1. (# 1.e300+1.e300i 4.e300+4.e300i) ==> 2.5e-1 (magnitude 1.) ==> 1. (# 1.e-300+1.e-300i 4.e-300+4.e-300i) ==> 2.5e-1 (# 0.0 0.0) ==> #t (# 0.0 0.0) ==> #t (# 0.0 0.0) ==> #t (# 3.9) ==> #t (max #t) ==> #t (# 3.9 4) ==> 4. (#inexact> 4) ==> 4. (#inexact> 4.) ==> 4. (#exact> 4) ==> 4 (#exact> 4.) ==> 4 (# -4.5) ==> -4. (# -3.5) ==> -4. (# -3.9) ==> -4. (# 0.0) ==> 0.0 (# 2.5e-1) ==> 0.0 (# 8.e-1) ==> 1. (# 3.5) ==> 4. (# 4.5) ==> 4. (#>/Transcen.scm": (z1 z2) (#@cond ((#@and (#@exact? #@z2) (#@not (#@and (#@zero? #@z1) (#@negative? #@z2)))) (#@integer-expt #@z1 #@z2)) ((zero? z2) (+ 1 (* z1 z2))) ((and (real? z2) (real? z1) (positive? z1)) (real-expt z1 z2)) (#t (exp (* (if (zero? z1) (real-part z2) z2) (log z1)))))> 0.0 1.) ==> 0.0 (#>/Transcen.scm": (z1 z2) (#@cond ((#@and (#@exact? #@z2) (#@not (#@and (#@zero? #@z1) (#@negative? #@z2)))) (#@integer-expt #@z1 #@z2)) ((#@zero? #@z2) (+ 1 (* z1 z2))) ((#@and (#@real? #@z2) (#@real? #@z1) (#@positive? #@z1)) (real-expt z1 z2)) (#t (#@exp (#@* (#@if (#@zero? #@z1) (#@real-part #@z2) z2) (#@log #@z1)))))> 0.0 1) ==> 0.0 (#>/Transcen.scm": (z1 z2) (#@cond ((#@and (#@exact? #@z2) (#@not (#@and (#@zero? #@z1) (#@negative? #@z2)))) (#@integer-expt #@z1 #@z2)) ((#@zero? #@z2) (+ 1 (* z1 z2))) ((#@and (#@real? #@z2) (#@real? #@z1) (#@positive? #@z1)) (real-expt z1 z2)) (#t (#@exp (#@* (#@if (#@zero? #@z1) (#@real-part #@z2) z2) (#@log #@z1)))))> 0 1.) ==> 0.0 (#>/Transcen.scm": (z1 z2) (#@cond ((#@and (#@exact? #@z2) (#@not (#@and (#@zero? #@z1) (#@negative? #@z2)))) (#@integer-expt #@z1 #@z2)) ((#@zero? #@z2) (+ 1 (* z1 z2))) ((#@and (#@real? #@z2) (#@real? #@z1) (#@positive? #@z1)) (real-expt z1 z2)) (#t (#@exp (#@* (#@if (#@zero? #@z1) (#@real-part #@z2) z2) (#@log #@z1)))))> -25 0.0) ==> 1. (#>/Transcen.scm": (z1 z2) (#@cond ((#@and (#@exact? #@z2) (#@not (#@and (#@zero? #@z1) (#@negative? #@z2)))) (#@integer-expt #@z1 #@z2)) ((#@zero? #@z2) (#@+ 1 (#@* #@z1 #@z2))) ((#@and (#@real? #@z2) (#@real? #@z1) (#@positive? #@z1)) (real-expt z1 z2)) (#t (#@exp (#@* (#@if (#@zero? #@z1) (#@real-part #@z2) z2) (#@log #@z1)))))> -3.25 0.0) ==> 1. (#>/Transcen.scm": (z1 z2) (#@cond ((#@and (#@exact? #@z2) (#@not (#@and (#@zero? #@z1) (#@negative? #@z2)))) (#@integer-expt #@z1 #@z2)) ((#@zero? #@z2) (#@+ 1 (#@* #@z1 #@z2))) ((#@and (#@real? #@z2) (#@real? #@z1) (#@positive? #@z1)) (real-expt z1 z2)) (#t (#@exp (#@* (#@if (#@zero? #@z1) (#@real-part #@z2) z2) (#@log #@z1)))))> -3.25 0) ==> 1. (#>/Transcen.scm": (z . y) (#@if (#@null? #@y) (#@if (#@real? #@z) (#@real-atan #@z) (/ (log (/ (- 0.0+1.i z) (+ 0.0+1.i z))) 0.0+2.i)) ($atan2 z (car y)))> 1 1) ==> 7.853981633974483e-1 (#>/Init5f2.scm": (str proc) (#@call-with-open-ports (#@open-output-file #@str) #@proc)> "tmp3" # "r4rstest.scm": (test-file) (write-char #\; test-file) (display #\; test-file) (display ";" test-file) (write write-test-obj test-file) (newline test-file) (write load-test-obj test-file) (output-port? test-file)>) ==> #t (# #) ==> (define foo (quote (2.5e-1 -3.25))) (# #) ==> #t (# #) ==> #t (input-port? #t) ==> #t (# #) ==> #\; (# #) ==> #\; (# #) ==> #\; (# #) ==> (2.5e-1 -3.25) (# #) ==> (define foo (quote (2.5e-1 -3.25))) (pentium-fdiv-bug #t) ==> #t Passed all tests SECTION(6 5 6) (float-print-test #t) ==> #t (mult-float-print-test #t) ==> #t (mult-float-print-test #t) ==> #t (mult-float-print-test #t) ==> #t (mult-float-print-test #t) ==> #t (mult-float-print-test #t) ==> #t (# cnt 308) success) (let* ((estr (string-append "1.e" (number->string cnt))) (num (string->number estr)) (str (number->string num))) (cond ((or (>= (string-length str) 10) (not (equal? (string->number str) num))) (set! success #f) (for-each write (list estr num str (string->number str))))))))>) ==> #t ;testing bignums; SECTION(6 5 7) (# 33333333333333333333 3) ==> 0 (# 33333333333333333333 -3) ==> 0 (# 33333333333333333333 3) ==> 0 (# 33333333333333333333 -3) ==> 0 (# 33333333333333333332 3) ==> 2 (# 33333333333333333332 -3) ==> -1 (# 33333333333333333332 3) ==> 2 (# 33333333333333333332 -3) ==> 2 (# -33333333333333333332 3) ==> 1 (# -33333333333333333332 -3) ==> -2 (# -33333333333333333332 3) ==> -2 (# -33333333333333333332 -3) ==> -2 (# 3 33333333333333333333) ==> 3 (# -3 33333333333333333333) ==> 33333333333333333330 (# 3 33333333333333333333) ==> 3 (# -3 33333333333333333333) ==> -3 (# 3 -33333333333333333333) ==> -33333333333333333330 (# -3 -33333333333333333333) ==> -3 (# 3 -33333333333333333333) ==> 3 (# -3 -33333333333333333333) ==> -3 (# -2177452800 86400) ==> 0 (# 2177452800 -86400) ==> 0 (# 2177452800 86400) ==> 0 (# -2177452800 -86400) ==> 0 (# 0 -2177452800) ==> 0 (remainder #t) ==> #t (remainder #t) ==> #t (# 33333333333333333333 11111111111111111111) ==> 11111111111111111111 (# 33333333333333333332 11111111111111111111) ==> 1 (# 33333333333333333330 11111111111111111111) ==> 1 (# 33333333333333333333 33333333333333333330) ==> 3 (# 33333333333333333333 11111111111111111111) ==> 33333333333333333333 (# -3 11111111111111111111) ==> 33333333333333333333 SECTION(6 5 8) (#string> 281474976710655325431) ==> "281474976710655325431" Passed all tests ;testing bignum-inexact comparisons; SECTION(6 5 5) (# 1427247692705959881058285969449495136382746625 1.42724769270596e45 1427247692705959881058285969449495136382746623) ==> #f (# 1.42724769270596e45 1427247692705959881058285969449495136382746625 1427247692705959881058285969449495136382746623) ==> #f (# 1427247692705959881058285969449495136382746623 1.42724769270596e45 1427247692705959881058285969449495136382746625) ==> #t To fully test continuations, Scheme 4, and DELAY/FORCE do: (test-cont) (test-sc4) (test-delay) ;testing scheme 4 functions; SECTION(6 7) (#list> "P l") ==> (#\P #\space #\l) (#list> "") ==> () (#string> (#\1 #\\ #\")) ==> "1\\\"" (#string> ()) ==> "" SECTION(6 8) (#list> #(dah dah didah)) ==> (dah dah didah) (#list> #()) ==> () (#vector> (dididit dah)) ==> #(dididit dah) (#vector> ()) ==> #() SECTION(6 10 4) (load (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c))) ==> (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c)) Passed all tests ;testing continuations; SECTION(6 9) (# (a (b (c))) ((a) b c)) ==> #t (# (a (b (c))) ((a) b c d)) ==> #f Passed all tests ;testing DELAY and FORCE; SECTION(6 9) (delay 3) ==> 3 (delay (3 3)) ==> (3 3) (delay 2) ==> 2 (# # count x) count (force p)))>>) ==> 6 (# #) ==> 6 (force 3) ==> 3 Passed all tests make[1]: Leaving directory '/<>' dh_testroot dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/<>' # Make .scm scheme library scripts non-executable... chmod a-x *.scm *.c # except compile.scm chmod a+x compile.scm # skip; files listed explicitly make[1]: Leaving directory '/<>' dh_install dh_installdocs dh_installchangelogs dh_installexamples dh_installman dh_installinfo dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing debian/rules override_dh_strip make[1]: Entering directory '/<>' dh_strip --no-automatic-dbgsym make[1]: Leaving directory '/<>' dh_makeshlibs dh_shlibdeps dh_installdeb dh_gencontrol dh_md5sums dh_builddeb INFO: pkgstriptranslations version 138 INFO: pkgstriptranslations version 138 pkgstriptranslations: processing scm (in debian/scm); do_strip: , oemstrip: pkgstriptranslations: processing libscm-dev (in debian/libscm-dev); do_strip: , oemstrip: pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/libscm-dev/DEBIAN/control, package libscm-dev, directory debian/libscm-dev INFO: pkgstripfiles: waiting for lock (libscm-dev) ... INFO: pkgstripfiles: waiting for lock (libscm-dev) ... INFO: pkgstripfiles: waiting for lock (libscm-dev) ... INFO: pkgstripfiles: waiting for lock (libscm-dev) ... INFO: pkgstripfiles: waiting for lock (libscm-dev) ... pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " INFO: pkgstripfiles: waiting for lock (libscm-dev) ... pkgstripfiles: processing control file: debian/scm/DEBIAN/control, package scm, directory debian/scm .. removing usr/share/doc/scm/changelog.gz pkgstripfiles: Truncating usr/share/doc/scm/changelog.Debian.gz to topmost ten records pkgstripfiles: Running PNG optimization (using 4 cpus) for package scm ... pkgstripfiles: No PNG files. dpkg-deb: building package 'scm' in '../scm_5f2-2build1_amd64.deb'. Searching for duplicated docs in dependency scm... symlinking changelog.Debian.gz in libscm-dev to file in scm pkgstripfiles: Running PNG optimization (using 4 cpus) for package libscm-dev ... pkgstripfiles: No PNG files. dpkg-deb: building package 'libscm-dev' in '../libscm-dev_5f2-2build1_amd64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary -mLaunchpad Build Daemon >../scm_5f2-2build1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build scm-5f2 dpkg-buildpackage: info: binary-only upload (no source included) -------------------------------------------------------------------------------- Build finished at 20180503-1518 Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Post Build Chroot | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ scm_5f2-2build1_amd64.changes: ------------------------------ Format: 1.8 Date: Thu, 03 May 2018 14:19:02 +0000 Source: scm Binary: scm libscm-dev Architecture: amd64 Version: 5f2-2build1 Distribution: cosmic-proposed Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: Matthias Klose Description: libscm-dev - Embeddable library for SCM Scheme language interpreter scm - Scheme language interpreter Changes: scm (5f2-2build1) cosmic; urgency=medium . * No-change rebuild for ncurses soname changes. Checksums-Sha1: 6d32b792a08fa9bee84814aeef774a679f3eafad 193492 libscm-dev_5f2-2build1_amd64.deb 26c88d84a008d2de22e9d9b7217156418aa9b1bd 6056 scm_5f2-2build1_amd64.buildinfo de4eebbb28d745b82eeed42610f5da200defee39 565304 scm_5f2-2build1_amd64.deb Checksums-Sha256: 9482c57670a701ceed848aa68b21274dd31d7901b483fbb918942e52b3477832 193492 libscm-dev_5f2-2build1_amd64.deb b5d1fb85ad4d1697b6314caf7d87e8533cd0801dec8b96a1a3084c2b679ae945 6056 scm_5f2-2build1_amd64.buildinfo 6a5a82d7baa228518756bc5e2b6ff41396dbf7dc7abdb72c6fff65bee95b1edd 565304 scm_5f2-2build1_amd64.deb Files: dc61adadff4ae7970e305985e5009570 193492 libdevel optional libscm-dev_5f2-2build1_amd64.deb f6181164bc1df6550079e073ad8f5687 6056 interpreters optional scm_5f2-2build1_amd64.buildinfo 671a8d30079dd16096804cb9204714b7 565304 interpreters optional scm_5f2-2build1_amd64.deb +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ libscm-dev_5f2-2build1_amd64.deb -------------------------------- new debian package, version 2.0. size 193492 bytes: control archive=812 bytes. 586 bytes, 15 lines control 284 bytes, 5 lines md5sums Package: libscm-dev Source: scm Version: 5f2-2build1 Architecture: amd64 Maintainer: Ubuntu Developers Original-Maintainer: Bryan Newbold Installed-Size: 1168 Depends: scm (= 5f2-2build1), slib (>> 3b1) Suggests: r5rs-doc Section: libdevel Priority: optional Homepage: http://people.csail.mit.edu/jaffer/SCM.html Description: Embeddable library for SCM Scheme language interpreter Compact static library containing the SCM interpreter and an API making it easy to integrate into other programs as a scripting language. drwxr-xr-x root/root 0 2018-05-03 14:19 ./ drwxr-xr-x root/root 0 2018-05-03 14:19 ./usr/ drwxr-xr-x root/root 0 2018-05-03 14:19 ./usr/include/ -rw-r--r-- root/root 43877 2014-11-23 02:34 ./usr/include/scm.h -rw-r--r-- root/root 22107 2018-05-03 14:19 ./usr/include/scmfig.h -rw-r--r-- root/root 353 2018-05-03 14:19 ./usr/include/scmflags.h drwxr-xr-x root/root 0 2018-05-03 14:19 ./usr/lib/ -rw-r--r-- root/root 1108946 2018-05-03 14:19 ./usr/lib/libscm.a drwxr-xr-x root/root 0 2018-05-03 14:19 ./usr/share/ drwxr-xr-x root/root 0 2018-05-03 14:19 ./usr/share/doc/ drwxr-xr-x root/root 0 2018-05-03 14:19 ./usr/share/doc/libscm-dev/ lrwxrwxrwx root/root 0 2018-05-03 14:19 ./usr/share/doc/libscm-dev/changelog.Debian.gz -> ../scm/changelog.Debian.gz -rw-r--r-- root/root 3720 2017-08-05 23:09 ./usr/share/doc/libscm-dev/copyright scm_5f2-2build1_amd64.deb ------------------------- new debian package, version 2.0. size 565304 bytes: control archive=2212 bytes. 786 bytes, 17 lines control 2607 bytes, 43 lines md5sums 153 bytes, 10 lines * postinst #!/bin/sh 247 bytes, 16 lines * postrm #!/bin/sh 213 bytes, 13 lines * prerm #!/bin/sh Package: scm Version: 5f2-2build1 Architecture: amd64 Maintainer: Ubuntu Developers Original-Maintainer: Bryan Newbold Installed-Size: 2215 Depends: slib (>> 3b1), libc6 (>= 2.14), libncurses6 (>= 6), libreadline7 (>= 6.0), libtinfo6 (>= 6), libx11-6 Suggests: r5rs-doc Section: interpreters Priority: optional Homepage: http://people.csail.mit.edu/jaffer/SCM.html Description: Scheme language interpreter SCM conforms to the R5RS (Revised^5 Report on the Algorithmic Language Scheme) and IEEE P1178 specifications, and is portable across many architectures and operating systems. It additionally includes a set of popular Common Lisp functions, POSIX and X Windows integration, and the Hobbit scheme-to-C compiler. drwxr-xr-x root/root 0 2018-05-03 14:19 ./ drwxr-xr-x root/root 0 2018-05-03 14:19 ./usr/ drwxr-xr-x root/root 0 2018-05-03 14:19 ./usr/bin/ -rwxr-xr-x root/root 605568 2018-05-03 14:19 ./usr/bin/scm drwxr-xr-x root/root 0 2018-05-03 14:19 ./usr/lib/ drwxr-xr-x root/root 0 2018-05-03 14:19 ./usr/lib/scm/ -rw-r--r-- root/root 3041 2011-12-23 05:26 ./usr/lib/scm/Idiffer.scm -rw-r--r-- root/root 2587 2011-12-23 05:26 ./usr/lib/scm/Iedline.scm -rw-r--r-- root/root 52437 2015-01-15 02:26 ./usr/lib/scm/Init5f2.scm -rw-r--r-- root/root 3768 2011-12-23 05:26 ./usr/lib/scm/Link.scm -rw-r--r-- root/root 18202 2011-12-23 05:26 ./usr/lib/scm/Macexp.scm -rw-r--r-- root/root 14572 2011-12-23 05:26 ./usr/lib/scm/Macro.scm -rw-r--r-- root/root 5376 2013-04-13 02:11 ./usr/lib/scm/Transcen.scm -rw-r--r-- root/root 2461 2011-12-23 05:26 ./usr/lib/scm/Tscript.scm -rwxr-xr-x root/root 3224 2011-12-23 05:26 ./usr/lib/scm/compile.scm -rw-r--r-- root/root 4168 2008-01-31 03:31 ./usr/lib/scm/disarm.scm -rw-r--r-- root/root 229235 2013-03-27 21:34 ./usr/lib/scm/hobbit.scm -rw-r--r-- root/root 57774 2013-03-10 03:54 ./usr/lib/scm/keysymdef.scm -rw-r--r-- root/root 8718 2011-12-23 05:26 ./usr/lib/scm/mkimpcat.scm -rw-r--r-- root/root 97 2018-05-03 14:19 ./usr/lib/scm/require.scm -rw-r--r-- root/root 774 2007-11-24 20:07 ./usr/lib/scm/requires.scm -rw-r--r-- root/root 20502 2015-01-16 13:57 ./usr/lib/scm/rwb-isam.scm -rw-r--r-- root/root 728 2011-12-23 05:26 ./usr/lib/scm/scmhob.scm -rw-r--r-- root/root 2257 2008-01-31 03:32 ./usr/lib/scm/split.scm -rw-r--r-- root/root 4043 2002-02-12 03:46 ./usr/lib/scm/syntest1.scm -rw-r--r-- root/root 4608 2008-01-31 03:44 ./usr/lib/scm/syntest2.scm -rw-r--r-- root/root 16739 2015-01-16 13:57 ./usr/lib/scm/wbtab.scm -rw-r--r-- root/root 17322 2014-06-21 18:06 ./usr/lib/scm/x11.scm -rw-r--r-- root/root 1987 2013-03-10 03:30 ./usr/lib/scm/xatoms.scm -rw-r--r-- root/root 969 2013-03-10 03:30 ./usr/lib/scm/xevent.scm -rw-r--r-- root/root 9554 2009-03-21 04:45 ./usr/lib/scm/xgen.scm drwxr-xr-x root/root 0 2018-05-03 14:19 ./usr/share/ drwxr-xr-x root/root 0 2018-05-03 14:19 ./usr/share/doc-base/ -rw-r--r-- root/root 316 2017-08-05 23:09 ./usr/share/doc-base/scm -rw-r--r-- root/root 369 2017-08-05 23:09 ./usr/share/doc-base/scm-xlib drwxr-xr-x root/root 0 2018-05-03 14:19 ./usr/share/doc/ drwxr-xr-x root/root 0 2018-05-03 14:19 ./usr/share/doc/scm/ -rw-r--r-- root/root 2149 1998-02-09 22:23 ./usr/share/doc/scm/QUICKREF.gz -rw-r--r-- root/root 13880 2015-01-15 02:26 ./usr/share/doc/scm/README.gz -rw-r--r-- root/root 157486 2018-05-03 14:19 ./usr/share/doc/scm/Xlibscm.html -rw-r--r-- root/root 1661 2018-05-03 14:19 ./usr/share/doc/scm/changelog.Debian.gz -rw-r--r-- root/root 3720 2017-08-05 23:09 ./usr/share/doc/scm/copyright drwxr-xr-x root/root 0 2018-05-03 14:19 ./usr/share/doc/scm/examples/ -rw-r--r-- root/root 1539 2008-01-31 03:43 ./usr/share/doc/scm/examples/bench.scm.gz -rw-r--r-- root/root 3468 1998-02-09 22:23 ./usr/share/doc/scm/examples/example.scm -rw-r--r-- root/root 1671 2008-01-31 03:32 ./usr/share/doc/scm/examples/pi.c -rw-r--r-- root/root 2083 2008-01-31 03:32 ./usr/share/doc/scm/examples/pi.scm.gz -rw-r--r-- root/root 10473 2014-04-28 03:17 ./usr/share/doc/scm/examples/r4rstest.scm.gz -rw-r--r-- root/root 2257 2008-01-31 03:32 ./usr/share/doc/scm/examples/split.scm -rw-r--r-- root/root 693750 2018-05-03 14:19 ./usr/share/doc/scm/scm.html drwxr-xr-x root/root 0 2018-05-03 14:19 ./usr/share/info/ -rw-r--r-- root/root 25417 2018-05-03 14:19 ./usr/share/info/Xlibscm.info.gz -rw-r--r-- root/root 113023 2018-05-03 14:19 ./usr/share/info/scm.info.gz drwxr-xr-x root/root 0 2018-05-03 14:19 ./usr/share/man/ drwxr-xr-x root/root 0 2018-05-03 14:19 ./usr/share/man/man1/ -rw-r--r-- root/root 3673 2018-05-03 14:19 ./usr/share/man/man1/scm.1.gz +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build-Space: 13920 Build-Time: 36 Distribution: cosmic-proposed Host Architecture: amd64 Install-Time: 16 Job: scm_5f2-2build1.dsc Machine Architecture: amd64 Package: scm Package-Time: 54 Source-Version: 5f2-2build1 Space: 13920 Status: successful Version: 5f2-2build1 -------------------------------------------------------------------------------- Finished at 20180503-1518 Build needed 00:00:54, 13920k disc space RUN: /usr/share/launchpad-buildd/slavebin/in-target scan-for-processes --backend=chroot --series=cosmic --arch=amd64 PACKAGEBUILD-14819721 Scanning for processes to kill in build PACKAGEBUILD-14819721 RUN: /usr/share/launchpad-buildd/slavebin/in-target umount-chroot --backend=chroot --series=cosmic --arch=amd64 PACKAGEBUILD-14819721 Stopping target for build PACKAGEBUILD-14819721 RUN: /usr/share/launchpad-buildd/slavebin/in-target remove-build --backend=chroot --series=cosmic --arch=amd64 PACKAGEBUILD-14819721 Removing build PACKAGEBUILD-14819721