https://launchpad.net/ubuntu/+source/scm/5f2-2build1/+build/14819724 RUN: /usr/share/launchpad-buildd/slavebin/slave-prep Forking launchpad-buildd slave process... Kernel version: Linux lcy01-amd64-015 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:07 ntpdate[1811]: adjust time server 10.211.37.1 offset 0.089644 sec RUN: /usr/share/launchpad-buildd/slavebin/in-target unpack-chroot --backend=chroot --series=cosmic --arch=i386 PACKAGEBUILD-14819724 /home/buildd/filecache-default/ccc8a783f4c9fcf0282a95411cd13cfaeeda0fbe Creating target for build PACKAGEBUILD-14819724 RUN: /usr/share/launchpad-buildd/slavebin/in-target mount-chroot --backend=chroot --series=cosmic --arch=i386 PACKAGEBUILD-14819724 Starting target for build PACKAGEBUILD-14819724 RUN: /usr/share/launchpad-buildd/slavebin/in-target override-sources-list --backend=chroot --series=cosmic --arch=i386 PACKAGEBUILD-14819724 '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-14819724 RUN: /usr/share/launchpad-buildd/slavebin/in-target update-debian-chroot --backend=chroot --series=cosmic --arch=i386 PACKAGEBUILD-14819724 Updating target for build PACKAGEBUILD-14819724 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 i386 Packages [1005 kB] Get:6 http://ftpmaster.internal/ubuntu cosmic/main Translation-en [516 kB] Get:7 http://ftpmaster.internal/ubuntu cosmic/universe i386 Packages [8525 kB] Get:8 http://ftpmaster.internal/ubuntu cosmic/universe Translation-en [4941 kB] Get:9 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 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 i386 Packages [45.5 kB] Get:12 http://ftpmaster.internal/ubuntu cosmic-proposed/universe Translation-en [23.0 kB] Fetched 15.6 MB in 5s (3380 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-i686-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 libmpx2 libncurses5 libncursesw5 libquadmath0 libreadline7 libstdc++-7-dev libstdc++6 libtinfo5 libubsan0 ncurses-base ncurses-bin readline-common 35 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 32.1 MB of archives. After this operation, 500 kB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu cosmic/main i386 base-files i386 10.1ubuntu3 [58.0 kB] Get:2 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 libtinfo6 i386 6.1+20180210-2ubuntu2 [84.6 kB] Get:3 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 bash i386 4.4.18-2ubuntu2 [645 kB] Get:4 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 ncurses-bin i386 6.1+20180210-2ubuntu2 [166 kB] Get:5 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 ncurses-base all 6.1+20180210-2ubuntu2 [17.8 kB] Get:6 http://ftpmaster.internal/ubuntu cosmic/main i386 libquadmath0 i386 8.1.0-1ubuntu1 [208 kB] Get:7 http://ftpmaster.internal/ubuntu cosmic/main i386 libitm1 i386 8.1.0-1ubuntu1 [30.8 kB] Get:8 http://ftpmaster.internal/ubuntu cosmic/main i386 gcc-8-base i386 8.1.0-1ubuntu1 [18.1 kB] Get:9 http://ftpmaster.internal/ubuntu cosmic/main i386 libstdc++6 i386 8.1.0-1ubuntu1 [430 kB] Get:10 http://ftpmaster.internal/ubuntu cosmic/main i386 libmpx2 i386 8.1.0-1ubuntu1 [12.9 kB] Get:11 http://ftpmaster.internal/ubuntu cosmic/main i386 libcc1-0 i386 8.1.0-1ubuntu1 [41.9 kB] Get:12 http://ftpmaster.internal/ubuntu cosmic/main i386 libatomic1 i386 8.1.0-1ubuntu1 [9640 B] Get:13 http://ftpmaster.internal/ubuntu cosmic/main i386 libgomp1 i386 8.1.0-1ubuntu1 [80.8 kB] Get:14 http://ftpmaster.internal/ubuntu cosmic/main i386 libgcc1 i386 1:8.1.0-1ubuntu1 [48.1 kB] Get:15 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 libncurses5 i386 6.1+20180210-2ubuntu2 [101 kB] Get:16 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 libtinfo5 i386 6.1+20180210-2ubuntu2 [79.7 kB] Get:17 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 libncursesw5 i386 6.1+20180210-2ubuntu2 [128 kB] Get:18 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 readline-common all 7.0-4 [52.9 kB] Get:19 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 libreadline7 i386 7.0-4 [127 kB] Get:20 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 binutils-i686-linux-gnu i386 2.30-17ubuntu1 [2028 kB] Get:21 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 libbinutils i386 2.30-17ubuntu1 [544 kB] Get:22 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 binutils i386 2.30-17ubuntu1 [3392 B] Get:23 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 binutils-common i386 2.30-17ubuntu1 [193 kB] Get:24 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 libubsan0 i386 7.3.0-17ubuntu1 [141 kB] Get:25 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 libasan4 i386 7.3.0-17ubuntu1 [361 kB] Get:26 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 libcilkrts5 i386 7.3.0-17ubuntu1 [47.3 kB] Get:27 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 g++-7 i386 7.3.0-17ubuntu1 [7814 kB] Get:28 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 gcc-7 i386 7.3.0-17ubuntu1 [7694 kB] Get:29 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 libstdc++-7-dev i386 7.3.0-17ubuntu1 [1505 kB] Get:30 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 libgcc-7-dev i386 7.3.0-17ubuntu1 [2406 kB] Get:31 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 cpp-7 i386 7.3.0-17ubuntu1 [6967 kB] Get:32 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 gcc-7-base i386 7.3.0-17ubuntu1 [18.9 kB] Get:33 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 cpp i386 4:7.3.0-3ubuntu3 [27.6 kB] Get:34 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 gcc i386 4:7.3.0-3ubuntu3 [5268 B] Get:35 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 g++ i386 4:7.3.0-3ubuntu3 [1596 B] Get:36 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 build-essential i386 12.5ubuntu2 [4728 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 32.1 MB in 1s (37.5 MB/s) (Reading database ... 12632 files and directories currently installed.) Preparing to unpack .../base-files_10.1ubuntu3_i386.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:i386. (Reading database ... 12632 files and directories currently installed.) Preparing to unpack .../libtinfo6_6.1+20180210-2ubuntu2_i386.deb ... Unpacking libtinfo6:i386 (6.1+20180210-2ubuntu2) ... Setting up libtinfo6:i386 (6.1+20180210-2ubuntu2) ... (Reading database ... 12641 files and directories currently installed.) Preparing to unpack .../bash_4.4.18-2ubuntu2_i386.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 ... 12641 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.1+20180210-2ubuntu2_i386.deb ... Unpacking ncurses-bin (6.1+20180210-2ubuntu2) over (6.1-1ubuntu1) ... Setting up ncurses-bin (6.1+20180210-2ubuntu2) ... (Reading database ... 12641 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 ... 12641 files and directories currently installed.) Preparing to unpack .../libquadmath0_8.1.0-1ubuntu1_i386.deb ... Unpacking libquadmath0:i386 (8.1.0-1ubuntu1) over (8-20180414-1ubuntu2) ... Preparing to unpack .../libitm1_8.1.0-1ubuntu1_i386.deb ... Unpacking libitm1:i386 (8.1.0-1ubuntu1) over (8-20180414-1ubuntu2) ... Preparing to unpack .../gcc-8-base_8.1.0-1ubuntu1_i386.deb ... Unpacking gcc-8-base:i386 (8.1.0-1ubuntu1) over (8-20180414-1ubuntu2) ... Setting up gcc-8-base:i386 (8.1.0-1ubuntu1) ... (Reading database ... 12641 files and directories currently installed.) Preparing to unpack .../libstdc++6_8.1.0-1ubuntu1_i386.deb ... Unpacking libstdc++6:i386 (8.1.0-1ubuntu1) over (8-20180414-1ubuntu2) ... Setting up libstdc++6:i386 (8.1.0-1ubuntu1) ... (Reading database ... 12641 files and directories currently installed.) Preparing to unpack .../libmpx2_8.1.0-1ubuntu1_i386.deb ... Unpacking libmpx2:i386 (8.1.0-1ubuntu1) over (8-20180414-1ubuntu2) ... Preparing to unpack .../libcc1-0_8.1.0-1ubuntu1_i386.deb ... Unpacking libcc1-0:i386 (8.1.0-1ubuntu1) over (8-20180414-1ubuntu2) ... Preparing to unpack .../libatomic1_8.1.0-1ubuntu1_i386.deb ... Unpacking libatomic1:i386 (8.1.0-1ubuntu1) over (8-20180414-1ubuntu2) ... Preparing to unpack .../libgomp1_8.1.0-1ubuntu1_i386.deb ... Unpacking libgomp1:i386 (8.1.0-1ubuntu1) over (8-20180414-1ubuntu2) ... Preparing to unpack .../libgcc1_1%3a8.1.0-1ubuntu1_i386.deb ... Unpacking libgcc1:i386 (1:8.1.0-1ubuntu1) over (1:8-20180414-1ubuntu2) ... Setting up libgcc1:i386 (1:8.1.0-1ubuntu1) ... (Reading database ... 12641 files and directories currently installed.) Preparing to unpack .../libncurses5_6.1+20180210-2ubuntu2_i386.deb ... Unpacking libncurses5:i386 (6.1+20180210-2ubuntu2) over (6.1-1ubuntu1) ... Preparing to unpack .../libtinfo5_6.1+20180210-2ubuntu2_i386.deb ... Unpacking libtinfo5:i386 (6.1+20180210-2ubuntu2) over (6.1-1ubuntu1) ... Setting up libtinfo5:i386 (6.1+20180210-2ubuntu2) ... (Reading database ... 12639 files and directories currently installed.) Preparing to unpack .../libncursesw5_6.1+20180210-2ubuntu2_i386.deb ... Unpacking libncursesw5:i386 (6.1+20180210-2ubuntu2) over (6.1-1ubuntu1) ... Setting up libncursesw5:i386 (6.1+20180210-2ubuntu2) ... (Reading database ... 12639 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_i386.deb ... Unpacking libreadline7:i386 (7.0-4) over (7.0-3) ... Preparing to unpack .../02-binutils-i686-linux-gnu_2.30-17ubuntu1_i386.deb ... Unpacking binutils-i686-linux-gnu (2.30-17ubuntu1) over (2.30-15ubuntu1) ... Preparing to unpack .../03-libbinutils_2.30-17ubuntu1_i386.deb ... Unpacking libbinutils:i386 (2.30-17ubuntu1) over (2.30-15ubuntu1) ... Preparing to unpack .../04-binutils_2.30-17ubuntu1_i386.deb ... Unpacking binutils (2.30-17ubuntu1) over (2.30-15ubuntu1) ... Preparing to unpack .../05-binutils-common_2.30-17ubuntu1_i386.deb ... Unpacking binutils-common:i386 (2.30-17ubuntu1) over (2.30-15ubuntu1) ... Preparing to unpack .../06-libubsan0_7.3.0-17ubuntu1_i386.deb ... Unpacking libubsan0:i386 (7.3.0-17ubuntu1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../07-libasan4_7.3.0-17ubuntu1_i386.deb ... Unpacking libasan4:i386 (7.3.0-17ubuntu1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../08-libcilkrts5_7.3.0-17ubuntu1_i386.deb ... Unpacking libcilkrts5:i386 (7.3.0-17ubuntu1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../09-g++-7_7.3.0-17ubuntu1_i386.deb ... Unpacking g++-7 (7.3.0-17ubuntu1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../10-gcc-7_7.3.0-17ubuntu1_i386.deb ... Unpacking gcc-7 (7.3.0-17ubuntu1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../11-libstdc++-7-dev_7.3.0-17ubuntu1_i386.deb ... Unpacking libstdc++-7-dev:i386 (7.3.0-17ubuntu1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../12-libgcc-7-dev_7.3.0-17ubuntu1_i386.deb ... Unpacking libgcc-7-dev:i386 (7.3.0-17ubuntu1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../13-cpp-7_7.3.0-17ubuntu1_i386.deb ... Unpacking cpp-7 (7.3.0-17ubuntu1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../14-gcc-7-base_7.3.0-17ubuntu1_i386.deb ... Unpacking gcc-7-base:i386 (7.3.0-17ubuntu1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../15-cpp_4%3a7.3.0-3ubuntu3_i386.deb ... Unpacking cpp (4:7.3.0-3ubuntu3) over (4:7.3.0-3ubuntu2) ... Preparing to unpack .../16-gcc_4%3a7.3.0-3ubuntu3_i386.deb ... Unpacking gcc (4:7.3.0-3ubuntu3) over (4:7.3.0-3ubuntu2) ... Preparing to unpack .../17-g++_4%3a7.3.0-3ubuntu3_i386.deb ... Unpacking g++ (4:7.3.0-3ubuntu3) over (4:7.3.0-3ubuntu2) ... Preparing to unpack .../18-build-essential_12.5ubuntu2_i386.deb ... Unpacking build-essential (12.5ubuntu2) over (12.4ubuntu1) ... Setting up libquadmath0:i386 (8.1.0-1ubuntu1) ... Setting up libncurses5:i386 (6.1+20180210-2ubuntu2) ... Setting up libgomp1:i386 (8.1.0-1ubuntu1) ... Setting up libatomic1:i386 (8.1.0-1ubuntu1) ... Setting up readline-common (7.0-4) ... Setting up libcc1-0:i386 (8.1.0-1ubuntu1) ... Setting up libreadline7:i386 (7.0-4) ... Setting up gcc-7-base:i386 (7.3.0-17ubuntu1) ... Setting up binutils-common:i386 (2.30-17ubuntu1) ... Setting up libmpx2:i386 (8.1.0-1ubuntu1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Setting up libitm1:i386 (8.1.0-1ubuntu1) ... Setting up libasan4:i386 (7.3.0-17ubuntu1) ... Setting up libbinutils:i386 (2.30-17ubuntu1) ... Setting up libcilkrts5:i386 (7.3.0-17ubuntu1) ... Setting up libubsan0:i386 (7.3.0-17ubuntu1) ... Setting up libgcc-7-dev:i386 (7.3.0-17ubuntu1) ... Setting up cpp-7 (7.3.0-17ubuntu1) ... Setting up libstdc++-7-dev:i386 (7.3.0-17ubuntu1) ... Setting up binutils-i686-linux-gnu (2.30-17ubuntu1) ... Setting up binutils (2.30-17ubuntu1) ... Setting up cpp (4:7.3.0-3ubuntu3) ... 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-14819724 i386 cosmic-proposed -c chroot:build-PACKAGEBUILD-14819724 --arch=i386 --dist=cosmic-proposed --nolog scm_5f2-2build1.dsc Initiating build PACKAGEBUILD-14819724 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 i686 sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on lcy01-amd64-015.buildd +==============================================================================+ | scm 5f2-2build1 (i386) 03 May 2018 15:17 | +==============================================================================+ Package: scm Version: 5f2-2build1 Source Version: 5f2-2build1 Distribution: cosmic-proposed Machine Architecture: amd64 Host Architecture: i386 Build Architecture: i386 I: NOTICE: Log filtering will replace 'build/scm-hezQIz/scm-5f2' with '<>' I: NOTICE: Log filtering will replace 'build/scm-hezQIz' with '<>' I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-14819724/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-OCY3mr/apt_archive/sbuild-build-depends-core-dummy.deb'. Ign:1 copy:/<>/resolver-OCY3mr/apt_archive ./ InRelease Get:2 copy:/<>/resolver-OCY3mr/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-OCY3mr/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-OCY3mr/apt_archive ./ Sources [214 B] Get:5 copy:/<>/resolver-OCY3mr/apt_archive ./ Packages [525 B] Fetched 2858 B in 0s (234 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-OCY3mr/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 ... 12639 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_i386.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-_s2O_R/apt_archive/sbuild-build-depends-scm-dummy.deb'. Ign:1 copy:/<>/resolver-_s2O_R/apt_archive ./ InRelease Get:2 copy:/<>/resolver-_s2O_R/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-_s2O_R/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-_s2O_R/apt_archive ./ Sources [247 B] Get:5 copy:/<>/resolver-_s2O_R/apt_archive ./ Packages [564 B] Fetched 2930 B in 0s (237 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.6 MB of archives. After this operation, 88.5 MB of additional disk space will be used. Get:1 copy:/<>/resolver-_s2O_R/apt_archive ./ sbuild-build-depends-scm-dummy 0.invalid.0 [892 B] Get:2 http://ftpmaster.internal/ubuntu cosmic/main i386 libxau6 i386 1:1.0.8-1 [8352 B] Get:3 http://ftpmaster.internal/ubuntu cosmic/main i386 libbsd0 i386 0.8.7-1 [44.7 kB] Get:4 http://ftpmaster.internal/ubuntu cosmic/main i386 bsdmainutils i386 11.1.2ubuntu1 [184 kB] Get:5 http://ftpmaster.internal/ubuntu cosmic/main i386 groff-base i386 1.22.3-10 [1169 kB] Get:6 http://ftpmaster.internal/ubuntu cosmic/main i386 libpipeline1 i386 1.5.0-1 [27.2 kB] Get:7 http://ftpmaster.internal/ubuntu cosmic/main i386 man-db i386 2.8.3-2 [1028 kB] Get:8 http://ftpmaster.internal/ubuntu cosmic/main i386 ucf all 3.0038 [50.5 kB] Get:9 http://ftpmaster.internal/ubuntu cosmic/main i386 tex-common all 6.09 [33.0 kB] Get:10 http://ftpmaster.internal/ubuntu cosmic/main i386 libmagic-mgc i386 1:5.32-2 [184 kB] Get:11 http://ftpmaster.internal/ubuntu cosmic/main i386 libmagic1 i386 1:5.32-2 [75.0 kB] Get:12 http://ftpmaster.internal/ubuntu cosmic/main i386 file i386 1:5.32-2 [22.0 kB] Get:13 http://ftpmaster.internal/ubuntu cosmic/main i386 libglib2.0-0 i386 2.56.1-2ubuntu1 [1232 kB] Get:14 http://ftpmaster.internal/ubuntu cosmic/main i386 libicu60 i386 60.2-3ubuntu3 [8193 kB] Get:15 http://ftpmaster.internal/ubuntu cosmic/main i386 libxml2 i386 2.9.4+dfsg1-6.1ubuntu1 [697 kB] Get:16 http://ftpmaster.internal/ubuntu cosmic/main i386 gettext-base i386 0.19.8.1-6 [51.3 kB] Get:17 http://ftpmaster.internal/ubuntu cosmic/main i386 libxdmcp6 i386 1:1.1.2-3 [11.1 kB] Get:18 http://ftpmaster.internal/ubuntu cosmic/main i386 libxcb1 i386 1.13-1 [50.0 kB] Get:19 http://ftpmaster.internal/ubuntu cosmic/main i386 libx11-data all 2:1.6.4-3 [114 kB] Get:20 http://ftpmaster.internal/ubuntu cosmic/main i386 libx11-6 i386 2:1.6.4-3 [594 kB] Get:21 http://ftpmaster.internal/ubuntu cosmic/main i386 libsigsegv2 i386 2.12-1 [15.0 kB] Get:22 http://ftpmaster.internal/ubuntu cosmic/main i386 m4 i386 1.4.18-1 [196 kB] Get:23 http://ftpmaster.internal/ubuntu cosmic/main i386 autoconf all 2.69-11 [322 kB] Get:24 http://ftpmaster.internal/ubuntu cosmic/main i386 autotools-dev all 20180224.1 [39.6 kB] Get:25 http://ftpmaster.internal/ubuntu cosmic/main i386 automake all 1:1.15.1-3ubuntu2 [509 kB] Get:26 http://ftpmaster.internal/ubuntu cosmic/main i386 autopoint all 0.19.8.1-6 [412 kB] Get:27 http://ftpmaster.internal/ubuntu cosmic/main i386 libtool all 2.4.6-2 [194 kB] Get:28 http://ftpmaster.internal/ubuntu cosmic/main i386 dh-autoreconf all 17 [15.8 kB] Get:29 http://ftpmaster.internal/ubuntu cosmic/main i386 libarchive-zip-perl all 1.60-1 [83.9 kB] Get:30 http://ftpmaster.internal/ubuntu cosmic/main i386 libfile-stripnondeterminism-perl all 0.040-1.1~build1 [13.8 kB] Get:31 http://ftpmaster.internal/ubuntu cosmic/main i386 libtimedate-perl all 2.3000-2 [37.5 kB] Get:32 http://ftpmaster.internal/ubuntu cosmic/main i386 dh-strip-nondeterminism all 0.040-1.1~build1 [5208 B] Get:33 http://ftpmaster.internal/ubuntu cosmic/main i386 libcroco3 i386 0.6.12-2 [87.7 kB] Get:34 http://ftpmaster.internal/ubuntu cosmic/main i386 gettext i386 0.19.8.1-6 [902 kB] Get:35 http://ftpmaster.internal/ubuntu cosmic/main i386 intltool-debian all 0.35.0+20060710.4 [24.9 kB] Get:36 http://ftpmaster.internal/ubuntu cosmic/main i386 po-debconf all 1.0.20 [232 kB] Get:37 http://ftpmaster.internal/ubuntu cosmic/main i386 debhelper all 11.2.1ubuntu1 [906 kB] Get:38 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 libncurses6 i386 6.1+20180210-2ubuntu2 [108 kB] Get:39 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 libncursesw6 i386 6.1+20180210-2ubuntu2 [141 kB] Get:40 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 libncurses-dev i386 6.1+20180210-2ubuntu2 [360 kB] Get:41 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 libncurses5-dev i386 6.1+20180210-2ubuntu2 [972 B] Get:42 http://ftpmaster.internal/ubuntu cosmic/main i386 libpthread-stubs0-dev i386 0.3-4 [4054 B] Get:43 http://ftpmaster.internal/ubuntu cosmic-proposed/main i386 libreadline-dev i386 7.0-4 [145 kB] Get:44 http://ftpmaster.internal/ubuntu cosmic/universe i386 libtext-unidecode-perl all 1.30-1 [99.0 kB] Get:45 http://ftpmaster.internal/ubuntu cosmic/main i386 xorg-sgml-doctools all 1:1.11-1 [12.9 kB] Get:46 http://ftpmaster.internal/ubuntu cosmic/main i386 x11proto-dev all 2018.4-4 [251 kB] Get:47 http://ftpmaster.internal/ubuntu cosmic/main i386 x11proto-core-dev all 2018.4-4 [2620 B] Get:48 http://ftpmaster.internal/ubuntu cosmic/main i386 libxau-dev i386 1:1.0.8-1 [10.2 kB] Get:49 http://ftpmaster.internal/ubuntu cosmic/main i386 libxdmcp-dev i386 1:1.1.2-3 [24.9 kB] Get:50 http://ftpmaster.internal/ubuntu cosmic/main i386 xtrans-dev all 1.3.5-1 [70.5 kB] Get:51 http://ftpmaster.internal/ubuntu cosmic/main i386 libxcb1-dev i386 1.13-1 [85.4 kB] Get:52 http://ftpmaster.internal/ubuntu cosmic/main i386 libx11-dev i386 2:1.6.4-3 [661 kB] Get:53 http://ftpmaster.internal/ubuntu cosmic/main i386 libxml-namespacesupport-perl all 1.12-1 [13.2 kB] Get:54 http://ftpmaster.internal/ubuntu cosmic/main i386 libxml-sax-base-perl all 1.09-1 [18.8 kB] Get:55 http://ftpmaster.internal/ubuntu cosmic/main i386 libxml-sax-perl all 0.99+dfsg-2ubuntu1 [64.6 kB] Get:56 http://ftpmaster.internal/ubuntu cosmic/main i386 libxml-libxml-perl i386 2.0128+dfsg-5 [333 kB] Get:57 http://ftpmaster.internal/ubuntu cosmic/universe i386 slib all 3b1-5 [715 kB] Get:58 http://ftpmaster.internal/ubuntu cosmic/universe i386 texinfo i386 6.5.0.dfsg.1-2 [751 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 21.6 MB in 1s (41.6 MB/s) Selecting previously unselected package libxau6:i386. (Reading database ... 12639 files and directories currently installed.) Preparing to unpack .../00-libxau6_1%3a1.0.8-1_i386.deb ... Unpacking libxau6:i386 (1:1.0.8-1) ... Selecting previously unselected package libbsd0:i386. Preparing to unpack .../01-libbsd0_0.8.7-1_i386.deb ... Unpacking libbsd0:i386 (0.8.7-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../02-bsdmainutils_11.1.2ubuntu1_i386.deb ... Unpacking bsdmainutils (11.1.2ubuntu1) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.3-10_i386.deb ... Unpacking groff-base (1.22.3-10) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../04-libpipeline1_1.5.0-1_i386.deb ... Unpacking libpipeline1:i386 (1.5.0-1) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.3-2_i386.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_i386.deb ... Unpacking libmagic-mgc (1:5.32-2) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../09-libmagic1_1%3a5.32-2_i386.deb ... Unpacking libmagic1:i386 (1:5.32-2) ... Selecting previously unselected package file. Preparing to unpack .../10-file_1%3a5.32-2_i386.deb ... Unpacking file (1:5.32-2) ... Selecting previously unselected package libglib2.0-0:i386. Preparing to unpack .../11-libglib2.0-0_2.56.1-2ubuntu1_i386.deb ... Unpacking libglib2.0-0:i386 (2.56.1-2ubuntu1) ... Selecting previously unselected package libicu60:i386. Preparing to unpack .../12-libicu60_60.2-3ubuntu3_i386.deb ... Unpacking libicu60:i386 (60.2-3ubuntu3) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../13-libxml2_2.9.4+dfsg1-6.1ubuntu1_i386.deb ... Unpacking libxml2:i386 (2.9.4+dfsg1-6.1ubuntu1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../14-gettext-base_0.19.8.1-6_i386.deb ... Unpacking gettext-base (0.19.8.1-6) ... Selecting previously unselected package libxdmcp6:i386. Preparing to unpack .../15-libxdmcp6_1%3a1.1.2-3_i386.deb ... Unpacking libxdmcp6:i386 (1:1.1.2-3) ... Selecting previously unselected package libxcb1:i386. Preparing to unpack .../16-libxcb1_1.13-1_i386.deb ... Unpacking libxcb1:i386 (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:i386. Preparing to unpack .../18-libx11-6_2%3a1.6.4-3_i386.deb ... Unpacking libx11-6:i386 (2:1.6.4-3) ... Selecting previously unselected package libsigsegv2:i386. Preparing to unpack .../19-libsigsegv2_2.12-1_i386.deb ... Unpacking libsigsegv2:i386 (2.12-1) ... Selecting previously unselected package m4. Preparing to unpack .../20-m4_1.4.18-1_i386.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:i386. Preparing to unpack .../31-libcroco3_0.6.12-2_i386.deb ... Unpacking libcroco3:i386 (0.6.12-2) ... Selecting previously unselected package gettext. Preparing to unpack .../32-gettext_0.19.8.1-6_i386.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:i386. Preparing to unpack .../36-libncurses6_6.1+20180210-2ubuntu2_i386.deb ... Unpacking libncurses6:i386 (6.1+20180210-2ubuntu2) ... Selecting previously unselected package libncursesw6:i386. Preparing to unpack .../37-libncursesw6_6.1+20180210-2ubuntu2_i386.deb ... Unpacking libncursesw6:i386 (6.1+20180210-2ubuntu2) ... Selecting previously unselected package libncurses-dev:i386. Preparing to unpack .../38-libncurses-dev_6.1+20180210-2ubuntu2_i386.deb ... Unpacking libncurses-dev:i386 (6.1+20180210-2ubuntu2) ... Selecting previously unselected package libncurses5-dev:i386. Preparing to unpack .../39-libncurses5-dev_6.1+20180210-2ubuntu2_i386.deb ... Unpacking libncurses5-dev:i386 (6.1+20180210-2ubuntu2) ... Selecting previously unselected package libpthread-stubs0-dev:i386. Preparing to unpack .../40-libpthread-stubs0-dev_0.3-4_i386.deb ... Unpacking libpthread-stubs0-dev:i386 (0.3-4) ... Selecting previously unselected package libreadline-dev:i386. Preparing to unpack .../41-libreadline-dev_7.0-4_i386.deb ... Unpacking libreadline-dev:i386 (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:i386. Preparing to unpack .../46-libxau-dev_1%3a1.0.8-1_i386.deb ... Unpacking libxau-dev:i386 (1:1.0.8-1) ... Selecting previously unselected package libxdmcp-dev:i386. Preparing to unpack .../47-libxdmcp-dev_1%3a1.1.2-3_i386.deb ... Unpacking libxdmcp-dev:i386 (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:i386. Preparing to unpack .../49-libxcb1-dev_1.13-1_i386.deb ... Unpacking libxcb1-dev:i386 (1.13-1) ... Selecting previously unselected package libx11-dev:i386. Preparing to unpack .../50-libx11-dev_2%3a1.6.4-3_i386.deb ... Unpacking libx11-dev:i386 (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_i386.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_i386.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_i386.deb ... Unpacking sbuild-build-depends-scm-dummy (0.invalid.0) ... Setting up libicu60:i386 (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:i386 (2.12-1) ... Setting up libpthread-stubs0-dev:i386 (0.3-4) ... Setting up groff-base (1.22.3-10) ... Setting up libglib2.0-0:i386 (2.56.1-2ubuntu1) ... No schema files found: doing nothing. Setting up xorg-sgml-doctools (1:1.11-1) ... Setting up libncursesw6:i386 (6.1+20180210-2ubuntu2) ... Setting up libtext-unidecode-perl (1.30-1) ... Setting up gettext-base (0.19.8.1-6) ... Setting up libpipeline1:i386 (1.5.0-1) ... Setting up m4 (1.4.18-1) ... Setting up libbsd0:i386 (0.8.7-1) ... Setting up ucf (3.0038) ... Setting up libxml2:i386 (2.9.4+dfsg1-6.1ubuntu1) ... Setting up x11proto-dev (2018.4-4) ... Setting up libmagic-mgc (1:5.32-2) ... Setting up libmagic1:i386 (1:5.32-2) ... Setting up libcroco3:i386 (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:i386 (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:i386 (6.1+20180210-2ubuntu2) ... Setting up libx11-data (2:1.6.4-3) ... Setting up libxau6:i386 (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:i386 (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:i386 (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:i386 (6.1+20180210-2ubuntu2) ... Setting up libxcb1:i386 (1.13-1) ... Setting up libtool (2.4.6-2) ... Setting up po-debconf (1.0.20) ... Setting up libx11-6:i386 (2:1.6.4-3) ... Setting up libncurses5-dev:i386 (6.1+20180210-2ubuntu2) ... Setting up libreadline-dev:i386 (7.0-4) ... Setting up libxcb1-dev:i386 (1.13-1) ... Setting up texinfo (6.5.0.dfsg.1-2) ... Setting up libx11-dev:i386 (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 (i686) 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-i686-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 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 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-14819724 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-14819724 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-14819724 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 i386 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-arch dh build-arch 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 -a 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 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 ‘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; ^ 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: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 */ ^~~~~~~~~~~~~~ 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 ‘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; ^ 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+0x7d8): 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: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 */ ^~~~~~~~~~~~~~ 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 ‘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; ^ 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 -a 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 '/<>' fakeroot debian/rules binary-arch dh binary-arch dh_testroot -a dh_prep -a 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 -a dh_installdocs -a dh_installchangelogs -a dh_installexamples -a dh_installman -a dh_installinfo -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a debian/rules override_dh_strip make[1]: Entering directory '/<>' dh_strip --no-automatic-dbgsym make[1]: Leaving directory '/<>' dh_makeshlibs -a dh_shlibdeps -a dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a 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 " pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/scm/DEBIAN/control, package scm, directory debian/scm .. removing usr/share/doc/scm/changelog.gz pkgstripfiles: processing control file: debian/libscm-dev/DEBIAN/control, package libscm-dev, directory debian/libscm-dev pkgstripfiles: Truncating usr/share/doc/scm/changelog.Debian.gz to topmost ten records Searching for duplicated docs in dependency scm... pkgstripfiles: Running PNG optimization (using 4 cpus) for package scm ... symlinking changelog.Debian.gz in libscm-dev to file in scm pkgstripfiles: No PNG files. dpkg-deb: building package 'scm' in '../scm_5f2-2build1_i386.deb'. 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_i386.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any -mLaunchpad Build Daemon >../scm_5f2-2build1_i386.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not 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_i386.changes: ----------------------------- Format: 1.8 Date: Thu, 03 May 2018 14:19:02 +0000 Source: scm Binary: scm libscm-dev Architecture: i386 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: d9691bf2285a211efbd661a13b5d9d84c5ebfa09 189852 libscm-dev_5f2-2build1_i386.deb df1bf32b829003d7c938c442bba0c30b73a5adeb 5986 scm_5f2-2build1_i386.buildinfo 473b3ba3fb14bfc50a879c1a42d2dcd4749c73a7 555200 scm_5f2-2build1_i386.deb Checksums-Sha256: ffc5c52e039315b941a3075858df40125923ff614c368186534cfaf76fa945ad 189852 libscm-dev_5f2-2build1_i386.deb f5818566331683509ac2b7ca9439e7687d3e1765e45d9319f778ab3759b21c75 5986 scm_5f2-2build1_i386.buildinfo e866000b7eef80f39fa3fca53a81fac2a065e7d6789be99526cb107a9e78265e 555200 scm_5f2-2build1_i386.deb Files: 223849d78338abb0beb0d99060d54790 189852 libdevel optional libscm-dev_5f2-2build1_i386.deb 25a819ff2f1c1fc7447402e1d8a94019 5986 interpreters optional scm_5f2-2build1_i386.buildinfo bcfc00cb03f19f108cd87c8123b698e1 555200 interpreters optional scm_5f2-2build1_i386.deb +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ libscm-dev_5f2-2build1_i386.deb ------------------------------- new debian package, version 2.0. size 189852 bytes: control archive=808 bytes. 584 bytes, 15 lines control 284 bytes, 5 lines md5sums Package: libscm-dev Source: scm Version: 5f2-2build1 Architecture: i386 Maintainer: Ubuntu Developers Original-Maintainer: Bryan Newbold Installed-Size: 830 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 762744 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_i386.deb ------------------------ new debian package, version 2.0. size 555200 bytes: control archive=2212 bytes. 784 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: i386 Maintainer: Ubuntu Developers Original-Maintainer: Bryan Newbold Installed-Size: 2131 Depends: slib (>> 3b1), libc6 (>= 2.4), 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 519548 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: i386 Build-Space: 12544 Build-Time: 31 Distribution: cosmic-proposed Host Architecture: i386 Install-Time: 14 Job: scm_5f2-2build1.dsc Machine Architecture: amd64 Package: scm Package-Time: 45 Source-Version: 5f2-2build1 Space: 12544 Status: successful Version: 5f2-2build1 -------------------------------------------------------------------------------- Finished at 20180503-1518 Build needed 00:00:45, 12544k disc space RUN: /usr/share/launchpad-buildd/slavebin/in-target scan-for-processes --backend=chroot --series=cosmic --arch=i386 PACKAGEBUILD-14819724 Scanning for processes to kill in build PACKAGEBUILD-14819724 RUN: /usr/share/launchpad-buildd/slavebin/in-target umount-chroot --backend=chroot --series=cosmic --arch=i386 PACKAGEBUILD-14819724 Stopping target for build PACKAGEBUILD-14819724 RUN: /usr/share/launchpad-buildd/slavebin/in-target remove-build --backend=chroot --series=cosmic --arch=i386 PACKAGEBUILD-14819724 Removing build PACKAGEBUILD-14819724