Running as unit: rb-build-arm64_8-88857.service; invocation ID: b6434bb396ba433d94c49a1d7b6d1774 ==================================================================================== Sun Sep 14 17:17:23 UTC 2025 - running /srv/jenkins/bin/reproducible_build.sh (for job reproducible_builder_arm64_8) on jenkins, called using "codethink04-arm64 codethink03-arm64" as arguments. Sun Sep 14 17:17:23 UTC 2025 - actually running "reproducible_build.sh" (md5sum cc591790ab2c8e13f5e554202b95c89c) as "/tmp/jenkins-script-ldZF2q2T" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Sun Sep 14 17:17:23 UTC 2025 - checking /var/lib/jenkins/offline_nodes if codethink04-arm64.debian.net is marked as down. Sun Sep 14 17:17:23 UTC 2025 - checking via ssh if codethink04-arm64.debian.net is up. removed '/tmp/read-only-fs-test-dLnp8B' Sun Sep 14 17:17:23 UTC 2025 - checking /var/lib/jenkins/offline_nodes if codethink03-arm64.debian.net is marked as down. Sun Sep 14 17:17:23 UTC 2025 - checking via ssh if codethink03-arm64.debian.net is up. removed '/tmp/read-only-fs-test-RF4tpq' ok, let's check if mailagent is building anywhere yet… ok, mailagent is not building anywhere… UPDATE 1 ============================================================================= Initialising reproducibly build of mailagent in unstable on arm64 on jenkins now. 1st build will be done on codethink04-arm64.debian.net. 2nd build will be done on codethink03-arm64.debian.net. ============================================================================= Sun Sep 14 17:17:33 UTC 2025 I: starting to build mailagent/unstable/arm64 on jenkins on '2025-09-14 17:17' Sun Sep 14 17:17:33 UTC 2025 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/arm64_8/88857/console.log 1757870253 arm64 unstable mailagent Sun Sep 14 17:17:33 UTC 2025 I: Downloading source for unstable/mailagent=1:3.1-106-1.2 --2025-09-14 17:17:33-- http://deb.debian.org/debian/pool/main/m/mailagent/mailagent_3.1-106-1.2.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1907 (1.9K) [text/prs.lines.tag] Saving to: ‘mailagent_3.1-106-1.2.dsc’ 0K . 100% 223M=0s 2025-09-14 17:17:33 (223 MB/s) - ‘mailagent_3.1-106-1.2.dsc’ saved [1907/1907] --2025-09-14 17:17:33-- http://deb.debian.org/debian/pool/main/m/mailagent/mailagent_3.1-106-1.2.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1907 (1.9K) [text/prs.lines.tag] Saving to: ‘mailagent_3.1-106-1.2.dsc’ 0K . 100% 223M=0s 2025-09-14 17:17:33 (223 MB/s) - ‘mailagent_3.1-106-1.2.dsc’ saved [1907/1907] Sun Sep 14 17:17:33 UTC 2025 I: mailagent_3.1-106-1.2.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.0 Source: mailagent Binary: mailagent Architecture: any Version: 1:3.1-106-1.2 Maintainer: Manoj Srivastava Standards-Version: 4.7.2 Vcs-Browser: https://salsa.debian.org/srivasta/mailagent Vcs-Git: https://salsa.debian.org/srivasta/mailagent.git Build-Depends: groff-base, debhelper-compat (= 12), po-debconf, file, gettext, libperl4-corelibs-perl, dpkg-dev (>= 1.16.0), libfile-fcntllock-perl Package-List: mailagent deb mail optional arch=any Checksums-Sha1: 1917244c948fb3987f372454dcf76260f6e1b1df 574866 mailagent_3.1-106.orig.tar.gz f109c87606c2f346a972d770c6dacf38aab15dff 79193 mailagent_3.1-106-1.2.diff.gz Checksums-Sha256: 40150fd934ed91eb7f4614ec004797eae06eb3bac2a0ab4df58cc28c0d7f4aa4 574866 mailagent_3.1-106.orig.tar.gz 70fb46e33d404945a6ba89fd05b369a8851654443f86b646872731237508e1d9 79193 mailagent_3.1-106-1.2.diff.gz Files: 65b11fc4914495381b7999b15f4471f7 574866 mailagent_3.1-106.orig.tar.gz a617257bb7e99bb1c8984e5f5a94fc2d 79193 mailagent_3.1-106-1.2.diff.gz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEQySpKy57hdp/nJxAxm0GtARDxFAFAmfTQTcACgkQxm0GtARD xFDGGg//T53xRf/cGqr9+HToS3oPJwZ0MdWqv9vmA02cRILTGh7eWSqd1ZWasW44 5UN9+fVFRmME/DRvS1DAWdhfj12kk93/US4QHU8yn7Q4WrBluuMCQj3lEa+HEQ3t FPF6VoktDZnhyjS9Hc6w65ajpB3zGnJyAx2qYFw/wcbtZ/SoLQ3JvVGRttLnl0+E uesh0PpFoE0E6oSVQpgCAKLwXDxIcD37XPzL1gqE0W7BZARx8XSjv5KYuDisOAIC r5gdsNSAZoyzAKZVZ3n9UN+sX4OF74c6luW9quREA+Mub/VP0fV/eU6Z5g5uPCfX mS8jh1JKaHhcGVEIZqnX/qysElAKonYCtiFAElcUwOhee1kpEnJu6Gs+Sz18KSn+ ModO5ue8GO77q2EtAEplcaznJLdp6WxzPbL0c5lcVlXQdS0gpEKvnShpcGQEZ986 RUTmsSJi5wp1sueeJA/J5DXIxmc+rDm9/PrfxEmZCk/Y/20ycsEbzLgqMBsIHsus jVDzOCDP301hx8T9Xl+uci/Su0m1Oob0sLe9rmjMT3EWY+wfN5+l7Ft/5OHVvmpb gjFXOvKyJxmXngbyBsDW/itBjILiiN44lcj8G3/horu1Dm5Ea991oRYziCfpz9AX u3YbhcT18pAztNrtZOgRG0hneJMLLKxoOxq7vmNCplIo5wgxTcc= =FzI6 -----END PGP SIGNATURE----- Sun Sep 14 17:17:33 UTC 2025 I: Checking whether the package is not for us Sun Sep 14 17:17:33 UTC 2025 I: Starting 1st build on remote node codethink04-arm64.debian.net. Sun Sep 14 17:17:33 UTC 2025 I: Preparing to do remote build '1' on codethink04-arm64.debian.net. Sun Sep 14 17:17:33 UTC 2025 - checking /var/lib/jenkins/offline_nodes if codethink04-arm64.debian.net is marked as down. Sun Sep 14 17:17:33 UTC 2025 - checking via ssh if codethink04-arm64.debian.net is up. removed '/tmp/read-only-fs-test-1esNu9' ==================================================================================== Sun Sep 14 17:17:34 UTC 2025 - running /srv/jenkins/bin/reproducible_build.sh (for job /srv/jenkins/bin/reproducible_build.sh) on codethink04-arm64, called using "1 mailagent unstable /srv/reproducible-results/rbuild-debian/r-b-build.AApUb7Vv 1:3.1-106-1.2" as arguments. Sun Sep 14 17:17:34 UTC 2025 - actually running "reproducible_build.sh" (md5sum cc591790ab2c8e13f5e554202b95c89c) as "/tmp/jenkins-script-mtY1oP5n" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Sun Sep 14 17:17:34 UTC 2025 I: Downloading source for unstable/mailagent=1:3.1-106-1.2 Reading package lists... NOTICE: 'mailagent' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/srivasta/mailagent.git Please use: git clone https://salsa.debian.org/srivasta/mailagent.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 656 kB of source archives. Get:1 http://deb.debian.org/debian unstable/main mailagent 1:3.1-106-1.2 (dsc) [1907 B] Get:2 http://deb.debian.org/debian unstable/main mailagent 1:3.1-106-1.2 (tar) [575 kB] Get:3 http://deb.debian.org/debian unstable/main mailagent 1:3.1-106-1.2 (diff) [79.2 kB] Fetched 656 kB in 0s (30.4 MB/s) Download complete and in download only mode Reading package lists... NOTICE: 'mailagent' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/srivasta/mailagent.git Please use: git clone https://salsa.debian.org/srivasta/mailagent.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 656 kB of source archives. Get:1 http://deb.debian.org/debian unstable/main mailagent 1:3.1-106-1.2 (dsc) [1907 B] Get:2 http://deb.debian.org/debian unstable/main mailagent 1:3.1-106-1.2 (tar) [575 kB] Get:3 http://deb.debian.org/debian unstable/main mailagent 1:3.1-106-1.2 (diff) [79.2 kB] Fetched 656 kB in 0s (30.4 MB/s) Download complete and in download only mode ============================================================================= Building mailagent in unstable on arm64 on codethink04-arm64 now. Date: Sun Sep 14 18:17:34 BST 2025 Date UTC: Sun Sep 14 17:17:34 UTC 2025 ============================================================================= W: /root/.pbuilderrc does not exist I: Logging to b1/build.log I: pbuilder: network access will be disabled during build I: Current time: Sun Sep 14 05:17:34 -12 2025 I: pbuilder-time-stamp: 1757870254 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [mailagent_3.1-106-1.2.dsc] I: copying [./mailagent_3.1-106.orig.tar.gz] I: copying [./mailagent_3.1-106-1.2.diff.gz] I: Extracting source dpkg-source: warning: cannot verify inline signature for ./mailagent_3.1-106-1.2.dsc: no acceptable signature found dpkg-source: info: extracting mailagent in mailagent-3.1-106 dpkg-source: info: unpacking mailagent_3.1-106.orig.tar.gz dpkg-source: info: applying mailagent_3.1-106-1.2.diff.gz dpkg-source: info: upstream files that have been modified: mailagent-3.1-106/.gitignore mailagent-3.1-106/Configure mailagent-3.1-106/FAQ mailagent-3.1-106/README mailagent-3.1-106/agent/examples/mchk mailagent-3.1-106/agent/examples/profile mailagent-3.1-106/agent/filter/environ.h mailagent-3.1-106/agent/filter/logfile.c mailagent-3.1-106/agent/magent.sh mailagent-3.1-106/agent/man/edusers.SH mailagent-3.1-106/agent/man/mailagent.SH mailagent-3.1-106/agent/man/maildist.SH mailagent-3.1-106/agent/man/mailhelp.SH mailagent-3.1-106/agent/man/maillist.SH mailagent-3.1-106/agent/man/mailpatch.SH mailagent-3.1-106/agent/man/package.SH mailagent-3.1-106/agent/pl/mbox.pl mailagent-3.1-106/agent/pl/parse.pl mailagent-3.1-106/agent/pl/utmp/utmp_ph.c mailagent-3.1-106/agent/test/basic/config.t mailagent-3.1-106/bin/svn-revision mailagent-3.1-106/revision.h I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/1920273/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='arm64' IFS=' ' INVOCATION_ID='4a6f50ea8b0f49fb94cfb905dd07a63f' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='1920273' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.AApUb7Vv/pbuilderrc_EJni --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.AApUb7Vv/b1 --logfile b1/build.log mailagent_3.1-106-1.2.dsc' SUDO_GID='109' SUDO_HOME='/var/lib/jenkins' SUDO_UID='104' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.4:3128' I: uname -a Linux codethink04-arm64 6.12.43+deb13-cloud-arm64 #1 SMP Debian 6.12.43-1 (2025-08-27) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin I: user script /srv/workspace/pbuilder/1920273/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: groff-base, debhelper-compat (= 12), po-debconf, file, gettext, libperl4-corelibs-perl, dpkg-dev (>= 1.16.0), libfile-fcntllock-perl dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 20020 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on groff-base; however: Package groff-base is not installed. pbuilder-satisfydepends-dummy depends on debhelper-compat (= 12); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on po-debconf; however: Package po-debconf is not installed. pbuilder-satisfydepends-dummy depends on file; however: Package file is not installed. pbuilder-satisfydepends-dummy depends on gettext; however: Package gettext is not installed. pbuilder-satisfydepends-dummy depends on libperl4-corelibs-perl; however: Package libperl4-corelibs-perl is not installed. pbuilder-satisfydepends-dummy depends on libfile-fcntllock-perl; however: Package libfile-fcntllock-perl is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-fcntllock-perl{a} libfile-stripnondeterminism-perl{a} libmagic-mgc{a} libmagic1t64{a} libperl4-corelibs-perl{a} libpipeline1{a} libtool{a} libuchardet0{a} libunistring5{a} libxml2-16{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 31 newly installed, 0 to remove and 0 not upgraded. Need to get 11.0 MB of archives. After unpacking 45.3 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main arm64 sensible-utils all 0.0.26 [27.0 kB] Get: 2 http://deb.debian.org/debian unstable/main arm64 libmagic-mgc arm64 1:5.46-5 [338 kB] Get: 3 http://deb.debian.org/debian unstable/main arm64 libmagic1t64 arm64 1:5.46-5 [103 kB] Get: 4 http://deb.debian.org/debian unstable/main arm64 file arm64 1:5.46-5 [43.7 kB] Get: 5 http://deb.debian.org/debian unstable/main arm64 gettext-base arm64 0.23.1-2+b1 [241 kB] Get: 6 http://deb.debian.org/debian unstable/main arm64 libuchardet0 arm64 0.0.8-2 [69.0 kB] Get: 7 http://deb.debian.org/debian unstable/main arm64 groff-base arm64 1.23.0-9 [1130 kB] Get: 8 http://deb.debian.org/debian unstable/main arm64 bsdextrautils arm64 2.41.1-3 [98.1 kB] Get: 9 http://deb.debian.org/debian unstable/main arm64 libpipeline1 arm64 1.5.8-1 [40.2 kB] Get: 10 http://deb.debian.org/debian unstable/main arm64 man-db arm64 2.13.1-1 [1453 kB] Get: 11 http://deb.debian.org/debian unstable/main arm64 m4 arm64 1.4.20-1 [316 kB] Get: 12 http://deb.debian.org/debian unstable/main arm64 autoconf all 2.72-3.1 [494 kB] Get: 13 http://deb.debian.org/debian unstable/main arm64 autotools-dev all 20240727.1 [60.2 kB] Get: 14 http://deb.debian.org/debian unstable/main arm64 automake all 1:1.17-4 [862 kB] Get: 15 http://deb.debian.org/debian unstable/main arm64 autopoint all 0.23.1-2 [770 kB] Get: 16 http://deb.debian.org/debian unstable/main arm64 libdebhelper-perl all 13.26 [91.8 kB] Get: 17 http://deb.debian.org/debian unstable/main arm64 libtool all 2.5.4-5 [540 kB] Get: 18 http://deb.debian.org/debian unstable/main arm64 dh-autoreconf all 21 [12.2 kB] Get: 19 http://deb.debian.org/debian unstable/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian unstable/main arm64 libfile-stripnondeterminism-perl all 1.15.0-1 [19.9 kB] Get: 21 http://deb.debian.org/debian unstable/main arm64 dh-strip-nondeterminism all 1.15.0-1 [8812 B] Get: 22 http://deb.debian.org/debian unstable/main arm64 libelf1t64 arm64 0.193-3 [189 kB] Get: 23 http://deb.debian.org/debian unstable/main arm64 dwz arm64 0.16-2 [100 kB] Get: 24 http://deb.debian.org/debian unstable/main arm64 libunistring5 arm64 1.3-2 [453 kB] Get: 25 http://deb.debian.org/debian unstable/main arm64 libxml2-16 arm64 2.14.5+dfsg-0.2 [582 kB] Get: 26 http://deb.debian.org/debian unstable/main arm64 gettext arm64 0.23.1-2+b1 [1612 kB] Get: 27 http://deb.debian.org/debian unstable/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian unstable/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian unstable/main arm64 debhelper all 13.26 [939 kB] Get: 30 http://deb.debian.org/debian unstable/main arm64 libfile-fcntllock-perl arm64 0.22-4+b4 [34.6 kB] Get: 31 http://deb.debian.org/debian unstable/main arm64 libperl4-corelibs-perl all 0.005-1 [39.0 kB] Fetched 11.0 MB in 0s (74.5 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20020 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.26_all.deb ... Unpacking sensible-utils (0.0.26) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.46-5_arm64.deb ... Unpacking libmagic-mgc (1:5.46-5) ... Selecting previously unselected package libmagic1t64:arm64. Preparing to unpack .../02-libmagic1t64_1%3a5.46-5_arm64.deb ... Unpacking libmagic1t64:arm64 (1:5.46-5) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.46-5_arm64.deb ... Unpacking file (1:5.46-5) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.23.1-2+b1_arm64.deb ... Unpacking gettext-base (0.23.1-2+b1) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../05-libuchardet0_0.0.8-2_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.8-2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-9_arm64.deb ... Unpacking groff-base (1.23.0-9) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.41.1-3_arm64.deb ... Unpacking bsdextrautils (2.41.1-3) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../08-libpipeline1_1.5.8-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.1-1_arm64.deb ... Unpacking man-db (2.13.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.20-1_arm64.deb ... Unpacking m4 (1.4.20-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3.1_all.deb ... Unpacking autoconf (2.72-3.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20240727.1_all.deb ... Unpacking autotools-dev (20240727.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.17-4_all.deb ... Unpacking automake (1:1.17-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.23.1-2_all.deb ... Unpacking autopoint (0.23.1-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.26_all.deb ... Unpacking libdebhelper-perl (13.26) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.5.4-5_all.deb ... Unpacking libtool (2.5.4-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_21_all.deb ... Unpacking dh-autoreconf (21) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.15.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.15.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.15.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.15.0-1) ... Selecting previously unselected package libelf1t64:arm64. Preparing to unpack .../21-libelf1t64_0.193-3_arm64.deb ... Unpacking libelf1t64:arm64 (0.193-3) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.16-2_arm64.deb ... Unpacking dwz (0.16-2) ... Selecting previously unselected package libunistring5:arm64. Preparing to unpack .../23-libunistring5_1.3-2_arm64.deb ... Unpacking libunistring5:arm64 (1.3-2) ... Selecting previously unselected package libxml2-16:arm64. Preparing to unpack .../24-libxml2-16_2.14.5+dfsg-0.2_arm64.deb ... Unpacking libxml2-16:arm64 (2.14.5+dfsg-0.2) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.23.1-2+b1_arm64.deb ... Unpacking gettext (0.23.1-2+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.26_all.deb ... Unpacking debhelper (13.26) ... Selecting previously unselected package libfile-fcntllock-perl. Preparing to unpack .../29-libfile-fcntllock-perl_0.22-4+b4_arm64.deb ... Unpacking libfile-fcntllock-perl (0.22-4+b4) ... Selecting previously unselected package libperl4-corelibs-perl. Preparing to unpack .../30-libperl4-corelibs-perl_0.005-1_all.deb ... Unpacking libperl4-corelibs-perl (0.005-1) ... Setting up libpipeline1:arm64 (1.5.8-1) ... Setting up bsdextrautils (2.41.1-3) ... Setting up libmagic-mgc (1:5.46-5) ... Setting up libfile-fcntllock-perl (0.22-4+b4) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libxml2-16:arm64 (2.14.5+dfsg-0.2) ... Setting up libdebhelper-perl (13.26) ... Setting up libperl4-corelibs-perl (0.005-1) ... Setting up libmagic1t64:arm64 (1:5.46-5) ... Setting up gettext-base (0.23.1-2+b1) ... Setting up m4 (1.4.20-1) ... Setting up file (1:5.46-5) ... Setting up libelf1t64:arm64 (0.193-3) ... Setting up autotools-dev (20240727.1) ... Setting up libunistring5:arm64 (1.3-2) ... Setting up autopoint (0.23.1-2) ... Setting up autoconf (2.72-3.1) ... Setting up dwz (0.16-2) ... Setting up sensible-utils (0.0.26) ... Setting up libuchardet0:arm64 (0.0.8-2) ... Setting up automake (1:1.17-4) ... update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.15.0-1) ... Setting up gettext (0.23.1-2+b1) ... Setting up libtool (2.5.4-5) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (21) ... Setting up dh-strip-nondeterminism (1.15.0-1) ... Setting up groff-base (1.23.0-9) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.26) ... Processing triggers for libc-bin (2.41-12) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/mailagent-3.1-106/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../mailagent_3.1-106-1.2_source.changes dpkg-buildpackage: info: source package mailagent dpkg-buildpackage: info: source version 1:3.1-106-1.2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Paulo Henrique de Lima Santana (phls) dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean debian/rules override_dh_clean make[1]: Entering directory '/build/reproducible-path/mailagent-3.1-106' dh_clean test ! -d .config || rm -rf .config make[1]: Leaving directory '/build/reproducible-path/mailagent-3.1-106' debian/rules binary dh binary dh_update_autotools_config dh_autoreconf debian/rules override_dh_auto_configure make[1]: Entering directory '/build/reproducible-path/mailagent-3.1-106' /bin/cp -rpf debian/Config .config && \ /bin/cp -pf debian/config.over config.over && \ touch .config/nomail && \ eval "" && \ sh ./Configure \ -de \ -D cat=/bin/cat -D zcat=/bin/zcat \ -D prefix= \ -D orgname=/etc/news/organization \ -D myhostname=localhost \ -D mydomain=localdomain \ -D defeditor=/usr/ae \ -D usenm=no \ -D privlib=/usr/share/mailagent \ -D utmp="/var/run/utmp" \ -D optimize="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard" \ -D ldflags="-Wl,-z,relro" \ -D cf_email='srivasta@debian.org' \ -D d_berknames='define' Configure: use '-U symbol=', not '-D symbol='. Configure: ignoring -D prefix= Beginning of configuration questions for mailagent. Checking echo to see how to suppress newlines... ...using \c The star should be here-->* First let's make sure your kit is complete. Checking... Looks good... This installation shell script will examine your system and ask you questions to determine how the mailagent package should be installed. If you get stuck on a question, you may use a ! shell escape to start a subshell or execute a command. Many of the questions will have default answers in square brackets; typing carriage return will give you the default. On some of the questions which ask for file or directory names you are allowed to use the ~name construct to specify the login directory belonging to "name", even if you don't have a shell which knows about that. Questions where this is allowed will be marked "(~name ok)". [Type carriage return to continue] The prompter used in this script allows you to use shell variables and backticks in your answers. You may use $1, $2, etc... to refer to the words in the default answer, as if the default line was a set of arguments given to a script shell. This means you may also use $* to repeat the whole default line, so you do not have to re-type everything to add something to the default. Everytime there is a substitution, you will have to confirm. If there is an error (e.g. an unmatched backtick), the default answer will remain unchanged and you will be prompted again. If you are in a hurry, you may run 'Configure -d'. This will bypass nearly all the questions and use the computed defaults (or the previous answers if there was already a config.sh file). Type 'Configure -h' for a list of options. You may also start interactively and then answer '& -d' at any prompt to turn on the non-interactive behaviour for the remainder of the execution. [Type carriage return to continue] Much effort has been expended to ensure that this shell script will run on any Unix system. If despite that it blows up on yours, your best bet is to edit Configure and run it again. If you can't run Configure for some reason, you'll have to generate a config.sh file by hand. Whatever problems you have, let me (Raphael_Manfredi@pobox.com) know how I blew it. This installation script affects things in two ways: 1) it may do direct variable substitutions on some of the files included in this kit. 2) it builds a config.h file for inclusion in C programs. You may edit any of these files as the need arises after running this script. If you make a mistake on a question, there is no easy way to back up to it currently. The easiest thing to do is to edit config.sh and rerun all the SH files. Configure will offer to let you do this before it runs the SH files. [Type carriage return to continue] Locating common programs... awk is in /usr/bin/awk. cat is in /bin/cat. chgrp is in /usr/bin/chgrp. chmod is in /usr/bin/chmod. chown is in /usr/bin/chown. comm is in /usr/bin/comm. cp is in /usr/bin/cp. echo is in /usr/bin/echo. expr is in /usr/bin/expr. grep is in /usr/bin/grep. make is in /usr/bin/make. mkdir is in /usr/bin/mkdir. mv is in /usr/bin/mv. rm is in /usr/bin/rm. sed is in /usr/bin/sed. sleep is in /usr/bin/sleep. sort is in /usr/bin/sort. touch is in /usr/bin/touch. tr is in /usr/bin/tr. uniq is in /usr/bin/uniq. Don't worry if any of the following aren't found... ar is in /usr/bin/ar. cpp is in /usr/bin/cpp. date is in /usr/bin/date. egrep is in /usr/bin/egrep. I don't see inews out there, offhand. I don't see line out there, either. ln is in /usr/bin/ln. I don't see mail out there, either. nm is in /usr/bin/nm. nroff is in /usr/bin/nroff. perl is in /usr/bin/perl. I don't see rmail out there, either. I don't see sendmail out there, either. I don't see smail out there, either. test is in /usr/bin/test. uname is in /usr/bin/uname. I don't see vi out there, either. wc is in /usr/bin/wc. zcat is in /bin/zcat. Using the test built into your sh. Checking compatibility between /usr/bin/echo and builtin echo (if any)... They are not compatible! You are probably running ksh on a non-USG system. I'll have to use /usr/bin/echo instead of the builtin, since Bourne shell doesn't have echo built in and we may have to run some Bourne shell scripts. That means I'll have to use '-n' to suppress newlines now. Life is ridiculous. The star should be here-->* Symbolic links are supported. Checking how to test for symbolic links... Your builtin 'test -h' may be broken. Trying external '/usr/bin/test -h'. You can test for symbolic links with '/usr/bin/test -h'. Good, your tr supports [:lower:] and [:upper:] to convert case. Using [:upper:] and [:lower:] to convert case. Configure uses the operating system name and version to set some defaults. The default value is probably right if the name rings a bell. Otherwise, since spelling matters for me, either accept the default or answer "none" to leave it blank. Operating system name? [linux] Operating system version? [6.12.43+deb13-cloud-arm64] I can set things up so that your shell scripts and binaries are more portable, at what may be a noticable cost in performance. In particular, if you ask to be portable, the following happens: 1) Shell scripts will rely on the PATH variable rather than using the paths derived above. 2) ~username interpretations will be done at run time rather than by Configure. 3) The system name will be determined at run time, if at all possible. Do you expect to run these scripts and binaries on multiple machines? [n] By default, mailagent will be installed in /usr/local/bin, manual pages under /usr/local/man, etc..., i.e. with /usr/local as prefix for all installation directories. Typically set to /usr/local, but you may choose /usr if you wish to install mailagent among your system binaries. If you wish to have binaries under /bin but manual pages under /usr/local/man, that's ok: you will be prompted separately for each of the installation directories, the prefix being only used to set the defaults. Installation prefix to use? (~name ok) [/usr/local] AFS does not seem to be running... Pathname where the public executables will reside? (~name ok) [/usr/local/bin] System manual is in /usr/share/man/man1. Mailagent has manual pages available in source form. If you don't want the manual sources installed, answer 'none'. Where do the manual pages (source) go? (~name ok) [/usr/share/man/man1] There are some auxiliary files for mailagent that need to be put into a private library directory that is accessible by everyone. Pathname where the private library files will reside? (~name ok) [/usr/share/mailagent] Some installations have a separate directory just for executable scripts so that they can mount it across multiple architectures but keep the scripts in one spot. You might, for example, have a subdirectory of /usr/share for this. Or you might just lump your scripts in with all your other executables. Where do you keep publicly executable scripts? (~name ok) [/usr/local/bin] Where is perl located on your system? (~name ok) [/usr/bin/perl] Use which C compiler? [cc] Hmm... Looks kind of like a GNU/Linux system, but we'll see... Congratulations. You aren't running Eunice. It's not Xenix... Nor is it Venix... Checking for GNU cc in disguise and/or its version number... You are using GNU cc 15. Hmm... Doesn't look like a MIPS system. Where are the include files you want to use? [/usr/include] Now, how can we feed standard input to your C preprocessor... Maybe "cc -E" will work... Nope...maybe "cc -E -" will work... Yup, it does. Some systems have incompatible or broken versions of libraries. Among the directories listed in the question below, please remove any you know not to be holding relevant libraries, and add any that are needed. Say "none" for none. Directories to use for library searches? [/lib /usr/lib /usr/local/lib /usr/lib/aarch64-linux-gnu] With the GNU C compiler, it is possible to supply both -O2 and -g flags, to be able to reasonably optimize, whilst retaining the ability to use a symbolic debugger. Either flag can be specified here. To use neither flag, specify the word "none". What optimizer/debugger flag should be used? [-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard] Your C compiler may want other flags. For this question you should include -I/whatever and -DWHATEVER flags and any other flags used by the C compiler, but you should NOT include libraries or ld flags like -lwhatever. To use no flags, specify the word "none". Any additional cc flags? [-fpcc-struct-return -Wall] Let me guess what the preprocessor flags are... They appear to be: -fpcc-struct-return -Wall -D__GNUC__ Your C linker may need flags. For this question you should include -L/whatever and any other flags used by the C linker, but you should NOT include libraries like -lwhatever. Make sure you include the appropriate -L/path flags if your C linker does not normally search all of the directories you specified above, namely /lib /usr/lib /usr/local/lib /usr/lib/aarch64-linux-gnu To use no flags, specify the word "none". Any additional ld flags (NOT including libraries)? [-Wl,-z,relro] Checking your choice of C compiler and flags for coherency... OK, that should do. Computing filename position in cpp output for #include directives... Your cpp writes the filename in the third field of the line. found. Checking for access()... found. defines the *_OK access constants. Checking for bcopy()... found. Checking whether you have the BSD flavour of setpgrp()... no. Checking whether you have the USG flavour of setpgrp() then... yes. Checking for dup2()... found. Checking for fcntl()... found. You can have filenames longer than 14 characters. Figuring out host name... Your host name appears to be "localhost". Right? [y] What is your domain name? [localdomain] On some systems, shared libraries may be available. Answer 'none' if you want to suppress searching of shared libraries for the remainder of this configuration. What is the file extension used for shared libraries? [so] Checking for optional libraries... No -lc_s. In order to compile mailagent on your machine, a number of libraries are usually needed. Include any other special libraries here as well. Say "none" for none. The default list is almost always right. Which libraries to use? [none] Checking for GNU C Library... You are using the GNU C Library version 2.41 I can use /usr/bin/nm to extract the symbols from your C libraries. This is a time consuming task which may generate huge output on the disk (up to 3 megabytes) but that should make the symbols extraction faster. The alternative is to skip the 'nm' extraction part and to compile a small test program instead to determine whether each symbol is present. If you have a fast C compiler and/or if your 'nm' output cannot be parsed, this may be the best solution. Shall I use nm to extract C symbols from the libraries? [n] gethostname() found. Every now and then someone has a gethostname() that lies about the hostname but can't be fixed for political or economic reasons. If you wish, I can pretend gethostname() isn't there and maybe compile in the hostname or compute it from the '' command at run-time. Shall I ignore gethostname() from now on? [n] Checking for getopt()... found. Checking for strchr()... found. Checking for index()... found. defines the O_* constants... and you have the 3 argument form of open(). Checking for rename()... found. Checking for setpgid()... found. Checking for setrgid()... missing. Checking for setruid()... missing. Checking for setsid()... found. Checking for strcasecmp()... found. strerror() found. (Since you don't have sys_errlist[], sterror() is welcome.) (However, I can't extract the symbolic error code out of errno.) No trace of 'union wait' in ... Your wait() should be happy with a plain 'int' pointer. Checking vfork... yes. Some systems have problems with vfork(). Do you want to use it? [y] Guessing which symbols your C compiler and preprocessor define... comm: file 1 is not in sorted order comm: input is not in sorted order comm: file 1 is not in sorted order comm: input is not in sorted order comm: file 1 is not in sorted order comm: input is not in sorted order Your C pre-processor defines the following symbols: __ELF__ __GLIBC__ __GLIBC_MINOR__ __GNUC__ __GNUC_MINOR__ __GNU_LIBRARY__ _LP64 __LP64__ __PIC__ _POSIX_C_SOURCE _POSIX_SOURCE __STDC__ __USE_MISC __USE_POSIX __USE_POSIX199309 __USE_POSIX199506 __USE_POSIX2 linux __linux __linux__ __pic__ unix __unix __unix__ You have POSIX termios.h... good! NOT found. found. Closing standard file descriptors should void tty association. Let's see whether you can use the WIFEXITED(status) macro and its friends with status declared as 'int status'... Apparently you can't use WIFxxx macros properly. Checking to see how your cpp does stuff like catenate tokens... Oh! Smells like ANSI's been here. We can catify or stringify, separately or together! What is the default editor on your system? [/usr/ae] File /usr/ae doesn't exist. Use that name anyway? [y] Checking for flock()... found. Will use .lock type mailbox locking. Some sites are on "hidden" networks, in the sense that the network appears to the outside world as a single machine. The advertised name of any host on this hidden network is the name of one machine on the local network which knows how to forward mail to any other host on the hidden network. Do you wish to advertise a different hostname to the world than the one your own host (localhost.localdomain) has? Use "hidden" network? [n] Looking for a BSD-compatible install program... (I can't seem to compile a trivial C program -- bypassing.) Checking /usr/bin/install... not good. Checking /bin/install... not good either. Hopefully, mailagent comes with its own install script! I will be requiring a BSD-compatible install program (one that allows options like -s to strip executables or -m to specify a file mode) to install mailagent. If the question below contains a fully qualified default path, then it is probably ok. If it is an unqualified name such as 'install', then it means I was unable to find out a good install program I could use. If you know of one, please tell me about it. If the default is './install', then I shall be using the install script supplied with mailagent. Which install program shall I use? (~name ok) [./install] Ok, let's see how we can create nested directories... Great, we can build them using 'mkdir -p'. Checking to see how big your ints are... 4 bytes. Some systems have different model sizes. On most systems they are called small, medium, large, and huge. On the PDP11 they are called unsplit and split. If your system doesn't support different memory models, say "none". If you wish to force everything to one memory model, say "none" here and put the appropriate flags later when it asks you for other cc and ld flags. Venix systems may wish to put "none" and let the compiler figure things out. (In the following question multiple model names should be space separated.) The default for most systems is "none". Which memory models are supported? [none] Where is yet-to-be-read mail spooled? (~name ok) [/var/spool/mail] I need the full pathname of the program used to deliver mail on your system. A typical answer would be /usr/lib/sendmail or /bin/rmail, but you may choose any other program, as long as it can be fed from standard input and will honour any user-supplied headers. Mail transport agent to be used? [mail] File mail doesn't exist. Use that name anyway? [y] In the following question, you may use %~ to represent the user's home directory, and %L to represent a users name. In which file is yet-to-be-read mail spooled? (~name ok) [/var/spool/mail/%L] Checking how to generate makefile dependencies on your machine... Looks like we can use /usr/bin/cpp -M. Name of program to make makefile dependencies? (~name ok) [/build/reproducible-path/mailagent-3.1-106/mkdep] Please type the name of your organization as you want it to appear on the Organization line of outgoing articles. (It's nice if this also specifies your location. Your city name is probably sufficient if well known.) For example: University of Southern North Dakota, Hoople You may also put the name of a file, as long as it begins with a slash. For example: /etc/organization Organization: [/etc/news/organization] Getting the current patchlevel / revision... (You have mailagent 3.1-106) What type are process ids on this system declared as? [pid_t] Checking out function prototypes... Your C compiler appears to support function prototypes. Different C compilers on different machines pay attention to different numbers of register declarations. About how many register declarations in each routine does your C compiler pay attention to? (OK to guess) Maximum register declarations? [6] Root uid = 0 I can't determine whether signal handler returns void or int... What type does your signal handler return? [void] I can use the #! construct to start perl on your system. This will make startup of perl scripts faster, but may cause problems if you want to share those scripts and perl is not in a standard place (/usr/bin/perl) on all your platforms. The alternative is to force a shell by starting the script with a single ':' character. Shall I use #! to start up perl? [y] time() found. What type is returned by time() on this system? [time_t] What is the type for user ids returned by getuid()? [uid_t] Where is the utmp file recording logins? [/var/run/utmp] File /var/run/utmp doesn't exist. Use that name anyway? [y] Checking to see how well your C compiler groks the void type... Good. It appears to support void to the level mailagent wants. However, you might get some warnings that look like this: try.c: In function 'sub': try.c:15:14: warning: variable 'iptr' set but not used [-Wunused-but-set-variable] 15 | int *iptr; | ^~~~ found. We'll be including . found. We don't need to include if we include . found. found. Using instead of . found. Testing to see if we should include , or both. I'm now running the test program...... Succeeded with -DI_TIME -DI_SYSTIME -DS_TIMEVAL We'll include . We'll include . found. found. Does your /etc/passwd file keep full names in Berkeley/V7 format (name first thing after ':' in GCOS field)? In that case, a typical entry in the password file looks like this: guest:**paswword**:10:100:Mister Guest User:/usr/users:/bin/sh ^^^^^^^^^^^^^^^^^ Berkeley/V7 format for full name in /etc/passwd? [y] Pleased to meet you, . I need to get your e-mail address in Internet format if possible, i.e. something like user@host.domain. Please answer accurately since I have no easy means to double check it. The default value provided below is most probably close to reality but may not be valid from outside your organization... What is your e-mail address? [srivasta@debian.org] There is a mailing list for discussion about mailagent and related issues. This is the preferred place to ask questions about the program and discuss modifications and additions with the author and other users. If you are able to send mail to the Internet, you are encouraged to subscribe. You need only ever subscribe once, and you can unsubscribe automatically at any time in the future. If you have already subscribed and you wish to unsubscribe now, you may do so by answering "unsubscribe". Answer "subscribe" to subscribe to the list. Subscribe to or unsubscribe from the agent-users mailing list? [neither] End of configuration questions. I see a config.over file. Do you wish to load it? [y] Configuration override changes have been loaded. Creating config.sh... Generating revision.h... Doing variable substitutions on .SH files... Extracting Makefile (with variable substitutions) Extracting agent/Makefile (with variable substitutions) Extracting agent/edusers (with variable substitutions) Extracting agent/examples/Makefile (with variable substitutions) Extracting agent/files/Makefile (with variable substitutions) Extracting agent/files/help/Makefile (with variable substitutions) Extracting agent/files/help/addauth (with variable substitutions) Extracting agent/files/help/approve (with variable substitutions) Extracting agent/files/help/delpower (with variable substitutions) Extracting agent/files/help/end (with variable substitutions) Extracting agent/files/help/getauth (with variable substitutions) Extracting agent/files/help/help (with variable substitutions) Extracting agent/files/help/newpower (with variable substitutions) Extracting agent/files/help/passwd (with variable substitutions) Extracting agent/files/help/password (with variable substitutions) Extracting agent/files/help/power (with variable substitutions) Extracting agent/files/help/release (with variable substitutions) Extracting agent/files/help/remauth (with variable substitutions) Extracting agent/files/help/set (with variable substitutions) Extracting agent/files/help/setauth (with variable substitutions) Extracting agent/files/help/user (with variable substitutions) Extracting agent/filter/Makefile (with variable substitutions) Extracting agent/maildist (with variable substitutions) Extracting agent/mailhelp (with variable substitutions) Extracting agent/maillist (with variable substitutions) Extracting agent/mailpatch (with variable substitutions) Extracting agent/man/Makefile (with variable substitutions) Extracting agent/man/edusers.1 (with variable substitutions) Extracting agent/man/mailagent.1 (with variable substitutions) Extracting agent/man/maildist.1 (with variable substitutions) Extracting agent/man/mailhelp.1 (with variable substitutions) Extracting agent/man/maillist.1 (with variable substitutions) Extracting agent/man/mailpatch.1 (with variable substitutions) Extracting agent/man/package.1 (with variable substitutions) Extracting agent/package (with variable substitutions) Extracting agent/pl/Makefile (with variable substitutions) Extracting agent/pl/termios/Makefile (with variable substitutions) Extracting agent/pl/utmp/Makefile (with variable substitutions) Extracting agent/test/Makefile (with variable substitutions) Extracting config.h (with variable substitutions) Extracting install (with variable substitutions) Now you need to generate make dependencies by running "/usr/bin/make depend". You might prefer to run it in background: "/usr/bin/make depend > makedepend.out &" It can take a while, so you might not want to run it right now. Run /usr/bin/make depend now? [y] make[2]: Entering directory '/build/reproducible-path/mailagent-3.1-106' Depending in agent... make[3]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent' Depending in agent/pl... make[4]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent/pl' Depending in agent/pl/termios... make[5]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/termios' (/usr/bin/sed '/^# DO NOT DELETE/q' Makefile && \ /build/reproducible-path/mailagent-3.1-106/mkdep -I../../.. -fpcc-struct-return -Wall -D__GNUC__ -- termios_ph.c | \ /usr/bin/sed -e 's:/usr/lib[^ ]*::g; s:/usr/include[^ ]*::g; ' \ -e '/: / b print' -e '$ b print' -e 'H; d; n; : print' \ -e 'x; s/\\$//; s/\\\n//g; s/ */ /g; s/ :/:/;' -e '/: *$/d' \ ) > Makefile.new cp Makefile Makefile.bak cp Makefile.new Makefile /usr/bin/rm -f Makefile.new make[5]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/termios' Depending in agent/pl/utmp... make[5]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/utmp' (/usr/bin/sed '/^# DO NOT DELETE/q' Makefile && \ /build/reproducible-path/mailagent-3.1-106/mkdep -I../../.. -- utmp_ph.c | \ /usr/bin/sed 's/: \.\//: /; s/\/usr\/include[^ ]*//g; /^[ ]*\\$/d' \ ) > Makefile.new cp Makefile Makefile.bak cp Makefile.new Makefile /usr/bin/rm -f Makefile.new make[5]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/utmp' make[4]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent/pl' Depending in agent/filter... make[4]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent/filter' (/usr/bin/sed '/^# DO NOT DELETE/q' Makefile && \ /build/reproducible-path/mailagent-3.1-106/mkdep -I../.. -- environ.c hash.c io.c lock.c logfile.c main.c misc.c msg.c parser.c user.c getopt.c dup2.c | \ /usr/bin/sed -e 's:/usr/include[^ ]*::g; s:/usr/include[^ ]*::g; ' \ -e '/: / b print' -e 'H; d; n; : print' -e 'x; s/\\\n//g' \ -e 's/ */ /g; s/ :/:/;' -e '/: *$/d' \ ) > Makefile.new cp Makefile Makefile.bak cp Makefile.new Makefile /usr/bin/rm -f Makefile.new make[4]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent/filter' (/usr/bin/sed '/^# DO NOT DELETE/q' Makefile && \ grep '^\$grep' mailpatch.SH mailhelp.SH maillist.SH maildist.SH package.SH edusers.SH magent.sh | \ /usr/bin/sed -e "s/^.*' \([^ ]*\) >>\(.*\)/\2: \1/" \ ) > Makefile.new cp Makefile Makefile.bak cp Makefile.new Makefile /usr/bin/rm -f Makefile.new make[3]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent' make[2]: Leaving directory '/build/reproducible-path/mailagent-3.1-106' Now you must run '/usr/bin/make'. make[1]: Leaving directory '/build/reproducible-path/mailagent-3.1-106' debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/mailagent-3.1-106' dh_auto_build make -j12 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/reproducible-path/mailagent-3.1-106' ./bin/svn-revision . revision.h make[3]: Entering directory '/build/reproducible-path/mailagent-3.1-106' Making all in agent... make[4]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent' make[4]: warning: -j12 forced in submake: resetting jobserver mode. Checking utmp.pl in pl/utmp... cd pl/utmp; make utmp.pl Checking termios.pl in pl/termios... cd pl/termios; make termios.pl make[5]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/utmp' cc -c -I../../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall utmp_ph.c make[5]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/termios' cc -c -I../../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall termios_ph.c termios_ph.c: In function 'main': termios_ph.c:88:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 88 | int row_off = (int) &win->ws_row; /* Offset of ws_row */ | ^ termios_ph.c:89:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 89 | int col_off = (int) &win->ws_col; /* Offset of ws_col */ | ^ termios_ph.c:147:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 147 | printf("$length = %d;\t\t\t# sizeof(struct winsize)\n", | ~^ | | | int | %ld 148 | sizeof(struct winsize)); | ~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int utmp_ph.c: In function 'main': utmp_ph.c:151:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 151 | printf("$length = %d;\t\t\t\t\t# sizeof(struct utmp)\n", | ~^ | | | int | %ld 152 | sizeof(struct utmp)); | ~~~~~~~~~~~~~~~~~~~ | | | long unsigned int /usr/bin/rm -f termios_ph if test -f termios_ph; then \ /usr/bin/mv termios_ph termios_ph~; fi cc -o termios_ph termios_ph.o -Wl,-z,relro -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z,relro /usr/bin/rm -f utmp_ph if test -f utmp_ph; then /usr/bin/mv utmp_ph utmp_ph~; else exit 0; fi cc -o utmp_ph utmp_ph.o -Wl,-z,relro -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z,relro /bin/sh termios_pl.sh Extracting agent/pl/termios/termios.pl (with variable substitutions) make[5]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/termios' Continuing in agent... /bin/sh utmp_pl.sh Extracting agent/pl/utmp/utmp.pl (with variable substitutions) make[5]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/utmp' Continuing in agent... /bin/sh magent.sh Extracting agent/magent (with variable substitutions) perl ../bin/perload -o magent > mailagent chmod +rx mailagent make[5]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent' Making all in agent/pl... make[6]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent/pl' make[6]: warning: -j12 forced in submake: resetting jobserver mode. make[7]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent/pl' Making all in agent/pl/termios... make[8]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/termios' make[8]: warning: -j12 forced in submake: resetting jobserver mode. make[8]: Nothing to be done for 'all'. make[8]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/termios' Making all in agent/pl/utmp... make[8]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/utmp' make[8]: warning: -j12 forced in submake: resetting jobserver mode. make[8]: Nothing to be done for 'all'. make[8]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/utmp' make[7]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent/pl' make[6]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent/pl' Making all in agent/filter... make[6]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent/filter' make[6]: warning: -j12 forced in submake: resetting jobserver mode. cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall environ.c cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall hash.c cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall io.c cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall lock.c cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall logfile.c cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall main.c cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall misc.c cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall msg.c cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall parser.c cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall user.c cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall getopt.c cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall dup2.c environ.c: In function 'print_env': environ.c:72:13: warning: old-style function definition [-Wold-style-definition] 72 | public void print_env(fd, envp) | ^~~~~~~~~ environ.c: In function 'init_env': environ.c:84:12: warning: old-style function definition [-Wold-style-definition] 84 | public int init_env(envp) | ^~~~~~~~ environ.c:95:19: error: too many arguments to function 'ht_create'; expected 0, have 2 95 | if (-1 == ht_create(&henv, ENV_VARS)) | ^~~~~~~~~ ~~~~~ In file included from environ.c:40: hash.h:45:12: note: declared here 45 | extern int ht_create(); /* Create H table */ | ^~~~~~~~~ environ.c:102:25: error: too many arguments to function 'add_log'; expected 0, have 2 102 | add_log(6, "WARNING bad environment line"); | ^~~~~~~ ~ In file included from environ.c:39: logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c:106:35: error: too many arguments to function 'ht_put'; expected 0, have 3 106 | if ((char *) 0 == ht_put(&henv, env_line, ptr + 1)) { | ^~~~~~ ~~~~~ hash.h:47:14: note: declared here 47 | extern char *ht_put(); /* Insert value in H table */ | ^~~~~~ environ.c:107:25: error: too many arguments to function 'add_log'; expected 0, have 2 107 | add_log(4, "ERROR cannot record environment any more"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c: In function 'append_env': environ.c:115:12: warning: old-style function definition [-Wold-style-definition] 115 | public int append_env(key, value) | ^~~~~~~~~~ environ.c:127:16: error: too many arguments to function 'ht_value'; expected 0, have 2 127 | cval = ht_value(&henv, key); | ^~~~~~~~ ~~~~~ hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ environ.c:129:35: error: too many arguments to function 'ht_put'; expected 0, have 3 129 | if ((char *) 0 == ht_put(&henv, key, value)) { | ^~~~~~ ~~~~~ hash.h:47:14: note: declared here 47 | extern char *ht_put(); /* Insert value in H table */ | ^~~~~~ environ.c:130:25: error: too many arguments to function 'add_log'; expected 0, have 3 130 | add_log(1, "ERROR cannot insert environment variable '%s'", key); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c:138:17: error: too many arguments to function 'add_log'; expected 0, have 3 138 | add_log(1, "ERROR cannot append to environment variable '%s'", key); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c:142:27: error: too many arguments to function 'ht_force'; expected 0, have 3 142 | if ((char *) 0 == ht_force(&henv, key, env_line)) { | ^~~~~~~~ ~~~~~ hash.h:48:14: note: declared here 48 | extern char *ht_force(); /* Like ht_put, but replace old value */ | ^~~~~~~~ environ.c:143:17: error: too many arguments to function 'add_log'; expected 0, have 3 143 | add_log(1, "ERROR cannot update environment variable '%s'", key); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c: In function 'prepend_env': environ.c:150:12: warning: old-style function definition [-Wold-style-definition] 150 | public int prepend_env(key, value) | ^~~~~~~~~~~ environ.c:162:16: error: too many arguments to function 'ht_value'; expected 0, have 2 162 | cval = ht_value(&henv, key); | ^~~~~~~~ ~~~~~ hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ environ.c:164:35: error: too many arguments to function 'ht_put'; expected 0, have 3 164 | if ((char *) 0 == ht_put(&henv, key, value)) { | ^~~~~~ ~~~~~ hash.h:47:14: note: declared here 47 | extern char *ht_put(); /* Insert value in H table */ | ^~~~~~ environ.c:165:25: error: too many arguments to function 'add_log'; expected 0, have 3 165 | add_log(1, "ERROR cannot insert environment variable '%s'", key); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c:173:17: error: too many arguments to function 'add_log'; expected 0, have 3 173 | add_log(1, "ERROR cannot prepend to environment variable '%s'", key); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c:177:27: error: too many arguments to function 'ht_force'; expected 0, have 3 177 | if ((char *) 0 == ht_force(&henv, key, env_line)) { | ^~~~~~~~ ~~~~~ hash.h:48:14: note: declared here 48 | extern char *ht_force(); /* Like ht_put, but replace old value */ | ^~~~~~~~ environ.c:178:17: error: too many arguments to function 'add_log'; expected 0, have 3 178 | add_log(1, "ERROR cannot update environment variable '%s'", key); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c: In function 'set_env': environ.c:185:12: warning: old-style function definition [-Wold-style-definition] 185 | public int set_env(key, value) | ^~~~~~~ environ.c:193:16: error: too many arguments to function 'ht_value'; expected 0, have 2 193 | cval = ht_value(&henv, key); | ^~~~~~~~ ~~~~~ hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ environ.c:195:35: error: too many arguments to function 'ht_put'; expected 0, have 3 195 | if ((char *) 0 == ht_put(&henv, key, value)) { | ^~~~~~ ~~~~~ hash.h:47:14: note: declared here 47 | extern char *ht_put(); /* Insert value in H table */ | ^~~~~~ environ.c:196:25: error: too many arguments to function 'add_log'; expected 0, have 3 196 | add_log(1, "ERROR cannot insert environment variable '%s'", key); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c:202:27: error: too many arguments to function 'ht_force'; expected 0, have 3 202 | if ((char *) 0 == ht_force(&henv, key, value)) { | ^~~~~~~~ ~~~~~ hash.h:48:14: note: declared here 48 | extern char *ht_force(); /* Like ht_put, but replace old value */ | ^~~~~~~~ environ.c:203:17: error: too many arguments to function 'add_log'; expected 0, have 3 203 | add_log(1, "ERROR cannot update environment variable '%s'", key); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c: In function 'get_env': environ.c:210:14: warning: old-style function definition [-Wold-style-definition] 210 | public char *get_env(key) | ^~~~~~~ environ.c:213:16: error: too many arguments to function 'ht_value'; expected 0, have 2 213 | return ht_value(&henv, key); /* Pointer to string value, or null */ | ^~~~~~~~ ~~~~~ hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ environ.c: In function 'make_env': environ.c:228:19: error: too many arguments to function 'ht_count'; expected 0, have 1 228 | nb_line = ht_count(&henv) + 1; /* Envp ends with a null pointer */ | ^~~~~~~~ ~~~~~ hash.h:54:12: note: declared here 54 | extern int ht_count(); /* Number of items in H table */ | ^~~~~~~~ environ.c:230:17: error: too many arguments to function 'add_log'; expected 0, have 2 230 | add_log(6, "NOTICE environment is empty"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c:235:17: error: too many arguments to function 'fatal'; expected 0, have 1 235 | fatal("out of memory"); | ^~~~~ ~~~~~~~~~~~~~~~ In file included from environ.c:41: msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ environ.c:237:19: error: too many arguments to function 'ht_start'; expected 0, have 1 237 | if (-1 == ht_start(&henv)) | ^~~~~~~~ ~~~~~ hash.h:50:12: note: declared here 50 | extern int ht_start(); /* Start iteration over H table */ | ^~~~~~~~ environ.c:238:17: error: too many arguments to function 'fatal'; expected 0, have 1 238 | fatal("environment H table botched"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ environ.c:241:48: error: too many arguments to function 'ht_next'; expected 0, have 1 241 | for (ptr = envp; --nb_line > 0; (void) ht_next(&henv), ptr++) { | ^~~~~~~ ~~~~~ hash.h:51:12: note: declared here 51 | extern int ht_next(); /* Go to next item in H table */ | ^~~~~~~ environ.c:242:29: error: too many arguments to function 'ht_ckey'; expected 0, have 1 242 | char *key = ht_ckey(&henv); | ^~~~~~~ ~~~~~ hash.h:52:14: note: declared here 52 | extern char *ht_ckey(); /* Fetch current key */ | ^~~~~~~ environ.c:243:31: error: too many arguments to function 'ht_cvalue'; expected 0, have 1 243 | char *value = ht_cvalue(&henv); | ^~~~~~~~~ ~~~~~ hash.h:53:14: note: declared here 53 | extern char *ht_cvalue(); /* Fetch current value */ | ^~~~~~~~~ environ.c:245:25: error: too many arguments to function 'add_log'; expected 0, have 3 245 | add_log(1, "ERROR can't propagate environment variable %s", key); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c:246:25: error: too many arguments to function 'fatal'; expected 0, have 1 246 | fatal("environment line too big"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ environ.c:249:24: error: too many arguments to function 'strsave'; expected 0, have 1 249 | *ptr = strsave(env_line); | ^~~~~~~ ~~~~~~~~ environ.c:70:14: note: declared here 70 | extern char *strsave(); /* String saving */ | ^~~~~~~ environ.c:251:25: error: too many arguments to function 'fatal'; expected 0, have 1 251 | fatal("no more memory for environment"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ hash.c: In function 'ht_create': lock.c: In function 'filter_lock': make[6]: *** [Makefile:38: environ.o] Error 1 lock.c:85:12: warning: old-style function definition [-Wold-style-definition] 85 | public int filter_lock(dir) | ^~~~~~~~~~~ lock.c:87:1: error: number of arguments doesn't match prototype 87 | { | ^ In file included from lock.c:74: lock.h:39:12: error: prototype declaration 39 | extern int filter_lock(); /* Lock filter */ | ^~~~~~~~~~~ make[6]: *** Waiting for unfinished jobs.... lock.c:96:17: error: too many arguments to function 'add_log'; expected 0, have 2 96 | add_log(1, "SYSERR stat: %m (%e)"); | ^~~~~~~ ~ In file included from lock.c:73: logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ lock.c:97:17: error: too many arguments to function 'add_log'; expected 0, have 3 97 | add_log(2, "ERROR can't stat directory %s", dir); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ lock.c:103:18: error: too many arguments to function 'file_lock'; expected 0, have 3 103 | if (0 == file_lock(lockfile, "filter", 0)) | ^~~~~~~~~ ~~~~~~~~ lock.h:43:12: note: declared here 43 | extern int file_lock(); /* Lock arbitrary file */ | ^~~~~~~~~ lock.c: In function 'release_lock': lock.c:114:9: error: too many arguments to function 'file_unlock'; expected 0, have 1 114 | file_unlock(lockfile); | ^~~~~~~~~~~ ~~~~~~~~ lock.h:44:13: note: declared here 44 | extern void file_unlock(); /* Unlock arbitrary file */ | ^~~~~~~~~~~ lock.c: In function 'check_lock': lock.c:141:12: warning: old-style function definition [-Wold-style-definition] 141 | public int check_lock(file, name) | ^~~~~~~~~~ lock.c:144:1: error: number of arguments doesn't match prototype 144 | { | ^ lock.h:41:12: error: prototype declaration 41 | extern int check_lock(); /* Check lock for excessive lifetime */ | ^~~~~~~~~~ lock.c:160:17: error: too many arguments to function 'add_log'; expected 0, have 2 160 | add_log(1, "SYSERR stat: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ lock.c:161:17: error: too many arguments to function 'add_log'; expected 0, have 3 161 | add_log(2, "could not check lockfile %s", file); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ lock.c:169:16: error: too many arguments to function 'get_confval'; expected 0, have 3 169 | hold = get_confval("lockhold", CF_DEFAULT, MAX_TIME); | ^~~~~~~~~~~ ~~~~~~~~~~ In file included from lock.c:71: parser.h:46:12: note: declared here 46 | extern int get_confval(); /* Get configuration value (integer) */ | ^~~~~~~~~~~ lock.c:175:13: error: too many arguments to function 'time'; expected 0, have 1 175 | if (time((Time_t *) 0) - buf.st_mtime > hold) { | ^~~~ ~~~~~~~~~~~~ lock.c:83:15: note: declared here 83 | extern Time_t time(); /* Current time */ | ^~~~ lock.c:177:25: error: too many arguments to function 'add_log'; expected 0, have 2 177 | add_log(1, "SYSERR unlink: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ lock.c:178:25: error: too many arguments to function 'add_log'; expected 0, have 3 178 | add_log(4, "WARNING could not remove old lock %s", file); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ lock.c:181:25: error: too many arguments to function 'add_log'; expected 0, have 4 181 | add_log(6, "UNLOCKED %s (lock older than %d seconds)", name, hold); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ lock.c:185:17: error: too many arguments to function 'add_log'; expected 0, have 4 185 | add_log(16, "lockfile for %s is recent (%d seconds or less)", | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ lock.c: In function 'file_lock': lock.c:191:12: warning: old-style function definition [-Wold-style-definition] 191 | public int file_lock(path, name, max_loops) | ^~~~~~~~~ lock.c:195:1: error: number of arguments doesn't match prototype 195 | { | ^ lock.h:43:12: error: prototype declaration 43 | extern int file_lock(); /* Lock arbitrary file */ | ^~~~~~~~~ lock.c:202:16: error: too many arguments to function 'check_lock'; expected 0, have 2 202 | (void) check_lock(lockpath, name); | ^~~~~~~~~~ ~~~~~~~~ lock.c:141:12: note: declared here 141 | public int check_lock(file, name) | ^~~~~~~~~~ lock.c:208:25: error: too many arguments to function 'add_log'; expected 0, have 3 208 | add_log(1, "ERROR can't create %s: %m (%e)", lockpath); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ lock.c: In function 'file_unlock': lock.c:221:6: warning: old-style function definition [-Wold-style-definition] 221 | void file_unlock(path) | ^~~~~~~~~~~ lock.c:223:1: error: number of arguments doesn't match prototype 223 | { | ^ lock.h:44:13: error: prototype declaration 44 | extern void file_unlock(); /* Unlock arbitrary file */ | ^~~~~~~~~~~ lock.c:231:17: error: too many arguments to function 'add_log'; expected 0, have 2 231 | add_log(1, "SYSERR unlink: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ lock.c:232:17: error: too many arguments to function 'add_log'; expected 0, have 3 232 | add_log(4, "WARNING could not remove lock file %s", lockpath); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ hash.c:64:12: warning: old-style function definition [-Wold-style-definition] 64 | public int ht_create(ht, n) | ^~~~~~~~~ hash.c:67:1: error: number of arguments doesn't match prototype 67 | { | ^ In file included from hash.c:49: hash.h:45:12: error: prototype declaration 45 | extern int ht_create(); /* Create H table */ | ^~~~~~~~~ hash.c:78:17: error: too many arguments to function 'nprime'; expected 0, have 1 78 | hsize = nprime((5 * n) / 4); /* Table's size */ | ^~~~~~ ~~~~~~~~~~~ hash.c:60:16: note: declared here 60 | private uint32 nprime(); /* Find next prime number */ | ^~~~~~ hash.c: In function 'ht_value': hash.c:98:14: warning: old-style function definition [-Wold-style-definition] 98 | public char *ht_value(ht, skey) | ^~~~~~~~ hash.c:101:1: error: number of arguments doesn't match prototype 101 | { | ^ hash.h:46:14: error: prototype declaration 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ hash.c:116:15: error: too many arguments to function 'hashcode'; expected 0, have 1 116 | key = hashcode(skey); | ^~~~~~~~ ~~~~ hash.c:58:16: note: declared here 58 | private uint32 hashcode(); /* The hahsing function */ | ^~~~~~~~ hash.c: In function 'ht_put': hash.c:132:14: warning: old-style function definition [-Wold-style-definition] 132 | public char *ht_put(ht, skey, val) | ^~~~~~ hash.c:136:1: error: number of arguments doesn't match prototype 136 | { | ^ hash.h:47:14: error: prototype declaration 47 | extern char *ht_put(); /* Insert value in H table */ | ^~~~~~ hash.c:154:17: error: too many arguments to function 'ht_xtend'; expected 0, have 1 154 | ht_xtend(ht); | ^~~~~~~~ ~~ hash.h:49:12: note: declared here 49 | extern int ht_xtend(); /* Extend size of full H table */ | ^~~~~~~~ hash.c:158:15: error: too many arguments to function 'hashcode'; expected 0, have 1 158 | key = hashcode(skey); | ^~~~~~~~ ~~~~ hash.c:58:16: note: declared here 58 | private uint32 hashcode(); /* The hahsing function */ | ^~~~~~~~ hash.c:166:38: error: too many arguments to function 'strsave'; expected 0, have 1 166 | hkeys[pos] = strsave(skey); /* Record item */ | ^~~~~~~ ~~~~ hash.c:62:14: note: declared here 62 | extern char *strsave(); /* Save string in memory */ | ^~~~~~~ hash.c:167:45: error: too many arguments to function 'strsave'; expected 0, have 1 167 | ht->h_values[pos] = strsave(val); /* Save string */ | ^~~~~~~ ~~~ hash.c:62:14: note: declared here 62 | extern char *strsave(); /* Save string in memory */ | ^~~~~~~ hash.c:171:25: error: too many arguments to function 'fatal'; expected 0, have 2 171 | fatal("H table key conflict: %s", skey); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from hash.c:50: msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ hash.c: In function 'ht_force': hash.c:177:14: warning: old-style function definition [-Wold-style-definition] 177 | public char *ht_force(ht, skey, val) | ^~~~~~~~ hash.c:181:1: error: number of arguments doesn't match prototype 181 | { | ^ hash.h:48:14: error: prototype declaration 48 | extern char *ht_force(); /* Like ht_put, but replace old value */ | ^~~~~~~~ hash.c:201:17: error: too many arguments to function 'ht_xtend'; expected 0, have 1 201 | ht_xtend(ht); | ^~~~~~~~ ~~ hash.h:49:12: note: declared here 49 | extern int ht_xtend(); /* Extend size of full H table */ | ^~~~~~~~ hash.c:205:15: error: too many arguments to function 'hashcode'; expected 0, have 1 205 | key = hashcode(skey); | ^~~~~~~~ ~~~~ hash.c:58:16: note: declared here 58 | private uint32 hashcode(); /* The hahsing function */ | ^~~~~~~~ hash.c:213:38: error: too many arguments to function 'strsave'; expected 0, have 1 213 | hkeys[pos] = strsave(skey); /* Record item */ | ^~~~~~~ ~~~~ hash.c:62:14: note: declared here 62 | extern char *strsave(); /* Save string in memory */ | ^~~~~~~ hash.c:214:45: error: too many arguments to function 'strsave'; expected 0, have 1 214 | ht->h_values[pos] = strsave(val); /* Save string */ | ^~~~~~~ ~~~ hash.c:62:14: note: declared here 62 | extern char *strsave(); /* Save string in memory */ | ^~~~~~~ hash.c:220:45: error: too many arguments to function 'strsave'; expected 0, have 1 220 | ht->h_values[pos] = strsave(val); /* Save string */ | ^~~~~~~ ~~~ hash.c:62:14: note: declared here 62 | extern char *strsave(); /* Save string in memory */ | ^~~~~~~ hash.c: In function 'ht_xtend': hash.c:228:12: warning: old-style function definition [-Wold-style-definition] 228 | public int ht_xtend(ht) | ^~~~~~~~ hash.c:230:1: error: number of arguments doesn't match prototype 230 | { | ^ hash.h:49:12: error: prototype declaration 49 | extern int ht_xtend(); /* Extend size of full H table */ | ^~~~~~~~ hash.c:245:19: error: too many arguments to function 'ht_create'; expected 0, have 2 245 | if (-1 == ht_create(&new_ht, size + (size / 2))) | ^~~~~~~~~ ~~~~~~~ hash.c:64:12: note: declared here 64 | public int ht_create(ht, n) | ^~~~~~~~~ hash.c:256:35: error: too many arguments to function 'ht_put'; expected 0, have 3 256 | if ((char *) 0 == ht_put(&new_ht, *key, *val)) { /* Failed */ | ^~~~~~ ~~~~~~~ hash.c:132:14: note: declared here 132 | public char *ht_put(ht, skey, val) | ^~~~~~ hash.c:259:25: error: too many arguments to function 'fatal'; expected 0, have 1 259 | fatal("BUG in ht_xtend"); | ^~~~~ ~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ hash.c: In function 'ht_start': hash.c:271:12: warning: old-style function definition [-Wold-style-definition] 271 | public int ht_start(ht) | ^~~~~~~~ hash.c:273:1: error: number of arguments doesn't match prototype 273 | { | ^ hash.h:50:12: error: prototype declaration 50 | extern int ht_start(); /* Start iteration over H table */ | ^~~~~~~~ hash.c: In function 'ht_next': hash.c:294:12: warning: old-style function definition [-Wold-style-definition] 294 | public int ht_next(ht) | ^~~~~~~ hash.c:296:1: error: number of arguments doesn't match prototype 296 | { | ^ hash.h:51:12: error: prototype declaration 51 | extern int ht_next(); /* Go to next item in H table */ | ^~~~~~~ hash.c: In function 'ht_ckey': hash.c:319:14: warning: old-style function definition [-Wold-style-definition] 319 | public char *ht_ckey(ht) | ^~~~~~~ hash.c:321:1: error: number of arguments doesn't match prototype 321 | { | ^ hash.h:52:14: error: prototype declaration 52 | extern char *ht_ckey(); /* Fetch current key */ | ^~~~~~~ hash.c: In function 'ht_cvalue': hash.c:327:14: warning: old-style function definition [-Wold-style-definition] 327 | public char *ht_cvalue(ht) | ^~~~~~~~~ hash.c:329:1: error: number of arguments doesn't match prototype 329 | { | ^ hash.h:53:14: error: prototype declaration 53 | extern char *ht_cvalue(); /* Fetch current value */ | ^~~~~~~~~ hash.c: In function 'ht_count': hash.c:335:12: warning: old-style function definition [-Wold-style-definition] 335 | public int ht_count(ht) | ^~~~~~~~ hash.c:337:1: error: number of arguments doesn't match prototype 337 | { | ^ hash.h:54:12: error: prototype declaration 54 | extern int ht_count(); /* Number of items in H table */ | ^~~~~~~~ hash.c: In function 'hashcode': hash.c:343:16: warning: old-style function definition [-Wold-style-definition] 343 | private uint32 hashcode(s) | ^~~~~~~~ hash.c: In function 'nprime': hash.c:359:16: warning: old-style function definition [-Wold-style-definition] 359 | private uint32 nprime(n) | ^~~~~~ hash.c:364:17: error: too many arguments to function 'prime'; expected 0, have 1 364 | while (!prime(n)) | ^~~~~ ~ hash.c:59:13: note: declared here 59 | private int prime(); /* Is a number a prime one? */ | ^~~~~ hash.c: In function 'prime': hash.c:370:13: warning: old-style function definition [-Wold-style-definition] 370 | private int prime(n) | ^~~~~ make[6]: *** [Makefile:38: lock.o] Error 1 msg.c: In function 'say': msg.c:63:13: warning: old-style function definition [-Wold-style-definition] 63 | public void say(msg, arg1, arg2, arg3, arg4, arg5) | ^~~ msg.c:81:17: error: too many arguments to function 'add_log'; expected 0, have 7 81 | add_log(2, msg, arg1, arg2, arg3, arg4, arg5); | ^~~~~~~ ~ In file included from msg.c:53: logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ msg.c:85:17: error: too many arguments to function 'add_log'; expected 0, have 7 85 | add_log(2, buffer, arg1, arg2, arg3, arg4, arg5); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ msg.c: In function 'fatal': msg.c:90:13: warning: old-style function definition [-Wold-style-definition] 90 | public void fatal(reason, arg1, arg2, arg3, arg4, arg5) | ^~~~~ msg.c:112:9: error: too many arguments to function 'add_log'; expected 0, have 7 112 | add_log(1, buffer, arg1, arg2, arg3, arg4, arg5); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ msg.c:124:17: error: too many arguments to function 'add_log'; expected 0, have 2 124 | add_log(5, "WARNING no saving was ever done"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ msg.c:134:17: error: too many arguments to function 'add_log'; expected 0, have 2 134 | add_log(6, "NOTICE leaving mail in MTA's queue"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ msg.c:135:17: error: too many arguments to function 'my_exit'; expected 0, have 1 135 | my_exit(EX_TEMPFAIL); | ^~~~~~~ msg.c:60:13: note: declared here 60 | extern void my_exit(); | ^~~~~~~ msg.c:144:9: error: too many arguments to function 'my_exit'; expected 0, have 1 144 | my_exit(EX_OK); | ^~~~~~~ msg.c:60:13: note: declared here 60 | extern void my_exit(); | ^~~~~~~ make[6]: *** [Makefile:38: hash.o] Error 1 user.c:44:23: error: conflicting types for 'getpwuid'; have 'struct passwd *(void)' 44 | extern struct passwd *getpwuid(); /* Get password entry for UID */ | ^~~~~~~~ In file included from user.c:33: /usr/include/pwd.h:110:23: note: previous declaration of 'getpwuid' with type 'struct passwd *(__uid_t)' {aka 'struct passwd *(unsigned int)'} 110 | extern struct passwd *getpwuid (__uid_t __uid); | ^~~~~~~~ user.c: In function 'logname': user.c:58:14: error: too many arguments to function 'getpwuid'; expected 0, have 1 58 | pw = getpwuid(geteuid()); /* Get first entry matching UID */ | ^~~~~~~~ ~~~~~~~~~ user.c:44:23: note: declared here 44 | extern struct passwd *getpwuid(); /* Get password entry for UID */ | ^~~~~~~~ make[6]: *** [Makefile:38: msg.o] Error 1 make[6]: *** [Makefile:38: user.o] Error 1 main.c: In function 'main': main.c:93:12: warning: old-style function definition [-Wold-style-definition] 93 | public int main(argc, argv, envp) | ^~~~ main.c:140:30: error: too many arguments to function 'io_redirect'; expected 0, have 3 140 | if (!io_redirect(optarg, uid != euid || gid != egid, uid)) | ^~~~~~~~~~~ ~~~~~~ In file included from main.c:72: io.h:39:12: note: declared here 39 | extern int io_redirect(); /* Redirect stderr and stdout */ | ^~~~~~~~~~~ main.c:141:33: error: too many arguments to function 'say'; expected 0, have 2 141 | say("unable to redirect output to %s, continuing...", optarg); | ^~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main.c:74: msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ main.c:144:25: error: too many arguments to function 'no_setid'; expected 0, have 5 144 | no_setid(c, uid, euid, gid, egid); | ^~~~~~~~ ~ main.c:88:14: note: declared here 88 | private void no_setid(); /* Option not allowed when running set[ug]id */ | ^~~~~~~~ main.c:152:25: error: too many arguments to function 'say'; expected 0, have 2 152 | say("unknown switch -%c", c); | ^~~ ~~~~~~~~~~~~~~~~~~~~ msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ main.c:158:9: error: too many arguments to function 'read_conf'; expected 0, have 2 158 | read_conf(argv[0], ".mailagent"); /* Read configuration file */ | ^~~~~~~~~ ~~~~~~~ In file included from main.c:75: parser.h:43:13: note: declared here 43 | extern void read_conf(); /* Read configuration file */ | ^~~~~~~~~ main.c:160:9: error: too many arguments to function 'add_log'; expected 0, have 2 160 | add_log(11, "starting processing"); | ^~~~~~~ ~~ In file included from main.c:71: logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ main.c:170:34: error: too many arguments to function 'set_real_gid'; expected 0, have 1 170 | if (egid != gid && -1 == set_real_gid(egid)) { | ^~~~~~~~~~~~ ~~~~ main.c:87:13: note: declared here 87 | private int set_real_gid(); /* Reset real gid */ | ^~~~~~~~~~~~ main.c:171:17: error: too many arguments to function 'add_log'; expected 0, have 2 171 | add_log(1, "SYSERR setgid: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ main.c:172:17: error: too many arguments to function 'add_log'; expected 0, have 4 172 | add_log(4, "WARNING cannot set GID to %d, continuing as %d", egid, gid); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ main.c:174:17: error: too many arguments to function 'add_log'; expected 0, have 4 174 | add_log(6, "NOTICE reset GID from %d to %d", gid, egid); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ main.c:177:34: error: too many arguments to function 'set_real_uid'; expected 0, have 1 177 | if (euid != uid && -1 == set_real_uid(euid)) { | ^~~~~~~~~~~~ ~~~~ main.c:86:13: note: declared here 86 | private int set_real_uid(); /* Reset real uid */ | ^~~~~~~~~~~~ main.c:178:17: error: too many arguments to function 'add_log'; expected 0, have 2 178 | add_log(1, "SYSERR setuid: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ main.c:179:17: error: too many arguments to function 'add_log'; expected 0, have 4 179 | add_log(4, "WARNING cannot set UID to %d, continuing as %d", euid, uid); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ main.c:181:17: error: too many arguments to function 'add_log'; expected 0, have 4 181 | add_log(6, "NOTICE reset UID from %d to %d", uid, euid); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ main.c:183:17: error: too many arguments to function 'ht_value'; expected 0, have 2 183 | value = ht_value(&symtab, "queue"); /* Fetch queue location */ | ^~~~~~~~ ~~~~~~~ In file included from main.c:73: hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ main.c:185:17: error: too many arguments to function 'fatal'; expected 0, have 1 185 | fatal("queue directory not defined"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ main.c:187:9: error: too many arguments to function 'set_env_vars'; expected 0, have 1 187 | set_env_vars(envp); /* Set environment variables */ | ^~~~~~~~~~~~ ~~~~ parser.h:44:13: note: declared here 44 | extern void set_env_vars(); /* Set correct environment variables */ | ^~~~~~~~~~~~ main.c:190:9: error: too many arguments to function 'my_exit'; expected 0, have 1 190 | my_exit(EX_OK); /* We did it */ | ^~~~~~~ main.c:91:13: note: declared here 91 | extern void my_exit(); | ^~~~~~~ main.c: In function 'set_real_uid': main.c:194:13: warning: old-style function definition [-Wold-style-definition] 194 | private int set_real_uid(ruid) | ^~~~~~~~~~~~ main.c: In function 'set_real_gid': main.c:203:13: warning: old-style function definition [-Wold-style-definition] 203 | private int set_real_gid(rgid) | ^~~~~~~~~~~~ main.c: In function 'set_signal': main.c:217:24: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 217 | signal(SIGHUP, handler); | ^~~~~~~ | | | void (*)(void) In file included from main.c:59: /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ main.c:84:18: note: 'handler' declared here 84 | private Signal_t handler(); /* Signal handler */ | ^~~~~~~ /usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ logfile.c:108:15: error: conflicting types for 'time'; have 'time_t(void)' {aka 'long int(void)'} 108 | extern Time_t time(); /* Time in seconds since the Epoch */ | ^~~~ main.c:220:24: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 220 | signal(SIGINT, handler); | ^~~~~~~ | | | void (*)(void) /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ main.c:84:18: note: 'handler' declared here 84 | private Signal_t handler(); /* Signal handler */ | ^~~~~~~ /usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ In file included from logfile.c:64: /usr/include/time.h:76:15: note: previous declaration of 'time' with type 'time_t(time_t *)' {aka 'long int(long int *)'} 76 | extern time_t time (time_t *__timer) __THROW; | ^~~~ main.c:223:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 223 | signal(SIGQUIT, handler); | ^~~~~~~ | | | void (*)(void) logfile.c: In function 'add_log': /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ main.c:84:18: note: 'handler' declared here 84 | private Signal_t handler(); /* Signal handler */ | ^~~~~~~ logfile.c:112:13: warning: old-style function definition [-Wold-style-definition] 112 | public void add_log(level, format, arg1, arg2, arg3, arg4, arg5) | ^~~~~~~ /usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ main.c:226:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 226 | signal(SIGTERM, handler); | ^~~~~~~ | | | void (*)(void) /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ main.c:84:18: note: 'handler' declared here 84 | private Signal_t handler(); /* Signal handler */ | ^~~~~~~ /usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ main.c:229:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 229 | signal(SIGSEGV, handler); | ^~~~~~~ | | | void (*)(void) logfile.c:138:17: error: too many arguments to function 'time'; expected 0, have 1 138 | clock = time((Time_t *) 0); /* Number of seconds */ | ^~~~ ~~~~~~~~~~~~ /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ main.c:84:18: note: 'handler' declared here 84 | private Signal_t handler(); /* Signal handler */ | ^~~~~~~ logfile.c:108:15: note: declared here 108 | extern Time_t time(); /* Time in seconds since the Epoch */ | ^~~~ /usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ main.c:232:24: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 232 | signal(SIGBUS, handler); | ^~~~~~~ | | | void (*)(void) logfile.c:140:9: error: too many arguments to function 'expand'; expected 0, have 2 140 | expand(format, buffer); /* Expansion of %m and %e into buffer */ | ^~~~~~ ~~~~~~ logfile.c:101:14: note: declared here 101 | private void expand(); /* Run the %m %e expansion on the string */ | ^~~~~~ /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ main.c:84:18: note: 'handler' declared here 84 | private Signal_t handler(); /* Signal handler */ | ^~~~~~~ /usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ main.c: In function 'no_setid': main.c:236:14: warning: old-style function definition [-Wold-style-definition] 236 | private void no_setid(opt, uid, euid, gid, egid) | ^~~~~~~~ main.c:244:9: error: too many arguments to function 'say'; expected 0, have 3 244 | say("option -%c not allowed when running set%s", | ^~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ main.c: In function 'handler': main.c:249:18: warning: old-style function definition [-Wold-style-definition] 249 | private Signal_t handler(sig) | ^~~~~~~ main.c:255:9: error: too many arguments to function 'fatal'; expected 0, have 2 255 | fatal("caught signal #%d", sig); | ^~~~~ ~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ make[6]: *** [Makefile:38: main.o] Error 1 logfile.c: In function 'open_log': logfile.c:152:12: warning: old-style function definition [-Wold-style-definition] 152 | public int open_log(name) | ^~~~~~~~ logfile.c:183:19: error: too many arguments to function 'strsave'; expected 0, have 1 183 | logname = strsave(name); /* Save file name */ | ^~~~~~~ ~~~~ logfile.c:109:14: note: declared here 109 | extern char *strsave(); /* Save string in memory */ | ^~~~~~~ logfile.c: In function 'set_loglvl': logfile.c:201:13: warning: old-style function definition [-Wold-style-definition] 201 | public void set_loglvl(level) | ^~~~~~~~~~ logfile.c: In function 'expand': logfile.c:209:14: warning: old-style function definition [-Wold-style-definition] 209 | private void expand(from, to) | ^~~~~~ logfile.c:223:39: error: too many arguments to function 'add_error'; expected 0, have 1 223 | len = add_error(to - 1); | ^~~~~~~~~ ~~~~~~ logfile.c:102:13: note: declared here 102 | private int add_error(); /* Prints description of error in errno */ | ^~~~~~~~~ logfile.c:228:39: error: too many arguments to function 'add_errcode'; expected 0, have 1 228 | len = add_errcode(to - 1); | ^~~~~~~~~~~ ~~~~~~ logfile.c:103:13: note: declared here 103 | private int add_errcode(); /* Print the symbolic error name */ | ^~~~~~~~~~~ logfile.c: In function 'add_error': logfile.c:237:13: warning: old-style function definition [-Wold-style-definition] 237 | private int add_error(where) | ^~~~~~~~~ misc.c: In function 'strsave': logfile.c: In function 'add_errcode': logfile.c:262:13: warning: old-style function definition [-Wold-style-definition] 262 | private int add_errcode(where) | ^~~~~~~~~~~ misc.c:69:14: warning: old-style function definition [-Wold-style-definition] 69 | public char *strsave(string) | ^~~~~~~ misc.c:79:17: error: too many arguments to function 'fatal'; expected 0, have 1 79 | fatal("no more memory to save strings"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from misc.c:63: msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ misc.c: In function 'my_exit': misc.c:85:13: warning: old-style function definition [-Wold-style-definition] 85 | public void my_exit(code) | ^~~~~~~ misc.c:87:1: error: number of arguments doesn't match prototype 87 | { | ^ misc.c:67:13: error: prototype declaration 67 | extern void my_exit(); | ^~~~~~~ misc.c:112:9: error: too many arguments to function 'add_log'; expected 0, have 3 112 | add_log(11, "exit %s", name); | ^~~~~~~ ~~ In file included from misc.c:64: logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'pool_alloc': io.c:238:22: warning: old-style function definition [-Wold-style-definition] 238 | private struct pool *pool_alloc(size) | ^~~~~~~~~~ io.c:260:9: error: too many arguments to function 'fatal'; expected 0, have 1 260 | fatal("out of memory"); | ^~~~~ ~~~~~~~~~~~~~~~ In file included from io.c:178: msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ io.c: In function 'pool_init': io.c:265:22: warning: old-style function definition [-Wold-style-definition] 265 | private struct pool *pool_init(size) | ^~~~~~~~~ io.c: In function 'pool_extend': io.c:276:14: warning: old-style function definition [-Wold-style-definition] 276 | private void pool_extend(pool, size) | ^~~~~~~~~~~ io.c:294:25: error: too many arguments to function 'fatal'; expected 0, have 1 294 | fatal("out of memory"); | ^~~~~ ~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ io.c: In function 'pool_read': io.c:305:14: warning: old-style function definition [-Wold-style-definition] 305 | private void pool_read(pool, buf, len) | ^~~~~~~~~ io.c: In function 'pool_write': io.c:331:13: warning: old-style function definition [-Wold-style-definition] 331 | private int pool_write(fd, pool) | ^~~~~~~~~~ io.c:359:33: error: too many arguments to function 'add_log'; expected 0, have 2 359 | add_log(1, "SYSERR write: %m (%e)"); | ^~~~~~~ ~ In file included from io.c:175: logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'read_stdin': io.c:385:9: error: too many arguments to function 'add_log'; expected 0, have 2 385 | add_log(19, "reading mail"); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ make[6]: *** [Makefile:38: logfile.o] Error 1 io.c:391:25: error: too many arguments to function 'add_log'; expected 0, have 2 391 | add_log(1, "SYSERR read: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:392:25: error: too many arguments to function 'fatal'; expected 0, have 1 392 | fatal("I/O error while reading mail"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ io.c:399:17: error: too many arguments to function 'fatal'; expected 0, have 3 399 | fatal("corrupted mail: read %d bytes, now has %d", amount, mail.len); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ io.c:401:9: error: too many arguments to function 'add_log'; expected 0, have 3 401 | add_log(16, "got mail (%d bytes)", amount); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'process': io.c:410:17: error: too many arguments to function 'ht_value'; expected 0, have 2 410 | queue = ht_value(&symtab, "queue"); /* Fetch queue location */ | ^~~~~~~~ ~~~~~~~ In file included from io.c:172: hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ io.c:412:17: error: too many arguments to function 'fatal'; expected 0, have 1 412 | fatal("queue directory not defined"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ io.c:416:9: error: too many arguments to function 'queue_mail'; expected 0, have 1 416 | queue_mail(queue); /* Process also it locked */ | ^~~~~~~~~~ ~~~~~ io.c:207:14: note: declared here 207 | private void queue_mail(); /* Queue mail for delayed processing */ | ^~~~~~~~~~ io.c: In function 'is_main': io.c:457:25: error: too many arguments to function 'add_log'; expected 0, have 2 457 | add_log(1, "SYSERR stat: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:458:25: error: too many arguments to function 'add_log'; expected 0, have 3 458 | add_log(2, "ERROR cannot stat %s", agentlock); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:463:25: error: too many arguments to function 'check_lock'; expected 0, have 2 463 | if (LOCK_OLD == check_lock(agentlock, "mailagent")) { | ^~~~~~~~~~ ~~~~~~~~~ In file included from io.c:174: lock.h:41:12: note: declared here 41 | extern int check_lock(); /* Check lock for excessive lifetime */ | ^~~~~~~~~~ io.c:468:9: error: too many arguments to function 'add_log'; expected 0, have 2 468 | add_log(5, "NOTICE mailagent seems to be active in background"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'get_lock': io.c:480:17: error: too many arguments to function 'ht_value'; expected 0, have 2 480 | spool = ht_value(&symtab, "spool"); /* Fetch spool location */ | ^~~~~~~~ ~~~~~~~ hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ io.c:482:17: error: too many arguments to function 'fatal'; expected 0, have 1 482 | fatal("spool directory not defined"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ io.c:484:16: error: too many arguments to function 'filter_lock'; expected 0, have 1 484 | return filter_lock(spool); /* Get a lock in spool directory */ | ^~~~~~~~~~~ ~~~~~ lock.h:39:12: note: declared here 39 | extern int filter_lock(); /* Lock filter */ | ^~~~~~~~~~~ io.c: In function 'agent_lockfile': io.c:500:17: error: too many arguments to function 'ht_value'; expected 0, have 2 500 | spool = ht_value(&symtab, "spool"); /* Fetch spool location */ | ^~~~~~~~ ~~~~~~~ hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ io.c:505:9: error: too many arguments to function 'add_log'; expected 0, have 3 505 | add_log(12, "mailagent lock in %s", agentlock); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'release_agent': io.c:523:17: error: too many arguments to function 'add_log'; expected 0, have 2 523 | add_log(1, "SYSERR unlink: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:524:17: error: too many arguments to function 'add_log'; expected 0, have 2 524 | add_log(2, "ERROR could not remove mailagent's lock"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:526:17: error: too many arguments to function 'add_log'; expected 0, have 2 526 | add_log(5, "NOTICE removed mailagent's lock"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'unique_filename': io.c:529:13: warning: old-style function definition [-Wold-style-definition] 529 | private int unique_filename(buf, format, dir, base) | ^~~~~~~~~~~~~~~ io.c:565:27: error: too many arguments to function 'file_lock'; expected 0, have 3 565 | if (-1 == file_lock(buf, buf, 0)) { | ^~~~~~~~~ ~~~ lock.h:43:12: note: declared here 43 | extern int file_lock(); /* Lock arbitrary file */ | ^~~~~~~~~ io.c:566:25: error: too many arguments to function 'add_log'; expected 0, have 3 566 | add_log(6, "NOTICE could not lock %s", buf); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:575:25: error: too many arguments to function 'add_log'; expected 0, have 2 575 | add_log(1, "SYSERR open: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:576:25: error: too many arguments to function 'add_log'; expected 0, have 3 576 | add_log(2, "ERROR can't create %s", buf); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:577:25: error: too many arguments to function 'file_unlock'; expected 0, have 1 577 | file_unlock(buf); | ^~~~~~~~~~~ ~~~ lock.h:44:13: note: declared here 44 | extern void file_unlock(); /* Unlock arbitrary file */ | ^~~~~~~~~~~ io.c:587:17: error: too many arguments to function 'file_unlock'; expected 0, have 1 587 | file_unlock(buf); | ^~~~~~~~~~~ ~~~ lock.h:44:13: note: declared here 44 | extern void file_unlock(); /* Unlock arbitrary file */ | ^~~~~~~~~~~ io.c:591:33: error: too many arguments to function 'fatal'; expected 0, have 1 591 | fatal("unable to find unique queue filename"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ io.c: In function 'queue_mail': io.c:600:14: warning: old-style function definition [-Wold-style-definition] 600 | private void queue_mail(queue) | ^~~~~~~~~~ io.c:610:17: error: too many arguments to function 'write_file'; expected 0, have 2 610 | where = write_file(queue, "Tm"); | ^~~~~~~~~~ ~~~~~ io.c:208:15: note: declared here 208 | private char *write_file(); /* Write mail on disk */ | ^~~~~~~~~~ io.c:612:17: error: too many arguments to function 'add_log'; expected 0, have 2 612 | add_log(1, "ERROR unable to queue mail"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:613:17: error: too many arguments to function 'fatal'; expected 0, have 1 613 | fatal("try again later"); | ^~~~~ ~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ io.c:628:17: error: too many arguments to function 'fatal'; expected 0, have 1 628 | fatal("unable to find unique queue filename"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ io.c:632:17: error: too many arguments to function 'add_log'; expected 0, have 2 632 | add_log(1, "SYSERR rename: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:633:17: error: too many arguments to function 'add_log'; expected 0, have 4 633 | add_log(2, "ERROR could not rename %s into %s", where, real); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:634:17: error: too many arguments to function 'file_unlock'; expected 0, have 1 634 | file_unlock(real); /* Locked by unique_filename() */ | ^~~~~~~~~~~ ~~~~ lock.h:44:13: note: declared here 44 | extern void file_unlock(); /* Unlock arbitrary file */ | ^~~~~~~~~~~ io.c:635:17: error: too many arguments to function 'fatal'; expected 0, have 1 635 | fatal("try again later"); | ^~~~~ ~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ io.c:643:9: error: too many arguments to function 'add_log'; expected 0, have 4 643 | add_log(4, "QUEUED [%s] %d bytes", base, mail.len); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:645:9: error: too many arguments to function 'file_unlock'; expected 0, have 1 645 | file_unlock(real); /* Better have this after logging QUEUED */ | ^~~~~~~~~~~ ~~~~ lock.h:44:13: note: declared here 44 | extern void file_unlock(); /* Unlock arbitrary file */ | ^~~~~~~~~~~ io.c:655:18: error: too many arguments to function 'process_mail'; expected 0, have 1 655 | if (0 == process_mail(real)) { | ^~~~~~~~~~~~ ~~~~ io.c:206:13: note: declared here 206 | private int process_mail(); /* Process mail by feeding the mailagent */ | ^~~~~~~~~~~~ io.c:662:25: error: too many arguments to function 'add_log'; expected 0, have 2 662 | add_log(1, "SYSERR unlink: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:663:25: error: too many arguments to function 'add_log'; expected 0, have 2 663 | add_log(2, "ERROR could not remove queued mail"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:670:17: error: too many arguments to function 'add_log'; expected 0, have 2 670 | add_log(1, "SYSERR stat: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:671:17: error: too many arguments to function 'add_log'; expected 0, have 3 671 | add_log(1, "ERROR queue file [%s] vanished", base); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:673:25: error: too many arguments to function 'add_log'; expected 0, have 2 673 | add_log(1, "ERROR mail probably lost"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:675:17: error: too many arguments to function 'add_log'; expected 0, have 3 675 | add_log(4, "WARNING mailagent failed, [%s] left in queue", base); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'locate': io.c:680:15: warning: old-style function definition [-Wold-style-definition] 680 | private char *locate(prog, path) | ^~~~~~ io.c:707:25: error: too many arguments to function 'add_log'; expected 0, have 3 707 | add_log(4, "WARNING skipping directory while looking for %s", prog); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:722:25: error: too many arguments to function 'add_log'; expected 0, have 3 722 | add_log(4, "WARNING no read and/or execute rights on %s", progpath); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'process_mail': io.c:731:13: warning: old-style function definition [-Wold-style-definition] 731 | private int process_mail(location) | ^~~~~~~~~~~~ io.c:753:22: error: too many arguments to function 'get_env'; expected 0, have 1 753 | char *path = get_env("PATH"); | ^~~~~~~ ~~~~~~ In file included from io.c:176: environ.h:41:14: note: declared here 41 | extern char *get_env(); /* Get environment value */ | ^~~~~~~ io.c:759:25: error: too many arguments to function 'add_log'; expected 0, have 2 759 | add_log(1, "SYSERR fork: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:760:25: error: too many arguments to function 'add_log'; expected 0, have 2 760 | add_log(6, "NOTICE exiting to save resources"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:761:25: error: too many arguments to function 'my_exit'; expected 0, have 1 761 | my_exit(EX_OK); /* Exiting will also release sendmail process */ | ^~~~~~~ io.c:235:13: note: declared here 235 | extern void my_exit(); | ^~~~~~~ io.c:763:25: error: too many arguments to function 'my_exit'; expected 0, have 1 763 | my_exit(EX_OK); /* Release waiting sendmail */ | ^~~~~~~ io.c:235:13: note: declared here 235 | extern void my_exit(); | ^~~~~~~ io.c:772:17: error: too many arguments to function 'get_confval'; expected 0, have 3 772 | delay = get_confval("queuewait", CF_DEFAULT, QUEUE_WAIT); | ^~~~~~~~~~~ ~~~~~~~~~~~ In file included from io.c:173: parser.h:46:12: note: declared here 46 | extern int get_confval(); /* Get configuration value (integer) */ | ^~~~~~~~~~~ io.c:800:17: error: too many arguments to function 'add_log'; expected 0, have 2 800 | add_log(1, "ERROR cannot locate mailagent anywhere in PATH"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:802:25: error: too many arguments to function 'add_log'; expected 0, have 3 802 | add_log(6, "NOTICE looked for mailagent under %s", path); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:805:29: error: too many arguments to function 'strsave'; expected 0, have 1 805 | mailagent = strsave(mailagent); /* Save static data for perusal */ | ^~~~~~~ ~~~~~~~~~ io.c:234:14: note: declared here 234 | extern char *strsave(); /* Save string somewhere in core */ | ^~~~~~~ io.c:810:9: error: too many arguments to function 'add_log'; expected 0, have 3 810 | add_log(12, "perl at %s", perl); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:811:9: error: too many arguments to function 'add_log'; expected 0, have 3 811 | add_log(12, "mailagent at %s", mailagent); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:813:15: error: too many arguments to function 'exec_secure'; expected 0, have 1 813 | if (!(exec_secure(perl) && exec_secure(mailagent))) { | ^~~~~~~~~~~ ~~~~ parser.h:48:12: note: declared here 48 | extern int exec_secure(); /* Can we safely exec() this file? */ | ^~~~~~~~~~~ io.c:813:36: error: too many arguments to function 'exec_secure'; expected 0, have 1 813 | if (!(exec_secure(perl) && exec_secure(mailagent))) { | ^~~~~~~~~~~ ~~~~~~~~~ parser.h:48:12: note: declared here 48 | extern int exec_secure(); /* Can we safely exec() this file? */ | ^~~~~~~~~~~ io.c:814:17: error: too many arguments to function 'add_log'; expected 0, have 2 814 | add_log(1, "ERROR running mailagent would be unsecure"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:824:17: error: too many arguments to function 'add_log'; expected 0, have 2 824 | add_log(1, "SYSERR vfork: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:825:17: error: too many arguments to function 'add_log'; expected 0, have 2 825 | add_log(1, "ERROR cannot run mailagent"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:831:17: error: too many arguments to function 'add_log'; expected 0, have 2 831 | add_log(1, "SYSERR execle: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:832:17: error: too many arguments to function 'add_log'; expected 0, have 3 832 | add_log(1, "ERROR cannot run perl to start %s", mailagent); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:833:17: error: too many arguments to function 'my_exit'; expected 0, have 1 833 | my_exit(EX_UNAVAILABLE); | ^~~~~~~ io.c:235:13: note: declared here 235 | extern void my_exit(); | ^~~~~~~ io.c:840:25: error: too many arguments to function 'add_log'; expected 0, have 2 840 | add_log(1, "SYSERR wait: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:872:17: error: too many arguments to function 'add_log'; expected 0, have 3 872 | add_log(3, "WARNING mailagent stopped by signal %d", xstat); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:873:17: error: too many arguments to function 'add_log'; expected 0, have 3 873 | add_log(6, "NOTICE terminating mailagent, pid %d", pid); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:875:25: error: too many arguments to function 'add_log'; expected 0, have 2 875 | add_log(1, "SYSERR kill: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:881:25: error: too many arguments to function 'add_log'; expected 0, have 3 881 | add_log(3, "ERROR mailagent dumped core on signal %d", xstat); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:883:25: error: too many arguments to function 'add_log'; expected 0, have 3 883 | add_log(3, "ERROR mailagent terminated by signal %d", xstat); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:888:25: error: too many arguments to function 'add_log'; expected 0, have 3 888 | add_log(3, "ERROR mailagent returned status %d", xstat); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:894:9: error: too many arguments to function 'add_log'; expected 0, have 2 894 | add_log(19, "mailagent ok"); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'emergency_save': io.c:930:17: error: too many arguments to function 'say'; expected 0, have 1 930 | say("mail not read, cannot dump"); | ^~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ io.c:935:17: error: too many arguments to function 'add_log'; expected 0, have 2 935 | add_log(6, "NOTICE mail was safely queued"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:939:20: error: too many arguments to function 'ht_value'; expected 0, have 2 939 | emergdir = ht_value(&symtab, "emergdir"); | ^~~~~~~~ ~~~~~~~ hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ io.c:940:64: error: too many arguments to function 'save_file'; expected 0, have 1 940 | if ((emergdir != (char *) 0) && (char *) 0 != (where = save_file(emergdir))) | ^~~~~~~~~ ~~~~~~~~ io.c:210:15: note: declared here 210 | private char *save_file(); /* Emergency saving into a file */ | ^~~~~~~~~ io.c:942:60: error: too many arguments to function 'save_file'; expected 0, have 1 942 | if ((home != (char *) 0) && (char *) 0 != (where = save_file(home))) | ^~~~~~~~~ ~~~~ io.c:210:15: note: declared here 210 | private char *save_file(); /* Emergency saving into a file */ | ^~~~~~~~~ io.c:944:22: error: too many arguments to function 'save_file'; expected 0, have 1 944 | if ((where = save_file("/usr/spool/uucppublic"))) | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ io.c:210:15: note: declared here 210 | private char *save_file(); /* Emergency saving into a file */ | ^~~~~~~~~ io.c:946:22: error: too many arguments to function 'save_file'; expected 0, have 1 946 | if ((where = save_file("/var/spool/uucppublic"))) | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ make[6]: *** [Makefile:38: misc.o] Error 1 io.c:210:15: note: declared here 210 | private char *save_file(); /* Emergency saving into a file */ | ^~~~~~~~~ io.c:948:22: error: too many arguments to function 'save_file'; expected 0, have 1 948 | if ((where = save_file("/usr/tmp"))) | ^~~~~~~~~ ~~~~~~~~~~ io.c:210:15: note: declared here 210 | private char *save_file(); /* Emergency saving into a file */ | ^~~~~~~~~ io.c:950:22: error: too many arguments to function 'save_file'; expected 0, have 1 950 | if ((where = save_file("/var/tmp"))) | ^~~~~~~~~ ~~~~~~~~~~ io.c:210:15: note: declared here 210 | private char *save_file(); /* Emergency saving into a file */ | ^~~~~~~~~ io.c:952:22: error: too many arguments to function 'save_file'; expected 0, have 1 952 | if ((where = save_file("/tmp"))) | ^~~~~~~~~ ~~~~~~ io.c:210:15: note: declared here 210 | private char *save_file(); /* Emergency saving into a file */ | ^~~~~~~~~ io.c:959:9: error: too many arguments to function 'say'; expected 0, have 1 959 | say("dumping mail on stdout..."); | ^~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ io.c:962:19: error: too many arguments to function 'write_fd'; expected 0, have 2 962 | if (-1 != write_fd(1, "stdout")) { | ^~~~~~~~ ~ io.c:209:13: note: declared here 209 | private int write_fd(); /* Write mail onto file descriptor */ | ^~~~~~~~ io.c:964:17: error: too many arguments to function 'say'; expected 0, have 1 964 | say(logmsg); | ^~~ ~~~~~~ msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ io.c:965:17: error: too many arguments to function 'add_log'; expected 0, have 2 965 | add_log(6, logmsg); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:969:9: error: too many arguments to function 'say'; expected 0, have 1 969 | say("unable to dump mail anywhere"); | ^~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ io.c:973:9: error: too many arguments to function 'say'; expected 0, have 2 973 | say("DUMPED in %s", where); | ^~~ ~~~~~~~~~~~~~~ msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ io.c:983:17: error: too many arguments to function 'ht_value'; expected 0, have 2 983 | spool = ht_value(&symtab, "spool"); | ^~~~~~~~ ~~~~~~~ hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ io.c:987:23: error: too many arguments to function 'file_lock'; expected 0, have 3 987 | locked = 0 == file_lock(AGENT_WAIT, "agent.wait", 10); | ^~~~~~~~~ lock.h:43:12: note: declared here 43 | extern int file_lock(); /* Lock arbitrary file */ | ^~~~~~~~~ io.c:989:17: error: too many arguments to function 'add_log'; expected 0, have 3 989 | add_log(6, "WARNING updating %s without lock", AGENT_WAIT); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:993:17: error: too many arguments to function 'add_log'; expected 0, have 2 993 | add_log(1, "SYSERR open: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:994:17: error: too many arguments to function 'add_log'; expected 0, have 3 994 | add_log(6, "WARNING mailagent ignores mail was left in %s", where); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:996:25: error: too many arguments to function 'file_unlock'; expected 0, have 1 996 | file_unlock(AGENT_WAIT); | ^~~~~~~~~~~ lock.h:44:13: note: declared here 44 | extern void file_unlock(); /* Unlock arbitrary file */ | ^~~~~~~~~~~ io.c:1008:17: error: too many arguments to function 'add_log'; expected 0, have 2 1008 | add_log(1, "SYSERR stat: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1009:17: error: too many arguments to function 'add_log'; expected 0, have 3 1009 | add_log(6, "WARNING cannot stat %s", path); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1018:17: error: too many arguments to function 'add_log'; expected 0, have 2 1018 | add_log(1, "SYSERR write: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1019:17: error: too many arguments to function 'add_log'; expected 0, have 3 1019 | add_log(4, "ERROR could not append to %s", path); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1025:17: error: too many arguments to function 'add_log'; expected 0, have 2 1025 | add_log(1, "SYSERR close: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1026:17: error: too many arguments to function 'add_log'; expected 0, have 3 1026 | add_log(4, "ERROR could not flush to %s", path); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1031:17: error: too many arguments to function 'file_unlock'; expected 0, have 1 1031 | file_unlock(AGENT_WAIT); | ^~~~~~~~~~~ lock.h:44:13: note: declared here 44 | extern void file_unlock(); /* Unlock arbitrary file */ | ^~~~~~~~~~~ io.c:1034:17: error: too many arguments to function 'add_log'; expected 0, have 2 1034 | add_log(1, "SYSERR stat: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1035:17: error: too many arguments to function 'add_log'; expected 0, have 3 1035 | add_log(6, "WARNING cannot stat %s", path); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1047:25: error: too many arguments to function 'add_log'; expected 0, have 4 1047 | add_log(2, "ERROR %s truncated to %d bytes (should have had %d)", | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1052:17: error: too many arguments to function 'add_log'; expected 0, have 3 1052 | add_log(8, "cannot double-check %s was properly flushed", path); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1060:17: error: too many arguments to function 'add_log'; expected 0, have 3 1060 | add_log(7, "NOTICE memorized %s", where); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1063:17: error: too many arguments to function 'add_log'; expected 0, have 3 1063 | add_log(6, "WARNING mailagent ignores mail was left in %s", where); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'save_file': io.c:1068:15: warning: old-style function definition [-Wold-style-definition] 1068 | private char *save_file(dir) | ^~~~~~~~~ io.c:1086:16: error: too many arguments to function 'write_file'; expected 0, have 2 1086 | return write_file(dir, logname()); | ^~~~~~~~~~ ~~~ io.c:208:15: note: declared here 208 | private char *write_file(); /* Write mail on disk */ | ^~~~~~~~~~ io.c: In function 'write_file': io.c:1089:15: warning: old-style function definition [-Wold-style-definition] 1089 | private char *write_file(dir, template) | ^~~~~~~~~~ io.c:1109:18: error: too many arguments to function 'write_fd'; expected 0, have 2 1109 | status = write_fd(fd, path); /* Write mail to file descriptor fd */ | ^~~~~~~~ ~~ io.c:209:13: note: declared here 209 | private int write_fd(); /* Write mail onto file descriptor */ | ^~~~~~~~ io.c:1110:9: error: too many arguments to function 'file_unlock'; expected 0, have 1 1110 | file_unlock(path); /* Was locked by unique_filename */ | ^~~~~~~~~~~ ~~~~ lock.h:44:13: note: declared here 44 | extern void file_unlock(); /* Unlock arbitrary file */ | ^~~~~~~~~~~ io.c:1115:9: error: too many arguments to function 'add_log'; expected 0, have 3 1115 | add_log(19, "mail in %s", path); /* We did not detect any error so far */ | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1129:17: error: too many arguments to function 'add_log'; expected 0, have 4 1129 | add_log(2, "ERROR mail truncated to %d bytes (had %d)", | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1139:17: error: too many arguments to function 'add_log'; expected 0, have 2 1139 | add_log(1, "SYSERR unlink: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1140:17: error: too many arguments to function 'add_log'; expected 0, have 3 1140 | add_log(4, "WARNING leaving %s around", path); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'write_fd': io.c:1146:13: warning: old-style function definition [-Wold-style-definition] 1146 | private int write_fd(fd, path) | ^~~~~~~~ io.c:1160:33: error: too many arguments to function 'add_log'; expected 0, have 3 1160 | add_log(2, "ERROR cannot write to file %s", path); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'close_tty': io.c:1168:14: warning: old-style function definition [-Wold-style-definition] 1168 | private void close_tty(fd) | ^~~~~~~~~ io.c:1181:17: error: too many arguments to function 'add_log'; expected 0, have 2 1181 | add_log(1, "SYSERR fstat: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1182:17: error: too many arguments to function 'add_log'; expected 0, have 3 1182 | add_log(6, "WARNING could not stat file descriptor #%d", fd); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'goto_daemon': io.c:1246:17: error: too many arguments to function 'add_log'; expected 0, have 2 1246 | add_log(1, "SYSERR setsid: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1247:17: error: too many arguments to function 'add_log'; expected 0, have 2 1247 | add_log(6, "WARNING did not become session leader"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1224:13: warning: unused variable 'fd' [-Wunused-variable] 1224 | int fd; | ^~ io.c: In function 'io_redirect': io.c:1251:12: warning: old-style function definition [-Wold-style-definition] 1251 | public int io_redirect(filename, is_setid, ruid) | ^~~~~~~~~~~ io.c:1255:1: error: number of arguments doesn't match prototype 1255 | { | ^ In file included from io.c:171: io.h:39:12: error: prototype declaration 39 | extern int io_redirect(); /* Redirect stderr and stdout */ | ^~~~~~~~~~~ io.c:1269:33: error: too many arguments to function 'add_log'; expected 0, have 2 1269 | add_log(1, "SYSERR stat: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1270:33: error: too many arguments to function 'add_log'; expected 0, have 3 1270 | add_log(2, "ERROR cannot stat %s", filename); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1273:25: error: too many arguments to function 'add_log'; expected 0, have 3 1273 | add_log(1, "ERROR cannot create %s when running set[ug]id", | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1278:25: error: too many arguments to function 'add_log'; expected 0, have 4 1278 | add_log(1, "ERROR cannot append to %s (not owned by UID %d)", | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1300:17: error: too many arguments to function 'add_log'; expected 0, have 2 1300 | add_log(1, "SYSERR open: %m (%e)"); | ^~~~~~~ ~ parser.c:169:23: error: conflicting types for 'getpwuid'; have 'struct passwd *(void)' 169 | extern struct passwd *getpwuid(); /* Fetch /etc/passwd entry from uid */ | ^~~~~~~~ In file included from parser.c:75: /usr/include/pwd.h:110:23: note: previous declaration of 'getpwuid' with type 'struct passwd *(__uid_t)' {aka 'struct passwd *(unsigned int)'} 110 | extern struct passwd *getpwuid (__uid_t __uid); | ^~~~~~~~ parser.c: In function 'read_conf': parser.c:172:13: warning: old-style function definition [-Wold-style-definition] 172 | public void read_conf(myself, file) | ^~~~~~~~~ parser.c:175:1: error: number of arguments doesn't match prototype 175 | { | ^ parser.c:150:13: error: prototype declaration 150 | public void read_conf(); /* Read configuration file */ | ^~~~~~~~~ parser.c:200:17: error: too many arguments to function 'fatal'; expected 0, have 2 200 | fatal("cannot open config file %s", path); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from parser.c:135: msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.c:203:19: error: too many arguments to function 'ht_create'; expected 0, have 2 203 | if (-1 == ht_create(&symtab, SYMBOLS)) | ^~~~~~~~~ ~~~~~~~ In file included from parser.c:134: hash.h:45:12: note: declared here 45 | extern int ht_create(); /* Create H table */ | ^~~~~~~~~ parser.c:204:17: error: too many arguments to function 'fatal'; expected 0, have 1 204 | fatal("cannot create symbol table"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.c:208:17: error: too many arguments to function 'substitute'; expected 0, have 1 208 | substitute(path); /* Standard parameter substitutions */ | ^~~~~~~~~~ ~~~~ parser.c:156:14: note: declared here 156 | private void substitute(); /* Variable and ~ substitutions */ | ^~~~~~~~~~ parser.c:209:17: error: too many arguments to function 'insert_value'; expected 0, have 2 209 | insert_value(path, line); /* Record value in hash table */ | ^~~~~~~~~~~~ ~~~~ parser.c:159:14: note: declared here 159 | private void insert_value(); /* Record variable value in H table */ | ^~~~~~~~~~~~ parser.c:221:9: error: too many arguments to function 'secure'; expected 0, have 1 221 | secure(mailagent); /* Perform basic security checks */ | ^~~~~~ ~~~~~~~~~ parser.c:153:14: note: declared here 153 | private void secure(); /* Perform basic security checks on file */ | ^~~~~~ In file included from parser.c:136: parser.h:61:41: error: too many arguments to function 'get_confstr'; expected 0, have 3 61 | #define get_confstr_opt(x) get_confstr(x, CF_DEFAULT, (char *) 0) | ^~~~~~~~~~~ parser.c:229:17: note: in expansion of macro 'get_confstr_opt' 229 | rules = get_confstr_opt("rules"); /* Fetch rules location */ | ^~~~~~~~~~~~~~~ parser.h:47:14: note: declared here 47 | extern char *get_confstr(); /* Get configuration value (string) */ | ^~~~~~~~~~~ parser.c:231:17: error: too many arguments to function 'check_perm'; expected 0, have 2 231 | check_perm(rules, MUST_OWN | MAY_PANIC); /* Might not exist */ | ^~~~~~~~~~ ~~~~~ parser.c:154:13: note: declared here 154 | private int check_perm(); /* Check permissions on file */ | ^~~~~~~~~~ parser.c:235:17: error: too many arguments to function 'add_log'; expected 0, have 3 235 | add_log(19, "checking myself at %s", myself); | ^~~~~~~ ~~ In file included from parser.c:137: logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c:236:22: error: too many arguments to function 'exec_secure'; expected 0, have 1 236 | if (!exec_secure(myself)) { | ^~~~~~~~~~~ ~~~~~~ parser.c:152:12: note: declared here 152 | public int exec_secure(); /* Checks whether exec() is safe on file */ | ^~~~~~~~~~~ parser.c:238:25: error: too many arguments to function 'say'; expected 0, have 1 238 | say(error); /* Make sure they see it */ | ^~~ ~~~~~ msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ parser.c:239:25: error: too many arguments to function 'add_log'; expected 0, have 2 239 | add_log(1, error); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c:248:17: error: too many arguments to function 'add_log'; expected 0, have 3 248 | add_log(19, "checking %s", path); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c:249:22: error: too many arguments to function 'exec_secure'; expected 0, have 1 249 | if (!exec_secure(path)) { | ^~~~~~~~~~~ ~~~~ parser.c:152:12: note: declared here 152 | public int exec_secure(); /* Checks whether exec() is safe on file */ | ^~~~~~~~~~~ parser.c:251:25: error: too many arguments to function 'say'; expected 0, have 1 251 | say(error); /* Make sure they see it */ | ^~~ ~~~~~ msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ parser.c:252:25: error: too many arguments to function 'add_log'; expected 0, have 2 252 | add_log(1, error); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c: In function 'start_log': parser.c:267:17: error: too many arguments to function 'get_confstr'; expected 0, have 2 267 | value = get_confstr("logdir", CF_MANDATORY); | ^~~~~~~~~~~ ~~~~~~~~ parser.h:47:14: note: declared here 47 | extern char *get_confstr(); /* Get configuration value (string) */ | ^~~~~~~~~~~ parser.c:271:17: error: too many arguments to function 'get_confstr'; expected 0, have 2 271 | value = get_confstr("log", CF_MANDATORY); /* Log file basename*/ | ^~~~~~~~~~~ ~~~~~ parser.h:47:14: note: declared here 47 | extern char *get_confstr(); /* Get configuration value (string) */ | ^~~~~~~~~~~ parser.c:274:17: error: too many arguments to function 'get_confval'; expected 0, have 2 274 | level = get_confval("level", CF_MANDATORY); | ^~~~~~~~~~~ ~~~~~~~ parser.h:46:12: note: declared here 46 | extern int get_confval(); /* Get configuration value (integer) */ | ^~~~~~~~~~~ parser.c:276:9: error: too many arguments to function 'set_loglvl'; expected 0, have 1 276 | set_loglvl(level); /* Logging level wanted */ | ^~~~~~~~~~ ~~~~~ logfile.h:40:13: note: declared here 40 | extern void set_loglvl(); /* Set logging level */ | ^~~~~~~~~~ parser.c:277:19: error: too many arguments to function 'open_log'; expected 0, have 1 277 | if (-1 == open_log(logfile)) | ^~~~~~~~ ~~~~~~~ logfile.h:38:12: note: declared here 38 | extern int open_log(); /* Open logging file */ | ^~~~~~~~ parser.c:278:17: error: too many arguments to function 'say'; expected 0, have 2 278 | say("cannot open logfile %s", logfile); | ^~~ ~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ parser.c: In function 'stat_check': logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1307:25: error: too many arguments to function 'add_log'; expected 0, have 2 1307 | add_log(1, "SYSERR stat: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1308:25: error: too many arguments to function 'add_log'; expected 0, have 3 1308 | add_log(2, "ERROR can't locate %s after opening", filename); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1313:25: error: too many arguments to function 'add_log'; expected 0, have 4 1313 | add_log(1, "ERROR cannot append to %s (not owned by UID %d)", | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1329:17: error: too many arguments to function 'add_log'; expected 0, have 2 1329 | add_log(1, "SYSERR dup2: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c:281:14: warning: old-style function definition [-Wold-style-definition] 281 | private void stat_check(file) | ^~~~~~~~~~ parser.c:289:17: error: too many arguments to function 'add_log'; expected 0, have 2 289 | add_log(1, "SYSERR stat: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c:290:17: error: too many arguments to function 'fatal'; expected 0, have 2 290 | fatal("cannot stat file %s", file); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.c: In function 'secure': parser.c:294:14: warning: old-style function definition [-Wold-style-definition] 294 | private void secure(file) | ^~~~~~ parser.c:303:9: error: too many arguments to function 'check_perm'; expected 0, have 2 303 | check_perm(file, MUST_OWN | MAY_PANIC); /* Check permissions */ | ^~~~~~~~~~ ~~~~ parser.c:154:13: note: declared here 154 | private int check_perm(); /* Check permissions on file */ | ^~~~~~~~~~ parser.c: In function 'exec_secure': parser.c:306:12: warning: old-style function definition [-Wold-style-definition] 306 | public int exec_secure(file) | ^~~~~~~~~~~ parser.c:308:1: error: number of arguments doesn't match prototype 308 | { | ^ parser.c:152:12: error: prototype declaration 152 | public int exec_secure(); /* Checks whether exec() is safe on file */ | ^~~~~~~~~~~ parser.c:318:26: error: too many arguments to function 'get_confstr'; expected 0, have 3 318 | char *execsafe = get_confstr("execsafe", CF_DEFAULT, "OFF"); | ^~~~~~~~~~~ ~~~~~~~~~~ parser.h:47:14: note: declared here 47 | extern char *get_confstr(); /* Get configuration value (string) */ | ^~~~~~~~~~~ parser.c:319:26: error: too many arguments to function 'get_confstr'; expected 0, have 3 319 | char *execskip = get_confstr("execskip", CF_DEFAULT, "OFF"); | ^~~~~~~~~~~ ~~~~~~~~~~ parser.h:47:14: note: declared here 47 | extern char *get_confstr(); /* Get configuration value (string) */ | ^~~~~~~~~~~ parser.c:326:16: error: too many arguments to function 'check_perm'; expected 0, have 2 326 | return check_perm(file, flag); /* Check permissions */ | ^~~~~~~~~~ ~~~~ parser.c:154:13: note: declared here 154 | private int check_perm(); /* Check permissions on file */ | ^~~~~~~~~~ parser.c: In function 'check_fatal': parser.c:330:14: warning: old-style function definition [-Wold-style-definition] 330 | private void check_fatal(flags, reason, arg1, arg2, arg3, arg4, arg5) | ^~~~~~~~~~~ parser.c:342:17: error: too many arguments to function 'fatal'; expected 0, have 6 342 | fatal(reason, arg1, arg2, arg3, arg4, arg5); | ^~~~~ ~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.c:345:9: error: too many arguments to function 'add_log'; expected 0, have 7 345 | add_log(1, buffer, arg1, arg2, arg3, arg4, arg5); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c: In function 'check_perm': parser.c:348:13: warning: old-style function definition [-Wold-style-definition] 348 | private int check_perm(file, flags) | ^~~~~~~~~~ parser.h:61:41: error: too many arguments to function 'get_confstr'; expected 0, have 3 61 | #define get_confstr_opt(x) get_confstr(x, CF_DEFAULT, (char *) 0) | ^~~~~~~~~~~ parser.c:399:20: note: in expansion of macro 'get_confstr_opt' 399 | cfsecure = get_confstr_opt("secure"); /* Do they want extra security? */ | ^~~~~~~~~~~~~~~ parser.h:47:14: note: declared here 47 | extern char *get_confstr(); /* Get configuration value (string) */ | ^~~~~~~~~~~ parser.c:409:17: error: too many arguments to function 'add_log'; expected 0, have 3 409 | add_log(12, "basic checks ok for file %s", file); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c:417:9: error: too many arguments to function 'add_log'; expected 0, have 3 417 | add_log(17, "performing additional checks on %s", file); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c:419:29: error: too many arguments to function 'get_confstr'; expected 0, have 3 419 | if (0 == strcasecmp(get_confstr("groupsafe", CF_DEFAULT, "ON"), "OFF")) | ^~~~~~~~~~~ ~~~~~~~~~~~ parser.h:47:14: note: declared here 47 | extern char *get_confstr(); /* Get configuration value (string) */ | ^~~~~~~~~~~ parser.c:440:9: error: too many arguments to function 'add_log'; expected 0, have 3 440 | add_log(17, "checking directory %s", parent); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c:443:17: error: too many arguments to function 'add_log'; expected 0, have 2 443 | add_log(1, "SYSERR stat: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c:463:9: error: too many arguments to function 'add_log'; expected 0, have 3 463 | add_log(12, "file %s seems to be secure", file); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c: In function 'env_home': parser.c:474:16: error: too many arguments to function 'getenv'; expected 0, have 1 474 | home = getenv("HOME"); /* For tests only -- see main.c */ | ^~~~~~ ~~~~~~ parser.c:170:14: note: declared here 170 | extern char *getenv(); /* Get environment variable */ | ^~~~~~ parser.c:476:24: error: too many arguments to function 'strsave'; expected 0, have 1 476 | home = strsave(home); /* POSIX getenv() returns ptr to static data */ | ^~~~~~~ ~~~~ parser.c:168:14: note: declared here 168 | extern char *strsave(); /* Save string value in memory */ | ^~~~~~~ parser.c: In function 'get_home': parser.c:485:14: error: too many arguments to function 'getpwuid'; expected 0, have 1 485 | pp = getpwuid(geteuid()); | ^~~~~~~~ ~~~~~~~~~ parser.c:169:23: note: declared here 169 | extern struct passwd *getpwuid(); /* Fetch /etc/passwd entry from uid */ | ^~~~~~~~ parser.c:487:17: error: too many arguments to function 'fatal'; expected 0, have 1 487 | fatal("cannot locate home directory"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.c:488:16: error: too many arguments to function 'strsave'; expected 0, have 1 488 | home = strsave(pp->pw_dir); | ^~~~~~~ ~~~~~~~~~~ parser.c:168:14: note: declared here 168 | extern char *strsave(); /* Save string value in memory */ | ^~~~~~~ parser.c:490:17: error: too many arguments to function 'fatal'; expected 0, have 1 490 | fatal("no more memory"); | ^~~~~ ~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.c: In function 'set_env_vars': parser.c:493:13: warning: old-style function definition [-Wold-style-definition] 493 | public void set_env_vars(envp) | ^~~~~~~~~~~~ parser.c:495:1: error: number of arguments doesn't match prototype 495 | { | ^ parser.c:151:13: error: prototype declaration 151 | public void set_env_vars(); /* Set envrionment variables */ | ^~~~~~~~~~~~ parser.h:61:41: error: too many arguments to function 'get_confstr'; expected 0, have 3 61 | #define get_confstr_opt(x) get_confstr(x, CF_DEFAULT, (char *) 0) | ^~~~~~~~~~~ parser.c:515:20: note: in expansion of macro 'get_confstr_opt' 515 | path_val = get_confstr_opt("path"); | ^~~~~~~~~~~~~~~ parser.h:47:14: note: declared here 47 | extern char *get_confstr(); /* Get configuration value (string) */ | ^~~~~~~~~~~ parser.c:517:27: error: too many arguments to function 'set_env'; expected 0, have 2 517 | if (-1 == set_env("PATH", path_val)) | ^~~~~~~ ~~~~~~ In file included from parser.c:138: environ.h:42:12: note: declared here 42 | extern int set_env(); /* Set environment value */ | ^~~~~~~ parser.c:518:25: error: too many arguments to function 'fatal'; expected 0, have 1 518 | fatal("cannot initialize PATH"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.h:61:41: error: too many arguments to function 'get_confstr'; expected 0, have 3 61 | #define get_confstr_opt(x) get_confstr(x, CF_DEFAULT, (char *) 0) | ^~~~~~~~~~~ parser.c:522:20: note: in expansion of macro 'get_confstr_opt' 522 | path_val = get_confstr_opt(name); /* Exists ? */ | ^~~~~~~~~~~~~~~ parser.h:47:14: note: declared here 47 | extern char *get_confstr(); /* Get configuration value (string) */ | ^~~~~~~~~~~ parser.c:524:17: error: too many arguments to function 'add_log'; expected 0, have 3 524 | add_log(19, "updating PATH with '%s' from config file", name); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c:525:27: error: too many arguments to function 'prepend_env'; expected 0, have 2 525 | if (-1 == prepend_env("PATH", ":")) | ^~~~~~~~~~~ ~~~~~~ environ.h:40:12: note: declared here 40 | extern int prepend_env(); /* Prepend value to environment */ | ^~~~~~~~~~~ parser.c:526:25: error: too many arguments to function 'fatal'; expected 0, have 1 526 | fatal("cannot set PATH variable"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.c:527:27: error: too many arguments to function 'prepend_env'; expected 0, have 2 527 | if (-1 == prepend_env("PATH", path_val)) | ^~~~~~~~~~~ ~~~~~~ environ.h:40:12: note: declared here 40 | extern int prepend_env(); /* Prepend value to environment */ | ^~~~~~~~~~~ parser.c:528:25: error: too many arguments to function 'fatal'; expected 0, have 1 528 | fatal("cannot set PATH variable"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.c:532:19: error: too many arguments to function 'set_env'; expected 0, have 2 532 | if (-1 == set_env("HOME", home)) | ^~~~~~~ ~~~~~~ environ.h:42:12: note: declared here 42 | extern int set_env(); /* Set environment value */ | ^~~~~~~ parser.c:533:17: error: too many arguments to function 'fatal'; expected 0, have 1 533 | fatal("cannot set HOME variable"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.c:536:14: error: too many arguments to function 'get_confstr'; expected 0, have 3 536 | tz = get_confstr("timezone", CF_DEFAULT, (char *) 0); /* Exists ? */ | ^~~~~~~~~~~ ~~~~~~~~~~ parser.h:47:14: note: declared here 47 | extern char *get_confstr(); /* Get configuration value (string) */ | ^~~~~~~~~~~ parser.c:538:27: error: too many arguments to function 'set_env'; expected 0, have 2 538 | if (-1 == set_env("TZ", tz)) | ^~~~~~~ ~~~~ environ.h:42:12: note: declared here 42 | extern int set_env(); /* Set environment value */ | ^~~~~~~ parser.c:539:25: error: too many arguments to function 'add_log'; expected 0, have 2 539 | add_log(1, "ERROR cannot set TZ variable"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c: In function 'get_confstr': parser.c:543:14: warning: old-style function definition [-Wold-style-definition] 543 | public char *get_confstr(name, type, dflt) | ^~~~~~~~~~~ parser.c:547:1: error: number of arguments doesn't match prototype 547 | { | ^ parser.h:47:14: error: prototype declaration 47 | extern char *get_confstr(); /* Get configuration value (string) */ | ^~~~~~~~~~~ parser.c:556:19: error: too many arguments to function 'ht_value'; expected 0, have 2 556 | namestr = ht_value(&symtab, name); | ^~~~~~~~ ~~~~~~~ hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ parser.c:561:25: error: too many arguments to function 'fatal'; expected 0, have 1 561 | fatal(buffer); | ^~~~~ ~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.c:566:25: error: too many arguments to function 'fatal'; expected 0, have 1 566 | fatal("BUG: get_confval"); | ^~~~~ ~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.c: In function 'get_confval': parser.c:574:12: warning: old-style function definition [-Wold-style-definition] 574 | public int get_confval(name, type, dflt) | ^~~~~~~~~~~ parser.c:578:1: error: number of arguments doesn't match prototype 578 | { | ^ parser.h:46:12: error: prototype declaration 46 | extern int get_confval(); /* Get configuration value (integer) */ | ^~~~~~~~~~~ parser.c:586:19: error: too many arguments to function 'get_confstr'; expected 0, have 3 586 | namestr = get_confstr(name, type, (char *) 0); | ^~~~~~~~~~~ ~~~~ parser.c:543:14: note: declared here 543 | public char *get_confstr(name, type, dflt) | ^~~~~~~~~~~ parser.c: In function 'substitute': parser.c:595:14: warning: old-style function definition [-Wold-style-definition] 595 | private void substitute(value) | ^~~~~~~~~~ parser.c:607:25: error: too many arguments to function 'add_home'; expected 0, have 1 607 | add_home(&value); | ^~~~~~~~ ~~~~~~ parser.c:157:14: note: declared here 157 | private void add_home(); /* Replace ~ with home directory */ | ^~~~~~~~ parser.c:610:25: error: too many arguments to function 'add_variable'; expected 0, have 2 610 | add_variable(&value, &ptr); | ^~~~~~~~~~~~ ~~~~~~ parser.c:158:14: note: declared here 158 | private void add_variable(); /* Replace $var by its value */ | ^~~~~~~~~~~~ parser.c: In function 'add_home': parser.c:616:14: warning: old-style function definition [-Wold-style-definition] 616 | private void add_home(to) | ^~~~~~~~ parser.c:630:18: error: too many arguments to function 'ht_value'; expected 0, have 2 630 | symbol = ht_value(&symtab, "home"); /* Maybe we saw 'home' already */ | ^~~~~~~~ ~~~~~~~ hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ parser.c: In function 'add_variable': parser.c:640:14: warning: old-style function definition [-Wold-style-definition] 640 | private void add_variable(to, from) | ^~~~~~~~~~~~ parser.c:664:21: error: too many arguments to function 'ht_value'; expected 0, have 2 664 | dol_value = ht_value(&symtab, buffer); | ^~~~~~~~ ~~~~~~~ hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ parser.c: In function 'insert_value': parser.c:675:14: warning: old-style function definition [-Wold-style-definition] 675 | private void insert_value(path, line) | ^~~~~~~~~~~~ parser.c:713:17: error: too many arguments to function 'say'; expected 0, have 2 713 | say("syntax error in config file, line %d", line); | ^~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ parser.c:720:9: error: too many arguments to function 'strip_comment'; expected 0, have 1 720 | strip_comment(path); /* Remove trailing comment */ | ^~~~~~~~~~~~~ ~~~~ parser.c:162:14: note: declared here 162 | private void strip_comment(); /* Strip trailing comment in config line */ | ^~~~~~~~~~~~~ parser.c:721:16: error: too many arguments to function 'ht_put'; expected 0, have 3 721 | (void) ht_put(&symtab, name, path); /* Add value into symbol table */ | ^~~~~~ ~~~~~~~ hash.h:47:14: note: declared here 47 | extern char *ht_put(); /* Insert value in H table */ | ^~~~~~ parser.c: In function 'strip_comment': parser.c:724:14: warning: old-style function definition [-Wold-style-definition] 724 | private void strip_comment(line) | ^~~~~~~~~~~~~ parser.c: In function 'machine_name': parser.c:782:24: error: too many arguments to function 'strip_down'; expected 0, have 1 782 | return strip_down(name); | ^~~~~~~~~~ ~~~~ parser.c:161:15: note: declared here 161 | private char *strip_down(); /* Strip down domain name from host name */ | ^~~~~~~~~~ make[6]: *** [Makefile:38: io.o] Error 1 parser.c:784:9: error: too many arguments to function 'add_log'; expected 0, have 2 784 | add_log(1, "SYSERR gethostname: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c: In function 'strip_down': parser.c:810:15: warning: old-style function definition [-Wold-style-definition] 810 | private char *strip_down(host) | ^~~~~~~~~~ parser.c:842:9: error: too many arguments to function 'add_log'; expected 0, have 3 842 | add_log(19, "hostname is %s", name); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c:844:16: error: too many arguments to function 'strsave'; expected 0, have 1 844 | return strsave(name); /* Save string in memory */ | ^~~~~~~ ~~~~ parser.c:168:14: note: declared here 168 | extern char *strsave(); /* Save string value in memory */ | ^~~~~~~ make[6]: *** [Makefile:38: parser.o] Error 1 make[6]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent/filter' make[5]: *** [Makefile:227: subdirs] Error 1 make[5]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent' make[4]: *** [Makefile:302: all] Error 2 make[4]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent' make[3]: *** [Makefile:121: subdirs] Error 1 make[3]: Leaving directory '/build/reproducible-path/mailagent-3.1-106' make[2]: *** [Makefile:196: all] Error 2 make[2]: Leaving directory '/build/reproducible-path/mailagent-3.1-106' dh_auto_build: error: make -j12 "INSTALL=install --strip-program=true" returned exit code 2 make[1]: *** [debian/rules:52: override_dh_auto_build] Error 25 make[1]: Leaving directory '/build/reproducible-path/mailagent-3.1-106' make: *** [debian/rules:27: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 I: copying local configuration E: Failed autobuilding of package I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/1920273 and its subdirectories Starting cleanup. All cleanup done. Sun Sep 14 17:18:09 UTC 2025 - reproducible_build.sh stopped running as /tmp/jenkins-script-mtY1oP5n, removing. /srv/reproducible-results/rbuild-debian/r-b-build.AApUb7Vv: total 16 drwxrwxr-x 2 jenkins jenkins 4096 Sep 14 17:18 b1 drwxrwxr-x 2 jenkins jenkins 4096 Sep 14 17:17 b2 -rw-rw-r-- 1 jenkins jenkins 1907 Mar 13 2025 mailagent_3.1-106-1.2.dsc -rw------- 1 jenkins jenkins 3052 Sep 14 17:17 rbuildlog.4plrrT9 /srv/reproducible-results/rbuild-debian/r-b-build.AApUb7Vv/b1: total 184 -rw-r--r-- 1 jenkins jenkins 186538 Sep 14 17:18 build.log /srv/reproducible-results/rbuild-debian/r-b-build.AApUb7Vv/b2: total 0 Sun Sep 14 17:18:10 UTC 2025 I: Deleting $TMPDIR on codethink04-arm64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Sun Sep 14 05:17:34 -12 2025 I: pbuilder-time-stamp: 1757870254 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [mailagent_3.1-106-1.2.dsc] I: copying [./mailagent_3.1-106.orig.tar.gz] I: copying [./mailagent_3.1-106-1.2.diff.gz] I: Extracting source dpkg-source: warning: cannot verify inline signature for ./mailagent_3.1-106-1.2.dsc: no acceptable signature found dpkg-source: info: extracting mailagent in mailagent-3.1-106 dpkg-source: info: unpacking mailagent_3.1-106.orig.tar.gz dpkg-source: info: applying mailagent_3.1-106-1.2.diff.gz dpkg-source: info: upstream files that have been modified: mailagent-3.1-106/.gitignore mailagent-3.1-106/Configure mailagent-3.1-106/FAQ mailagent-3.1-106/README mailagent-3.1-106/agent/examples/mchk mailagent-3.1-106/agent/examples/profile mailagent-3.1-106/agent/filter/environ.h mailagent-3.1-106/agent/filter/logfile.c mailagent-3.1-106/agent/magent.sh mailagent-3.1-106/agent/man/edusers.SH mailagent-3.1-106/agent/man/mailagent.SH mailagent-3.1-106/agent/man/maildist.SH mailagent-3.1-106/agent/man/mailhelp.SH mailagent-3.1-106/agent/man/maillist.SH mailagent-3.1-106/agent/man/mailpatch.SH mailagent-3.1-106/agent/man/package.SH mailagent-3.1-106/agent/pl/mbox.pl mailagent-3.1-106/agent/pl/parse.pl mailagent-3.1-106/agent/pl/utmp/utmp_ph.c mailagent-3.1-106/agent/test/basic/config.t mailagent-3.1-106/bin/svn-revision mailagent-3.1-106/revision.h I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/1920273/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='arm64' IFS=' ' INVOCATION_ID='4a6f50ea8b0f49fb94cfb905dd07a63f' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='1920273' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.AApUb7Vv/pbuilderrc_EJni --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.AApUb7Vv/b1 --logfile b1/build.log mailagent_3.1-106-1.2.dsc' SUDO_GID='109' SUDO_HOME='/var/lib/jenkins' SUDO_UID='104' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.4:3128' I: uname -a Linux codethink04-arm64 6.12.43+deb13-cloud-arm64 #1 SMP Debian 6.12.43-1 (2025-08-27) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin I: user script /srv/workspace/pbuilder/1920273/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: groff-base, debhelper-compat (= 12), po-debconf, file, gettext, libperl4-corelibs-perl, dpkg-dev (>= 1.16.0), libfile-fcntllock-perl dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 20020 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on groff-base; however: Package groff-base is not installed. pbuilder-satisfydepends-dummy depends on debhelper-compat (= 12); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on po-debconf; however: Package po-debconf is not installed. pbuilder-satisfydepends-dummy depends on file; however: Package file is not installed. pbuilder-satisfydepends-dummy depends on gettext; however: Package gettext is not installed. pbuilder-satisfydepends-dummy depends on libperl4-corelibs-perl; however: Package libperl4-corelibs-perl is not installed. pbuilder-satisfydepends-dummy depends on libfile-fcntllock-perl; however: Package libfile-fcntllock-perl is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-fcntllock-perl{a} libfile-stripnondeterminism-perl{a} libmagic-mgc{a} libmagic1t64{a} libperl4-corelibs-perl{a} libpipeline1{a} libtool{a} libuchardet0{a} libunistring5{a} libxml2-16{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 31 newly installed, 0 to remove and 0 not upgraded. Need to get 11.0 MB of archives. After unpacking 45.3 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main arm64 sensible-utils all 0.0.26 [27.0 kB] Get: 2 http://deb.debian.org/debian unstable/main arm64 libmagic-mgc arm64 1:5.46-5 [338 kB] Get: 3 http://deb.debian.org/debian unstable/main arm64 libmagic1t64 arm64 1:5.46-5 [103 kB] Get: 4 http://deb.debian.org/debian unstable/main arm64 file arm64 1:5.46-5 [43.7 kB] Get: 5 http://deb.debian.org/debian unstable/main arm64 gettext-base arm64 0.23.1-2+b1 [241 kB] Get: 6 http://deb.debian.org/debian unstable/main arm64 libuchardet0 arm64 0.0.8-2 [69.0 kB] Get: 7 http://deb.debian.org/debian unstable/main arm64 groff-base arm64 1.23.0-9 [1130 kB] Get: 8 http://deb.debian.org/debian unstable/main arm64 bsdextrautils arm64 2.41.1-3 [98.1 kB] Get: 9 http://deb.debian.org/debian unstable/main arm64 libpipeline1 arm64 1.5.8-1 [40.2 kB] Get: 10 http://deb.debian.org/debian unstable/main arm64 man-db arm64 2.13.1-1 [1453 kB] Get: 11 http://deb.debian.org/debian unstable/main arm64 m4 arm64 1.4.20-1 [316 kB] Get: 12 http://deb.debian.org/debian unstable/main arm64 autoconf all 2.72-3.1 [494 kB] Get: 13 http://deb.debian.org/debian unstable/main arm64 autotools-dev all 20240727.1 [60.2 kB] Get: 14 http://deb.debian.org/debian unstable/main arm64 automake all 1:1.17-4 [862 kB] Get: 15 http://deb.debian.org/debian unstable/main arm64 autopoint all 0.23.1-2 [770 kB] Get: 16 http://deb.debian.org/debian unstable/main arm64 libdebhelper-perl all 13.26 [91.8 kB] Get: 17 http://deb.debian.org/debian unstable/main arm64 libtool all 2.5.4-5 [540 kB] Get: 18 http://deb.debian.org/debian unstable/main arm64 dh-autoreconf all 21 [12.2 kB] Get: 19 http://deb.debian.org/debian unstable/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian unstable/main arm64 libfile-stripnondeterminism-perl all 1.15.0-1 [19.9 kB] Get: 21 http://deb.debian.org/debian unstable/main arm64 dh-strip-nondeterminism all 1.15.0-1 [8812 B] Get: 22 http://deb.debian.org/debian unstable/main arm64 libelf1t64 arm64 0.193-3 [189 kB] Get: 23 http://deb.debian.org/debian unstable/main arm64 dwz arm64 0.16-2 [100 kB] Get: 24 http://deb.debian.org/debian unstable/main arm64 libunistring5 arm64 1.3-2 [453 kB] Get: 25 http://deb.debian.org/debian unstable/main arm64 libxml2-16 arm64 2.14.5+dfsg-0.2 [582 kB] Get: 26 http://deb.debian.org/debian unstable/main arm64 gettext arm64 0.23.1-2+b1 [1612 kB] Get: 27 http://deb.debian.org/debian unstable/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian unstable/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian unstable/main arm64 debhelper all 13.26 [939 kB] Get: 30 http://deb.debian.org/debian unstable/main arm64 libfile-fcntllock-perl arm64 0.22-4+b4 [34.6 kB] Get: 31 http://deb.debian.org/debian unstable/main arm64 libperl4-corelibs-perl all 0.005-1 [39.0 kB] Fetched 11.0 MB in 0s (74.5 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20020 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.26_all.deb ... Unpacking sensible-utils (0.0.26) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.46-5_arm64.deb ... Unpacking libmagic-mgc (1:5.46-5) ... Selecting previously unselected package libmagic1t64:arm64. Preparing to unpack .../02-libmagic1t64_1%3a5.46-5_arm64.deb ... Unpacking libmagic1t64:arm64 (1:5.46-5) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.46-5_arm64.deb ... Unpacking file (1:5.46-5) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.23.1-2+b1_arm64.deb ... Unpacking gettext-base (0.23.1-2+b1) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../05-libuchardet0_0.0.8-2_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.8-2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-9_arm64.deb ... Unpacking groff-base (1.23.0-9) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.41.1-3_arm64.deb ... Unpacking bsdextrautils (2.41.1-3) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../08-libpipeline1_1.5.8-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.1-1_arm64.deb ... Unpacking man-db (2.13.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.20-1_arm64.deb ... Unpacking m4 (1.4.20-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3.1_all.deb ... Unpacking autoconf (2.72-3.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20240727.1_all.deb ... Unpacking autotools-dev (20240727.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.17-4_all.deb ... Unpacking automake (1:1.17-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.23.1-2_all.deb ... Unpacking autopoint (0.23.1-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.26_all.deb ... Unpacking libdebhelper-perl (13.26) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.5.4-5_all.deb ... Unpacking libtool (2.5.4-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_21_all.deb ... Unpacking dh-autoreconf (21) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.15.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.15.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.15.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.15.0-1) ... Selecting previously unselected package libelf1t64:arm64. Preparing to unpack .../21-libelf1t64_0.193-3_arm64.deb ... Unpacking libelf1t64:arm64 (0.193-3) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.16-2_arm64.deb ... Unpacking dwz (0.16-2) ... Selecting previously unselected package libunistring5:arm64. Preparing to unpack .../23-libunistring5_1.3-2_arm64.deb ... Unpacking libunistring5:arm64 (1.3-2) ... Selecting previously unselected package libxml2-16:arm64. Preparing to unpack .../24-libxml2-16_2.14.5+dfsg-0.2_arm64.deb ... Unpacking libxml2-16:arm64 (2.14.5+dfsg-0.2) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.23.1-2+b1_arm64.deb ... Unpacking gettext (0.23.1-2+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.26_all.deb ... Unpacking debhelper (13.26) ... Selecting previously unselected package libfile-fcntllock-perl. Preparing to unpack .../29-libfile-fcntllock-perl_0.22-4+b4_arm64.deb ... Unpacking libfile-fcntllock-perl (0.22-4+b4) ... Selecting previously unselected package libperl4-corelibs-perl. Preparing to unpack .../30-libperl4-corelibs-perl_0.005-1_all.deb ... Unpacking libperl4-corelibs-perl (0.005-1) ... Setting up libpipeline1:arm64 (1.5.8-1) ... Setting up bsdextrautils (2.41.1-3) ... Setting up libmagic-mgc (1:5.46-5) ... Setting up libfile-fcntllock-perl (0.22-4+b4) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libxml2-16:arm64 (2.14.5+dfsg-0.2) ... Setting up libdebhelper-perl (13.26) ... Setting up libperl4-corelibs-perl (0.005-1) ... Setting up libmagic1t64:arm64 (1:5.46-5) ... Setting up gettext-base (0.23.1-2+b1) ... Setting up m4 (1.4.20-1) ... Setting up file (1:5.46-5) ... Setting up libelf1t64:arm64 (0.193-3) ... Setting up autotools-dev (20240727.1) ... Setting up libunistring5:arm64 (1.3-2) ... Setting up autopoint (0.23.1-2) ... Setting up autoconf (2.72-3.1) ... Setting up dwz (0.16-2) ... Setting up sensible-utils (0.0.26) ... Setting up libuchardet0:arm64 (0.0.8-2) ... Setting up automake (1:1.17-4) ... update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.15.0-1) ... Setting up gettext (0.23.1-2+b1) ... Setting up libtool (2.5.4-5) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (21) ... Setting up dh-strip-nondeterminism (1.15.0-1) ... Setting up groff-base (1.23.0-9) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.26) ... Processing triggers for libc-bin (2.41-12) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/mailagent-3.1-106/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../mailagent_3.1-106-1.2_source.changes dpkg-buildpackage: info: source package mailagent dpkg-buildpackage: info: source version 1:3.1-106-1.2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Paulo Henrique de Lima Santana (phls) dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean debian/rules override_dh_clean make[1]: Entering directory '/build/reproducible-path/mailagent-3.1-106' dh_clean test ! -d .config || rm -rf .config make[1]: Leaving directory '/build/reproducible-path/mailagent-3.1-106' debian/rules binary dh binary dh_update_autotools_config dh_autoreconf debian/rules override_dh_auto_configure make[1]: Entering directory '/build/reproducible-path/mailagent-3.1-106' /bin/cp -rpf debian/Config .config && \ /bin/cp -pf debian/config.over config.over && \ touch .config/nomail && \ eval "" && \ sh ./Configure \ -de \ -D cat=/bin/cat -D zcat=/bin/zcat \ -D prefix= \ -D orgname=/etc/news/organization \ -D myhostname=localhost \ -D mydomain=localdomain \ -D defeditor=/usr/ae \ -D usenm=no \ -D privlib=/usr/share/mailagent \ -D utmp="/var/run/utmp" \ -D optimize="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard" \ -D ldflags="-Wl,-z,relro" \ -D cf_email='srivasta@debian.org' \ -D d_berknames='define' Configure: use '-U symbol=', not '-D symbol='. Configure: ignoring -D prefix= Beginning of configuration questions for mailagent. Checking echo to see how to suppress newlines... ...using \c The star should be here-->* First let's make sure your kit is complete. Checking... Looks good... This installation shell script will examine your system and ask you questions to determine how the mailagent package should be installed. If you get stuck on a question, you may use a ! shell escape to start a subshell or execute a command. Many of the questions will have default answers in square brackets; typing carriage return will give you the default. On some of the questions which ask for file or directory names you are allowed to use the ~name construct to specify the login directory belonging to "name", even if you don't have a shell which knows about that. Questions where this is allowed will be marked "(~name ok)". [Type carriage return to continue] The prompter used in this script allows you to use shell variables and backticks in your answers. You may use $1, $2, etc... to refer to the words in the default answer, as if the default line was a set of arguments given to a script shell. This means you may also use $* to repeat the whole default line, so you do not have to re-type everything to add something to the default. Everytime there is a substitution, you will have to confirm. If there is an error (e.g. an unmatched backtick), the default answer will remain unchanged and you will be prompted again. If you are in a hurry, you may run 'Configure -d'. This will bypass nearly all the questions and use the computed defaults (or the previous answers if there was already a config.sh file). Type 'Configure -h' for a list of options. You may also start interactively and then answer '& -d' at any prompt to turn on the non-interactive behaviour for the remainder of the execution. [Type carriage return to continue] Much effort has been expended to ensure that this shell script will run on any Unix system. If despite that it blows up on yours, your best bet is to edit Configure and run it again. If you can't run Configure for some reason, you'll have to generate a config.sh file by hand. Whatever problems you have, let me (Raphael_Manfredi@pobox.com) know how I blew it. This installation script affects things in two ways: 1) it may do direct variable substitutions on some of the files included in this kit. 2) it builds a config.h file for inclusion in C programs. You may edit any of these files as the need arises after running this script. If you make a mistake on a question, there is no easy way to back up to it currently. The easiest thing to do is to edit config.sh and rerun all the SH files. Configure will offer to let you do this before it runs the SH files. [Type carriage return to continue] Locating common programs... awk is in /usr/bin/awk. cat is in /bin/cat. chgrp is in /usr/bin/chgrp. chmod is in /usr/bin/chmod. chown is in /usr/bin/chown. comm is in /usr/bin/comm. cp is in /usr/bin/cp. echo is in /usr/bin/echo. expr is in /usr/bin/expr. grep is in /usr/bin/grep. make is in /usr/bin/make. mkdir is in /usr/bin/mkdir. mv is in /usr/bin/mv. rm is in /usr/bin/rm. sed is in /usr/bin/sed. sleep is in /usr/bin/sleep. sort is in /usr/bin/sort. touch is in /usr/bin/touch. tr is in /usr/bin/tr. uniq is in /usr/bin/uniq. Don't worry if any of the following aren't found... ar is in /usr/bin/ar. cpp is in /usr/bin/cpp. date is in /usr/bin/date. egrep is in /usr/bin/egrep. I don't see inews out there, offhand. I don't see line out there, either. ln is in /usr/bin/ln. I don't see mail out there, either. nm is in /usr/bin/nm. nroff is in /usr/bin/nroff. perl is in /usr/bin/perl. I don't see rmail out there, either. I don't see sendmail out there, either. I don't see smail out there, either. test is in /usr/bin/test. uname is in /usr/bin/uname. I don't see vi out there, either. wc is in /usr/bin/wc. zcat is in /bin/zcat. Using the test built into your sh. Checking compatibility between /usr/bin/echo and builtin echo (if any)... They are not compatible! You are probably running ksh on a non-USG system. I'll have to use /usr/bin/echo instead of the builtin, since Bourne shell doesn't have echo built in and we may have to run some Bourne shell scripts. That means I'll have to use '-n' to suppress newlines now. Life is ridiculous. The star should be here-->* Symbolic links are supported. Checking how to test for symbolic links... Your builtin 'test -h' may be broken. Trying external '/usr/bin/test -h'. You can test for symbolic links with '/usr/bin/test -h'. Good, your tr supports [:lower:] and [:upper:] to convert case. Using [:upper:] and [:lower:] to convert case. Configure uses the operating system name and version to set some defaults. The default value is probably right if the name rings a bell. Otherwise, since spelling matters for me, either accept the default or answer "none" to leave it blank. Operating system name? [linux] Operating system version? [6.12.43+deb13-cloud-arm64] I can set things up so that your shell scripts and binaries are more portable, at what may be a noticable cost in performance. In particular, if you ask to be portable, the following happens: 1) Shell scripts will rely on the PATH variable rather than using the paths derived above. 2) ~username interpretations will be done at run time rather than by Configure. 3) The system name will be determined at run time, if at all possible. Do you expect to run these scripts and binaries on multiple machines? [n] By default, mailagent will be installed in /usr/local/bin, manual pages under /usr/local/man, etc..., i.e. with /usr/local as prefix for all installation directories. Typically set to /usr/local, but you may choose /usr if you wish to install mailagent among your system binaries. If you wish to have binaries under /bin but manual pages under /usr/local/man, that's ok: you will be prompted separately for each of the installation directories, the prefix being only used to set the defaults. Installation prefix to use? (~name ok) [/usr/local] AFS does not seem to be running... Pathname where the public executables will reside? (~name ok) [/usr/local/bin] System manual is in /usr/share/man/man1. Mailagent has manual pages available in source form. If you don't want the manual sources installed, answer 'none'. Where do the manual pages (source) go? (~name ok) [/usr/share/man/man1] There are some auxiliary files for mailagent that need to be put into a private library directory that is accessible by everyone. Pathname where the private library files will reside? (~name ok) [/usr/share/mailagent] Some installations have a separate directory just for executable scripts so that they can mount it across multiple architectures but keep the scripts in one spot. You might, for example, have a subdirectory of /usr/share for this. Or you might just lump your scripts in with all your other executables. Where do you keep publicly executable scripts? (~name ok) [/usr/local/bin] Where is perl located on your system? (~name ok) [/usr/bin/perl] Use which C compiler? [cc] Hmm... Looks kind of like a GNU/Linux system, but we'll see... Congratulations. You aren't running Eunice. It's not Xenix... Nor is it Venix... Checking for GNU cc in disguise and/or its version number... You are using GNU cc 15. Hmm... Doesn't look like a MIPS system. Where are the include files you want to use? [/usr/include] Now, how can we feed standard input to your C preprocessor... Maybe "cc -E" will work... Nope...maybe "cc -E -" will work... Yup, it does. Some systems have incompatible or broken versions of libraries. Among the directories listed in the question below, please remove any you know not to be holding relevant libraries, and add any that are needed. Say "none" for none. Directories to use for library searches? [/lib /usr/lib /usr/local/lib /usr/lib/aarch64-linux-gnu] With the GNU C compiler, it is possible to supply both -O2 and -g flags, to be able to reasonably optimize, whilst retaining the ability to use a symbolic debugger. Either flag can be specified here. To use neither flag, specify the word "none". What optimizer/debugger flag should be used? [-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard] Your C compiler may want other flags. For this question you should include -I/whatever and -DWHATEVER flags and any other flags used by the C compiler, but you should NOT include libraries or ld flags like -lwhatever. To use no flags, specify the word "none". Any additional cc flags? [-fpcc-struct-return -Wall] Let me guess what the preprocessor flags are... They appear to be: -fpcc-struct-return -Wall -D__GNUC__ Your C linker may need flags. For this question you should include -L/whatever and any other flags used by the C linker, but you should NOT include libraries like -lwhatever. Make sure you include the appropriate -L/path flags if your C linker does not normally search all of the directories you specified above, namely /lib /usr/lib /usr/local/lib /usr/lib/aarch64-linux-gnu To use no flags, specify the word "none". Any additional ld flags (NOT including libraries)? [-Wl,-z,relro] Checking your choice of C compiler and flags for coherency... OK, that should do. Computing filename position in cpp output for #include directives... Your cpp writes the filename in the third field of the line. found. Checking for access()... found. defines the *_OK access constants. Checking for bcopy()... found. Checking whether you have the BSD flavour of setpgrp()... no. Checking whether you have the USG flavour of setpgrp() then... yes. Checking for dup2()... found. Checking for fcntl()... found. You can have filenames longer than 14 characters. Figuring out host name... Your host name appears to be "localhost". Right? [y] What is your domain name? [localdomain] On some systems, shared libraries may be available. Answer 'none' if you want to suppress searching of shared libraries for the remainder of this configuration. What is the file extension used for shared libraries? [so] Checking for optional libraries... No -lc_s. In order to compile mailagent on your machine, a number of libraries are usually needed. Include any other special libraries here as well. Say "none" for none. The default list is almost always right. Which libraries to use? [none] Checking for GNU C Library... You are using the GNU C Library version 2.41 I can use /usr/bin/nm to extract the symbols from your C libraries. This is a time consuming task which may generate huge output on the disk (up to 3 megabytes) but that should make the symbols extraction faster. The alternative is to skip the 'nm' extraction part and to compile a small test program instead to determine whether each symbol is present. If you have a fast C compiler and/or if your 'nm' output cannot be parsed, this may be the best solution. Shall I use nm to extract C symbols from the libraries? [n] gethostname() found. Every now and then someone has a gethostname() that lies about the hostname but can't be fixed for political or economic reasons. If you wish, I can pretend gethostname() isn't there and maybe compile in the hostname or compute it from the '' command at run-time. Shall I ignore gethostname() from now on? [n] Checking for getopt()... found. Checking for strchr()... found. Checking for index()... found. defines the O_* constants... and you have the 3 argument form of open(). Checking for rename()... found. Checking for setpgid()... found. Checking for setrgid()... missing. Checking for setruid()... missing. Checking for setsid()... found. Checking for strcasecmp()... found. strerror() found. (Since you don't have sys_errlist[], sterror() is welcome.) (However, I can't extract the symbolic error code out of errno.) No trace of 'union wait' in ... Your wait() should be happy with a plain 'int' pointer. Checking vfork... yes. Some systems have problems with vfork(). Do you want to use it? [y] Guessing which symbols your C compiler and preprocessor define... comm: file 1 is not in sorted order comm: input is not in sorted order comm: file 1 is not in sorted order comm: input is not in sorted order comm: file 1 is not in sorted order comm: input is not in sorted order Your C pre-processor defines the following symbols: __ELF__ __GLIBC__ __GLIBC_MINOR__ __GNUC__ __GNUC_MINOR__ __GNU_LIBRARY__ _LP64 __LP64__ __PIC__ _POSIX_C_SOURCE _POSIX_SOURCE __STDC__ __USE_MISC __USE_POSIX __USE_POSIX199309 __USE_POSIX199506 __USE_POSIX2 linux __linux __linux__ __pic__ unix __unix __unix__ You have POSIX termios.h... good! NOT found. found. Closing standard file descriptors should void tty association. Let's see whether you can use the WIFEXITED(status) macro and its friends with status declared as 'int status'... Apparently you can't use WIFxxx macros properly. Checking to see how your cpp does stuff like catenate tokens... Oh! Smells like ANSI's been here. We can catify or stringify, separately or together! What is the default editor on your system? [/usr/ae] File /usr/ae doesn't exist. Use that name anyway? [y] Checking for flock()... found. Will use .lock type mailbox locking. Some sites are on "hidden" networks, in the sense that the network appears to the outside world as a single machine. The advertised name of any host on this hidden network is the name of one machine on the local network which knows how to forward mail to any other host on the hidden network. Do you wish to advertise a different hostname to the world than the one your own host (localhost.localdomain) has? Use "hidden" network? [n] Looking for a BSD-compatible install program... (I can't seem to compile a trivial C program -- bypassing.) Checking /usr/bin/install... not good. Checking /bin/install... not good either. Hopefully, mailagent comes with its own install script! I will be requiring a BSD-compatible install program (one that allows options like -s to strip executables or -m to specify a file mode) to install mailagent. If the question below contains a fully qualified default path, then it is probably ok. If it is an unqualified name such as 'install', then it means I was unable to find out a good install program I could use. If you know of one, please tell me about it. If the default is './install', then I shall be using the install script supplied with mailagent. Which install program shall I use? (~name ok) [./install] Ok, let's see how we can create nested directories... Great, we can build them using 'mkdir -p'. Checking to see how big your ints are... 4 bytes. Some systems have different model sizes. On most systems they are called small, medium, large, and huge. On the PDP11 they are called unsplit and split. If your system doesn't support different memory models, say "none". If you wish to force everything to one memory model, say "none" here and put the appropriate flags later when it asks you for other cc and ld flags. Venix systems may wish to put "none" and let the compiler figure things out. (In the following question multiple model names should be space separated.) The default for most systems is "none". Which memory models are supported? [none] Where is yet-to-be-read mail spooled? (~name ok) [/var/spool/mail] I need the full pathname of the program used to deliver mail on your system. A typical answer would be /usr/lib/sendmail or /bin/rmail, but you may choose any other program, as long as it can be fed from standard input and will honour any user-supplied headers. Mail transport agent to be used? [mail] File mail doesn't exist. Use that name anyway? [y] In the following question, you may use %~ to represent the user's home directory, and %L to represent a users name. In which file is yet-to-be-read mail spooled? (~name ok) [/var/spool/mail/%L] Checking how to generate makefile dependencies on your machine... Looks like we can use /usr/bin/cpp -M. Name of program to make makefile dependencies? (~name ok) [/build/reproducible-path/mailagent-3.1-106/mkdep] Please type the name of your organization as you want it to appear on the Organization line of outgoing articles. (It's nice if this also specifies your location. Your city name is probably sufficient if well known.) For example: University of Southern North Dakota, Hoople You may also put the name of a file, as long as it begins with a slash. For example: /etc/organization Organization: [/etc/news/organization] Getting the current patchlevel / revision... (You have mailagent 3.1-106) What type are process ids on this system declared as? [pid_t] Checking out function prototypes... Your C compiler appears to support function prototypes. Different C compilers on different machines pay attention to different numbers of register declarations. About how many register declarations in each routine does your C compiler pay attention to? (OK to guess) Maximum register declarations? [6] Root uid = 0 I can't determine whether signal handler returns void or int... What type does your signal handler return? [void] I can use the #! construct to start perl on your system. This will make startup of perl scripts faster, but may cause problems if you want to share those scripts and perl is not in a standard place (/usr/bin/perl) on all your platforms. The alternative is to force a shell by starting the script with a single ':' character. Shall I use #! to start up perl? [y] time() found. What type is returned by time() on this system? [time_t] What is the type for user ids returned by getuid()? [uid_t] Where is the utmp file recording logins? [/var/run/utmp] File /var/run/utmp doesn't exist. Use that name anyway? [y] Checking to see how well your C compiler groks the void type... Good. It appears to support void to the level mailagent wants. However, you might get some warnings that look like this: try.c: In function 'sub': try.c:15:14: warning: variable 'iptr' set but not used [-Wunused-but-set-variable] 15 | int *iptr; | ^~~~ found. We'll be including . found. We don't need to include if we include . found. found. Using instead of . found. Testing to see if we should include , or both. I'm now running the test program...... Succeeded with -DI_TIME -DI_SYSTIME -DS_TIMEVAL We'll include . We'll include . found. found. Does your /etc/passwd file keep full names in Berkeley/V7 format (name first thing after ':' in GCOS field)? In that case, a typical entry in the password file looks like this: guest:**paswword**:10:100:Mister Guest User:/usr/users:/bin/sh ^^^^^^^^^^^^^^^^^ Berkeley/V7 format for full name in /etc/passwd? [y] Pleased to meet you, . I need to get your e-mail address in Internet format if possible, i.e. something like user@host.domain. Please answer accurately since I have no easy means to double check it. The default value provided below is most probably close to reality but may not be valid from outside your organization... What is your e-mail address? [srivasta@debian.org] There is a mailing list for discussion about mailagent and related issues. This is the preferred place to ask questions about the program and discuss modifications and additions with the author and other users. If you are able to send mail to the Internet, you are encouraged to subscribe. You need only ever subscribe once, and you can unsubscribe automatically at any time in the future. If you have already subscribed and you wish to unsubscribe now, you may do so by answering "unsubscribe". Answer "subscribe" to subscribe to the list. Subscribe to or unsubscribe from the agent-users mailing list? [neither] End of configuration questions. I see a config.over file. Do you wish to load it? [y] Configuration override changes have been loaded. Creating config.sh... Generating revision.h... Doing variable substitutions on .SH files... Extracting Makefile (with variable substitutions) Extracting agent/Makefile (with variable substitutions) Extracting agent/edusers (with variable substitutions) Extracting agent/examples/Makefile (with variable substitutions) Extracting agent/files/Makefile (with variable substitutions) Extracting agent/files/help/Makefile (with variable substitutions) Extracting agent/files/help/addauth (with variable substitutions) Extracting agent/files/help/approve (with variable substitutions) Extracting agent/files/help/delpower (with variable substitutions) Extracting agent/files/help/end (with variable substitutions) Extracting agent/files/help/getauth (with variable substitutions) Extracting agent/files/help/help (with variable substitutions) Extracting agent/files/help/newpower (with variable substitutions) Extracting agent/files/help/passwd (with variable substitutions) Extracting agent/files/help/password (with variable substitutions) Extracting agent/files/help/power (with variable substitutions) Extracting agent/files/help/release (with variable substitutions) Extracting agent/files/help/remauth (with variable substitutions) Extracting agent/files/help/set (with variable substitutions) Extracting agent/files/help/setauth (with variable substitutions) Extracting agent/files/help/user (with variable substitutions) Extracting agent/filter/Makefile (with variable substitutions) Extracting agent/maildist (with variable substitutions) Extracting agent/mailhelp (with variable substitutions) Extracting agent/maillist (with variable substitutions) Extracting agent/mailpatch (with variable substitutions) Extracting agent/man/Makefile (with variable substitutions) Extracting agent/man/edusers.1 (with variable substitutions) Extracting agent/man/mailagent.1 (with variable substitutions) Extracting agent/man/maildist.1 (with variable substitutions) Extracting agent/man/mailhelp.1 (with variable substitutions) Extracting agent/man/maillist.1 (with variable substitutions) Extracting agent/man/mailpatch.1 (with variable substitutions) Extracting agent/man/package.1 (with variable substitutions) Extracting agent/package (with variable substitutions) Extracting agent/pl/Makefile (with variable substitutions) Extracting agent/pl/termios/Makefile (with variable substitutions) Extracting agent/pl/utmp/Makefile (with variable substitutions) Extracting agent/test/Makefile (with variable substitutions) Extracting config.h (with variable substitutions) Extracting install (with variable substitutions) Now you need to generate make dependencies by running "/usr/bin/make depend". You might prefer to run it in background: "/usr/bin/make depend > makedepend.out &" It can take a while, so you might not want to run it right now. Run /usr/bin/make depend now? [y] make[2]: Entering directory '/build/reproducible-path/mailagent-3.1-106' Depending in agent... make[3]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent' Depending in agent/pl... make[4]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent/pl' Depending in agent/pl/termios... make[5]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/termios' (/usr/bin/sed '/^# DO NOT DELETE/q' Makefile && \ /build/reproducible-path/mailagent-3.1-106/mkdep -I../../.. -fpcc-struct-return -Wall -D__GNUC__ -- termios_ph.c | \ /usr/bin/sed -e 's:/usr/lib[^ ]*::g; s:/usr/include[^ ]*::g; ' \ -e '/: / b print' -e '$ b print' -e 'H; d; n; : print' \ -e 'x; s/\\$//; s/\\\n//g; s/ */ /g; s/ :/:/;' -e '/: *$/d' \ ) > Makefile.new cp Makefile Makefile.bak cp Makefile.new Makefile /usr/bin/rm -f Makefile.new make[5]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/termios' Depending in agent/pl/utmp... make[5]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/utmp' (/usr/bin/sed '/^# DO NOT DELETE/q' Makefile && \ /build/reproducible-path/mailagent-3.1-106/mkdep -I../../.. -- utmp_ph.c | \ /usr/bin/sed 's/: \.\//: /; s/\/usr\/include[^ ]*//g; /^[ ]*\\$/d' \ ) > Makefile.new cp Makefile Makefile.bak cp Makefile.new Makefile /usr/bin/rm -f Makefile.new make[5]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/utmp' make[4]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent/pl' Depending in agent/filter... make[4]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent/filter' (/usr/bin/sed '/^# DO NOT DELETE/q' Makefile && \ /build/reproducible-path/mailagent-3.1-106/mkdep -I../.. -- environ.c hash.c io.c lock.c logfile.c main.c misc.c msg.c parser.c user.c getopt.c dup2.c | \ /usr/bin/sed -e 's:/usr/include[^ ]*::g; s:/usr/include[^ ]*::g; ' \ -e '/: / b print' -e 'H; d; n; : print' -e 'x; s/\\\n//g' \ -e 's/ */ /g; s/ :/:/;' -e '/: *$/d' \ ) > Makefile.new cp Makefile Makefile.bak cp Makefile.new Makefile /usr/bin/rm -f Makefile.new make[4]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent/filter' (/usr/bin/sed '/^# DO NOT DELETE/q' Makefile && \ grep '^\$grep' mailpatch.SH mailhelp.SH maillist.SH maildist.SH package.SH edusers.SH magent.sh | \ /usr/bin/sed -e "s/^.*' \([^ ]*\) >>\(.*\)/\2: \1/" \ ) > Makefile.new cp Makefile Makefile.bak cp Makefile.new Makefile /usr/bin/rm -f Makefile.new make[3]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent' make[2]: Leaving directory '/build/reproducible-path/mailagent-3.1-106' Now you must run '/usr/bin/make'. make[1]: Leaving directory '/build/reproducible-path/mailagent-3.1-106' debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/mailagent-3.1-106' dh_auto_build make -j12 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/reproducible-path/mailagent-3.1-106' ./bin/svn-revision . revision.h make[3]: Entering directory '/build/reproducible-path/mailagent-3.1-106' Making all in agent... make[4]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent' make[4]: warning: -j12 forced in submake: resetting jobserver mode. Checking utmp.pl in pl/utmp... cd pl/utmp; make utmp.pl Checking termios.pl in pl/termios... cd pl/termios; make termios.pl make[5]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/utmp' cc -c -I../../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall utmp_ph.c make[5]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/termios' cc -c -I../../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall termios_ph.c termios_ph.c: In function 'main': termios_ph.c:88:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 88 | int row_off = (int) &win->ws_row; /* Offset of ws_row */ | ^ termios_ph.c:89:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 89 | int col_off = (int) &win->ws_col; /* Offset of ws_col */ | ^ termios_ph.c:147:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 147 | printf("$length = %d;\t\t\t# sizeof(struct winsize)\n", | ~^ | | | int | %ld 148 | sizeof(struct winsize)); | ~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int utmp_ph.c: In function 'main': utmp_ph.c:151:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 151 | printf("$length = %d;\t\t\t\t\t# sizeof(struct utmp)\n", | ~^ | | | int | %ld 152 | sizeof(struct utmp)); | ~~~~~~~~~~~~~~~~~~~ | | | long unsigned int /usr/bin/rm -f termios_ph if test -f termios_ph; then \ /usr/bin/mv termios_ph termios_ph~; fi cc -o termios_ph termios_ph.o -Wl,-z,relro -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z,relro /usr/bin/rm -f utmp_ph if test -f utmp_ph; then /usr/bin/mv utmp_ph utmp_ph~; else exit 0; fi cc -o utmp_ph utmp_ph.o -Wl,-z,relro -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z,relro /bin/sh termios_pl.sh Extracting agent/pl/termios/termios.pl (with variable substitutions) make[5]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/termios' Continuing in agent... /bin/sh utmp_pl.sh Extracting agent/pl/utmp/utmp.pl (with variable substitutions) make[5]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/utmp' Continuing in agent... /bin/sh magent.sh Extracting agent/magent (with variable substitutions) perl ../bin/perload -o magent > mailagent chmod +rx mailagent make[5]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent' Making all in agent/pl... make[6]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent/pl' make[6]: warning: -j12 forced in submake: resetting jobserver mode. make[7]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent/pl' Making all in agent/pl/termios... make[8]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/termios' make[8]: warning: -j12 forced in submake: resetting jobserver mode. make[8]: Nothing to be done for 'all'. make[8]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/termios' Making all in agent/pl/utmp... make[8]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/utmp' make[8]: warning: -j12 forced in submake: resetting jobserver mode. make[8]: Nothing to be done for 'all'. make[8]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent/pl/utmp' make[7]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent/pl' make[6]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent/pl' Making all in agent/filter... make[6]: Entering directory '/build/reproducible-path/mailagent-3.1-106/agent/filter' make[6]: warning: -j12 forced in submake: resetting jobserver mode. cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall environ.c cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall hash.c cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall io.c cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall lock.c cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall logfile.c cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall main.c cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall misc.c cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall msg.c cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall parser.c cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall user.c cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall getopt.c cc -c -I../.. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mailagent-3.1-106=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fpcc-struct-return -Wall dup2.c environ.c: In function 'print_env': environ.c:72:13: warning: old-style function definition [-Wold-style-definition] 72 | public void print_env(fd, envp) | ^~~~~~~~~ environ.c: In function 'init_env': environ.c:84:12: warning: old-style function definition [-Wold-style-definition] 84 | public int init_env(envp) | ^~~~~~~~ environ.c:95:19: error: too many arguments to function 'ht_create'; expected 0, have 2 95 | if (-1 == ht_create(&henv, ENV_VARS)) | ^~~~~~~~~ ~~~~~ In file included from environ.c:40: hash.h:45:12: note: declared here 45 | extern int ht_create(); /* Create H table */ | ^~~~~~~~~ environ.c:102:25: error: too many arguments to function 'add_log'; expected 0, have 2 102 | add_log(6, "WARNING bad environment line"); | ^~~~~~~ ~ In file included from environ.c:39: logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c:106:35: error: too many arguments to function 'ht_put'; expected 0, have 3 106 | if ((char *) 0 == ht_put(&henv, env_line, ptr + 1)) { | ^~~~~~ ~~~~~ hash.h:47:14: note: declared here 47 | extern char *ht_put(); /* Insert value in H table */ | ^~~~~~ environ.c:107:25: error: too many arguments to function 'add_log'; expected 0, have 2 107 | add_log(4, "ERROR cannot record environment any more"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c: In function 'append_env': environ.c:115:12: warning: old-style function definition [-Wold-style-definition] 115 | public int append_env(key, value) | ^~~~~~~~~~ environ.c:127:16: error: too many arguments to function 'ht_value'; expected 0, have 2 127 | cval = ht_value(&henv, key); | ^~~~~~~~ ~~~~~ hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ environ.c:129:35: error: too many arguments to function 'ht_put'; expected 0, have 3 129 | if ((char *) 0 == ht_put(&henv, key, value)) { | ^~~~~~ ~~~~~ hash.h:47:14: note: declared here 47 | extern char *ht_put(); /* Insert value in H table */ | ^~~~~~ environ.c:130:25: error: too many arguments to function 'add_log'; expected 0, have 3 130 | add_log(1, "ERROR cannot insert environment variable '%s'", key); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c:138:17: error: too many arguments to function 'add_log'; expected 0, have 3 138 | add_log(1, "ERROR cannot append to environment variable '%s'", key); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c:142:27: error: too many arguments to function 'ht_force'; expected 0, have 3 142 | if ((char *) 0 == ht_force(&henv, key, env_line)) { | ^~~~~~~~ ~~~~~ hash.h:48:14: note: declared here 48 | extern char *ht_force(); /* Like ht_put, but replace old value */ | ^~~~~~~~ environ.c:143:17: error: too many arguments to function 'add_log'; expected 0, have 3 143 | add_log(1, "ERROR cannot update environment variable '%s'", key); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c: In function 'prepend_env': environ.c:150:12: warning: old-style function definition [-Wold-style-definition] 150 | public int prepend_env(key, value) | ^~~~~~~~~~~ environ.c:162:16: error: too many arguments to function 'ht_value'; expected 0, have 2 162 | cval = ht_value(&henv, key); | ^~~~~~~~ ~~~~~ hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ environ.c:164:35: error: too many arguments to function 'ht_put'; expected 0, have 3 164 | if ((char *) 0 == ht_put(&henv, key, value)) { | ^~~~~~ ~~~~~ hash.h:47:14: note: declared here 47 | extern char *ht_put(); /* Insert value in H table */ | ^~~~~~ environ.c:165:25: error: too many arguments to function 'add_log'; expected 0, have 3 165 | add_log(1, "ERROR cannot insert environment variable '%s'", key); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c:173:17: error: too many arguments to function 'add_log'; expected 0, have 3 173 | add_log(1, "ERROR cannot prepend to environment variable '%s'", key); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c:177:27: error: too many arguments to function 'ht_force'; expected 0, have 3 177 | if ((char *) 0 == ht_force(&henv, key, env_line)) { | ^~~~~~~~ ~~~~~ hash.h:48:14: note: declared here 48 | extern char *ht_force(); /* Like ht_put, but replace old value */ | ^~~~~~~~ environ.c:178:17: error: too many arguments to function 'add_log'; expected 0, have 3 178 | add_log(1, "ERROR cannot update environment variable '%s'", key); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c: In function 'set_env': environ.c:185:12: warning: old-style function definition [-Wold-style-definition] 185 | public int set_env(key, value) | ^~~~~~~ environ.c:193:16: error: too many arguments to function 'ht_value'; expected 0, have 2 193 | cval = ht_value(&henv, key); | ^~~~~~~~ ~~~~~ hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ environ.c:195:35: error: too many arguments to function 'ht_put'; expected 0, have 3 195 | if ((char *) 0 == ht_put(&henv, key, value)) { | ^~~~~~ ~~~~~ hash.h:47:14: note: declared here 47 | extern char *ht_put(); /* Insert value in H table */ | ^~~~~~ environ.c:196:25: error: too many arguments to function 'add_log'; expected 0, have 3 196 | add_log(1, "ERROR cannot insert environment variable '%s'", key); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c:202:27: error: too many arguments to function 'ht_force'; expected 0, have 3 202 | if ((char *) 0 == ht_force(&henv, key, value)) { | ^~~~~~~~ ~~~~~ hash.h:48:14: note: declared here 48 | extern char *ht_force(); /* Like ht_put, but replace old value */ | ^~~~~~~~ environ.c:203:17: error: too many arguments to function 'add_log'; expected 0, have 3 203 | add_log(1, "ERROR cannot update environment variable '%s'", key); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c: In function 'get_env': environ.c:210:14: warning: old-style function definition [-Wold-style-definition] 210 | public char *get_env(key) | ^~~~~~~ environ.c:213:16: error: too many arguments to function 'ht_value'; expected 0, have 2 213 | return ht_value(&henv, key); /* Pointer to string value, or null */ | ^~~~~~~~ ~~~~~ hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ environ.c: In function 'make_env': environ.c:228:19: error: too many arguments to function 'ht_count'; expected 0, have 1 228 | nb_line = ht_count(&henv) + 1; /* Envp ends with a null pointer */ | ^~~~~~~~ ~~~~~ hash.h:54:12: note: declared here 54 | extern int ht_count(); /* Number of items in H table */ | ^~~~~~~~ environ.c:230:17: error: too many arguments to function 'add_log'; expected 0, have 2 230 | add_log(6, "NOTICE environment is empty"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c:235:17: error: too many arguments to function 'fatal'; expected 0, have 1 235 | fatal("out of memory"); | ^~~~~ ~~~~~~~~~~~~~~~ In file included from environ.c:41: msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ environ.c:237:19: error: too many arguments to function 'ht_start'; expected 0, have 1 237 | if (-1 == ht_start(&henv)) | ^~~~~~~~ ~~~~~ hash.h:50:12: note: declared here 50 | extern int ht_start(); /* Start iteration over H table */ | ^~~~~~~~ environ.c:238:17: error: too many arguments to function 'fatal'; expected 0, have 1 238 | fatal("environment H table botched"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ environ.c:241:48: error: too many arguments to function 'ht_next'; expected 0, have 1 241 | for (ptr = envp; --nb_line > 0; (void) ht_next(&henv), ptr++) { | ^~~~~~~ ~~~~~ hash.h:51:12: note: declared here 51 | extern int ht_next(); /* Go to next item in H table */ | ^~~~~~~ environ.c:242:29: error: too many arguments to function 'ht_ckey'; expected 0, have 1 242 | char *key = ht_ckey(&henv); | ^~~~~~~ ~~~~~ hash.h:52:14: note: declared here 52 | extern char *ht_ckey(); /* Fetch current key */ | ^~~~~~~ environ.c:243:31: error: too many arguments to function 'ht_cvalue'; expected 0, have 1 243 | char *value = ht_cvalue(&henv); | ^~~~~~~~~ ~~~~~ hash.h:53:14: note: declared here 53 | extern char *ht_cvalue(); /* Fetch current value */ | ^~~~~~~~~ environ.c:245:25: error: too many arguments to function 'add_log'; expected 0, have 3 245 | add_log(1, "ERROR can't propagate environment variable %s", key); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ environ.c:246:25: error: too many arguments to function 'fatal'; expected 0, have 1 246 | fatal("environment line too big"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ environ.c:249:24: error: too many arguments to function 'strsave'; expected 0, have 1 249 | *ptr = strsave(env_line); | ^~~~~~~ ~~~~~~~~ environ.c:70:14: note: declared here 70 | extern char *strsave(); /* String saving */ | ^~~~~~~ environ.c:251:25: error: too many arguments to function 'fatal'; expected 0, have 1 251 | fatal("no more memory for environment"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ hash.c: In function 'ht_create': lock.c: In function 'filter_lock': make[6]: *** [Makefile:38: environ.o] Error 1 lock.c:85:12: warning: old-style function definition [-Wold-style-definition] 85 | public int filter_lock(dir) | ^~~~~~~~~~~ lock.c:87:1: error: number of arguments doesn't match prototype 87 | { | ^ In file included from lock.c:74: lock.h:39:12: error: prototype declaration 39 | extern int filter_lock(); /* Lock filter */ | ^~~~~~~~~~~ make[6]: *** Waiting for unfinished jobs.... lock.c:96:17: error: too many arguments to function 'add_log'; expected 0, have 2 96 | add_log(1, "SYSERR stat: %m (%e)"); | ^~~~~~~ ~ In file included from lock.c:73: logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ lock.c:97:17: error: too many arguments to function 'add_log'; expected 0, have 3 97 | add_log(2, "ERROR can't stat directory %s", dir); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ lock.c:103:18: error: too many arguments to function 'file_lock'; expected 0, have 3 103 | if (0 == file_lock(lockfile, "filter", 0)) | ^~~~~~~~~ ~~~~~~~~ lock.h:43:12: note: declared here 43 | extern int file_lock(); /* Lock arbitrary file */ | ^~~~~~~~~ lock.c: In function 'release_lock': lock.c:114:9: error: too many arguments to function 'file_unlock'; expected 0, have 1 114 | file_unlock(lockfile); | ^~~~~~~~~~~ ~~~~~~~~ lock.h:44:13: note: declared here 44 | extern void file_unlock(); /* Unlock arbitrary file */ | ^~~~~~~~~~~ lock.c: In function 'check_lock': lock.c:141:12: warning: old-style function definition [-Wold-style-definition] 141 | public int check_lock(file, name) | ^~~~~~~~~~ lock.c:144:1: error: number of arguments doesn't match prototype 144 | { | ^ lock.h:41:12: error: prototype declaration 41 | extern int check_lock(); /* Check lock for excessive lifetime */ | ^~~~~~~~~~ lock.c:160:17: error: too many arguments to function 'add_log'; expected 0, have 2 160 | add_log(1, "SYSERR stat: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ lock.c:161:17: error: too many arguments to function 'add_log'; expected 0, have 3 161 | add_log(2, "could not check lockfile %s", file); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ lock.c:169:16: error: too many arguments to function 'get_confval'; expected 0, have 3 169 | hold = get_confval("lockhold", CF_DEFAULT, MAX_TIME); | ^~~~~~~~~~~ ~~~~~~~~~~ In file included from lock.c:71: parser.h:46:12: note: declared here 46 | extern int get_confval(); /* Get configuration value (integer) */ | ^~~~~~~~~~~ lock.c:175:13: error: too many arguments to function 'time'; expected 0, have 1 175 | if (time((Time_t *) 0) - buf.st_mtime > hold) { | ^~~~ ~~~~~~~~~~~~ lock.c:83:15: note: declared here 83 | extern Time_t time(); /* Current time */ | ^~~~ lock.c:177:25: error: too many arguments to function 'add_log'; expected 0, have 2 177 | add_log(1, "SYSERR unlink: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ lock.c:178:25: error: too many arguments to function 'add_log'; expected 0, have 3 178 | add_log(4, "WARNING could not remove old lock %s", file); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ lock.c:181:25: error: too many arguments to function 'add_log'; expected 0, have 4 181 | add_log(6, "UNLOCKED %s (lock older than %d seconds)", name, hold); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ lock.c:185:17: error: too many arguments to function 'add_log'; expected 0, have 4 185 | add_log(16, "lockfile for %s is recent (%d seconds or less)", | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ lock.c: In function 'file_lock': lock.c:191:12: warning: old-style function definition [-Wold-style-definition] 191 | public int file_lock(path, name, max_loops) | ^~~~~~~~~ lock.c:195:1: error: number of arguments doesn't match prototype 195 | { | ^ lock.h:43:12: error: prototype declaration 43 | extern int file_lock(); /* Lock arbitrary file */ | ^~~~~~~~~ lock.c:202:16: error: too many arguments to function 'check_lock'; expected 0, have 2 202 | (void) check_lock(lockpath, name); | ^~~~~~~~~~ ~~~~~~~~ lock.c:141:12: note: declared here 141 | public int check_lock(file, name) | ^~~~~~~~~~ lock.c:208:25: error: too many arguments to function 'add_log'; expected 0, have 3 208 | add_log(1, "ERROR can't create %s: %m (%e)", lockpath); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ lock.c: In function 'file_unlock': lock.c:221:6: warning: old-style function definition [-Wold-style-definition] 221 | void file_unlock(path) | ^~~~~~~~~~~ lock.c:223:1: error: number of arguments doesn't match prototype 223 | { | ^ lock.h:44:13: error: prototype declaration 44 | extern void file_unlock(); /* Unlock arbitrary file */ | ^~~~~~~~~~~ lock.c:231:17: error: too many arguments to function 'add_log'; expected 0, have 2 231 | add_log(1, "SYSERR unlink: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ lock.c:232:17: error: too many arguments to function 'add_log'; expected 0, have 3 232 | add_log(4, "WARNING could not remove lock file %s", lockpath); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ hash.c:64:12: warning: old-style function definition [-Wold-style-definition] 64 | public int ht_create(ht, n) | ^~~~~~~~~ hash.c:67:1: error: number of arguments doesn't match prototype 67 | { | ^ In file included from hash.c:49: hash.h:45:12: error: prototype declaration 45 | extern int ht_create(); /* Create H table */ | ^~~~~~~~~ hash.c:78:17: error: too many arguments to function 'nprime'; expected 0, have 1 78 | hsize = nprime((5 * n) / 4); /* Table's size */ | ^~~~~~ ~~~~~~~~~~~ hash.c:60:16: note: declared here 60 | private uint32 nprime(); /* Find next prime number */ | ^~~~~~ hash.c: In function 'ht_value': hash.c:98:14: warning: old-style function definition [-Wold-style-definition] 98 | public char *ht_value(ht, skey) | ^~~~~~~~ hash.c:101:1: error: number of arguments doesn't match prototype 101 | { | ^ hash.h:46:14: error: prototype declaration 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ hash.c:116:15: error: too many arguments to function 'hashcode'; expected 0, have 1 116 | key = hashcode(skey); | ^~~~~~~~ ~~~~ hash.c:58:16: note: declared here 58 | private uint32 hashcode(); /* The hahsing function */ | ^~~~~~~~ hash.c: In function 'ht_put': hash.c:132:14: warning: old-style function definition [-Wold-style-definition] 132 | public char *ht_put(ht, skey, val) | ^~~~~~ hash.c:136:1: error: number of arguments doesn't match prototype 136 | { | ^ hash.h:47:14: error: prototype declaration 47 | extern char *ht_put(); /* Insert value in H table */ | ^~~~~~ hash.c:154:17: error: too many arguments to function 'ht_xtend'; expected 0, have 1 154 | ht_xtend(ht); | ^~~~~~~~ ~~ hash.h:49:12: note: declared here 49 | extern int ht_xtend(); /* Extend size of full H table */ | ^~~~~~~~ hash.c:158:15: error: too many arguments to function 'hashcode'; expected 0, have 1 158 | key = hashcode(skey); | ^~~~~~~~ ~~~~ hash.c:58:16: note: declared here 58 | private uint32 hashcode(); /* The hahsing function */ | ^~~~~~~~ hash.c:166:38: error: too many arguments to function 'strsave'; expected 0, have 1 166 | hkeys[pos] = strsave(skey); /* Record item */ | ^~~~~~~ ~~~~ hash.c:62:14: note: declared here 62 | extern char *strsave(); /* Save string in memory */ | ^~~~~~~ hash.c:167:45: error: too many arguments to function 'strsave'; expected 0, have 1 167 | ht->h_values[pos] = strsave(val); /* Save string */ | ^~~~~~~ ~~~ hash.c:62:14: note: declared here 62 | extern char *strsave(); /* Save string in memory */ | ^~~~~~~ hash.c:171:25: error: too many arguments to function 'fatal'; expected 0, have 2 171 | fatal("H table key conflict: %s", skey); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from hash.c:50: msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ hash.c: In function 'ht_force': hash.c:177:14: warning: old-style function definition [-Wold-style-definition] 177 | public char *ht_force(ht, skey, val) | ^~~~~~~~ hash.c:181:1: error: number of arguments doesn't match prototype 181 | { | ^ hash.h:48:14: error: prototype declaration 48 | extern char *ht_force(); /* Like ht_put, but replace old value */ | ^~~~~~~~ hash.c:201:17: error: too many arguments to function 'ht_xtend'; expected 0, have 1 201 | ht_xtend(ht); | ^~~~~~~~ ~~ hash.h:49:12: note: declared here 49 | extern int ht_xtend(); /* Extend size of full H table */ | ^~~~~~~~ hash.c:205:15: error: too many arguments to function 'hashcode'; expected 0, have 1 205 | key = hashcode(skey); | ^~~~~~~~ ~~~~ hash.c:58:16: note: declared here 58 | private uint32 hashcode(); /* The hahsing function */ | ^~~~~~~~ hash.c:213:38: error: too many arguments to function 'strsave'; expected 0, have 1 213 | hkeys[pos] = strsave(skey); /* Record item */ | ^~~~~~~ ~~~~ hash.c:62:14: note: declared here 62 | extern char *strsave(); /* Save string in memory */ | ^~~~~~~ hash.c:214:45: error: too many arguments to function 'strsave'; expected 0, have 1 214 | ht->h_values[pos] = strsave(val); /* Save string */ | ^~~~~~~ ~~~ hash.c:62:14: note: declared here 62 | extern char *strsave(); /* Save string in memory */ | ^~~~~~~ hash.c:220:45: error: too many arguments to function 'strsave'; expected 0, have 1 220 | ht->h_values[pos] = strsave(val); /* Save string */ | ^~~~~~~ ~~~ hash.c:62:14: note: declared here 62 | extern char *strsave(); /* Save string in memory */ | ^~~~~~~ hash.c: In function 'ht_xtend': hash.c:228:12: warning: old-style function definition [-Wold-style-definition] 228 | public int ht_xtend(ht) | ^~~~~~~~ hash.c:230:1: error: number of arguments doesn't match prototype 230 | { | ^ hash.h:49:12: error: prototype declaration 49 | extern int ht_xtend(); /* Extend size of full H table */ | ^~~~~~~~ hash.c:245:19: error: too many arguments to function 'ht_create'; expected 0, have 2 245 | if (-1 == ht_create(&new_ht, size + (size / 2))) | ^~~~~~~~~ ~~~~~~~ hash.c:64:12: note: declared here 64 | public int ht_create(ht, n) | ^~~~~~~~~ hash.c:256:35: error: too many arguments to function 'ht_put'; expected 0, have 3 256 | if ((char *) 0 == ht_put(&new_ht, *key, *val)) { /* Failed */ | ^~~~~~ ~~~~~~~ hash.c:132:14: note: declared here 132 | public char *ht_put(ht, skey, val) | ^~~~~~ hash.c:259:25: error: too many arguments to function 'fatal'; expected 0, have 1 259 | fatal("BUG in ht_xtend"); | ^~~~~ ~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ hash.c: In function 'ht_start': hash.c:271:12: warning: old-style function definition [-Wold-style-definition] 271 | public int ht_start(ht) | ^~~~~~~~ hash.c:273:1: error: number of arguments doesn't match prototype 273 | { | ^ hash.h:50:12: error: prototype declaration 50 | extern int ht_start(); /* Start iteration over H table */ | ^~~~~~~~ hash.c: In function 'ht_next': hash.c:294:12: warning: old-style function definition [-Wold-style-definition] 294 | public int ht_next(ht) | ^~~~~~~ hash.c:296:1: error: number of arguments doesn't match prototype 296 | { | ^ hash.h:51:12: error: prototype declaration 51 | extern int ht_next(); /* Go to next item in H table */ | ^~~~~~~ hash.c: In function 'ht_ckey': hash.c:319:14: warning: old-style function definition [-Wold-style-definition] 319 | public char *ht_ckey(ht) | ^~~~~~~ hash.c:321:1: error: number of arguments doesn't match prototype 321 | { | ^ hash.h:52:14: error: prototype declaration 52 | extern char *ht_ckey(); /* Fetch current key */ | ^~~~~~~ hash.c: In function 'ht_cvalue': hash.c:327:14: warning: old-style function definition [-Wold-style-definition] 327 | public char *ht_cvalue(ht) | ^~~~~~~~~ hash.c:329:1: error: number of arguments doesn't match prototype 329 | { | ^ hash.h:53:14: error: prototype declaration 53 | extern char *ht_cvalue(); /* Fetch current value */ | ^~~~~~~~~ hash.c: In function 'ht_count': hash.c:335:12: warning: old-style function definition [-Wold-style-definition] 335 | public int ht_count(ht) | ^~~~~~~~ hash.c:337:1: error: number of arguments doesn't match prototype 337 | { | ^ hash.h:54:12: error: prototype declaration 54 | extern int ht_count(); /* Number of items in H table */ | ^~~~~~~~ hash.c: In function 'hashcode': hash.c:343:16: warning: old-style function definition [-Wold-style-definition] 343 | private uint32 hashcode(s) | ^~~~~~~~ hash.c: In function 'nprime': hash.c:359:16: warning: old-style function definition [-Wold-style-definition] 359 | private uint32 nprime(n) | ^~~~~~ hash.c:364:17: error: too many arguments to function 'prime'; expected 0, have 1 364 | while (!prime(n)) | ^~~~~ ~ hash.c:59:13: note: declared here 59 | private int prime(); /* Is a number a prime one? */ | ^~~~~ hash.c: In function 'prime': hash.c:370:13: warning: old-style function definition [-Wold-style-definition] 370 | private int prime(n) | ^~~~~ make[6]: *** [Makefile:38: lock.o] Error 1 msg.c: In function 'say': msg.c:63:13: warning: old-style function definition [-Wold-style-definition] 63 | public void say(msg, arg1, arg2, arg3, arg4, arg5) | ^~~ msg.c:81:17: error: too many arguments to function 'add_log'; expected 0, have 7 81 | add_log(2, msg, arg1, arg2, arg3, arg4, arg5); | ^~~~~~~ ~ In file included from msg.c:53: logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ msg.c:85:17: error: too many arguments to function 'add_log'; expected 0, have 7 85 | add_log(2, buffer, arg1, arg2, arg3, arg4, arg5); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ msg.c: In function 'fatal': msg.c:90:13: warning: old-style function definition [-Wold-style-definition] 90 | public void fatal(reason, arg1, arg2, arg3, arg4, arg5) | ^~~~~ msg.c:112:9: error: too many arguments to function 'add_log'; expected 0, have 7 112 | add_log(1, buffer, arg1, arg2, arg3, arg4, arg5); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ msg.c:124:17: error: too many arguments to function 'add_log'; expected 0, have 2 124 | add_log(5, "WARNING no saving was ever done"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ msg.c:134:17: error: too many arguments to function 'add_log'; expected 0, have 2 134 | add_log(6, "NOTICE leaving mail in MTA's queue"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ msg.c:135:17: error: too many arguments to function 'my_exit'; expected 0, have 1 135 | my_exit(EX_TEMPFAIL); | ^~~~~~~ msg.c:60:13: note: declared here 60 | extern void my_exit(); | ^~~~~~~ msg.c:144:9: error: too many arguments to function 'my_exit'; expected 0, have 1 144 | my_exit(EX_OK); | ^~~~~~~ msg.c:60:13: note: declared here 60 | extern void my_exit(); | ^~~~~~~ make[6]: *** [Makefile:38: hash.o] Error 1 user.c:44:23: error: conflicting types for 'getpwuid'; have 'struct passwd *(void)' 44 | extern struct passwd *getpwuid(); /* Get password entry for UID */ | ^~~~~~~~ In file included from user.c:33: /usr/include/pwd.h:110:23: note: previous declaration of 'getpwuid' with type 'struct passwd *(__uid_t)' {aka 'struct passwd *(unsigned int)'} 110 | extern struct passwd *getpwuid (__uid_t __uid); | ^~~~~~~~ user.c: In function 'logname': user.c:58:14: error: too many arguments to function 'getpwuid'; expected 0, have 1 58 | pw = getpwuid(geteuid()); /* Get first entry matching UID */ | ^~~~~~~~ ~~~~~~~~~ user.c:44:23: note: declared here 44 | extern struct passwd *getpwuid(); /* Get password entry for UID */ | ^~~~~~~~ make[6]: *** [Makefile:38: msg.o] Error 1 make[6]: *** [Makefile:38: user.o] Error 1 main.c: In function 'main': main.c:93:12: warning: old-style function definition [-Wold-style-definition] 93 | public int main(argc, argv, envp) | ^~~~ main.c:140:30: error: too many arguments to function 'io_redirect'; expected 0, have 3 140 | if (!io_redirect(optarg, uid != euid || gid != egid, uid)) | ^~~~~~~~~~~ ~~~~~~ In file included from main.c:72: io.h:39:12: note: declared here 39 | extern int io_redirect(); /* Redirect stderr and stdout */ | ^~~~~~~~~~~ main.c:141:33: error: too many arguments to function 'say'; expected 0, have 2 141 | say("unable to redirect output to %s, continuing...", optarg); | ^~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main.c:74: msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ main.c:144:25: error: too many arguments to function 'no_setid'; expected 0, have 5 144 | no_setid(c, uid, euid, gid, egid); | ^~~~~~~~ ~ main.c:88:14: note: declared here 88 | private void no_setid(); /* Option not allowed when running set[ug]id */ | ^~~~~~~~ main.c:152:25: error: too many arguments to function 'say'; expected 0, have 2 152 | say("unknown switch -%c", c); | ^~~ ~~~~~~~~~~~~~~~~~~~~ msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ main.c:158:9: error: too many arguments to function 'read_conf'; expected 0, have 2 158 | read_conf(argv[0], ".mailagent"); /* Read configuration file */ | ^~~~~~~~~ ~~~~~~~ In file included from main.c:75: parser.h:43:13: note: declared here 43 | extern void read_conf(); /* Read configuration file */ | ^~~~~~~~~ main.c:160:9: error: too many arguments to function 'add_log'; expected 0, have 2 160 | add_log(11, "starting processing"); | ^~~~~~~ ~~ In file included from main.c:71: logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ main.c:170:34: error: too many arguments to function 'set_real_gid'; expected 0, have 1 170 | if (egid != gid && -1 == set_real_gid(egid)) { | ^~~~~~~~~~~~ ~~~~ main.c:87:13: note: declared here 87 | private int set_real_gid(); /* Reset real gid */ | ^~~~~~~~~~~~ main.c:171:17: error: too many arguments to function 'add_log'; expected 0, have 2 171 | add_log(1, "SYSERR setgid: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ main.c:172:17: error: too many arguments to function 'add_log'; expected 0, have 4 172 | add_log(4, "WARNING cannot set GID to %d, continuing as %d", egid, gid); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ main.c:174:17: error: too many arguments to function 'add_log'; expected 0, have 4 174 | add_log(6, "NOTICE reset GID from %d to %d", gid, egid); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ main.c:177:34: error: too many arguments to function 'set_real_uid'; expected 0, have 1 177 | if (euid != uid && -1 == set_real_uid(euid)) { | ^~~~~~~~~~~~ ~~~~ main.c:86:13: note: declared here 86 | private int set_real_uid(); /* Reset real uid */ | ^~~~~~~~~~~~ main.c:178:17: error: too many arguments to function 'add_log'; expected 0, have 2 178 | add_log(1, "SYSERR setuid: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ main.c:179:17: error: too many arguments to function 'add_log'; expected 0, have 4 179 | add_log(4, "WARNING cannot set UID to %d, continuing as %d", euid, uid); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ main.c:181:17: error: too many arguments to function 'add_log'; expected 0, have 4 181 | add_log(6, "NOTICE reset UID from %d to %d", uid, euid); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ main.c:183:17: error: too many arguments to function 'ht_value'; expected 0, have 2 183 | value = ht_value(&symtab, "queue"); /* Fetch queue location */ | ^~~~~~~~ ~~~~~~~ In file included from main.c:73: hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ main.c:185:17: error: too many arguments to function 'fatal'; expected 0, have 1 185 | fatal("queue directory not defined"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ main.c:187:9: error: too many arguments to function 'set_env_vars'; expected 0, have 1 187 | set_env_vars(envp); /* Set environment variables */ | ^~~~~~~~~~~~ ~~~~ parser.h:44:13: note: declared here 44 | extern void set_env_vars(); /* Set correct environment variables */ | ^~~~~~~~~~~~ main.c:190:9: error: too many arguments to function 'my_exit'; expected 0, have 1 190 | my_exit(EX_OK); /* We did it */ | ^~~~~~~ main.c:91:13: note: declared here 91 | extern void my_exit(); | ^~~~~~~ main.c: In function 'set_real_uid': main.c:194:13: warning: old-style function definition [-Wold-style-definition] 194 | private int set_real_uid(ruid) | ^~~~~~~~~~~~ main.c: In function 'set_real_gid': main.c:203:13: warning: old-style function definition [-Wold-style-definition] 203 | private int set_real_gid(rgid) | ^~~~~~~~~~~~ main.c: In function 'set_signal': main.c:217:24: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 217 | signal(SIGHUP, handler); | ^~~~~~~ | | | void (*)(void) In file included from main.c:59: /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ main.c:84:18: note: 'handler' declared here 84 | private Signal_t handler(); /* Signal handler */ | ^~~~~~~ /usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ logfile.c:108:15: error: conflicting types for 'time'; have 'time_t(void)' {aka 'long int(void)'} 108 | extern Time_t time(); /* Time in seconds since the Epoch */ | ^~~~ main.c:220:24: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 220 | signal(SIGINT, handler); | ^~~~~~~ | | | void (*)(void) /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ main.c:84:18: note: 'handler' declared here 84 | private Signal_t handler(); /* Signal handler */ | ^~~~~~~ /usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ In file included from logfile.c:64: /usr/include/time.h:76:15: note: previous declaration of 'time' with type 'time_t(time_t *)' {aka 'long int(long int *)'} 76 | extern time_t time (time_t *__timer) __THROW; | ^~~~ main.c:223:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 223 | signal(SIGQUIT, handler); | ^~~~~~~ | | | void (*)(void) logfile.c: In function 'add_log': /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ main.c:84:18: note: 'handler' declared here 84 | private Signal_t handler(); /* Signal handler */ | ^~~~~~~ logfile.c:112:13: warning: old-style function definition [-Wold-style-definition] 112 | public void add_log(level, format, arg1, arg2, arg3, arg4, arg5) | ^~~~~~~ /usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ main.c:226:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 226 | signal(SIGTERM, handler); | ^~~~~~~ | | | void (*)(void) /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ main.c:84:18: note: 'handler' declared here 84 | private Signal_t handler(); /* Signal handler */ | ^~~~~~~ /usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ main.c:229:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 229 | signal(SIGSEGV, handler); | ^~~~~~~ | | | void (*)(void) logfile.c:138:17: error: too many arguments to function 'time'; expected 0, have 1 138 | clock = time((Time_t *) 0); /* Number of seconds */ | ^~~~ ~~~~~~~~~~~~ /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ main.c:84:18: note: 'handler' declared here 84 | private Signal_t handler(); /* Signal handler */ | ^~~~~~~ logfile.c:108:15: note: declared here 108 | extern Time_t time(); /* Time in seconds since the Epoch */ | ^~~~ /usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ main.c:232:24: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 232 | signal(SIGBUS, handler); | ^~~~~~~ | | | void (*)(void) logfile.c:140:9: error: too many arguments to function 'expand'; expected 0, have 2 140 | expand(format, buffer); /* Expansion of %m and %e into buffer */ | ^~~~~~ ~~~~~~ logfile.c:101:14: note: declared here 101 | private void expand(); /* Run the %m %e expansion on the string */ | ^~~~~~ /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ main.c:84:18: note: 'handler' declared here 84 | private Signal_t handler(); /* Signal handler */ | ^~~~~~~ /usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ main.c: In function 'no_setid': main.c:236:14: warning: old-style function definition [-Wold-style-definition] 236 | private void no_setid(opt, uid, euid, gid, egid) | ^~~~~~~~ main.c:244:9: error: too many arguments to function 'say'; expected 0, have 3 244 | say("option -%c not allowed when running set%s", | ^~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ main.c: In function 'handler': main.c:249:18: warning: old-style function definition [-Wold-style-definition] 249 | private Signal_t handler(sig) | ^~~~~~~ main.c:255:9: error: too many arguments to function 'fatal'; expected 0, have 2 255 | fatal("caught signal #%d", sig); | ^~~~~ ~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ make[6]: *** [Makefile:38: main.o] Error 1 logfile.c: In function 'open_log': logfile.c:152:12: warning: old-style function definition [-Wold-style-definition] 152 | public int open_log(name) | ^~~~~~~~ logfile.c:183:19: error: too many arguments to function 'strsave'; expected 0, have 1 183 | logname = strsave(name); /* Save file name */ | ^~~~~~~ ~~~~ logfile.c:109:14: note: declared here 109 | extern char *strsave(); /* Save string in memory */ | ^~~~~~~ logfile.c: In function 'set_loglvl': logfile.c:201:13: warning: old-style function definition [-Wold-style-definition] 201 | public void set_loglvl(level) | ^~~~~~~~~~ logfile.c: In function 'expand': logfile.c:209:14: warning: old-style function definition [-Wold-style-definition] 209 | private void expand(from, to) | ^~~~~~ logfile.c:223:39: error: too many arguments to function 'add_error'; expected 0, have 1 223 | len = add_error(to - 1); | ^~~~~~~~~ ~~~~~~ logfile.c:102:13: note: declared here 102 | private int add_error(); /* Prints description of error in errno */ | ^~~~~~~~~ logfile.c:228:39: error: too many arguments to function 'add_errcode'; expected 0, have 1 228 | len = add_errcode(to - 1); | ^~~~~~~~~~~ ~~~~~~ logfile.c:103:13: note: declared here 103 | private int add_errcode(); /* Print the symbolic error name */ | ^~~~~~~~~~~ logfile.c: In function 'add_error': logfile.c:237:13: warning: old-style function definition [-Wold-style-definition] 237 | private int add_error(where) | ^~~~~~~~~ misc.c: In function 'strsave': logfile.c: In function 'add_errcode': logfile.c:262:13: warning: old-style function definition [-Wold-style-definition] 262 | private int add_errcode(where) | ^~~~~~~~~~~ misc.c:69:14: warning: old-style function definition [-Wold-style-definition] 69 | public char *strsave(string) | ^~~~~~~ misc.c:79:17: error: too many arguments to function 'fatal'; expected 0, have 1 79 | fatal("no more memory to save strings"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from misc.c:63: msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ misc.c: In function 'my_exit': misc.c:85:13: warning: old-style function definition [-Wold-style-definition] 85 | public void my_exit(code) | ^~~~~~~ misc.c:87:1: error: number of arguments doesn't match prototype 87 | { | ^ misc.c:67:13: error: prototype declaration 67 | extern void my_exit(); | ^~~~~~~ misc.c:112:9: error: too many arguments to function 'add_log'; expected 0, have 3 112 | add_log(11, "exit %s", name); | ^~~~~~~ ~~ In file included from misc.c:64: logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'pool_alloc': io.c:238:22: warning: old-style function definition [-Wold-style-definition] 238 | private struct pool *pool_alloc(size) | ^~~~~~~~~~ io.c:260:9: error: too many arguments to function 'fatal'; expected 0, have 1 260 | fatal("out of memory"); | ^~~~~ ~~~~~~~~~~~~~~~ In file included from io.c:178: msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ io.c: In function 'pool_init': io.c:265:22: warning: old-style function definition [-Wold-style-definition] 265 | private struct pool *pool_init(size) | ^~~~~~~~~ io.c: In function 'pool_extend': io.c:276:14: warning: old-style function definition [-Wold-style-definition] 276 | private void pool_extend(pool, size) | ^~~~~~~~~~~ io.c:294:25: error: too many arguments to function 'fatal'; expected 0, have 1 294 | fatal("out of memory"); | ^~~~~ ~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ io.c: In function 'pool_read': io.c:305:14: warning: old-style function definition [-Wold-style-definition] 305 | private void pool_read(pool, buf, len) | ^~~~~~~~~ io.c: In function 'pool_write': io.c:331:13: warning: old-style function definition [-Wold-style-definition] 331 | private int pool_write(fd, pool) | ^~~~~~~~~~ io.c:359:33: error: too many arguments to function 'add_log'; expected 0, have 2 359 | add_log(1, "SYSERR write: %m (%e)"); | ^~~~~~~ ~ In file included from io.c:175: logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'read_stdin': io.c:385:9: error: too many arguments to function 'add_log'; expected 0, have 2 385 | add_log(19, "reading mail"); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ make[6]: *** [Makefile:38: logfile.o] Error 1 io.c:391:25: error: too many arguments to function 'add_log'; expected 0, have 2 391 | add_log(1, "SYSERR read: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:392:25: error: too many arguments to function 'fatal'; expected 0, have 1 392 | fatal("I/O error while reading mail"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ io.c:399:17: error: too many arguments to function 'fatal'; expected 0, have 3 399 | fatal("corrupted mail: read %d bytes, now has %d", amount, mail.len); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ io.c:401:9: error: too many arguments to function 'add_log'; expected 0, have 3 401 | add_log(16, "got mail (%d bytes)", amount); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'process': io.c:410:17: error: too many arguments to function 'ht_value'; expected 0, have 2 410 | queue = ht_value(&symtab, "queue"); /* Fetch queue location */ | ^~~~~~~~ ~~~~~~~ In file included from io.c:172: hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ io.c:412:17: error: too many arguments to function 'fatal'; expected 0, have 1 412 | fatal("queue directory not defined"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ io.c:416:9: error: too many arguments to function 'queue_mail'; expected 0, have 1 416 | queue_mail(queue); /* Process also it locked */ | ^~~~~~~~~~ ~~~~~ io.c:207:14: note: declared here 207 | private void queue_mail(); /* Queue mail for delayed processing */ | ^~~~~~~~~~ io.c: In function 'is_main': io.c:457:25: error: too many arguments to function 'add_log'; expected 0, have 2 457 | add_log(1, "SYSERR stat: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:458:25: error: too many arguments to function 'add_log'; expected 0, have 3 458 | add_log(2, "ERROR cannot stat %s", agentlock); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:463:25: error: too many arguments to function 'check_lock'; expected 0, have 2 463 | if (LOCK_OLD == check_lock(agentlock, "mailagent")) { | ^~~~~~~~~~ ~~~~~~~~~ In file included from io.c:174: lock.h:41:12: note: declared here 41 | extern int check_lock(); /* Check lock for excessive lifetime */ | ^~~~~~~~~~ io.c:468:9: error: too many arguments to function 'add_log'; expected 0, have 2 468 | add_log(5, "NOTICE mailagent seems to be active in background"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'get_lock': io.c:480:17: error: too many arguments to function 'ht_value'; expected 0, have 2 480 | spool = ht_value(&symtab, "spool"); /* Fetch spool location */ | ^~~~~~~~ ~~~~~~~ hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ io.c:482:17: error: too many arguments to function 'fatal'; expected 0, have 1 482 | fatal("spool directory not defined"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ io.c:484:16: error: too many arguments to function 'filter_lock'; expected 0, have 1 484 | return filter_lock(spool); /* Get a lock in spool directory */ | ^~~~~~~~~~~ ~~~~~ lock.h:39:12: note: declared here 39 | extern int filter_lock(); /* Lock filter */ | ^~~~~~~~~~~ io.c: In function 'agent_lockfile': io.c:500:17: error: too many arguments to function 'ht_value'; expected 0, have 2 500 | spool = ht_value(&symtab, "spool"); /* Fetch spool location */ | ^~~~~~~~ ~~~~~~~ hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ io.c:505:9: error: too many arguments to function 'add_log'; expected 0, have 3 505 | add_log(12, "mailagent lock in %s", agentlock); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'release_agent': io.c:523:17: error: too many arguments to function 'add_log'; expected 0, have 2 523 | add_log(1, "SYSERR unlink: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:524:17: error: too many arguments to function 'add_log'; expected 0, have 2 524 | add_log(2, "ERROR could not remove mailagent's lock"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:526:17: error: too many arguments to function 'add_log'; expected 0, have 2 526 | add_log(5, "NOTICE removed mailagent's lock"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'unique_filename': io.c:529:13: warning: old-style function definition [-Wold-style-definition] 529 | private int unique_filename(buf, format, dir, base) | ^~~~~~~~~~~~~~~ io.c:565:27: error: too many arguments to function 'file_lock'; expected 0, have 3 565 | if (-1 == file_lock(buf, buf, 0)) { | ^~~~~~~~~ ~~~ lock.h:43:12: note: declared here 43 | extern int file_lock(); /* Lock arbitrary file */ | ^~~~~~~~~ io.c:566:25: error: too many arguments to function 'add_log'; expected 0, have 3 566 | add_log(6, "NOTICE could not lock %s", buf); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:575:25: error: too many arguments to function 'add_log'; expected 0, have 2 575 | add_log(1, "SYSERR open: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:576:25: error: too many arguments to function 'add_log'; expected 0, have 3 576 | add_log(2, "ERROR can't create %s", buf); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:577:25: error: too many arguments to function 'file_unlock'; expected 0, have 1 577 | file_unlock(buf); | ^~~~~~~~~~~ ~~~ lock.h:44:13: note: declared here 44 | extern void file_unlock(); /* Unlock arbitrary file */ | ^~~~~~~~~~~ io.c:587:17: error: too many arguments to function 'file_unlock'; expected 0, have 1 587 | file_unlock(buf); | ^~~~~~~~~~~ ~~~ lock.h:44:13: note: declared here 44 | extern void file_unlock(); /* Unlock arbitrary file */ | ^~~~~~~~~~~ io.c:591:33: error: too many arguments to function 'fatal'; expected 0, have 1 591 | fatal("unable to find unique queue filename"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ io.c: In function 'queue_mail': io.c:600:14: warning: old-style function definition [-Wold-style-definition] 600 | private void queue_mail(queue) | ^~~~~~~~~~ io.c:610:17: error: too many arguments to function 'write_file'; expected 0, have 2 610 | where = write_file(queue, "Tm"); | ^~~~~~~~~~ ~~~~~ io.c:208:15: note: declared here 208 | private char *write_file(); /* Write mail on disk */ | ^~~~~~~~~~ io.c:612:17: error: too many arguments to function 'add_log'; expected 0, have 2 612 | add_log(1, "ERROR unable to queue mail"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:613:17: error: too many arguments to function 'fatal'; expected 0, have 1 613 | fatal("try again later"); | ^~~~~ ~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ io.c:628:17: error: too many arguments to function 'fatal'; expected 0, have 1 628 | fatal("unable to find unique queue filename"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ io.c:632:17: error: too many arguments to function 'add_log'; expected 0, have 2 632 | add_log(1, "SYSERR rename: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:633:17: error: too many arguments to function 'add_log'; expected 0, have 4 633 | add_log(2, "ERROR could not rename %s into %s", where, real); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:634:17: error: too many arguments to function 'file_unlock'; expected 0, have 1 634 | file_unlock(real); /* Locked by unique_filename() */ | ^~~~~~~~~~~ ~~~~ lock.h:44:13: note: declared here 44 | extern void file_unlock(); /* Unlock arbitrary file */ | ^~~~~~~~~~~ io.c:635:17: error: too many arguments to function 'fatal'; expected 0, have 1 635 | fatal("try again later"); | ^~~~~ ~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ io.c:643:9: error: too many arguments to function 'add_log'; expected 0, have 4 643 | add_log(4, "QUEUED [%s] %d bytes", base, mail.len); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:645:9: error: too many arguments to function 'file_unlock'; expected 0, have 1 645 | file_unlock(real); /* Better have this after logging QUEUED */ | ^~~~~~~~~~~ ~~~~ lock.h:44:13: note: declared here 44 | extern void file_unlock(); /* Unlock arbitrary file */ | ^~~~~~~~~~~ io.c:655:18: error: too many arguments to function 'process_mail'; expected 0, have 1 655 | if (0 == process_mail(real)) { | ^~~~~~~~~~~~ ~~~~ io.c:206:13: note: declared here 206 | private int process_mail(); /* Process mail by feeding the mailagent */ | ^~~~~~~~~~~~ io.c:662:25: error: too many arguments to function 'add_log'; expected 0, have 2 662 | add_log(1, "SYSERR unlink: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:663:25: error: too many arguments to function 'add_log'; expected 0, have 2 663 | add_log(2, "ERROR could not remove queued mail"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:670:17: error: too many arguments to function 'add_log'; expected 0, have 2 670 | add_log(1, "SYSERR stat: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:671:17: error: too many arguments to function 'add_log'; expected 0, have 3 671 | add_log(1, "ERROR queue file [%s] vanished", base); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:673:25: error: too many arguments to function 'add_log'; expected 0, have 2 673 | add_log(1, "ERROR mail probably lost"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:675:17: error: too many arguments to function 'add_log'; expected 0, have 3 675 | add_log(4, "WARNING mailagent failed, [%s] left in queue", base); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'locate': io.c:680:15: warning: old-style function definition [-Wold-style-definition] 680 | private char *locate(prog, path) | ^~~~~~ io.c:707:25: error: too many arguments to function 'add_log'; expected 0, have 3 707 | add_log(4, "WARNING skipping directory while looking for %s", prog); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:722:25: error: too many arguments to function 'add_log'; expected 0, have 3 722 | add_log(4, "WARNING no read and/or execute rights on %s", progpath); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'process_mail': io.c:731:13: warning: old-style function definition [-Wold-style-definition] 731 | private int process_mail(location) | ^~~~~~~~~~~~ io.c:753:22: error: too many arguments to function 'get_env'; expected 0, have 1 753 | char *path = get_env("PATH"); | ^~~~~~~ ~~~~~~ In file included from io.c:176: environ.h:41:14: note: declared here 41 | extern char *get_env(); /* Get environment value */ | ^~~~~~~ io.c:759:25: error: too many arguments to function 'add_log'; expected 0, have 2 759 | add_log(1, "SYSERR fork: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:760:25: error: too many arguments to function 'add_log'; expected 0, have 2 760 | add_log(6, "NOTICE exiting to save resources"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:761:25: error: too many arguments to function 'my_exit'; expected 0, have 1 761 | my_exit(EX_OK); /* Exiting will also release sendmail process */ | ^~~~~~~ io.c:235:13: note: declared here 235 | extern void my_exit(); | ^~~~~~~ io.c:763:25: error: too many arguments to function 'my_exit'; expected 0, have 1 763 | my_exit(EX_OK); /* Release waiting sendmail */ | ^~~~~~~ io.c:235:13: note: declared here 235 | extern void my_exit(); | ^~~~~~~ io.c:772:17: error: too many arguments to function 'get_confval'; expected 0, have 3 772 | delay = get_confval("queuewait", CF_DEFAULT, QUEUE_WAIT); | ^~~~~~~~~~~ ~~~~~~~~~~~ In file included from io.c:173: parser.h:46:12: note: declared here 46 | extern int get_confval(); /* Get configuration value (integer) */ | ^~~~~~~~~~~ io.c:800:17: error: too many arguments to function 'add_log'; expected 0, have 2 800 | add_log(1, "ERROR cannot locate mailagent anywhere in PATH"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:802:25: error: too many arguments to function 'add_log'; expected 0, have 3 802 | add_log(6, "NOTICE looked for mailagent under %s", path); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:805:29: error: too many arguments to function 'strsave'; expected 0, have 1 805 | mailagent = strsave(mailagent); /* Save static data for perusal */ | ^~~~~~~ ~~~~~~~~~ io.c:234:14: note: declared here 234 | extern char *strsave(); /* Save string somewhere in core */ | ^~~~~~~ io.c:810:9: error: too many arguments to function 'add_log'; expected 0, have 3 810 | add_log(12, "perl at %s", perl); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:811:9: error: too many arguments to function 'add_log'; expected 0, have 3 811 | add_log(12, "mailagent at %s", mailagent); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:813:15: error: too many arguments to function 'exec_secure'; expected 0, have 1 813 | if (!(exec_secure(perl) && exec_secure(mailagent))) { | ^~~~~~~~~~~ ~~~~ parser.h:48:12: note: declared here 48 | extern int exec_secure(); /* Can we safely exec() this file? */ | ^~~~~~~~~~~ io.c:813:36: error: too many arguments to function 'exec_secure'; expected 0, have 1 813 | if (!(exec_secure(perl) && exec_secure(mailagent))) { | ^~~~~~~~~~~ ~~~~~~~~~ parser.h:48:12: note: declared here 48 | extern int exec_secure(); /* Can we safely exec() this file? */ | ^~~~~~~~~~~ io.c:814:17: error: too many arguments to function 'add_log'; expected 0, have 2 814 | add_log(1, "ERROR running mailagent would be unsecure"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:824:17: error: too many arguments to function 'add_log'; expected 0, have 2 824 | add_log(1, "SYSERR vfork: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:825:17: error: too many arguments to function 'add_log'; expected 0, have 2 825 | add_log(1, "ERROR cannot run mailagent"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:831:17: error: too many arguments to function 'add_log'; expected 0, have 2 831 | add_log(1, "SYSERR execle: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:832:17: error: too many arguments to function 'add_log'; expected 0, have 3 832 | add_log(1, "ERROR cannot run perl to start %s", mailagent); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:833:17: error: too many arguments to function 'my_exit'; expected 0, have 1 833 | my_exit(EX_UNAVAILABLE); | ^~~~~~~ io.c:235:13: note: declared here 235 | extern void my_exit(); | ^~~~~~~ io.c:840:25: error: too many arguments to function 'add_log'; expected 0, have 2 840 | add_log(1, "SYSERR wait: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:872:17: error: too many arguments to function 'add_log'; expected 0, have 3 872 | add_log(3, "WARNING mailagent stopped by signal %d", xstat); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:873:17: error: too many arguments to function 'add_log'; expected 0, have 3 873 | add_log(6, "NOTICE terminating mailagent, pid %d", pid); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:875:25: error: too many arguments to function 'add_log'; expected 0, have 2 875 | add_log(1, "SYSERR kill: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:881:25: error: too many arguments to function 'add_log'; expected 0, have 3 881 | add_log(3, "ERROR mailagent dumped core on signal %d", xstat); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:883:25: error: too many arguments to function 'add_log'; expected 0, have 3 883 | add_log(3, "ERROR mailagent terminated by signal %d", xstat); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:888:25: error: too many arguments to function 'add_log'; expected 0, have 3 888 | add_log(3, "ERROR mailagent returned status %d", xstat); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:894:9: error: too many arguments to function 'add_log'; expected 0, have 2 894 | add_log(19, "mailagent ok"); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'emergency_save': io.c:930:17: error: too many arguments to function 'say'; expected 0, have 1 930 | say("mail not read, cannot dump"); | ^~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ io.c:935:17: error: too many arguments to function 'add_log'; expected 0, have 2 935 | add_log(6, "NOTICE mail was safely queued"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:939:20: error: too many arguments to function 'ht_value'; expected 0, have 2 939 | emergdir = ht_value(&symtab, "emergdir"); | ^~~~~~~~ ~~~~~~~ hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ io.c:940:64: error: too many arguments to function 'save_file'; expected 0, have 1 940 | if ((emergdir != (char *) 0) && (char *) 0 != (where = save_file(emergdir))) | ^~~~~~~~~ ~~~~~~~~ io.c:210:15: note: declared here 210 | private char *save_file(); /* Emergency saving into a file */ | ^~~~~~~~~ io.c:942:60: error: too many arguments to function 'save_file'; expected 0, have 1 942 | if ((home != (char *) 0) && (char *) 0 != (where = save_file(home))) | ^~~~~~~~~ ~~~~ io.c:210:15: note: declared here 210 | private char *save_file(); /* Emergency saving into a file */ | ^~~~~~~~~ io.c:944:22: error: too many arguments to function 'save_file'; expected 0, have 1 944 | if ((where = save_file("/usr/spool/uucppublic"))) | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ io.c:210:15: note: declared here 210 | private char *save_file(); /* Emergency saving into a file */ | ^~~~~~~~~ io.c:946:22: error: too many arguments to function 'save_file'; expected 0, have 1 946 | if ((where = save_file("/var/spool/uucppublic"))) | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ make[6]: *** [Makefile:38: misc.o] Error 1 io.c:210:15: note: declared here 210 | private char *save_file(); /* Emergency saving into a file */ | ^~~~~~~~~ io.c:948:22: error: too many arguments to function 'save_file'; expected 0, have 1 948 | if ((where = save_file("/usr/tmp"))) | ^~~~~~~~~ ~~~~~~~~~~ io.c:210:15: note: declared here 210 | private char *save_file(); /* Emergency saving into a file */ | ^~~~~~~~~ io.c:950:22: error: too many arguments to function 'save_file'; expected 0, have 1 950 | if ((where = save_file("/var/tmp"))) | ^~~~~~~~~ ~~~~~~~~~~ io.c:210:15: note: declared here 210 | private char *save_file(); /* Emergency saving into a file */ | ^~~~~~~~~ io.c:952:22: error: too many arguments to function 'save_file'; expected 0, have 1 952 | if ((where = save_file("/tmp"))) | ^~~~~~~~~ ~~~~~~ io.c:210:15: note: declared here 210 | private char *save_file(); /* Emergency saving into a file */ | ^~~~~~~~~ io.c:959:9: error: too many arguments to function 'say'; expected 0, have 1 959 | say("dumping mail on stdout..."); | ^~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ io.c:962:19: error: too many arguments to function 'write_fd'; expected 0, have 2 962 | if (-1 != write_fd(1, "stdout")) { | ^~~~~~~~ ~ io.c:209:13: note: declared here 209 | private int write_fd(); /* Write mail onto file descriptor */ | ^~~~~~~~ io.c:964:17: error: too many arguments to function 'say'; expected 0, have 1 964 | say(logmsg); | ^~~ ~~~~~~ msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ io.c:965:17: error: too many arguments to function 'add_log'; expected 0, have 2 965 | add_log(6, logmsg); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:969:9: error: too many arguments to function 'say'; expected 0, have 1 969 | say("unable to dump mail anywhere"); | ^~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ io.c:973:9: error: too many arguments to function 'say'; expected 0, have 2 973 | say("DUMPED in %s", where); | ^~~ ~~~~~~~~~~~~~~ msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ io.c:983:17: error: too many arguments to function 'ht_value'; expected 0, have 2 983 | spool = ht_value(&symtab, "spool"); | ^~~~~~~~ ~~~~~~~ hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ io.c:987:23: error: too many arguments to function 'file_lock'; expected 0, have 3 987 | locked = 0 == file_lock(AGENT_WAIT, "agent.wait", 10); | ^~~~~~~~~ lock.h:43:12: note: declared here 43 | extern int file_lock(); /* Lock arbitrary file */ | ^~~~~~~~~ io.c:989:17: error: too many arguments to function 'add_log'; expected 0, have 3 989 | add_log(6, "WARNING updating %s without lock", AGENT_WAIT); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:993:17: error: too many arguments to function 'add_log'; expected 0, have 2 993 | add_log(1, "SYSERR open: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:994:17: error: too many arguments to function 'add_log'; expected 0, have 3 994 | add_log(6, "WARNING mailagent ignores mail was left in %s", where); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:996:25: error: too many arguments to function 'file_unlock'; expected 0, have 1 996 | file_unlock(AGENT_WAIT); | ^~~~~~~~~~~ lock.h:44:13: note: declared here 44 | extern void file_unlock(); /* Unlock arbitrary file */ | ^~~~~~~~~~~ io.c:1008:17: error: too many arguments to function 'add_log'; expected 0, have 2 1008 | add_log(1, "SYSERR stat: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1009:17: error: too many arguments to function 'add_log'; expected 0, have 3 1009 | add_log(6, "WARNING cannot stat %s", path); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1018:17: error: too many arguments to function 'add_log'; expected 0, have 2 1018 | add_log(1, "SYSERR write: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1019:17: error: too many arguments to function 'add_log'; expected 0, have 3 1019 | add_log(4, "ERROR could not append to %s", path); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1025:17: error: too many arguments to function 'add_log'; expected 0, have 2 1025 | add_log(1, "SYSERR close: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1026:17: error: too many arguments to function 'add_log'; expected 0, have 3 1026 | add_log(4, "ERROR could not flush to %s", path); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1031:17: error: too many arguments to function 'file_unlock'; expected 0, have 1 1031 | file_unlock(AGENT_WAIT); | ^~~~~~~~~~~ lock.h:44:13: note: declared here 44 | extern void file_unlock(); /* Unlock arbitrary file */ | ^~~~~~~~~~~ io.c:1034:17: error: too many arguments to function 'add_log'; expected 0, have 2 1034 | add_log(1, "SYSERR stat: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1035:17: error: too many arguments to function 'add_log'; expected 0, have 3 1035 | add_log(6, "WARNING cannot stat %s", path); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1047:25: error: too many arguments to function 'add_log'; expected 0, have 4 1047 | add_log(2, "ERROR %s truncated to %d bytes (should have had %d)", | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1052:17: error: too many arguments to function 'add_log'; expected 0, have 3 1052 | add_log(8, "cannot double-check %s was properly flushed", path); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1060:17: error: too many arguments to function 'add_log'; expected 0, have 3 1060 | add_log(7, "NOTICE memorized %s", where); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1063:17: error: too many arguments to function 'add_log'; expected 0, have 3 1063 | add_log(6, "WARNING mailagent ignores mail was left in %s", where); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'save_file': io.c:1068:15: warning: old-style function definition [-Wold-style-definition] 1068 | private char *save_file(dir) | ^~~~~~~~~ io.c:1086:16: error: too many arguments to function 'write_file'; expected 0, have 2 1086 | return write_file(dir, logname()); | ^~~~~~~~~~ ~~~ io.c:208:15: note: declared here 208 | private char *write_file(); /* Write mail on disk */ | ^~~~~~~~~~ io.c: In function 'write_file': io.c:1089:15: warning: old-style function definition [-Wold-style-definition] 1089 | private char *write_file(dir, template) | ^~~~~~~~~~ io.c:1109:18: error: too many arguments to function 'write_fd'; expected 0, have 2 1109 | status = write_fd(fd, path); /* Write mail to file descriptor fd */ | ^~~~~~~~ ~~ io.c:209:13: note: declared here 209 | private int write_fd(); /* Write mail onto file descriptor */ | ^~~~~~~~ io.c:1110:9: error: too many arguments to function 'file_unlock'; expected 0, have 1 1110 | file_unlock(path); /* Was locked by unique_filename */ | ^~~~~~~~~~~ ~~~~ lock.h:44:13: note: declared here 44 | extern void file_unlock(); /* Unlock arbitrary file */ | ^~~~~~~~~~~ io.c:1115:9: error: too many arguments to function 'add_log'; expected 0, have 3 1115 | add_log(19, "mail in %s", path); /* We did not detect any error so far */ | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1129:17: error: too many arguments to function 'add_log'; expected 0, have 4 1129 | add_log(2, "ERROR mail truncated to %d bytes (had %d)", | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1139:17: error: too many arguments to function 'add_log'; expected 0, have 2 1139 | add_log(1, "SYSERR unlink: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1140:17: error: too many arguments to function 'add_log'; expected 0, have 3 1140 | add_log(4, "WARNING leaving %s around", path); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'write_fd': io.c:1146:13: warning: old-style function definition [-Wold-style-definition] 1146 | private int write_fd(fd, path) | ^~~~~~~~ io.c:1160:33: error: too many arguments to function 'add_log'; expected 0, have 3 1160 | add_log(2, "ERROR cannot write to file %s", path); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'close_tty': io.c:1168:14: warning: old-style function definition [-Wold-style-definition] 1168 | private void close_tty(fd) | ^~~~~~~~~ io.c:1181:17: error: too many arguments to function 'add_log'; expected 0, have 2 1181 | add_log(1, "SYSERR fstat: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1182:17: error: too many arguments to function 'add_log'; expected 0, have 3 1182 | add_log(6, "WARNING could not stat file descriptor #%d", fd); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c: In function 'goto_daemon': io.c:1246:17: error: too many arguments to function 'add_log'; expected 0, have 2 1246 | add_log(1, "SYSERR setsid: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1247:17: error: too many arguments to function 'add_log'; expected 0, have 2 1247 | add_log(6, "WARNING did not become session leader"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1224:13: warning: unused variable 'fd' [-Wunused-variable] 1224 | int fd; | ^~ io.c: In function 'io_redirect': io.c:1251:12: warning: old-style function definition [-Wold-style-definition] 1251 | public int io_redirect(filename, is_setid, ruid) | ^~~~~~~~~~~ io.c:1255:1: error: number of arguments doesn't match prototype 1255 | { | ^ In file included from io.c:171: io.h:39:12: error: prototype declaration 39 | extern int io_redirect(); /* Redirect stderr and stdout */ | ^~~~~~~~~~~ io.c:1269:33: error: too many arguments to function 'add_log'; expected 0, have 2 1269 | add_log(1, "SYSERR stat: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1270:33: error: too many arguments to function 'add_log'; expected 0, have 3 1270 | add_log(2, "ERROR cannot stat %s", filename); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1273:25: error: too many arguments to function 'add_log'; expected 0, have 3 1273 | add_log(1, "ERROR cannot create %s when running set[ug]id", | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1278:25: error: too many arguments to function 'add_log'; expected 0, have 4 1278 | add_log(1, "ERROR cannot append to %s (not owned by UID %d)", | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1300:17: error: too many arguments to function 'add_log'; expected 0, have 2 1300 | add_log(1, "SYSERR open: %m (%e)"); | ^~~~~~~ ~ parser.c:169:23: error: conflicting types for 'getpwuid'; have 'struct passwd *(void)' 169 | extern struct passwd *getpwuid(); /* Fetch /etc/passwd entry from uid */ | ^~~~~~~~ In file included from parser.c:75: /usr/include/pwd.h:110:23: note: previous declaration of 'getpwuid' with type 'struct passwd *(__uid_t)' {aka 'struct passwd *(unsigned int)'} 110 | extern struct passwd *getpwuid (__uid_t __uid); | ^~~~~~~~ parser.c: In function 'read_conf': parser.c:172:13: warning: old-style function definition [-Wold-style-definition] 172 | public void read_conf(myself, file) | ^~~~~~~~~ parser.c:175:1: error: number of arguments doesn't match prototype 175 | { | ^ parser.c:150:13: error: prototype declaration 150 | public void read_conf(); /* Read configuration file */ | ^~~~~~~~~ parser.c:200:17: error: too many arguments to function 'fatal'; expected 0, have 2 200 | fatal("cannot open config file %s", path); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from parser.c:135: msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.c:203:19: error: too many arguments to function 'ht_create'; expected 0, have 2 203 | if (-1 == ht_create(&symtab, SYMBOLS)) | ^~~~~~~~~ ~~~~~~~ In file included from parser.c:134: hash.h:45:12: note: declared here 45 | extern int ht_create(); /* Create H table */ | ^~~~~~~~~ parser.c:204:17: error: too many arguments to function 'fatal'; expected 0, have 1 204 | fatal("cannot create symbol table"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.c:208:17: error: too many arguments to function 'substitute'; expected 0, have 1 208 | substitute(path); /* Standard parameter substitutions */ | ^~~~~~~~~~ ~~~~ parser.c:156:14: note: declared here 156 | private void substitute(); /* Variable and ~ substitutions */ | ^~~~~~~~~~ parser.c:209:17: error: too many arguments to function 'insert_value'; expected 0, have 2 209 | insert_value(path, line); /* Record value in hash table */ | ^~~~~~~~~~~~ ~~~~ parser.c:159:14: note: declared here 159 | private void insert_value(); /* Record variable value in H table */ | ^~~~~~~~~~~~ parser.c:221:9: error: too many arguments to function 'secure'; expected 0, have 1 221 | secure(mailagent); /* Perform basic security checks */ | ^~~~~~ ~~~~~~~~~ parser.c:153:14: note: declared here 153 | private void secure(); /* Perform basic security checks on file */ | ^~~~~~ In file included from parser.c:136: parser.h:61:41: error: too many arguments to function 'get_confstr'; expected 0, have 3 61 | #define get_confstr_opt(x) get_confstr(x, CF_DEFAULT, (char *) 0) | ^~~~~~~~~~~ parser.c:229:17: note: in expansion of macro 'get_confstr_opt' 229 | rules = get_confstr_opt("rules"); /* Fetch rules location */ | ^~~~~~~~~~~~~~~ parser.h:47:14: note: declared here 47 | extern char *get_confstr(); /* Get configuration value (string) */ | ^~~~~~~~~~~ parser.c:231:17: error: too many arguments to function 'check_perm'; expected 0, have 2 231 | check_perm(rules, MUST_OWN | MAY_PANIC); /* Might not exist */ | ^~~~~~~~~~ ~~~~~ parser.c:154:13: note: declared here 154 | private int check_perm(); /* Check permissions on file */ | ^~~~~~~~~~ parser.c:235:17: error: too many arguments to function 'add_log'; expected 0, have 3 235 | add_log(19, "checking myself at %s", myself); | ^~~~~~~ ~~ In file included from parser.c:137: logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c:236:22: error: too many arguments to function 'exec_secure'; expected 0, have 1 236 | if (!exec_secure(myself)) { | ^~~~~~~~~~~ ~~~~~~ parser.c:152:12: note: declared here 152 | public int exec_secure(); /* Checks whether exec() is safe on file */ | ^~~~~~~~~~~ parser.c:238:25: error: too many arguments to function 'say'; expected 0, have 1 238 | say(error); /* Make sure they see it */ | ^~~ ~~~~~ msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ parser.c:239:25: error: too many arguments to function 'add_log'; expected 0, have 2 239 | add_log(1, error); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c:248:17: error: too many arguments to function 'add_log'; expected 0, have 3 248 | add_log(19, "checking %s", path); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c:249:22: error: too many arguments to function 'exec_secure'; expected 0, have 1 249 | if (!exec_secure(path)) { | ^~~~~~~~~~~ ~~~~ parser.c:152:12: note: declared here 152 | public int exec_secure(); /* Checks whether exec() is safe on file */ | ^~~~~~~~~~~ parser.c:251:25: error: too many arguments to function 'say'; expected 0, have 1 251 | say(error); /* Make sure they see it */ | ^~~ ~~~~~ msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ parser.c:252:25: error: too many arguments to function 'add_log'; expected 0, have 2 252 | add_log(1, error); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c: In function 'start_log': parser.c:267:17: error: too many arguments to function 'get_confstr'; expected 0, have 2 267 | value = get_confstr("logdir", CF_MANDATORY); | ^~~~~~~~~~~ ~~~~~~~~ parser.h:47:14: note: declared here 47 | extern char *get_confstr(); /* Get configuration value (string) */ | ^~~~~~~~~~~ parser.c:271:17: error: too many arguments to function 'get_confstr'; expected 0, have 2 271 | value = get_confstr("log", CF_MANDATORY); /* Log file basename*/ | ^~~~~~~~~~~ ~~~~~ parser.h:47:14: note: declared here 47 | extern char *get_confstr(); /* Get configuration value (string) */ | ^~~~~~~~~~~ parser.c:274:17: error: too many arguments to function 'get_confval'; expected 0, have 2 274 | level = get_confval("level", CF_MANDATORY); | ^~~~~~~~~~~ ~~~~~~~ parser.h:46:12: note: declared here 46 | extern int get_confval(); /* Get configuration value (integer) */ | ^~~~~~~~~~~ parser.c:276:9: error: too many arguments to function 'set_loglvl'; expected 0, have 1 276 | set_loglvl(level); /* Logging level wanted */ | ^~~~~~~~~~ ~~~~~ logfile.h:40:13: note: declared here 40 | extern void set_loglvl(); /* Set logging level */ | ^~~~~~~~~~ parser.c:277:19: error: too many arguments to function 'open_log'; expected 0, have 1 277 | if (-1 == open_log(logfile)) | ^~~~~~~~ ~~~~~~~ logfile.h:38:12: note: declared here 38 | extern int open_log(); /* Open logging file */ | ^~~~~~~~ parser.c:278:17: error: too many arguments to function 'say'; expected 0, have 2 278 | say("cannot open logfile %s", logfile); | ^~~ ~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ parser.c: In function 'stat_check': logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1307:25: error: too many arguments to function 'add_log'; expected 0, have 2 1307 | add_log(1, "SYSERR stat: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1308:25: error: too many arguments to function 'add_log'; expected 0, have 3 1308 | add_log(2, "ERROR can't locate %s after opening", filename); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1313:25: error: too many arguments to function 'add_log'; expected 0, have 4 1313 | add_log(1, "ERROR cannot append to %s (not owned by UID %d)", | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ io.c:1329:17: error: too many arguments to function 'add_log'; expected 0, have 2 1329 | add_log(1, "SYSERR dup2: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c:281:14: warning: old-style function definition [-Wold-style-definition] 281 | private void stat_check(file) | ^~~~~~~~~~ parser.c:289:17: error: too many arguments to function 'add_log'; expected 0, have 2 289 | add_log(1, "SYSERR stat: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c:290:17: error: too many arguments to function 'fatal'; expected 0, have 2 290 | fatal("cannot stat file %s", file); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.c: In function 'secure': parser.c:294:14: warning: old-style function definition [-Wold-style-definition] 294 | private void secure(file) | ^~~~~~ parser.c:303:9: error: too many arguments to function 'check_perm'; expected 0, have 2 303 | check_perm(file, MUST_OWN | MAY_PANIC); /* Check permissions */ | ^~~~~~~~~~ ~~~~ parser.c:154:13: note: declared here 154 | private int check_perm(); /* Check permissions on file */ | ^~~~~~~~~~ parser.c: In function 'exec_secure': parser.c:306:12: warning: old-style function definition [-Wold-style-definition] 306 | public int exec_secure(file) | ^~~~~~~~~~~ parser.c:308:1: error: number of arguments doesn't match prototype 308 | { | ^ parser.c:152:12: error: prototype declaration 152 | public int exec_secure(); /* Checks whether exec() is safe on file */ | ^~~~~~~~~~~ parser.c:318:26: error: too many arguments to function 'get_confstr'; expected 0, have 3 318 | char *execsafe = get_confstr("execsafe", CF_DEFAULT, "OFF"); | ^~~~~~~~~~~ ~~~~~~~~~~ parser.h:47:14: note: declared here 47 | extern char *get_confstr(); /* Get configuration value (string) */ | ^~~~~~~~~~~ parser.c:319:26: error: too many arguments to function 'get_confstr'; expected 0, have 3 319 | char *execskip = get_confstr("execskip", CF_DEFAULT, "OFF"); | ^~~~~~~~~~~ ~~~~~~~~~~ parser.h:47:14: note: declared here 47 | extern char *get_confstr(); /* Get configuration value (string) */ | ^~~~~~~~~~~ parser.c:326:16: error: too many arguments to function 'check_perm'; expected 0, have 2 326 | return check_perm(file, flag); /* Check permissions */ | ^~~~~~~~~~ ~~~~ parser.c:154:13: note: declared here 154 | private int check_perm(); /* Check permissions on file */ | ^~~~~~~~~~ parser.c: In function 'check_fatal': parser.c:330:14: warning: old-style function definition [-Wold-style-definition] 330 | private void check_fatal(flags, reason, arg1, arg2, arg3, arg4, arg5) | ^~~~~~~~~~~ parser.c:342:17: error: too many arguments to function 'fatal'; expected 0, have 6 342 | fatal(reason, arg1, arg2, arg3, arg4, arg5); | ^~~~~ ~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.c:345:9: error: too many arguments to function 'add_log'; expected 0, have 7 345 | add_log(1, buffer, arg1, arg2, arg3, arg4, arg5); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c: In function 'check_perm': parser.c:348:13: warning: old-style function definition [-Wold-style-definition] 348 | private int check_perm(file, flags) | ^~~~~~~~~~ parser.h:61:41: error: too many arguments to function 'get_confstr'; expected 0, have 3 61 | #define get_confstr_opt(x) get_confstr(x, CF_DEFAULT, (char *) 0) | ^~~~~~~~~~~ parser.c:399:20: note: in expansion of macro 'get_confstr_opt' 399 | cfsecure = get_confstr_opt("secure"); /* Do they want extra security? */ | ^~~~~~~~~~~~~~~ parser.h:47:14: note: declared here 47 | extern char *get_confstr(); /* Get configuration value (string) */ | ^~~~~~~~~~~ parser.c:409:17: error: too many arguments to function 'add_log'; expected 0, have 3 409 | add_log(12, "basic checks ok for file %s", file); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c:417:9: error: too many arguments to function 'add_log'; expected 0, have 3 417 | add_log(17, "performing additional checks on %s", file); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c:419:29: error: too many arguments to function 'get_confstr'; expected 0, have 3 419 | if (0 == strcasecmp(get_confstr("groupsafe", CF_DEFAULT, "ON"), "OFF")) | ^~~~~~~~~~~ ~~~~~~~~~~~ parser.h:47:14: note: declared here 47 | extern char *get_confstr(); /* Get configuration value (string) */ | ^~~~~~~~~~~ parser.c:440:9: error: too many arguments to function 'add_log'; expected 0, have 3 440 | add_log(17, "checking directory %s", parent); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c:443:17: error: too many arguments to function 'add_log'; expected 0, have 2 443 | add_log(1, "SYSERR stat: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c:463:9: error: too many arguments to function 'add_log'; expected 0, have 3 463 | add_log(12, "file %s seems to be secure", file); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c: In function 'env_home': parser.c:474:16: error: too many arguments to function 'getenv'; expected 0, have 1 474 | home = getenv("HOME"); /* For tests only -- see main.c */ | ^~~~~~ ~~~~~~ parser.c:170:14: note: declared here 170 | extern char *getenv(); /* Get environment variable */ | ^~~~~~ parser.c:476:24: error: too many arguments to function 'strsave'; expected 0, have 1 476 | home = strsave(home); /* POSIX getenv() returns ptr to static data */ | ^~~~~~~ ~~~~ parser.c:168:14: note: declared here 168 | extern char *strsave(); /* Save string value in memory */ | ^~~~~~~ parser.c: In function 'get_home': parser.c:485:14: error: too many arguments to function 'getpwuid'; expected 0, have 1 485 | pp = getpwuid(geteuid()); | ^~~~~~~~ ~~~~~~~~~ parser.c:169:23: note: declared here 169 | extern struct passwd *getpwuid(); /* Fetch /etc/passwd entry from uid */ | ^~~~~~~~ parser.c:487:17: error: too many arguments to function 'fatal'; expected 0, have 1 487 | fatal("cannot locate home directory"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.c:488:16: error: too many arguments to function 'strsave'; expected 0, have 1 488 | home = strsave(pp->pw_dir); | ^~~~~~~ ~~~~~~~~~~ parser.c:168:14: note: declared here 168 | extern char *strsave(); /* Save string value in memory */ | ^~~~~~~ parser.c:490:17: error: too many arguments to function 'fatal'; expected 0, have 1 490 | fatal("no more memory"); | ^~~~~ ~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.c: In function 'set_env_vars': parser.c:493:13: warning: old-style function definition [-Wold-style-definition] 493 | public void set_env_vars(envp) | ^~~~~~~~~~~~ parser.c:495:1: error: number of arguments doesn't match prototype 495 | { | ^ parser.c:151:13: error: prototype declaration 151 | public void set_env_vars(); /* Set envrionment variables */ | ^~~~~~~~~~~~ parser.h:61:41: error: too many arguments to function 'get_confstr'; expected 0, have 3 61 | #define get_confstr_opt(x) get_confstr(x, CF_DEFAULT, (char *) 0) | ^~~~~~~~~~~ parser.c:515:20: note: in expansion of macro 'get_confstr_opt' 515 | path_val = get_confstr_opt("path"); | ^~~~~~~~~~~~~~~ parser.h:47:14: note: declared here 47 | extern char *get_confstr(); /* Get configuration value (string) */ | ^~~~~~~~~~~ parser.c:517:27: error: too many arguments to function 'set_env'; expected 0, have 2 517 | if (-1 == set_env("PATH", path_val)) | ^~~~~~~ ~~~~~~ In file included from parser.c:138: environ.h:42:12: note: declared here 42 | extern int set_env(); /* Set environment value */ | ^~~~~~~ parser.c:518:25: error: too many arguments to function 'fatal'; expected 0, have 1 518 | fatal("cannot initialize PATH"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.h:61:41: error: too many arguments to function 'get_confstr'; expected 0, have 3 61 | #define get_confstr_opt(x) get_confstr(x, CF_DEFAULT, (char *) 0) | ^~~~~~~~~~~ parser.c:522:20: note: in expansion of macro 'get_confstr_opt' 522 | path_val = get_confstr_opt(name); /* Exists ? */ | ^~~~~~~~~~~~~~~ parser.h:47:14: note: declared here 47 | extern char *get_confstr(); /* Get configuration value (string) */ | ^~~~~~~~~~~ parser.c:524:17: error: too many arguments to function 'add_log'; expected 0, have 3 524 | add_log(19, "updating PATH with '%s' from config file", name); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c:525:27: error: too many arguments to function 'prepend_env'; expected 0, have 2 525 | if (-1 == prepend_env("PATH", ":")) | ^~~~~~~~~~~ ~~~~~~ environ.h:40:12: note: declared here 40 | extern int prepend_env(); /* Prepend value to environment */ | ^~~~~~~~~~~ parser.c:526:25: error: too many arguments to function 'fatal'; expected 0, have 1 526 | fatal("cannot set PATH variable"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.c:527:27: error: too many arguments to function 'prepend_env'; expected 0, have 2 527 | if (-1 == prepend_env("PATH", path_val)) | ^~~~~~~~~~~ ~~~~~~ environ.h:40:12: note: declared here 40 | extern int prepend_env(); /* Prepend value to environment */ | ^~~~~~~~~~~ parser.c:528:25: error: too many arguments to function 'fatal'; expected 0, have 1 528 | fatal("cannot set PATH variable"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.c:532:19: error: too many arguments to function 'set_env'; expected 0, have 2 532 | if (-1 == set_env("HOME", home)) | ^~~~~~~ ~~~~~~ environ.h:42:12: note: declared here 42 | extern int set_env(); /* Set environment value */ | ^~~~~~~ parser.c:533:17: error: too many arguments to function 'fatal'; expected 0, have 1 533 | fatal("cannot set HOME variable"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.c:536:14: error: too many arguments to function 'get_confstr'; expected 0, have 3 536 | tz = get_confstr("timezone", CF_DEFAULT, (char *) 0); /* Exists ? */ | ^~~~~~~~~~~ ~~~~~~~~~~ parser.h:47:14: note: declared here 47 | extern char *get_confstr(); /* Get configuration value (string) */ | ^~~~~~~~~~~ parser.c:538:27: error: too many arguments to function 'set_env'; expected 0, have 2 538 | if (-1 == set_env("TZ", tz)) | ^~~~~~~ ~~~~ environ.h:42:12: note: declared here 42 | extern int set_env(); /* Set environment value */ | ^~~~~~~ parser.c:539:25: error: too many arguments to function 'add_log'; expected 0, have 2 539 | add_log(1, "ERROR cannot set TZ variable"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c: In function 'get_confstr': parser.c:543:14: warning: old-style function definition [-Wold-style-definition] 543 | public char *get_confstr(name, type, dflt) | ^~~~~~~~~~~ parser.c:547:1: error: number of arguments doesn't match prototype 547 | { | ^ parser.h:47:14: error: prototype declaration 47 | extern char *get_confstr(); /* Get configuration value (string) */ | ^~~~~~~~~~~ parser.c:556:19: error: too many arguments to function 'ht_value'; expected 0, have 2 556 | namestr = ht_value(&symtab, name); | ^~~~~~~~ ~~~~~~~ hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ parser.c:561:25: error: too many arguments to function 'fatal'; expected 0, have 1 561 | fatal(buffer); | ^~~~~ ~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.c:566:25: error: too many arguments to function 'fatal'; expected 0, have 1 566 | fatal("BUG: get_confval"); | ^~~~~ ~~~~~~~~~~~~~~~~~~ msg.h:37:13: note: declared here 37 | extern void fatal(); /* For fatal errors */ | ^~~~~ parser.c: In function 'get_confval': parser.c:574:12: warning: old-style function definition [-Wold-style-definition] 574 | public int get_confval(name, type, dflt) | ^~~~~~~~~~~ parser.c:578:1: error: number of arguments doesn't match prototype 578 | { | ^ parser.h:46:12: error: prototype declaration 46 | extern int get_confval(); /* Get configuration value (integer) */ | ^~~~~~~~~~~ parser.c:586:19: error: too many arguments to function 'get_confstr'; expected 0, have 3 586 | namestr = get_confstr(name, type, (char *) 0); | ^~~~~~~~~~~ ~~~~ parser.c:543:14: note: declared here 543 | public char *get_confstr(name, type, dflt) | ^~~~~~~~~~~ parser.c: In function 'substitute': parser.c:595:14: warning: old-style function definition [-Wold-style-definition] 595 | private void substitute(value) | ^~~~~~~~~~ parser.c:607:25: error: too many arguments to function 'add_home'; expected 0, have 1 607 | add_home(&value); | ^~~~~~~~ ~~~~~~ parser.c:157:14: note: declared here 157 | private void add_home(); /* Replace ~ with home directory */ | ^~~~~~~~ parser.c:610:25: error: too many arguments to function 'add_variable'; expected 0, have 2 610 | add_variable(&value, &ptr); | ^~~~~~~~~~~~ ~~~~~~ parser.c:158:14: note: declared here 158 | private void add_variable(); /* Replace $var by its value */ | ^~~~~~~~~~~~ parser.c: In function 'add_home': parser.c:616:14: warning: old-style function definition [-Wold-style-definition] 616 | private void add_home(to) | ^~~~~~~~ parser.c:630:18: error: too many arguments to function 'ht_value'; expected 0, have 2 630 | symbol = ht_value(&symtab, "home"); /* Maybe we saw 'home' already */ | ^~~~~~~~ ~~~~~~~ hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ parser.c: In function 'add_variable': parser.c:640:14: warning: old-style function definition [-Wold-style-definition] 640 | private void add_variable(to, from) | ^~~~~~~~~~~~ parser.c:664:21: error: too many arguments to function 'ht_value'; expected 0, have 2 664 | dol_value = ht_value(&symtab, buffer); | ^~~~~~~~ ~~~~~~~ hash.h:46:14: note: declared here 46 | extern char *ht_value(); /* Get value given some key */ | ^~~~~~~~ parser.c: In function 'insert_value': parser.c:675:14: warning: old-style function definition [-Wold-style-definition] 675 | private void insert_value(path, line) | ^~~~~~~~~~~~ parser.c:713:17: error: too many arguments to function 'say'; expected 0, have 2 713 | say("syntax error in config file, line %d", line); | ^~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.h:36:13: note: declared here 36 | extern void say(); /* For important error messages */ | ^~~ parser.c:720:9: error: too many arguments to function 'strip_comment'; expected 0, have 1 720 | strip_comment(path); /* Remove trailing comment */ | ^~~~~~~~~~~~~ ~~~~ parser.c:162:14: note: declared here 162 | private void strip_comment(); /* Strip trailing comment in config line */ | ^~~~~~~~~~~~~ parser.c:721:16: error: too many arguments to function 'ht_put'; expected 0, have 3 721 | (void) ht_put(&symtab, name, path); /* Add value into symbol table */ | ^~~~~~ ~~~~~~~ hash.h:47:14: note: declared here 47 | extern char *ht_put(); /* Insert value in H table */ | ^~~~~~ parser.c: In function 'strip_comment': parser.c:724:14: warning: old-style function definition [-Wold-style-definition] 724 | private void strip_comment(line) | ^~~~~~~~~~~~~ parser.c: In function 'machine_name': parser.c:782:24: error: too many arguments to function 'strip_down'; expected 0, have 1 782 | return strip_down(name); | ^~~~~~~~~~ ~~~~ parser.c:161:15: note: declared here 161 | private char *strip_down(); /* Strip down domain name from host name */ | ^~~~~~~~~~ make[6]: *** [Makefile:38: io.o] Error 1 parser.c:784:9: error: too many arguments to function 'add_log'; expected 0, have 2 784 | add_log(1, "SYSERR gethostname: %m (%e)"); | ^~~~~~~ ~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c: In function 'strip_down': parser.c:810:15: warning: old-style function definition [-Wold-style-definition] 810 | private char *strip_down(host) | ^~~~~~~~~~ parser.c:842:9: error: too many arguments to function 'add_log'; expected 0, have 3 842 | add_log(19, "hostname is %s", name); | ^~~~~~~ ~~ logfile.h:37:13: note: declared here 37 | extern void add_log(); /* Add logging message */ | ^~~~~~~ parser.c:844:16: error: too many arguments to function 'strsave'; expected 0, have 1 844 | return strsave(name); /* Save string in memory */ | ^~~~~~~ ~~~~ parser.c:168:14: note: declared here 168 | extern char *strsave(); /* Save string value in memory */ | ^~~~~~~ make[6]: *** [Makefile:38: parser.o] Error 1 make[6]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent/filter' make[5]: *** [Makefile:227: subdirs] Error 1 make[5]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent' make[4]: *** [Makefile:302: all] Error 2 make[4]: Leaving directory '/build/reproducible-path/mailagent-3.1-106/agent' make[3]: *** [Makefile:121: subdirs] Error 1 make[3]: Leaving directory '/build/reproducible-path/mailagent-3.1-106' make[2]: *** [Makefile:196: all] Error 2 make[2]: Leaving directory '/build/reproducible-path/mailagent-3.1-106' dh_auto_build: error: make -j12 "INSTALL=install --strip-program=true" returned exit code 2 make[1]: *** [debian/rules:52: override_dh_auto_build] Error 25 make[1]: Leaving directory '/build/reproducible-path/mailagent-3.1-106' make: *** [debian/rules:27: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 I: copying local configuration E: Failed autobuilding of package I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/1920273 and its subdirectories mailagent failed to build from source. removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/arm64/mailagent_3.1-106-1.2.rbuild.log' removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/arm64/mailagent_3.1-106-1.2.rbuild.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/logs/unstable/arm64/mailagent_3.1-106-1.2.build1.log.gz' Sun Sep 14 17:18:11 UTC 2025 W: No second build log, what happened? Compressing the 1st log... b1/build.log: 84.5% -- replaced with stdout INSERT 0 1 INSERT 0 1 DELETE 1 [2025-09-14 17:18:11] INFO: Starting at 2025-09-14 17:18:11.989156 [2025-09-14 17:18:12] INFO: Generating the pages of 1 package(s) [2025-09-14 17:18:12] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/unstable/amd64/mailagent_3.1-106-1.2.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/amd64/mailagent_3.1-106-1.2.diff.gz is missing [2025-09-14 17:18:12] CRITICAL: https://tests.reproducible-builds.org/debian/unstable/arm64/mailagent didn't produce a buildlog, even though it has been built. [2025-09-14 17:18:12] INFO: Finished at 2025-09-14 17:18:12.270682, took: 0:00:00.281531 Sun Sep 14 17:18:12 UTC 2025 - successfully updated the database and updated https://tests.reproducible-builds.org/debian/rb-pkg/unstable/arm64/mailagent.html Starting cleanup. /var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/arm64/mailagent_3.1-106-1.2.rbuild.log: 83.9% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/arm64/mailagent_3.1-106-1.2.rbuild.log.gz [2025-09-14 17:18:12] INFO: Starting at 2025-09-14 17:18:12.652469 [2025-09-14 17:18:12] INFO: Generating the pages of 1 package(s) [2025-09-14 17:18:12] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/unstable/amd64/mailagent_3.1-106-1.2.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/amd64/mailagent_3.1-106-1.2.diff.gz is missing [2025-09-14 17:18:12] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/unstable/arm64/mailagent_3.1-106-1.2.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/arm64/mailagent_3.1-106-1.2.diff.gz is missing [2025-09-14 17:18:12] INFO: Finished at 2025-09-14 17:18:12.906408, took: 0:00:00.253941 All cleanup done. Sun Sep 14 17:18:12 UTC 2025 - total duration: 0h 0m 48s. Sun Sep 14 17:18:12 UTC 2025 - reproducible_build.sh stopped running as /tmp/jenkins-script-ldZF2q2T, removing. Finished with result: success Main processes terminated with: code=exited, status=0/SUCCESS Service runtime: 49.704s CPU time consumed: 2.613s Memory peak: 41.1M (swap: 0B)