Diff of the two buildlogs: -- --- b1/build.log 2023-05-06 15:12:19.155128451 +0000 +++ b2/build.log 2023-05-06 15:13:35.683772754 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 6 03:11:22 -12 2023 -I: pbuilder-time-stamp: 1683385882 +I: Current time: Sun May 7 05:12:33 +14 2023 +I: pbuilder-time-stamp: 1683385953 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./siggen_2.3.10.orig.tar.gz] I: copying [./siggen_2.3.10-11.debian.tar.xz] I: Extracting source -gpgv: Signature made Tue Dec 1 14:38:13 2020 -12 +gpgv: Signature made Wed Dec 2 16:38:13 2020 +14 gpgv: using RSA key 6201FBFFDBBDE07822EABB9696FCAC0D387B5847 gpgv: issuer "debian@alteholz.de" gpgv: Can't check signature: No public key @@ -35,135 +35,167 @@ dpkg-source: info: applying gcc10.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/29676/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/13822/tmp/hooks/D01_modify_environment starting +debug: Running on virt32c. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 7 05:12 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/13822/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/13822/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='36a6adb8594a4e36ad0db8f399f8fcae' - 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='29676' - PS1='# ' - PS2='> ' + INVOCATION_ID=3e4c9ca7c3134c9fb5a68eb16280779d + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=13822 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.1cq4AcPW/pbuilderrc_3AIy --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.1cq4AcPW/b1 --logfile b1/build.log siggen_2.3.10-11.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.1cq4AcPW/pbuilderrc_PDwS --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.1cq4AcPW/b2 --logfile b2/build.log --extrapackages usrmerge siggen_2.3.10-11.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64c 5.10.0-22-arm64 #1 SMP Debian 5.10.178-3 (2023-04-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-22-armmp-lpae #1 SMP Debian 5.10.178-3 (2023-04-22) armv7l GNU/Linux I: ls -l /bin total 5072 - -rwxr-xr-x 1 root root 838488 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67112 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 67632 Sep 20 2022 cat - -rwxr-xr-x 1 root root 67676 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67644 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 67684 Sep 20 2022 chown - -rwxr-xr-x 1 root root 133532 Sep 20 2022 cp - -rwxr-xr-x 1 root root 132868 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 133220 Sep 20 2022 date - -rwxr-xr-x 1 root root 67732 Sep 20 2022 dd - -rwxr-xr-x 1 root root 68104 Sep 20 2022 df - -rwxr-xr-x 1 root root 133632 Sep 20 2022 dir - -rwxr-xr-x 1 root root 59128 Mar 22 21:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 67560 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 67548 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 55748 Mar 22 21:02 findmnt - -rwsr-xr-x 1 root root 26208 Mar 22 20:15 fusermount - -rwxr-xr-x 1 root root 128608 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 64220 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67032 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 67720 Sep 20 2022 ln - -rwxr-xr-x 1 root root 35132 Mar 22 21:51 login - -rwxr-xr-x 1 root root 133632 Sep 20 2022 ls - -rwxr-xr-x 1 root root 136808 Mar 22 21:02 lsblk - -rwxr-xr-x 1 root root 67800 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 67764 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 67596 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 38504 Mar 22 21:02 more - -rwsr-xr-x 1 root root 38496 Mar 22 21:02 mount - -rwxr-xr-x 1 root root 9824 Mar 22 21:02 mountpoint - -rwxr-xr-x 1 root root 133532 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 67608 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 67600 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 67672 Sep 20 2022 rm - -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 67400 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133372 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty - -rwsr-xr-x 1 root root 50800 Mar 22 21:02 su - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sync - -rwxr-xr-x 1 root root 336764 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 67144 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 133224 Sep 20 2022 touch - -rwxr-xr-x 1 root root 67548 Sep 20 2022 true - -rwxr-xr-x 1 root root 9768 Mar 22 20:15 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Mar 22 21:02 umount - -rwxr-xr-x 1 root root 67572 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 133632 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 42608 Mar 22 21:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/29676/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 838488 Apr 24 11:24 bash + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67112 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 67632 Sep 21 2022 cat + -rwxr-xr-x 1 root root 67676 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67644 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 67684 Sep 21 2022 chown + -rwxr-xr-x 1 root root 133532 Sep 21 2022 cp + -rwxr-xr-x 1 root root 132868 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 133220 Sep 21 2022 date + -rwxr-xr-x 1 root root 67732 Sep 21 2022 dd + -rwxr-xr-x 1 root root 68104 Sep 21 2022 df + -rwxr-xr-x 1 root root 133632 Sep 21 2022 dir + -rwxr-xr-x 1 root root 59128 Mar 23 23:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 67560 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 67548 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 55748 Mar 23 23:02 findmnt + -rwsr-xr-x 1 root root 26208 Mar 23 22:15 fusermount + -rwxr-xr-x 1 root root 128608 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 64220 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67032 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 67720 Sep 21 2022 ln + -rwxr-xr-x 1 root root 35132 Mar 23 23:51 login + -rwxr-xr-x 1 root root 133632 Sep 21 2022 ls + -rwxr-xr-x 1 root root 136808 Mar 23 23:02 lsblk + -rwxr-xr-x 1 root root 67800 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 67764 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 67596 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 38504 Mar 23 23:02 more + -rwsr-xr-x 1 root root 38496 Mar 23 23:02 mount + -rwxr-xr-x 1 root root 9824 Mar 23 23:02 mountpoint + -rwxr-xr-x 1 root root 133532 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 67608 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash + -rwxr-xr-x 1 root root 67600 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 67672 Sep 21 2022 rm + -rwxr-xr-x 1 root root 67600 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 67400 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133372 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 May 7 05:12 sh -> /bin/bash + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 67644 Sep 21 2022 stty + -rwsr-xr-x 1 root root 50800 Mar 23 23:02 su + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sync + -rwxr-xr-x 1 root root 336764 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 67144 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 133224 Sep 21 2022 touch + -rwxr-xr-x 1 root root 67548 Sep 21 2022 true + -rwxr-xr-x 1 root root 9768 Mar 23 22:15 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Mar 23 23:02 umount + -rwxr-xr-x 1 root root 67572 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 133632 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 42608 Mar 23 23:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/13822/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -233,7 +265,7 @@ Get: 30 http://deb.debian.org/debian bookworm/main armhf debhelper all 13.11.4 [942 kB] Get: 31 http://deb.debian.org/debian bookworm/main armhf libncurses6 armhf 6.4-2 [81.0 kB] Get: 32 http://deb.debian.org/debian bookworm/main armhf libncurses-dev armhf 6.4-2 [310 kB] -Fetched 18.4 MB in 0s (41.9 MB/s) +Fetched 18.4 MB in 0s (38.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19329 files and directories currently installed.) @@ -378,10 +410,17 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/siggen-2.3.10/ && 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 > ../siggen_2.3.10-11_source.changes +I: user script /srv/workspace/pbuilder/13822/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/13822/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/siggen-2.3.10/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../siggen_2.3.10-11_source.changes dpkg-buildpackage: info: source package siggen dpkg-buildpackage: info: source version 2.3.10-11 dpkg-buildpackage: info: source distribution unstable @@ -401,149 +440,75 @@ dh_clean debian/rules build dh_auto_build -- CFLAGS="-g -O2" tones signalgen swgen siggen sweepgen fsynth soundinfo smix - make -j3 "INSTALL=install --strip-program=true" "CFLAGS=-g -O2" tones signalgen swgen siggen sweepgen fsynth soundinfo smix + make -j4 "INSTALL=install --strip-program=true" "CFLAGS=-g -O2" tones signalgen swgen siggen sweepgen fsynth soundinfo smix make[1]: Entering directory '/build/siggen-2.3.10' Makefile:46: warning: ignoring prerequisites on suffix rule definition gcc -c -g -O2 -I. -I/usr/include/ncurses tones.c gcc -c -g -O2 -I. -I/usr/include/ncurses tonesgen.c gcc -c -g -O2 -I. -I/usr/include/ncurses generator.c -generator.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int] - 99 | mk8bit(bf,ip,N) - | ^~~~~~ -generator.c:117:1: warning: return type defaults to 'int' [-Wimplicit-int] - 117 | mixplaybuf(a,b,c,N,afmt) - | ^~~~~~~~~~ -tonesgen.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int] - 168 | init_samples(fo,fdo,N,S,F,St,Ch,Wn) - | ^~~~~~~~~~~~ -generator.c:137:1: warning: return type defaults to 'int' [-Wimplicit-int] - 137 | chanmix(a,b,Nb,c,Nc,N,afmt) - | ^~~~~~~ -generator.c:166:1: warning: return type defaults to 'int' [-Wimplicit-int] - 166 | do_antiphase(a,b,N,afmt) - | ^~~~~~~~~~~~ +gcc -c -g -O2 -I. -I/usr/include/ncurses misc.c tones.c:97:1: warning: return type defaults to 'int' [-Wimplicit-int] 97 | help(e) | ^~~~ tones.c:156:1: warning: return type defaults to 'int' [-Wimplicit-int] 156 | main(argc,argv) | ^~~~ -generator.c: In function 'maketone': -generator.c:200:6: warning: implicit declaration of function 'generate' [-Wimplicit-function-declaration] - 200 | n=generate((fr)?wf:"OFF",bf,bn,fr,G,N,-1,afmt); - | ^~~~~~~~ -generator.c: At top level: -generator.c:211:1: warning: return type defaults to 'int' [-Wimplicit-int] - 211 | mksweep(bf,bfn,FMbuf,wavbuf,Fmin,Fmax,N,afmt) - | ^~~~~~~ -tonesgen.c: In function 'init_samples': -tonesgen.c:191:9: warning: implicit declaration of function 'genAllWaveforms' [-Wimplicit-function-declaration] - 191 | if (i=genAllWaveforms(&WavForms,&WavBufs,1,S,AFMT_S16_LE)) return(i); - | ^~~~~~~~~~~~~~~ -generator.c:254:1: warning: return type defaults to 'int' [-Wimplicit-int] - 254 | mkcos(bf,bfn,freq,A,N,R,afmt) - | ^~~~~ +tonesgen.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int] + 168 | init_samples(fo,fdo,N,S,F,St,Ch,Wn) + | ^~~~~~~~~~~~ tones.c: In function 'main': tones.c:220:20: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] 220 | else exit(err_rpt(EINVAL,"must be '-b 8' or '-b 16'.")); | ^~~~~~~ -generator.c: In function 'mkcos': -generator.c:260:11: warning: implicit declaration of function 'mksin'; did you mean 'sin'? [-Wimplicit-function-declaration] - 260 | return(mksin(bf,bfn,freq,A,N,90+R,afmt)); - | ^~~~~ - | sin -generator.c: At top level: -generator.c:268:1: warning: return type defaults to 'int' [-Wimplicit-int] - 268 | mksin(bf,bfn,freq,A,N,R,afmt) - | ^~~~~ +tonesgen.c: In function 'init_samples': +tonesgen.c:191:9: warning: implicit declaration of function 'genAllWaveforms' [-Wimplicit-function-declaration] + 191 | if (i=genAllWaveforms(&WavForms,&WavBufs,1,S,AFMT_S16_LE)) return(i); + | ^~~~~~~~~~~~~~~ tonesgen.c:193:10: warning: implicit declaration of function 'setwaveform' [-Wimplicit-function-declaration] 193 | if ((i=setwaveform("off",&Silence,NULL))) return(i); | ^~~~~~~~~~~ -generator.c: In function 'mksin': -generator.c:295:11: warning: implicit declaration of function 'hcf' [-Wimplicit-function-declaration] - 295 | n=N/(h=hcf(N,freq)); /* n = N/hcf(N,freq) is number of samples to create */ - | ^~~ +tones.c:249:4: warning: implicit declaration of function 'init_conf_files' [-Wimplicit-function-declaration] + 249 | init_conf_files(configfile,DEF_CONF_FILENAME,DEF_GLOBAL_CONF_FILE,vflg); + | ^~~~~~~~~~~~~~~ tonesgen.c: At top level: tonesgen.c:231:1: warning: return type defaults to 'int' [-Wimplicit-int] 231 | do_loadable_waveforms(aa,n,T) | ^~~~~~~~~~~~~~~~~~~~~ -generator.c: At top level: -generator.c:327:1: warning: return type defaults to 'int' [-Wimplicit-int] - 327 | mksquare(bf,bfn,freq,A,N,R,afmt) - | ^~~~~~~~ -tones.c:249:4: warning: implicit declaration of function 'init_conf_files' [-Wimplicit-function-declaration] - 249 | init_conf_files(configfile,DEF_CONF_FILENAME,DEF_GLOBAL_CONF_FILE,vflg); - | ^~~~~~~~~~~~~~~ -tonesgen.c: In function 'do_loadable_waveforms': -tonesgen.c:243:9: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] - 243 | err_rpt(errno,bf); - | ^~~~~~~ -generator.c: In function 'mksquare': -generator.c:333:11: warning: implicit declaration of function 'mkpulse' [-Wimplicit-function-declaration] - 333 | return(mkpulse(bf,bfn,freq,A,N,50,afmt)); - | ^~~~~~~ -generator.c: At top level: -generator.c:342:1: warning: return type defaults to 'int' [-Wimplicit-int] - 342 | mkpulse(bf,bfn,freq,A,N,R,afmt) - | ^~~~~~~ -generator.c:385:1: warning: return type defaults to 'int' [-Wimplicit-int] - 385 | mksawtooth(bf,bfn,freq,A,N,R,afmt) - | ^~~~~~~~~~ -generator.c:428:1: warning: return type defaults to 'int' [-Wimplicit-int] - 428 | mktriangle(bf,bfn,freq,A,N,R,afmt) - | ^~~~~~~~~~ tones.c:287:15: warning: implicit declaration of function 'DACopen'; did you mean 'open'? [-Wimplicit-function-declaration] 287 | if ((fd=DACopen(fnm=dac,"w",&samplerate,&i,&stereo))<0) { | ^~~~~~~ | open +tonesgen.c: In function 'do_loadable_waveforms': +tonesgen.c:243:9: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] + 243 | err_rpt(errno,bf); + | ^~~~~~~ tonesgen.c: In function 'loadWavFile': tonesgen.c:282:10: warning: implicit declaration of function 'fprintfmt'; did you mean 'fprintf'? [-Wimplicit-function-declaration] 282 | fprintfmt(stdout,W); | ^~~~~~~~~ | fprintf -generator.c:474:1: warning: return type defaults to 'int' [-Wimplicit-int] - 474 | mknoise(bf,bfn,freq,A,N,R,afmt) - | ^~~~~~~ -generator.c: In function 'mknoise': -generator.c:493:10: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] - 493 | srand(time(NULL)); - | ^~~~ -generator.c:80:1: note: 'time' is defined in header ''; did you forget to '#include '? - 79 | #include "config.h" - +++ |+#include - 80 | +tones.c:294:22: warning: implicit declaration of function 'getfragsize' [-Wimplicit-function-declaration] + 294 | if ((frag_size=getfragsize(fd))<0) + | ^~~~~~~~~~~ tonesgen.c: At top level: tonesgen.c:325:1: warning: return type defaults to 'int' [-Wimplicit-int] 325 | setwaveform(s,WFs,WFN) | ^~~~~~~~~~~ -generator.c: At top level: -generator.c:511:1: warning: return type defaults to 'int' [-Wimplicit-int] - 511 | mknull(bf,bfn,freq,A,N,R,afmt) - | ^~~~~~ tonesgen.c:358:1: warning: return type defaults to 'int' [-Wimplicit-int] 358 | flush_samples() | ^~~~~~~~~~~~~ -generator.c:562:1: warning: return type defaults to 'int' [-Wimplicit-int] - 562 | generate(wf,buf,N,fr,A,S,R,afmt) - | ^~~~~~~~ -tones.c:294:22: warning: implicit declaration of function 'getfragsize' [-Wimplicit-function-declaration] - 294 | if ((frag_size=getfragsize(fd))<0) - | ^~~~~~~~~~~ -generator.c:610:1: warning: return type defaults to 'int' [-Wimplicit-int] - 610 | genAllWaveforms(Wfs,bufs,F,samplerate,afmt) - | ^~~~~~~~~~~~~~~ tonesgen.c: In function 'flush_samples': tonesgen.c:366:7: warning: implicit declaration of function 'newsamples'; did you mean 'getsamples'? [-Wimplicit-function-declaration] 366 | newsamples(Buff,Silence,&cp,n,10000); | ^~~~~~~~~~ | getsamples +tones.c:340:21: warning: implicit declaration of function 'fWAVwrhdr' [-Wimplicit-function-declaration] + 340 | if (wfmt && (fWAVwrhdr(f,0,samplerate,afmt,stereo)<0)) { + | ^~~~~~~~~ tonesgen.c:367:7: warning: implicit declaration of function 'writesamples'; did you mean 'init_samples'? [-Wimplicit-function-declaration] 367 | writesamples(Buff,n); | ^~~~~~~~~~~~ | init_samples -tones.c:340:21: warning: implicit declaration of function 'fWAVwrhdr' [-Wimplicit-function-declaration] - 340 | if (wfmt && (fWAVwrhdr(f,0,samplerate,afmt,stereo)<0)) { - | ^~~~~~~~~ tonesgen.c: At top level: tonesgen.c:379:1: warning: return type defaults to 'int' [-Wimplicit-int] 379 | newsamples(bf,wav,cp,N,F,G) @@ -551,12 +516,12 @@ tonesgen.c:408:1: warning: return type defaults to 'int' [-Wimplicit-int] 408 | addsamples(bf,wav,cp,N,F,G,L) | ^~~~~~~~~~ -tonesgen.c:473:1: warning: return type defaults to 'int' [-Wimplicit-int] - 473 | doToneCmd(s) - | ^~~~~~~~~ tones.c:344:10: warning: implicit declaration of function 'fWAVinit' [-Wimplicit-function-declaration] 344 | if (fWAVinit(0,samplerate,afmt,stereo)) { | ^~~~~~~~ +tonesgen.c:473:1: warning: return type defaults to 'int' [-Wimplicit-int] + 473 | doToneCmd(s) + | ^~~~~~~~~ tones.c:354:18: warning: implicit declaration of function 'fWAVdebug' [-Wimplicit-function-declaration] 354 | if (vflg>1) fWAVdebug(stdout); | ^~~~~~~~~ @@ -565,12 +530,24 @@ 493 | } else if (GenErr=docmdwaveform(s)) { | ^~~~~~~~~~~~~ | setwaveform -tonesgen.c:494:14: warning: implicit declaration of function 'docmdfile' [-Wimplicit-function-declaration] - 494 | GenErr=docmdfile(s); - | ^~~~~~~~~ tones.c:367:4: warning: implicit declaration of function 'init_samples' [-Wimplicit-function-declaration] 367 | init_samples(f,fd,frag_size,samplerate,afmt,stereo,channels,&TWn); | ^~~~~~~~~~~~ +tonesgen.c:494:14: warning: implicit declaration of function 'docmdfile' [-Wimplicit-function-declaration] + 494 | GenErr=docmdfile(s); + | ^~~~~~~~~ +misc.c:38:1: warning: return type defaults to 'int' [-Wimplicit-int] + 38 | delay(us) + | ^~~~~ +misc.c:52:1: warning: return type defaults to 'int' [-Wimplicit-int] + 52 | err_rpt(err,msg) + | ^~~~~~~ +misc.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] + 67 | hcf(x,y) + | ^~~ +misc.c:91:1: warning: return type defaults to 'int' [-Wimplicit-int] + 91 | parse(s,aa,sep) + | ^~~~~ tonesgen.c:502:12: warning: implicit declaration of function 'doToneDur'; did you mean 'doToneCmd'? [-Wimplicit-function-declaration] 502 | return(doToneDur(s,&t)); | ^~~~~~~~~ @@ -591,39 +568,42 @@ tonesgen.c:522:1: warning: return type defaults to 'int' [-Wimplicit-int] 522 | doDefDB(s) | ^~~~~~~ -tonesgen.c:539:1: warning: return type defaults to 'int' [-Wimplicit-int] - 539 | doToneDur(s,t) - | ^~~~~~~~~ tones.c:377:21: warning: implicit declaration of function 'ftones' [-Wimplicit-function-declaration] 377 | if (fi!=NULL) ftones(fi,infile); | ^~~~~~ +tonesgen.c:539:1: warning: return type defaults to 'int' [-Wimplicit-int] + 539 | doToneDur(s,t) + | ^~~~~~~~~ +misc.c:131:1: warning: return type defaults to 'int' [-Wimplicit-int] + 131 | mstosamples(ms,sr) + | ^~~~~~~~~~~ tonesgen.c:564:1: warning: return type defaults to 'int' [-Wimplicit-int] 564 | docmdtones(s,t) | ^~~~~~~~~~ +tones.c:382:6: warning: implicit declaration of function 'flush_samples' [-Wimplicit-function-declaration] + 382 | flush_samples(); + | ^~~~~~~~~~~~~ tonesgen.c: In function 'docmdtones': tonesgen.c:579:19: warning: implicit declaration of function 'ConvNote' [-Wimplicit-function-declaration] 579 | else if ((f=ConvNote(&s))==0) { | ^~~~~~~~ -tones.c:382:6: warning: implicit declaration of function 'flush_samples' [-Wimplicit-function-declaration] - 382 | flush_samples(); - | ^~~~~~~~~~~~~ -tonesgen.c: At top level: -tonesgen.c:624:1: warning: return type defaults to 'int' [-Wimplicit-int] - 624 | ConvNote(s) - | ^~~~~~~~ tones.c:383:6: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 383 | close(fd); | ^~~~~ | pclose +tonesgen.c: At top level: +tonesgen.c:624:1: warning: return type defaults to 'int' [-Wimplicit-int] + 624 | ConvNote(s) + | ^~~~~~~~ tonesgen.c:653:1: warning: return type defaults to 'int' [-Wimplicit-int] 653 | docmdwaveform(s) | ^~~~~~~~~~~~~ -tonesgen.c:696:1: warning: return type defaults to 'int' [-Wimplicit-int] - 696 | writesamples(bf,N) - | ^~~~~~~~~~~~ tones.c:386:23: warning: implicit declaration of function 'getsamples' [-Wimplicit-function-declaration] 386 | (fWAVwrhdr(f,getsamples(),samplerate,afmt,stereo)<0)) { | ^~~~~~~~~~ +tonesgen.c:696:1: warning: return type defaults to 'int' [-Wimplicit-int] + 696 | writesamples(bf,N) + | ^~~~~~~~~~~~ tonesgen.c: In function 'writesamples': tonesgen.c:712:6: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 712 | write(FD,(char *)bf,n); @@ -652,22 +632,81 @@ tonesgen.c:778:9: warning: implicit declaration of function 'parse' [-Wimplicit-function-declaration] 778 | n=parse(s,aa,'\0'); | ^~~~~ -gcc -c -g -O2 -I. -I/usr/include/ncurses misc.c -misc.c:38:1: warning: return type defaults to 'int' [-Wimplicit-int] - 38 | delay(us) - | ^~~~~ -misc.c:52:1: warning: return type defaults to 'int' [-Wimplicit-int] - 52 | err_rpt(err,msg) +generator.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int] + 99 | mk8bit(bf,ip,N) + | ^~~~~~ +generator.c:117:1: warning: return type defaults to 'int' [-Wimplicit-int] + 117 | mixplaybuf(a,b,c,N,afmt) + | ^~~~~~~~~~ +generator.c:137:1: warning: return type defaults to 'int' [-Wimplicit-int] + 137 | chanmix(a,b,Nb,c,Nc,N,afmt) | ^~~~~~~ -misc.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] - 67 | hcf(x,y) - | ^~~ -misc.c:91:1: warning: return type defaults to 'int' [-Wimplicit-int] - 91 | parse(s,aa,sep) +generator.c:166:1: warning: return type defaults to 'int' [-Wimplicit-int] + 166 | do_antiphase(a,b,N,afmt) + | ^~~~~~~~~~~~ +generator.c: In function 'maketone': +generator.c:200:6: warning: implicit declaration of function 'generate' [-Wimplicit-function-declaration] + 200 | n=generate((fr)?wf:"OFF",bf,bn,fr,G,N,-1,afmt); + | ^~~~~~~~ +generator.c: At top level: +generator.c:211:1: warning: return type defaults to 'int' [-Wimplicit-int] + 211 | mksweep(bf,bfn,FMbuf,wavbuf,Fmin,Fmax,N,afmt) + | ^~~~~~~ +generator.c:254:1: warning: return type defaults to 'int' [-Wimplicit-int] + 254 | mkcos(bf,bfn,freq,A,N,R,afmt) | ^~~~~ -misc.c:131:1: warning: return type defaults to 'int' [-Wimplicit-int] - 131 | mstosamples(ms,sr) - | ^~~~~~~~~~~ +generator.c: In function 'mkcos': +generator.c:260:11: warning: implicit declaration of function 'mksin'; did you mean 'sin'? [-Wimplicit-function-declaration] + 260 | return(mksin(bf,bfn,freq,A,N,90+R,afmt)); + | ^~~~~ + | sin +generator.c: At top level: +generator.c:268:1: warning: return type defaults to 'int' [-Wimplicit-int] + 268 | mksin(bf,bfn,freq,A,N,R,afmt) + | ^~~~~ +generator.c: In function 'mksin': +generator.c:295:11: warning: implicit declaration of function 'hcf' [-Wimplicit-function-declaration] + 295 | n=N/(h=hcf(N,freq)); /* n = N/hcf(N,freq) is number of samples to create */ + | ^~~ +generator.c: At top level: +generator.c:327:1: warning: return type defaults to 'int' [-Wimplicit-int] + 327 | mksquare(bf,bfn,freq,A,N,R,afmt) + | ^~~~~~~~ +generator.c: In function 'mksquare': +generator.c:333:11: warning: implicit declaration of function 'mkpulse' [-Wimplicit-function-declaration] + 333 | return(mkpulse(bf,bfn,freq,A,N,50,afmt)); + | ^~~~~~~ +generator.c: At top level: +generator.c:342:1: warning: return type defaults to 'int' [-Wimplicit-int] + 342 | mkpulse(bf,bfn,freq,A,N,R,afmt) + | ^~~~~~~ +generator.c:385:1: warning: return type defaults to 'int' [-Wimplicit-int] + 385 | mksawtooth(bf,bfn,freq,A,N,R,afmt) + | ^~~~~~~~~~ +generator.c:428:1: warning: return type defaults to 'int' [-Wimplicit-int] + 428 | mktriangle(bf,bfn,freq,A,N,R,afmt) + | ^~~~~~~~~~ +generator.c:474:1: warning: return type defaults to 'int' [-Wimplicit-int] + 474 | mknoise(bf,bfn,freq,A,N,R,afmt) + | ^~~~~~~ +generator.c: In function 'mknoise': +generator.c:493:10: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] + 493 | srand(time(NULL)); + | ^~~~ +generator.c:80:1: note: 'time' is defined in header ''; did you forget to '#include '? + 79 | #include "config.h" + +++ |+#include + 80 | +generator.c: At top level: +generator.c:511:1: warning: return type defaults to 'int' [-Wimplicit-int] + 511 | mknull(bf,bfn,freq,A,N,R,afmt) + | ^~~~~~ +generator.c:562:1: warning: return type defaults to 'int' [-Wimplicit-int] + 562 | generate(wf,buf,N,fr,A,S,R,afmt) + | ^~~~~~~~ +generator.c:610:1: warning: return type defaults to 'int' [-Wimplicit-int] + 610 | genAllWaveforms(Wfs,bufs,F,samplerate,afmt) + | ^~~~~~~~~~~~~~~ gcc -c -g -O2 -I. -I/usr/include/ncurses wavfile.c wavfile.c:104:1: warning: return type defaults to 'int' [-Wimplicit-int] 104 | fWAVdebug(f) @@ -699,7 +738,6 @@ wavfile.c:148:22: note: in expansion of macro 'NewWavValues' 148 | if (W==NULL && (W=NewWavValues())==NULL) { | ^~~~~~~~~~~~ -gcc -c -g -O2 -I. -I/usr/include/ncurses wavsubs.c wavfile.c: At top level: wavfile.c:163:1: warning: return type defaults to 'int' [-Wimplicit-int] 163 | fWAVwrfile(f,bf,bfn,Ns,samplerate,afmt,stereo) @@ -741,6 +779,8 @@ wavfile.c:295:1: warning: return type defaults to 'int' [-Wimplicit-int] 295 | fWAVsamples() | ^~~~~~~~~~~ +gcc -c -g -O2 -I. -I/usr/include/ncurses wavsubs.c +gcc -c -g -O2 -I. -I/usr/include/ncurses DAC.c In file included from wavsubs.c:70: wavsubs.c: In function 'Winit': wavsubs.h:83:47: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] @@ -804,7 +844,7 @@ wavsubs.c:307:1: warning: return type defaults to 'int' [-Wimplicit-int] 307 | fprintfmt(f,W) | ^~~~~~~~~ -gcc -c -g -O2 -I. -I/usr/include/ncurses DAC.c +gcc -c -g -O2 -I. -I/usr/include/ncurses configsubs.c DAC.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] 48 | is16bit(fd) | ^~~~~~~ @@ -831,8 +871,6 @@ DAC.c:155:1: warning: return type defaults to 'int' [-Wimplicit-int] 155 | DACopen(fnm,mode,samples,fmt,stereo) | ^~~~~~~ -gcc -c -g -O2 -I. -I/usr/include/ncurses configsubs.c -gcc -c -g -O2 -I. -I/usr/include/ncurses sgen.c configsubs.c:88:1: warning: return type defaults to 'int' [-Wimplicit-int] 88 | init_conf_files(local,home,global,v) | ^~~~~~~~~~~~~~~ @@ -845,6 +883,8 @@ configsubs.c:121:1: warning: return type defaults to 'int' [-Wimplicit-int] 121 | close_conf_files() | ^~~~~~~~~~~~~~~~ +gcc -c -g -O2 -I. -I/usr/include/ncurses sgen.c +gcc -c -g -O2 -I. -I/usr/include/ncurses swgen.c sgen.c:119:1: warning: return type defaults to 'int' [-Wimplicit-int] 119 | help(e) | ^~~~ @@ -858,7 +898,6 @@ sgen.c:252:4: warning: implicit declaration of function 'init_conf_files' [-Wimplicit-function-declaration] 252 | init_conf_files(configfile,DEF_CONF_FILENAME,DEF_GLOBAL_CONF_FILE,vflg); | ^~~~~~~~~~~~~~~ -gcc -c -g -O2 -I. -I/usr/include/ncurses swgen.c sgen.c:292:15: warning: implicit declaration of function 'DACopen'; did you mean 'open'? [-Wimplicit-function-declaration] 292 | if ((fd=DACopen(fnm=dac,"w",&samplerate,&i,&n))<0) { | ^~~~~~~ @@ -866,6 +905,7 @@ sgen.c:299:22: warning: implicit declaration of function 'getfragsize' [-Wimplicit-function-declaration] 299 | if ((frag_size=getfragsize(fd))<0) | ^~~~~~~~~~~ +gcc -c -g -O2 -I. -I/usr/include/ncurses siggen.c sgen.c:341:23: warning: implicit declaration of function 'mstosamples' [-Wimplicit-function-declaration] 341 | if ((playsamples=mstosamples(playtime,samplerate))==0) | ^~~~~~~~~~~ @@ -894,7 +934,6 @@ sgen.c:413:12: warning: implicit declaration of function 'fWAVwrfile' [-Wimplicit-function-declaration] 413 | st=fWAVwrfile(f,plbuf,plbuf_size,n,samplerate,afmt,stereo); | ^~~~~~~~~~ -gcc -c -g -O2 -I. -I/usr/include/ncurses siggen.c swgen.c:108:1: warning: return type defaults to 'int' [-Wimplicit-int] 108 | help(e) | ^~~~ @@ -944,6 +983,7 @@ swgen.c:422:12: warning: implicit declaration of function 'fWAVwrfile' [-Wimplicit-function-declaration] 422 | st=fWAVwrfile(f,plbuf,plbuf_size,n,samplerate,afmt,stereo); | ^~~~~~~~~~ +gcc -c -g -O2 -I. -I/usr/include/ncurses sigscr.c siggen.c:131:1: warning: return type defaults to 'int' [-Wimplicit-int] 131 | help(e) | ^~~~ @@ -974,8 +1014,6 @@ siggen.c:326:1: warning: return type defaults to 'int' [-Wimplicit-int] 326 | set_resolution(p) | ^~~~~~~~~~~~~~ -gcc -c -g -O2 -I. -I/usr/include/ncurses sigscr.c -gcc -c -g -O2 -I. -I/usr/include/ncurses scrsubs.c sigscr.c:185:1: warning: return type defaults to 'int' [-Wimplicit-int] 185 | WinGen(fd) | ^~~~~~ @@ -991,9 +1029,6 @@ 199 | dispfield(ff,hh,&Finfo,f); | ^~~~~~~~~ | dupfield -scrsubs.c:41:1: warning: return type defaults to 'int' [-Wimplicit-int] - 41 | doinput(c,aa,H,HF,f) - | ^~~~~~~ sigscr.c:204:36: warning: implicit declaration of function 'dotime'; did you mean 'ctime'? [-Wimplicit-function-declaration] 204 | if ((i=time(NULL))-t) { t=i; dotime(&Ftime); } | ^~~~~~ @@ -1001,17 +1036,9 @@ sigscr.c:205:11: warning: implicit declaration of function 'playsamples' [-Wimplicit-function-declaration] 205 | if (playsamples(fd)<0) { | ^~~~~~~~~~~ -scrsubs.c: In function 'doinput': -scrsubs.c:65:22: warning: implicit declaration of function 'reverse_attr' [-Wimplicit-function-declaration] - 65 | aa[i]->attr=reverse_attr(aa[i]->attr); - | ^~~~~~~~~~~~ sigscr.c:207:17: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] 207 | return(err_rpt(errno,"Problem generating output samples.")); | ^~~~~~~ -scrsubs.c:72:9: warning: implicit declaration of function 'next_field'; did you mean 'newfield'? [-Wimplicit-function-declaration] - 72 | fn=next_field(aa,f); - | ^~~~~~~~~~ - | newfield sigscr.c:210:10: warning: implicit declaration of function 'delay'; did you mean 'nodelay'? [-Wimplicit-function-declaration] 210 | delay(25000); | ^~~~~ @@ -1020,75 +1047,20 @@ 219 | close(fd); | ^~~~~ | pclose -scrsubs.c:78:9: warning: implicit declaration of function 'prev_field'; did you mean 'putfield'? [-Wimplicit-function-declaration] - 78 | fn=prev_field(aa,f); - | ^~~~~~~~~~ - | putfield sigscr.c:220:24: warning: implicit declaration of function 'DACopen'; did you mean 'popen'? [-Wimplicit-function-declaration] 220 | if ((fd=DACopen(dac,"w",&Lsamplerate,&Lafmt,&Lstereo))<0 || | ^~~~~~~ | popen -scrsubs.c:83:7: warning: implicit declaration of function 'dispfield'; did you mean 'dupfield'? [-Wimplicit-function-declaration] - 83 | dispfield(aa,H,HF,f); - | ^~~~~~~~~ - | dupfield -scrsubs.c: At top level: -scrsubs.c:95:1: warning: return type defaults to 'int' [-Wimplicit-int] - 95 | dispfield(ff,hh,HF,f) - | ^~~~~~~~~ sigscr.c:221:30: warning: implicit declaration of function 'setfragsize'; did you mean 'set_tabsize'? [-Wimplicit-function-declaration] 221 | (fragsize=setfragsize(fd,LNfb,Bufspersec,Lsamplerate,Lafmt,Lstereo))<0) { | ^~~~~~~~~~~ | set_tabsize -scrsubs.c: In function 'dispfield': -scrsubs.c:101:4: warning: implicit declaration of function 'doinfo' [-Wimplicit-function-declaration] - 101 | doinfo(hh[f],0,HF); - | ^~~~~~ -scrsubs.c: At top level: -scrsubs.c:147:1: warning: return type defaults to 'int' [-Wimplicit-int] - 147 | setwaveform(sp,wv,WFS) - | ^~~~~~~~~~~ -scrsubs.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int] - 168 | dohdr(y,a1,a2,a3,h1,h2,S,V) - | ^~~~~ sigscr.c:229:13: warning: implicit declaration of function 'dofields' [-Wimplicit-function-declaration] 229 | dofields(scrV); | ^~~~~~~~ -In file included from scrsubs.c:29: -scrsubs.c: In function 'dohdr': -scfio.h:45:52: warning: implicit declaration of function 'putfstr'; did you mean 'mvputfstr'? [-Wimplicit-function-declaration] - 45 | #define mvputfstr(L,C,A,P,W) ((move(L,C)==ERR)?ERR:putfstr(A,P,W)) - | ^~~~~~~ -scrsubs.c:175:7: note: in expansion of macro 'mvputfstr' - 175 | mvputfstr(y+i,0,a1,h1[i],80); - | ^~~~~~~~~ -scrsubs.c: At top level: -scrsubs.c:189:1: warning: return type defaults to 'int' [-Wimplicit-int] - 189 | doinfo(s,w,SF) - | ^~~~~~ -scrsubs.c: In function 'doinfo': -scrsubs.c:198:11: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] - 198 | if (w) sleep(w); - | ^~~~~ -scrsubs.c: At top level: -scrsubs.c:204:1: warning: return type defaults to 'int' [-Wimplicit-int] - 204 | dotime(F) - | ^~~~~~ -scrsubs.c:220:1: warning: return type defaults to 'int' [-Wimplicit-int] - 220 | dofields(aa) - | ^~~~~~~~ sigscr.c:232:23: warning: implicit declaration of function 'genAllWaveforms' [-Wimplicit-function-declaration] 232 | if (st=genAllWaveforms(&WAVEFORMS,&wavbufs,1,Lsamplerate*resolution,Lafmt)) { | ^~~~~~~~~~~~~~~ -scrsubs.c:228:1: warning: return type defaults to 'int' [-Wimplicit-int] - 228 | dofatt(aa,at) - | ^~~~~~ -scrsubs.c:237:1: warning: return type defaults to 'int' [-Wimplicit-int] - 237 | mergefields(aa1,aa2) - | ^~~~~~~~~~~ -scrsubs.c:253:1: warning: return type defaults to 'int' [-Wimplicit-int] - 253 | scfeql(f1,f2) - | ^~~~~~ sigscr.c:248:15: warning: implicit declaration of function 'next_field'; did you mean 'newfield'? [-Wimplicit-function-declaration] 248 | f=next_field(ff,-1); | ^~~~~~~~~~ @@ -1132,7 +1104,75 @@ 439 | if (write(fd,frag,fragsize)<0) return(-1); | ^~~~~ | fwrite +gcc -c -g -O2 -I. -I/usr/include/ncurses scrsubs.c gcc -c -g -O2 -I. -I/usr/include/ncurses scfio.c +gcc -c -g -O2 -I. -I/usr/include/ncurses sweepgen.c +scrsubs.c:41:1: warning: return type defaults to 'int' [-Wimplicit-int] + 41 | doinput(c,aa,H,HF,f) + | ^~~~~~~ +scrsubs.c: In function 'doinput': +scrsubs.c:65:22: warning: implicit declaration of function 'reverse_attr' [-Wimplicit-function-declaration] + 65 | aa[i]->attr=reverse_attr(aa[i]->attr); + | ^~~~~~~~~~~~ +scrsubs.c:72:9: warning: implicit declaration of function 'next_field'; did you mean 'newfield'? [-Wimplicit-function-declaration] + 72 | fn=next_field(aa,f); + | ^~~~~~~~~~ + | newfield +scrsubs.c:78:9: warning: implicit declaration of function 'prev_field'; did you mean 'putfield'? [-Wimplicit-function-declaration] + 78 | fn=prev_field(aa,f); + | ^~~~~~~~~~ + | putfield +scrsubs.c:83:7: warning: implicit declaration of function 'dispfield'; did you mean 'dupfield'? [-Wimplicit-function-declaration] + 83 | dispfield(aa,H,HF,f); + | ^~~~~~~~~ + | dupfield +scrsubs.c: At top level: +scrsubs.c:95:1: warning: return type defaults to 'int' [-Wimplicit-int] + 95 | dispfield(ff,hh,HF,f) + | ^~~~~~~~~ +scrsubs.c: In function 'dispfield': +scrsubs.c:101:4: warning: implicit declaration of function 'doinfo' [-Wimplicit-function-declaration] + 101 | doinfo(hh[f],0,HF); + | ^~~~~~ +scrsubs.c: At top level: +scrsubs.c:147:1: warning: return type defaults to 'int' [-Wimplicit-int] + 147 | setwaveform(sp,wv,WFS) + | ^~~~~~~~~~~ +scrsubs.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int] + 168 | dohdr(y,a1,a2,a3,h1,h2,S,V) + | ^~~~~ +In file included from scrsubs.c:29: +scrsubs.c: In function 'dohdr': +scfio.h:45:52: warning: implicit declaration of function 'putfstr'; did you mean 'mvputfstr'? [-Wimplicit-function-declaration] + 45 | #define mvputfstr(L,C,A,P,W) ((move(L,C)==ERR)?ERR:putfstr(A,P,W)) + | ^~~~~~~ +scrsubs.c:175:7: note: in expansion of macro 'mvputfstr' + 175 | mvputfstr(y+i,0,a1,h1[i],80); + | ^~~~~~~~~ +scrsubs.c: At top level: +scrsubs.c:189:1: warning: return type defaults to 'int' [-Wimplicit-int] + 189 | doinfo(s,w,SF) + | ^~~~~~ +scrsubs.c: In function 'doinfo': +scrsubs.c:198:11: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] + 198 | if (w) sleep(w); + | ^~~~~ +scrsubs.c: At top level: +scrsubs.c:204:1: warning: return type defaults to 'int' [-Wimplicit-int] + 204 | dotime(F) + | ^~~~~~ +scrsubs.c:220:1: warning: return type defaults to 'int' [-Wimplicit-int] + 220 | dofields(aa) + | ^~~~~~~~ +scrsubs.c:228:1: warning: return type defaults to 'int' [-Wimplicit-int] + 228 | dofatt(aa,at) + | ^~~~~~ +scrsubs.c:237:1: warning: return type defaults to 'int' [-Wimplicit-int] + 237 | mergefields(aa1,aa2) + | ^~~~~~~~~~~ +scrsubs.c:253:1: warning: return type defaults to 'int' [-Wimplicit-int] + 253 | scfeql(f1,f2) + | ^~~~~~ scfio.c:111:1: warning: return type defaults to 'int' [-Wimplicit-int] 111 | reverse_attr(a) | ^~~~~~~~~~~~ @@ -1172,13 +1212,13 @@ scfio.c:431:1: warning: return type defaults to 'int' [-Wimplicit-int] 431 | actfield(k,fp) | ^~~~~~~~ -gcc -c -g -O2 -I. -I/usr/include/ncurses sweepgen.c sweepgen.c:102:1: warning: return type defaults to 'int' [-Wimplicit-int] 102 | help(e) | ^~~~ sweepgen.c:139:1: warning: return type defaults to 'int' [-Wimplicit-int] 139 | main(argc,argv) | ^~~~ +gcc -c -g -O2 -I. -I/usr/include/ncurses sweepscr.c sweepgen.c: In function 'main': sweepgen.c:179:20: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] 179 | else exit(err_rpt(EINVAL,"must be '-b 8' or '-b 16'.")); @@ -1203,7 +1243,6 @@ sweepgen.c:291:1: warning: return type defaults to 'int' [-Wimplicit-int] 291 | set_resolution(p) | ^~~~~~~~~~~~~~ -gcc -c -g -O2 -I. -I/usr/include/ncurses sweepscr.c gcc -c -g -O2 -I. -I/usr/include/ncurses fsynth.c sweepscr.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int] 159 | WinGen(fd) @@ -1316,6 +1355,7 @@ 249 | WinGen(DAC); | ^~~~~~ gcc -c -g -O2 -I. -I/usr/include/ncurses fsynscr.c +gcc -c -g -O2 -I. -I/usr/include/ncurses soundinfo.c fsynscr.c:129:1: warning: return type defaults to 'int' [-Wimplicit-int] 129 | WinGen(fd) | ^~~~~~ @@ -1400,8 +1440,6 @@ 392 | if (write(fd,frag,fragsize)<0) return(-1); | ^~~~~ | fwrite -gcc -c -g -O2 -I. -I/usr/include/ncurses soundinfo.c -gcc -c -g -O2 -I. -I/usr/include/ncurses smix.c soundinfo.c:121:1: warning: return type defaults to 'int' [-Wimplicit-int] 121 | main(argc,argv) | ^~~~ @@ -1437,6 +1475,8 @@ soundinfo.c:315:1: warning: return type defaults to 'int' [-Wimplicit-int] 315 | err_rpt(err,msg) | ^~~~~~~ +gcc -c -g -O2 -I. -I/usr/include/ncurses smix.c +gcc -c -g -O2 -I. -I/usr/include/ncurses mixer.c smix.c:107:1: warning: return type defaults to 'int' [-Wimplicit-int] 107 | main(argc,argv) | ^~~~ @@ -1447,18 +1487,36 @@ smix.c:164:4: warning: implicit declaration of function 'init_conf_files' [-Wimplicit-function-declaration] 164 | init_conf_files(configfile,DEF_CONF_FILENAME,DEF_GLOBAL_CONF_FILE,vflg); | ^~~~~~~~~~~~~~~ +mixer.c:36:1: warning: return type defaults to 'int' [-Wimplicit-int] + 36 | mixinit(DEV) + | ^~~~~~~ smix.c:174:15: warning: implicit declaration of function 'mixinit' [-Wimplicit-function-declaration] 174 | if ((mixer=mixinit(mixname)) < 0) { | ^~~~~~~ smix.c:178:19: warning: implicit declaration of function 'help' [-Wimplicit-function-declaration] 178 | if (hflg) exit(help()); | ^~~~ +mixer.c: In function 'mixinit': +mixer.c:40:9: warning: implicit declaration of function 'ioctl'; did you mean 'iscntrl'? [-Wimplicit-function-declaration] + 40 | (ioctl(mixFD, SOUND_MIXER_READ_DEVMASK, &devmask) >= 0) && + | ^~~~~ + | iscntrl smix.c:199:10: warning: implicit declaration of function 'docmdfile' [-Wimplicit-function-declaration] 199 | { st=docmdfile(infile,fpr,fpw); /* do any command file first */ | ^~~~~~~~~ smix.c:200:11: warning: implicit declaration of function 'docmds' [-Wimplicit-function-declaration] 200 | st+=docmds(argc,argv,fpw); | ^~~~~~ +mixer.c: At top level: +mixer.c:54:1: warning: return type defaults to 'int' [-Wimplicit-int] + 54 | isdev(dev) + | ^~~~~ +mixer.c:73:1: warning: return type defaults to 'int' [-Wimplicit-int] + 73 | SET_MIX_INPUT_DEV(d) + | ^~~~~~~~~~~~~~~~~ +mixer.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int] + 83 | GET_MIX_INPUT_DEV() + | ^~~~~~~~~~~~~~~~~ smix.c:205:11: warning: implicit declaration of function 'docmdline' [-Wimplicit-function-declaration] 205 | st+=docmdline("show",fpw); | ^~~~~~~~~ @@ -1530,26 +1588,7 @@ smix.c:421:1: warning: return type defaults to 'int' [-Wimplicit-int] 421 | err_rpt(err,msg) | ^~~~~~~ -gcc -c -g -O2 -I. -I/usr/include/ncurses mixer.c gcc tones.o tonesgen.o generator.o misc.o wavfile.o wavsubs.o DAC.o configsubs.o -lm -o tones -mixer.c:36:1: warning: return type defaults to 'int' [-Wimplicit-int] - 36 | mixinit(DEV) - | ^~~~~~~ -mixer.c: In function 'mixinit': -mixer.c:40:9: warning: implicit declaration of function 'ioctl'; did you mean 'iscntrl'? [-Wimplicit-function-declaration] - 40 | (ioctl(mixFD, SOUND_MIXER_READ_DEVMASK, &devmask) >= 0) && - | ^~~~~ - | iscntrl -mixer.c: At top level: -mixer.c:54:1: warning: return type defaults to 'int' [-Wimplicit-int] - 54 | isdev(dev) - | ^~~~~ -mixer.c:73:1: warning: return type defaults to 'int' [-Wimplicit-int] - 73 | SET_MIX_INPUT_DEV(d) - | ^~~~~~~~~~~~~~~~~ -mixer.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int] - 83 | GET_MIX_INPUT_DEV() - | ^~~~~~~~~~~~~~~~~ gcc sgen.o generator.o misc.o wavfile.o wavsubs.o DAC.o configsubs.o -lm -o signalgen gcc swgen.o generator.o misc.o wavfile.o wavsubs.o DAC.o configsubs.o -lm -o swgen gcc siggen.o sigscr.o scrsubs.o generator.o misc.o DAC.o scfio.o configsubs.o -lncurses -lm -o siggen @@ -1589,12 +1628,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/13822/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/13822/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/29676 and its subdirectories -I: Current time: Sat May 6 03:12:13 -12 2023 -I: pbuilder-time-stamp: 1683385933 +I: removing directory /srv/workspace/pbuilder/13822 and its subdirectories +I: Current time: Sun May 7 05:13:32 +14 2023 +I: pbuilder-time-stamp: 1683386012