I: pbuilder: network access will be disabled during build
I: Current time: Tue Mar 11 15:29:17 -12 2025
I: pbuilder-time-stamp: 1741750157
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: using eatmydata during job
I: Copying source file
I: copying [siggen_2.3.10-11.dsc]
I: copying [./siggen_2.3.10.orig.tar.gz]
I: copying [./siggen_2.3.10-11.debian.tar.xz]
I: Extracting source
dpkg-source: warning: cannot verify inline signature for ./siggen_2.3.10-11.dsc: unsupported subcommand
dpkg-source: info: extracting siggen in siggen-2.3.10
dpkg-source: info: unpacking siggen_2.3.10.orig.tar.gz
dpkg-source: info: unpacking siggen_2.3.10-11.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying spelling.patch
dpkg-source: info: applying rename-sgen.diff
dpkg-source: info: applying missing-include.diff
dpkg-source: info: applying non-linux.diff
dpkg-source: info: applying devname_already_used_in_freebsd_headers
dpkg-source: info: applying bashism.patch
dpkg-source: info: applying mayhem.patch
dpkg-source: info: applying gcc10.patch
I: using fakeroot in build.
I: Installing the build-deps
I: user script /srv/workspace/pbuilder/16823/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='i386'
  DEBIAN_FRONTEND='noninteractive'
  DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 '
  DISTRIBUTION='unstable'
  HOME='/root'
  HOST_ARCH='i386'
  IFS=' 	
  '
  INVOCATION_ID='d81ff4a286de43ff93665c0748499c46'
  LANG='C'
  LANGUAGE='en_US:en'
  LC_ALL='C'
  LD_LIBRARY_PATH='/usr/lib/libeatmydata'
  LD_PRELOAD='libeatmydata.so'
  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='16823'
  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.NgCJ8zkK/pbuilderrc_4gWB --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.NgCJ8zkK/b1 --logfile b1/build.log siggen_2.3.10-11.dsc'
  SUDO_GID='112'
  SUDO_UID='107'
  SUDO_USER='jenkins'
  TERM='unknown'
  TZ='/usr/share/zoneinfo/Etc/GMT+12'
  USER='root'
  _='/usr/bin/systemd-run'
  http_proxy='http://46.16.76.132:3128'
I: uname -a
  Linux ionos2-i386 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux
I: ls -l /bin
  lrwxrwxrwx 1 root root 7 Mar  4 11:20 /bin -> usr/bin
I: user script /srv/workspace/pbuilder/16823/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: i386
Maintainer: Debian Pbuilder Team <pbuilder-maint@lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: debhelper-compat (= 12), libncurses-dev
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 19769 files and directories currently installed.)
Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested:
 pbuilder-satisfydepends-dummy depends on debhelper-compat (= 12); however:
  Package debhelper-compat is not installed.
 pbuilder-satisfydepends-dummy depends on libncurses-dev; however:
  Package libncurses-dev is not installed.

Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
Building tag database...
pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0)
pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0)
The following NEW packages will be installed:
  autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1t64{a} libncurses-dev{a} libncurses6{a} libpipeline1{a} libtool{a} libuchardet0{a} libunistring5{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} 
The following packages are RECOMMENDED but will NOT be installed:
  curl libarchive-cpio-perl libgpm2 libltdl-dev libmail-sendmail-perl lynx wget 
0 packages upgraded, 32 newly installed, 0 to remove and 0 not upgraded.
Need to get 21.4 MB of archives. After unpacking 81.6 MB will be used.
Writing extended state information...
Get: 1 http://deb.debian.org/debian unstable/main i386 sensible-utils all 0.0.24 [24.8 kB]
Get: 2 http://deb.debian.org/debian unstable/main i386 libmagic-mgc i386 1:5.45-3+b1 [314 kB]
Get: 3 http://deb.debian.org/debian unstable/main i386 libmagic1t64 i386 1:5.45-3+b1 [115 kB]
Get: 4 http://deb.debian.org/debian unstable/main i386 file i386 1:5.45-3+b1 [43.2 kB]
Get: 5 http://deb.debian.org/debian unstable/main i386 gettext-base i386 0.23.1-1 [245 kB]
Get: 6 http://deb.debian.org/debian unstable/main i386 libuchardet0 i386 0.0.8-1+b2 [69.2 kB]
Get: 7 http://deb.debian.org/debian unstable/main i386 groff-base i386 1.23.0-7 [1199 kB]
Get: 8 http://deb.debian.org/debian unstable/main i386 bsdextrautils i386 2.40.4-5 [96.5 kB]
Get: 9 http://deb.debian.org/debian unstable/main i386 libpipeline1 i386 1.5.8-1 [41.2 kB]
Get: 10 http://deb.debian.org/debian unstable/main i386 man-db i386 2.13.0-1 [1428 kB]
Get: 11 http://deb.debian.org/debian unstable/main i386 m4 i386 1.4.19-7 [301 kB]
Get: 12 http://deb.debian.org/debian unstable/main i386 autoconf all 2.72-3 [493 kB]
Get: 13 http://deb.debian.org/debian unstable/main i386 autotools-dev all 20220109.1 [51.6 kB]
Get: 14 http://deb.debian.org/debian unstable/main i386 automake all 1:1.17-3 [862 kB]
Get: 15 http://deb.debian.org/debian unstable/main i386 autopoint all 0.23.1-1 [770 kB]
Get: 16 http://deb.debian.org/debian unstable/main i386 libdebhelper-perl all 13.24.1 [90.9 kB]
Get: 17 http://deb.debian.org/debian unstable/main i386 libtool all 2.5.4-4 [539 kB]
Get: 18 http://deb.debian.org/debian unstable/main i386 dh-autoreconf all 20 [17.1 kB]
Get: 19 http://deb.debian.org/debian unstable/main i386 libarchive-zip-perl all 1.68-1 [104 kB]
Get: 20 http://deb.debian.org/debian unstable/main i386 libfile-stripnondeterminism-perl all 1.14.1-2 [19.7 kB]
Get: 21 http://deb.debian.org/debian unstable/main i386 dh-strip-nondeterminism all 1.14.1-2 [8620 B]
Get: 22 http://deb.debian.org/debian unstable/main i386 libelf1t64 i386 0.192-4 [195 kB]
Get: 23 http://deb.debian.org/debian unstable/main i386 dwz i386 0.15-1+b1 [116 kB]
Get: 24 http://deb.debian.org/debian unstable/main i386 libunistring5 i386 1.3-1 [458 kB]
Get: 25 http://deb.debian.org/debian unstable/main i386 libicu72 i386 72.1-6 [9582 kB]
Get: 26 http://deb.debian.org/debian unstable/main i386 libxml2 i386 2.12.7+dfsg+really2.9.14-0.2+b2 [734 kB]
Get: 27 http://deb.debian.org/debian unstable/main i386 gettext i386 0.23.1-1 [1714 kB]
Get: 28 http://deb.debian.org/debian unstable/main i386 intltool-debian all 0.35.0+20060710.6 [22.9 kB]
Get: 29 http://deb.debian.org/debian unstable/main i386 po-debconf all 1.0.21+nmu1 [248 kB]
Get: 30 http://deb.debian.org/debian unstable/main i386 debhelper all 13.24.1 [920 kB]
Get: 31 http://deb.debian.org/debian unstable/main i386 libncurses6 i386 6.5+20250216-2 [112 kB]
Get: 32 http://deb.debian.org/debian unstable/main i386 libncurses-dev i386 6.5+20250216-2 [505 kB]
Fetched 21.4 MB in 0s (87.2 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 ... 19769 files and directories currently installed.)
Preparing to unpack .../00-sensible-utils_0.0.24_all.deb ...
Unpacking sensible-utils (0.0.24) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../01-libmagic-mgc_1%3a5.45-3+b1_i386.deb ...
Unpacking libmagic-mgc (1:5.45-3+b1) ...
Selecting previously unselected package libmagic1t64:i386.
Preparing to unpack .../02-libmagic1t64_1%3a5.45-3+b1_i386.deb ...
Unpacking libmagic1t64:i386 (1:5.45-3+b1) ...
Selecting previously unselected package file.
Preparing to unpack .../03-file_1%3a5.45-3+b1_i386.deb ...
Unpacking file (1:5.45-3+b1) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../04-gettext-base_0.23.1-1_i386.deb ...
Unpacking gettext-base (0.23.1-1) ...
Selecting previously unselected package libuchardet0:i386.
Preparing to unpack .../05-libuchardet0_0.0.8-1+b2_i386.deb ...
Unpacking libuchardet0:i386 (0.0.8-1+b2) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../06-groff-base_1.23.0-7_i386.deb ...
Unpacking groff-base (1.23.0-7) ...
Selecting previously unselected package bsdextrautils.
Preparing to unpack .../07-bsdextrautils_2.40.4-5_i386.deb ...
Unpacking bsdextrautils (2.40.4-5) ...
Selecting previously unselected package libpipeline1:i386.
Preparing to unpack .../08-libpipeline1_1.5.8-1_i386.deb ...
Unpacking libpipeline1:i386 (1.5.8-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../09-man-db_2.13.0-1_i386.deb ...
Unpacking man-db (2.13.0-1) ...
Selecting previously unselected package m4.
Preparing to unpack .../10-m4_1.4.19-7_i386.deb ...
Unpacking m4 (1.4.19-7) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../11-autoconf_2.72-3_all.deb ...
Unpacking autoconf (2.72-3) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ...
Unpacking autotools-dev (20220109.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../13-automake_1%3a1.17-3_all.deb ...
Unpacking automake (1:1.17-3) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../14-autopoint_0.23.1-1_all.deb ...
Unpacking autopoint (0.23.1-1) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../15-libdebhelper-perl_13.24.1_all.deb ...
Unpacking libdebhelper-perl (13.24.1) ...
Selecting previously unselected package libtool.
Preparing to unpack .../16-libtool_2.5.4-4_all.deb ...
Unpacking libtool (2.5.4-4) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../17-dh-autoreconf_20_all.deb ...
Unpacking dh-autoreconf (20) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ...
Unpacking libarchive-zip-perl (1.68-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.1-2_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.14.1-2) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../20-dh-strip-nondeterminism_1.14.1-2_all.deb ...
Unpacking dh-strip-nondeterminism (1.14.1-2) ...
Selecting previously unselected package libelf1t64:i386.
Preparing to unpack .../21-libelf1t64_0.192-4_i386.deb ...
Unpacking libelf1t64:i386 (0.192-4) ...
Selecting previously unselected package dwz.
Preparing to unpack .../22-dwz_0.15-1+b1_i386.deb ...
Unpacking dwz (0.15-1+b1) ...
Selecting previously unselected package libunistring5:i386.
Preparing to unpack .../23-libunistring5_1.3-1_i386.deb ...
Unpacking libunistring5:i386 (1.3-1) ...
Selecting previously unselected package libicu72:i386.
Preparing to unpack .../24-libicu72_72.1-6_i386.deb ...
Unpacking libicu72:i386 (72.1-6) ...
Selecting previously unselected package libxml2:i386.
Preparing to unpack .../25-libxml2_2.12.7+dfsg+really2.9.14-0.2+b2_i386.deb ...
Unpacking libxml2:i386 (2.12.7+dfsg+really2.9.14-0.2+b2) ...
Selecting previously unselected package gettext.
Preparing to unpack .../26-gettext_0.23.1-1_i386.deb ...
Unpacking gettext (0.23.1-1) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../27-intltool-debian_0.35.0+20060710.6_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.6) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../28-po-debconf_1.0.21+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../29-debhelper_13.24.1_all.deb ...
Unpacking debhelper (13.24.1) ...
Selecting previously unselected package libncurses6:i386.
Preparing to unpack .../30-libncurses6_6.5+20250216-2_i386.deb ...
Unpacking libncurses6:i386 (6.5+20250216-2) ...
Selecting previously unselected package libncurses-dev:i386.
Preparing to unpack .../31-libncurses-dev_6.5+20250216-2_i386.deb ...
Unpacking libncurses-dev:i386 (6.5+20250216-2) ...
Setting up libpipeline1:i386 (1.5.8-1) ...
Setting up libicu72:i386 (72.1-6) ...
Setting up bsdextrautils (2.40.4-5) ...
Setting up libmagic-mgc (1:5.45-3+b1) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libdebhelper-perl (13.24.1) ...
Setting up libmagic1t64:i386 (1:5.45-3+b1) ...
Setting up gettext-base (0.23.1-1) ...
Setting up m4 (1.4.19-7) ...
Setting up file (1:5.45-3+b1) ...
Setting up libelf1t64:i386 (0.192-4) ...
Setting up autotools-dev (20220109.1) ...
Setting up libncurses6:i386 (6.5+20250216-2) ...
Setting up libunistring5:i386 (1.3-1) ...
Setting up autopoint (0.23.1-1) ...
Setting up autoconf (2.72-3) ...
Setting up dwz (0.15-1+b1) ...
Setting up sensible-utils (0.0.24) ...
Setting up libuchardet0:i386 (0.0.8-1+b2) ...
Setting up libxml2:i386 (2.12.7+dfsg+really2.9.14-0.2+b2) ...
Setting up automake (1:1.17-3) ...
update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode
Setting up libfile-stripnondeterminism-perl (1.14.1-2) ...
Setting up libncurses-dev:i386 (6.5+20250216-2) ...
Setting up gettext (0.23.1-1) ...
Setting up libtool (2.5.4-4) ...
Setting up intltool-debian (0.35.0+20060710.6) ...
Setting up dh-autoreconf (20) ...
Setting up dh-strip-nondeterminism (1.14.1-2) ...
Setting up groff-base (1.23.0-7) ...
Setting up po-debconf (1.0.21+nmu1) ...
Setting up man-db (2.13.0-1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up debhelper (13.24.1) ...
Processing triggers for libc-bin (2.41-4) ...
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
Reading package lists...
Building dependency tree...
Reading state information...
fakeroot is already the newest version (1.37-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I: Building the package
I: Running cd /build/reproducible-path/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
dpkg-buildpackage: info: source package siggen
dpkg-buildpackage: info: source version 2.3.10-11
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Thorsten Alteholz <debian@alteholz.de>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture i386
 debian/rules clean
dh_testdir
dh_testroot
rm -f /build/reproducible-path/siggen-2.3.10/*-stamp
rm -f  /build/reproducible-path/siggen-2.3.10/signalgen.1
/usr/bin/make clean
make[1]: Entering directory '/build/reproducible-path/siggen-2.3.10'
Makefile:46: warning: ignoring prerequisites on suffix rule definition
rm -rf *.o tones signalgen swgen siggen sweepgen fsynth soundinfo smix tones.txt sgen.txt swgen.txt siggen.txt sweepgen.txt soundinfo.txt smix.txt fsynth.txt siggen.conf.txt *~ 
make[1]: Leaving directory '/build/reproducible-path/siggen-2.3.10'
dh_clean
 debian/rules binary
dh_auto_build -- CFLAGS="-g -O2" tones signalgen swgen siggen sweepgen fsynth soundinfo smix
	make -j11 "INSTALL=install --strip-program=true" "CFLAGS=-g -O2" tones signalgen swgen siggen sweepgen fsynth soundinfo smix
make[1]: Entering directory '/build/reproducible-path/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
gcc -c -g -O2 -I. -I/usr/include/ncurses misc.c
gcc -c -g -O2 -I. -I/usr/include/ncurses wavfile.c
gcc -c -g -O2 -I. -I/usr/include/ncurses wavsubs.c
gcc -c -g -O2 -I. -I/usr/include/ncurses DAC.c
gcc -c -g -O2 -I. -I/usr/include/ncurses configsubs.c
gcc -c -g -O2 -I. -I/usr/include/ncurses sgen.c
gcc -c -g -O2 -I. -I/usr/include/ncurses swgen.c
gcc -c -g -O2 -I. -I/usr/include/ncurses siggen.c
In file included from wavsubs.c:70:
wavsubs.c: In function 'Winit':
wavsubs.h:83:47: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
   83 | #define NewWavValues()   ((struct WavValues *)malloc(sizeof(struct WavValues)))
      |                                               ^~~~~~
wavsubs.c:78:21: note: in expansion of macro 'NewWavValues'
   78 |   if (W==NULL && (W=NewWavValues())==NULL) { errno=ENOMEM; return(NULL); }
      |                     ^~~~~~~~~~~~
wavsubs.c:71:1: note: include '<stdlib.h>' or provide a declaration of 'malloc'
   70 | #include "wavsubs.h"
  +++ |+#include <stdlib.h>
   71 | 
wavsubs.h:83:47: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch]
   83 | #define NewWavValues()   ((struct WavValues *)malloc(sizeof(struct WavValues)))
      |                                               ^~~~~~
wavsubs.c:78:21: note: in expansion of macro 'NewWavValues'
   78 |   if (W==NULL && (W=NewWavValues())==NULL) { errno=ENOMEM; return(NULL); }
      |                     ^~~~~~~~~~~~
wavsubs.h:83:47: note: include '<stdlib.h>' or provide a declaration of 'malloc'
   83 | #define NewWavValues()   ((struct WavValues *)malloc(sizeof(struct WavValues)))
      |                                               ^~~~~~
wavsubs.c:78:21: note: in expansion of macro 'NewWavValues'
   78 |   if (W==NULL && (W=NewWavValues())==NULL) { errno=ENOMEM; return(NULL); }
      |                     ^~~~~~~~~~~~
wavsubs.c: At top level:
wavsubs.c:88:1: error: return type defaults to 'int' [-Wimplicit-int]
   88 | setendian()
      | ^~~~~~~~~
wavsubs.c:103:1: error: return type defaults to 'int' [-Wimplicit-int]
  103 | isriff(f)
      | ^~~~~~
wavsubs.c:124:1: error: return type defaults to 'int' [-Wimplicit-int]
  124 | wavnextchunk(f,p)
      | ^~~~~~~~~~~~
wavsubs.c:144:1: error: return type defaults to 'int' [-Wimplicit-int]
  144 | findwavchunk(f,s)
      | ^~~~~~~~~~~~
wavsubs.c:168:1: error: return type defaults to 'int' [-Wimplicit-int]
  168 | wavreadfmt(f,W)
      | ^~~~~~~~~~
wavsubs.c: In function 'wavreadfmt':
wavsubs.c:180:9: error: implicit declaration of function 'Wconvfmt' [-Wimplicit-function-declaration]
  180 |   if (n=Wconvfmt(bf,W)) return(n);
      |         ^~~~~~~~
wavsubs.c: At top level:
wavsubs.c:188:1: error: return type defaults to 'int' [-Wimplicit-int]
  188 | Wconvfmt(p,W)
      | ^~~~~~~~
wavsubs.c:213:1: error: return type defaults to 'int' [-Wimplicit-int]
  213 | riffhdr(f,N)
      | ^~~~~~~
wavsubs.c:231:1: error: return type defaults to 'int' [-Wimplicit-int]
  231 | wavwritefmt(f,W)
      | ^~~~~~~~~~~
wavsubs.c:261:1: error: return type defaults to 'int' [-Wimplicit-int]
  261 | wavread(f,W,buf,N)
      | ^~~~~~~
wavsubs.c:287:1: error: return type defaults to 'int' [-Wimplicit-int]
  287 | wavwrite(f,W,buf,N)
      | ^~~~~~~~
wavsubs.c:307:1: error: return type defaults to 'int' [-Wimplicit-int]
  307 | fprintfmt(f,W)
      | ^~~~~~~~~
configsubs.c:88:1: error: return type defaults to 'int' [-Wimplicit-int]
   88 | init_conf_files(local,home,global,v)
      | ^~~~~~~~~~~~~~~
make[1]: *** [Makefile:46: wavsubs.o] Error 1
make[1]: *** Waiting for unfinished jobs....
configsubs.c: In function 'init_conf_files':
configsubs.c:96:3: error: implicit declaration of function 'close_conf_files'; did you mean 'init_conf_files'? [-Wimplicit-function-declaration]
   96 |   close_conf_files();
      |   ^~~~~~~~~~~~~~~~
      |   init_conf_files
configsubs.c: At top level:
configsubs.c:121:1: error: return type defaults to 'int' [-Wimplicit-int]
  121 | close_conf_files()
      | ^~~~~~~~~~~~~~~~
misc.c:38:1: error: return type defaults to 'int' [-Wimplicit-int]
   38 | delay(us)
      | ^~~~~
misc.c:52:1: error: return type defaults to 'int' [-Wimplicit-int]
   52 | err_rpt(err,msg)
      | ^~~~~~~
misc.c:67:1: error: return type defaults to 'int' [-Wimplicit-int]
   67 | hcf(x,y)
      | ^~~
misc.c:91:1: error: return type defaults to 'int' [-Wimplicit-int]
   91 | parse(s,aa,sep)
      | ^~~~~
misc.c:131:1: error: return type defaults to 'int' [-Wimplicit-int]
  131 | mstosamples(ms,sr)
      | ^~~~~~~~~~~
make[1]: *** [Makefile:46: configsubs.o] Error 1
DAC.c:48:1: error: return type defaults to 'int' [-Wimplicit-int]
   48 | is16bit(fd)
      | ^~~~~~~
make[1]: *** [Makefile:46: misc.o] Error 1
DAC.c: In function 'is16bit':
DAC.c:53:8: error: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration]
   53 |    if (ioctl(fd, SNDCTL_DSP_GETFMTS , &fmts) < 0) {
      |        ^~~~~
DAC.c: At top level:
DAC.c:63:1: error: return type defaults to 'int' [-Wimplicit-int]
   63 | getfragsize(fd)
      | ^~~~~~~~~~~
DAC.c:76:1: error: return type defaults to 'int' [-Wimplicit-int]
   76 | getfreeobufs(fd)
      | ^~~~~~~~~~~~
DAC.c:90:1: error: return type defaults to 'int' [-Wimplicit-int]
   90 | getfullibufs(fd)
      | ^~~~~~~~~~~~
DAC.c:104:1: error: return type defaults to 'int' [-Wimplicit-int]
  104 | printibufs(fd)
      | ^~~~~~~~~~
DAC.c:124:1: error: return type defaults to 'int' [-Wimplicit-int]
  124 | setfragsize(fd,N,bfps,S,afmt,stereo)
      | ^~~~~~~~~~~
generator.c:99:1: error: return type defaults to 'int' [-Wimplicit-int]
   99 | mk8bit(bf,ip,N)
      | ^~~~~~
DAC.c:155:1: error: return type defaults to 'int' [-Wimplicit-int]
  155 | DACopen(fnm,mode,samples,fmt,stereo)
      | ^~~~~~~
generator.c:117:1: error: return type defaults to 'int' [-Wimplicit-int]
  117 | mixplaybuf(a,b,c,N,afmt)
      | ^~~~~~~~~~
generator.c:137:1: error: return type defaults to 'int' [-Wimplicit-int]
  137 | chanmix(a,b,Nb,c,Nc,N,afmt)
      | ^~~~~~~
generator.c:166:1: error: return type defaults to 'int' [-Wimplicit-int]
  166 | do_antiphase(a,b,N,afmt)
      | ^~~~~~~~~~~~
generator.c: In function 'maketone':
generator.c:200:6: error: 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: error: return type defaults to 'int' [-Wimplicit-int]
  211 | mksweep(bf,bfn,FMbuf,wavbuf,Fmin,Fmax,N,afmt)
      | ^~~~~~~
generator.c:254:1: error: return type defaults to 'int' [-Wimplicit-int]
  254 | mkcos(bf,bfn,freq,A,N,R,afmt)
      | ^~~~~
generator.c: In function 'mkcos':
generator.c:260:11: error: 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: error: return type defaults to 'int' [-Wimplicit-int]
  268 | mksin(bf,bfn,freq,A,N,R,afmt)
      | ^~~~~
make[1]: *** [Makefile:46: DAC.o] Error 1
generator.c: In function 'mksin':
generator.c:295:11: error: 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:
tonesgen.c:168:1: error: return type defaults to 'int' [-Wimplicit-int]
  168 | init_samples(fo,fdo,N,S,F,St,Ch,Wn)
      | ^~~~~~~~~~~~
generator.c:327:1: error: 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: error: 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: error: return type defaults to 'int' [-Wimplicit-int]
  342 | mkpulse(bf,bfn,freq,A,N,R,afmt)
      | ^~~~~~~
wavfile.c:104:1: error: return type defaults to 'int' [-Wimplicit-int]
  104 | fWAVdebug(f)
      | ^~~~~~~~~
wavfile.c:127:1: error: return type defaults to 'int' [-Wimplicit-int]
  127 | fWAVinit(Ns,samplerate,afmt,stereo)
      | ^~~~~~~~
generator.c:385:1: error: return type defaults to 'int' [-Wimplicit-int]
  385 | mksawtooth(bf,bfn,freq,A,N,R,afmt)
      | ^~~~~~~~~~
In file included from wavfile.c:94:
wavfile.c: In function 'fWAVopen':
wavsubs.h:83:47: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
   83 | #define NewWavValues()   ((struct WavValues *)malloc(sizeof(struct WavValues)))
      |                                               ^~~~~~
wavfile.c:148:22: note: in expansion of macro 'NewWavValues'
  148 |    if (W==NULL && (W=NewWavValues())==NULL) {
      |                      ^~~~~~~~~~~~
wavfile.c:95:1: note: include '<stdlib.h>' or provide a declaration of 'malloc'
   94 | #include "wavsubs.h"
  +++ |+#include <stdlib.h>
   95 | 
wavsubs.h:83:47: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch]
   83 | #define NewWavValues()   ((struct WavValues *)malloc(sizeof(struct WavValues)))
      |                                               ^~~~~~
wavfile.c:148:22: note: in expansion of macro 'NewWavValues'
  148 |    if (W==NULL && (W=NewWavValues())==NULL) {
      |                      ^~~~~~~~~~~~
wavsubs.h:83:47: note: include '<stdlib.h>' or provide a declaration of 'malloc'
   83 | #define NewWavValues()   ((struct WavValues *)malloc(sizeof(struct WavValues)))
      |                                               ^~~~~~
wavfile.c:148:22: note: in expansion of macro 'NewWavValues'
  148 |    if (W==NULL && (W=NewWavValues())==NULL) {
      |                      ^~~~~~~~~~~~
wavfile.c: At top level:
generator.c:428:1: error: return type defaults to 'int' [-Wimplicit-int]
  428 | mktriangle(bf,bfn,freq,A,N,R,afmt)
      | ^~~~~~~~~~
tonesgen.c: In function 'init_samples':
wavfile.c:163:1: error: return type defaults to 'int' [-Wimplicit-int]
  163 | fWAVwrfile(f,bf,bfn,Ns,samplerate,afmt,stereo)
      | ^~~~~~~~~~
tonesgen.c:191:9: error: implicit declaration of function 'genAllWaveforms' [-Wimplicit-function-declaration]
  191 |   if (i=genAllWaveforms(&WavForms,&WavBufs,1,S,AFMT_S16_LE)) return(i);
      |         ^~~~~~~~~~~~~~~
generator.c:474:1: error: 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: error: implicit declaration of function 'time' [-Wimplicit-function-declaration]
  493 |    srand(time(NULL));
      |          ^~~~
generator.c:80:1: note: 'time' is defined in header '<time.h>'; this is probably fixable by adding '#include <time.h>'
   79 | #include "config.h"
  +++ |+#include <time.h>
   80 | 
wavfile.c: In function 'fWAVwrfile':
wavfile.c:170:7: error: implicit declaration of function 'fWAVwrhdr' [-Wimplicit-function-declaration]
  170 |   if (fWAVwrhdr(f,Ns,samplerate,afmt,stereo)==-1) return(-1);
      |       ^~~~~~~~~
wavfile.c: At top level:
generator.c: At top level:
wavfile.c:188:1: error: return type defaults to 'int' [-Wimplicit-int]
  188 | fWAVwrhdr(f,Ns,samplerate,afmt,stereo)
      | ^~~~~~~~~
generator.c:511:1: error: return type defaults to 'int' [-Wimplicit-int]
  511 | mknull(bf,bfn,freq,A,N,R,afmt)
      | ^~~~~~
tonesgen.c:193:10: error: implicit declaration of function 'setwaveform' [-Wimplicit-function-declaration]
  193 |   if ((i=setwaveform("off",&Silence,NULL))) return(i);
      |          ^~~~~~~~~~~
tonesgen.c: At top level:
generator.c:562:1: error: return type defaults to 'int' [-Wimplicit-int]
  562 | generate(wf,buf,N,fr,A,S,R,afmt)
      | ^~~~~~~~
tonesgen.c:231:1: error: return type defaults to 'int' [-Wimplicit-int]
  231 | do_loadable_waveforms(aa,n,T)
      | ^~~~~~~~~~~~~~~~~~~~~
wavfile.c: In function 'fWAVwrhdr':
wavfile.c:198:3: error: implicit declaration of function 'riffhdr' [-Wimplicit-function-declaration]
  198 |   riffhdr(f,(Ns<<(afmt==16))+36);
      |   ^~~~~~~
wavfile.c: At top level:
wavfile.c:207:1: error: return type defaults to 'int' [-Wimplicit-int]
  207 | fWAVwrsamples(f,bf,N)
      | ^~~~~~~~~~~~~
wavfile.c:219:1: error: return type defaults to 'int' [-Wimplicit-int]
  219 | fWAVrdsamples(f,bf,N)
      | ^~~~~~~~~~~~~
wavfile.c:232:1: error: return type defaults to 'int' [-Wimplicit-int]
  232 | writecyclic(fd,bf,bfn,Ns)
      | ^~~~~~~~~~~
generator.c:610:1: error: return type defaults to 'int' [-Wimplicit-int]
  610 | genAllWaveforms(Wfs,bufs,F,samplerate,afmt)
      | ^~~~~~~~~~~~~~~
wavfile.c:252:1: error: return type defaults to 'int' [-Wimplicit-int]
  252 | playloop(fd,bf,bfn,N)
      | ^~~~~~~~
wavfile.c:277:1: error: return type defaults to 'int' [-Wimplicit-int]
  277 | fWAVsamplerate()
      | ^~~~~~~~~~~~~~
tonesgen.c: In function 'do_loadable_waveforms':
tonesgen.c:243:9: error: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration]
  243 |         err_rpt(errno,bf);
      |         ^~~~~~~
wavfile.c:283:1: error: return type defaults to 'int' [-Wimplicit-int]
  283 | fWAVafmt()
      | ^~~~~~~~
wavfile.c:289:1: error: return type defaults to 'int' [-Wimplicit-int]
  289 | fWAVstereo()
      | ^~~~~~~~~~
wavfile.c:295:1: error: return type defaults to 'int' [-Wimplicit-int]
  295 | fWAVsamples()
      | ^~~~~~~~~~~
sgen.c:119:1: error: return type defaults to 'int' [-Wimplicit-int]
  119 | help(e)
      | ^~~~
tonesgen.c: In function 'loadWavFile':
tonesgen.c:282:10: error: implicit declaration of function 'fprintfmt'; did you mean 'fprintf'? [-Wimplicit-function-declaration]
  282 |          fprintfmt(stdout,W);
      |          ^~~~~~~~~
      |          fprintf
tones.c:97:1: error: return type defaults to 'int' [-Wimplicit-int]
   97 | help(e)
      | ^~~~
sgen.c:164:1: error: return type defaults to 'int' [-Wimplicit-int]
  164 | main(argc,argv)
      | ^~~~
tonesgen.c: At top level:
tonesgen.c:325:1: error: return type defaults to 'int' [-Wimplicit-int]
  325 | setwaveform(s,WFs,WFN)
      | ^~~~~~~~~~~
tonesgen.c:358:1: error: return type defaults to 'int' [-Wimplicit-int]
  358 | flush_samples()
      | ^~~~~~~~~~~~~
tones.c:156:1: error: return type defaults to 'int' [-Wimplicit-int]
  156 | main(argc,argv)
      | ^~~~
tonesgen.c: In function 'flush_samples':
make[1]: *** [Makefile:46: wavfile.o] Error 1
tonesgen.c:366:7: error: implicit declaration of function 'newsamples'; did you mean 'getsamples'? [-Wimplicit-function-declaration]
  366 |       newsamples(Buff,Silence,&cp,n,10000);
      |       ^~~~~~~~~~
      |       getsamples
sgen.c: In function 'main':
sgen.c:206:20: error: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration]
  206 |          else exit(err_rpt(EINVAL,"must be '-b 8' or '-b 16'."));
      |                    ^~~~~~~
tones.c: In function 'main':
tones.c:220:20: error: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration]
  220 |          else exit(err_rpt(EINVAL,"must be '-b 8' or '-b 16'."));
      |                    ^~~~~~~
tonesgen.c:367:7: error: implicit declaration of function 'writesamples'; did you mean 'init_samples'? [-Wimplicit-function-declaration]
  367 |       writesamples(Buff,n);
      |       ^~~~~~~~~~~~
      |       init_samples
tonesgen.c: At top level:
tonesgen.c:379:1: error: return type defaults to 'int' [-Wimplicit-int]
  379 | newsamples(bf,wav,cp,N,F,G)
      | ^~~~~~~~~~
tonesgen.c:408:1: error: return type defaults to 'int' [-Wimplicit-int]
  408 | addsamples(bf,wav,cp,N,F,G,L)
      | ^~~~~~~~~~
swgen.c:108:1: error: return type defaults to 'int' [-Wimplicit-int]
  108 | help(e)
      | ^~~~
tonesgen.c:473:1: error: return type defaults to 'int' [-Wimplicit-int]
  473 | doToneCmd(s)
      | ^~~~~~~~~
swgen.c:153:1: error: return type defaults to 'int' [-Wimplicit-int]
  153 | main(argc,argv)
      | ^~~~
make[1]: *** [Makefile:46: generator.o] Error 1
sgen.c:252:4: error: implicit declaration of function 'init_conf_files' [-Wimplicit-function-declaration]
  252 |    init_conf_files(configfile,DEF_CONF_FILENAME,DEF_GLOBAL_CONF_FILE,vflg);
      |    ^~~~~~~~~~~~~~~
tones.c:249:4: error: 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 'doToneCmd':
tonesgen.c:493:23: error: implicit declaration of function 'docmdwaveform'; did you mean 'setwaveform'? [-Wimplicit-function-declaration]
  493 |     } else if (GenErr=docmdwaveform(s)) {
      |                       ^~~~~~~~~~~~~
      |                       setwaveform
swgen.c: In function 'main':
swgen.c:201:20: error: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration]
  201 |          else exit(err_rpt(EINVAL,"must be '-b 8' or '-b 16'."));
      |                    ^~~~~~~
tones.c:287:15: error: implicit declaration of function 'DACopen'; did you mean 'open'? [-Wimplicit-function-declaration]
  287 |       if ((fd=DACopen(fnm=dac,"w",&samplerate,&i,&stereo))<0) {
      |               ^~~~~~~
      |               open
sgen.c:292:15: error: implicit declaration of function 'DACopen'; did you mean 'open'? [-Wimplicit-function-declaration]
  292 |       if ((fd=DACopen(fnm=dac,"w",&samplerate,&i,&n))<0) {
      |               ^~~~~~~
      |               open
tonesgen.c:494:14: error: implicit declaration of function 'docmdfile' [-Wimplicit-function-declaration]
  494 |       GenErr=docmdfile(s);
      |              ^~~~~~~~~
tones.c:294:22: error: implicit declaration of function 'getfragsize' [-Wimplicit-function-declaration]
  294 |       if ((frag_size=getfragsize(fd))<0)
      |                      ^~~~~~~~~~~
sgen.c:299:22: error: implicit declaration of function 'getfragsize' [-Wimplicit-function-declaration]
  299 |       if ((frag_size=getfragsize(fd))<0)
      |                      ^~~~~~~~~~~
tonesgen.c:502:12: error: implicit declaration of function 'doToneDur'; did you mean 'doToneCmd'? [-Wimplicit-function-declaration]
  502 |     return(doToneDur(s,&t));
      |            ^~~~~~~~~
      |            doToneCmd
siggen.c:131:1: error: return type defaults to 'int' [-Wimplicit-int]
  131 | help(e)
      | ^~~~
siggen.c:168:1: error: return type defaults to 'int' [-Wimplicit-int]
  168 | main(argc,argv)
      | ^~~~
swgen.c:239:4: error: implicit declaration of function 'init_conf_files' [-Wimplicit-function-declaration]
  239 |    init_conf_files(configfile,DEF_CONF_FILENAME,DEF_GLOBAL_CONF_FILE,vflg);
      |    ^~~~~~~~~~~~~~~
tonesgen.c:504:23: error: implicit declaration of function 'doDefDB' [-Wimplicit-function-declaration]
  504 |   if (*s=='@') return(doDefDB(s+1));
      |                       ^~~~~~~
tones.c:340:21: error: implicit declaration of function 'fWAVwrhdr' [-Wimplicit-function-declaration]
  340 |        if (wfmt && (fWAVwrhdr(f,0,samplerate,afmt,stereo)<0)) {
      |                     ^~~~~~~~~
sgen.c:341:23: error: implicit declaration of function 'mstosamples' [-Wimplicit-function-declaration]
  341 |      if ((playsamples=mstosamples(playtime,samplerate))==0)
      |                       ^~~~~~~~~~~
tonesgen.c:511:14: error: implicit declaration of function 'docmdtones' [-Wimplicit-function-declaration]
  511 |       GenErr=docmdtones(s,t);
      |              ^~~~~~~~~~
swgen.c:297:15: error: implicit declaration of function 'DACopen'; did you mean 'open'? [-Wimplicit-function-declaration]
  297 |       if ((fd=DACopen(fnm=dac,"w",&samplerate,&i,&n))<0) {
      |               ^~~~~~~
      |               open
tonesgen.c: At top level:
tonesgen.c:522:1: error: return type defaults to 'int' [-Wimplicit-int]
  522 | doDefDB(s)
      | ^~~~~~~
siggen.c: In function 'main':
siggen.c:210:20: error: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration]
  210 |          else exit(err_rpt(EINVAL,"must be '-b 8' or '-b 16'."));
      |                    ^~~~~~~
tones.c:344:10: error: implicit declaration of function 'fWAVinit' [-Wimplicit-function-declaration]
  344 |      if (fWAVinit(0,samplerate,afmt,stereo)) {
      |          ^~~~~~~~
tonesgen.c:539:1: error: return type defaults to 'int' [-Wimplicit-int]
  539 | doToneDur(s,t)
      | ^~~~~~~~~
sgen.c:363:7: error: implicit declaration of function 'mknull' [-Wimplicit-function-declaration]
  363 |       mknull(silbuf,plbuf_size,0,0,samplerate*freqX,0,afmt);
      |       ^~~~~~
tonesgen.c:564:1: error: return type defaults to 'int' [-Wimplicit-int]
  564 | docmdtones(s,t)
      | ^~~~~~~~~~
tonesgen.c: In function 'docmdtones':
tones.c:354:18: error: implicit declaration of function 'fWAVdebug' [-Wimplicit-function-declaration]
  354 |      if (vflg>1) fWAVdebug(stdout);
      |                  ^~~~~~~~~
swgen.c:304:22: error: implicit declaration of function 'getfragsize' [-Wimplicit-function-declaration]
  304 |       if ((frag_size=getfragsize(fd))<0)
      |                      ^~~~~~~~~~~
tonesgen.c:579:19: error: implicit declaration of function 'ConvNote' [-Wimplicit-function-declaration]
  579 |       else if ((f=ConvNote(&s))==0) {
      |                   ^~~~~~~~
sgen.c:386:8: error: implicit declaration of function 'generate' [-Wimplicit-function-declaration]
  386 |    if (generate(wf,lbuf,lbuf_size,freq,Gain,samplerate*freqX,ratio,afmt)==0) {
      |        ^~~~~~~~
tonesgen.c: At top level:
tonesgen.c:624:1: error: return type defaults to 'int' [-Wimplicit-int]
  624 | ConvNote(s)
      | ^~~~~~~~
siggen.c:219:27: error: implicit declaration of function 'set_resolution' [-Wimplicit-function-declaration]
  219 |           if ((resolution=set_resolution(*argv++))==0) {
      |                           ^~~~~~~~~~~~~~
tonesgen.c:653:1: error: return type defaults to 'int' [-Wimplicit-int]
  653 | docmdwaveform(s)
      | ^~~~~~~~~~~~~
tones.c:367:4: error: implicit declaration of function 'init_samples' [-Wimplicit-function-declaration]
  367 |    init_samples(f,fd,frag_size,samplerate,afmt,stereo,channels,&TWn);
      |    ^~~~~~~~~~~~
tonesgen.c:696:1: error: return type defaults to 'int' [-Wimplicit-int]
  696 | writesamples(bf,N)
      | ^~~~~~~~~~~~
sgen.c:392:10: error: implicit declaration of function 'do_antiphase' [-Wimplicit-function-declaration]
  392 |          do_antiphase(rbuf,lbuf,samplerate*freqX,afmt);
      |          ^~~~~~~~~~~~
swgen.c:345:23: error: implicit declaration of function 'mstosamples' [-Wimplicit-function-declaration]
  345 |      if ((playsamples=mstosamples(playtime,samplerate))==0)
      |                       ^~~~~~~~~~~
tonesgen.c: In function 'writesamples':
tonesgen.c:712:6: error: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
  712 |      write(FD,(char *)bf,n);
      |      ^~~~~
      |      fwrite
swgen.c:375:8: error: implicit declaration of function 'mksweep'; did you mean 'mkstemp'? [-Wimplicit-function-declaration]
  375 |        mksweep(tbuf,tbuf_size,(short int *)FMbuf,swbuf,Frqmin,Frqmax,samplerate*freqX,afmt)==0) {
      |        ^~~~~~~
      |        mkstemp
siggen.c:243:4: error: implicit declaration of function 'init_conf_files' [-Wimplicit-function-declaration]
  243 |    init_conf_files(configfile,DEF_CONF_FILENAME,DEF_GLOBAL_CONF_FILE,vflg);
      |    ^~~~~~~~~~~~~~~
sgen.c:394:7: error: implicit declaration of function 'mixplaybuf' [-Wimplicit-function-declaration]
  394 |       mixplaybuf(plbuf,lbuf,rbuf,samplerate*freqX,afmt);
      |       ^~~~~~~~~~
tones.c:368:19: error: implicit declaration of function 'do_loadable_waveforms' [-Wimplicit-function-declaration]
  368 |    if (LWn && (st=do_loadable_waveforms(LWaa,LWn,TWn,vflg))) exit(st);
      |                   ^~~~~~~~~~~~~~~~~~~~~
tonesgen.c:714:6: error: implicit declaration of function 'fWAVwrsamples'; did you mean 'newsamples'? [-Wimplicit-function-declaration]
  714 |      fWAVwrsamples(FO,(char *)bf,n);
      |      ^~~~~~~~~~~~~
      |      newsamples
swgen.c:386:10: error: implicit declaration of function 'mk8bit' [-Wimplicit-function-declaration]
  386 |          mk8bit(FM8buf,FMbuf,samplerate*freqX);
      |          ^~~~~~
tonesgen.c: At top level:
tonesgen.c:729:1: error: return type defaults to 'int' [-Wimplicit-int]
  729 | docmdfile(fn)
      | ^~~~~~~~~
siggen.c:286:13: error: implicit declaration of function 'DACopen'; did you mean 'open'? [-Wimplicit-function-declaration]
  286 |    if ((DAC=DACopen(dac,"w",&samplerate,&i,&n))<0) {
      |             ^~~~~~~
      |             open
tones.c:373:17: error: implicit declaration of function 'doToneCmd' [-Wimplicit-function-declaration]
  373 |          if (st=doToneCmd(argv[i])) {
      |                 ^~~~~~~~~
tonesgen.c: In function 'docmdfile':
sgen.c:402:12: error: implicit declaration of function 'writecyclic' [-Wimplicit-function-declaration]
  402 |         st=writecyclic(fd,plbuf,plbuf_size,n);
      |            ^~~~~~~~~~~
tonesgen.c:742:3: error: implicit declaration of function 'ftones' [-Wimplicit-function-declaration]
  742 |   ftones(f,fn);
      |   ^~~~~~
tonesgen.c: At top level:
swgen.c:387:10: error: implicit declaration of function 'mixplaybuf' [-Wimplicit-function-declaration]
  387 |          mixplaybuf(plbuf,tbuf,FM8buf,samplerate*freqX,afmt);
      |          ^~~~~~~~~~
tonesgen.c:751:1: error: return type defaults to 'int' [-Wimplicit-int]
  751 | ftones(f,fn)
      | ^~~~~~
tones.c:377:21: error: implicit declaration of function 'ftones' [-Wimplicit-function-declaration]
  377 |       if (fi!=NULL) ftones(fi,infile);
      |                     ^~~~~~
sgen.c:404:9: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
  404 |         close(fd);
      |         ^~~~~
      |         pclose
tonesgen.c:769:1: error: return type defaults to 'int' [-Wimplicit-int]
  769 | doline(s)
      | ^~~~~~
siggen.c:295:18: error: implicit declaration of function 'setfragsize' [-Wimplicit-function-declaration]
  295 |    if ((fragsize=setfragsize(DAC,Nfragbufs,Bufspersec,samplerate,afmt,stereo))<0) {
      |                  ^~~~~~~~~~~
swgen.c:404:7: error: implicit declaration of function 'mknull' [-Wimplicit-function-declaration]
  404 |       mknull(silbuf,plbuf_size,0,0,samplerate*freqX,0,afmt);
      |       ^~~~~~
tonesgen.c: In function 'doline':
tonesgen.c:778:9: error: implicit declaration of function 'parse' [-Wimplicit-function-declaration]
  778 |       n=parse(s,aa,'\0');
      |         ^~~~~
sgen.c:406:10: error: implicit declaration of function 'playloop' [-Wimplicit-function-declaration]
  406 |          playloop(fd,plbuf,plbuf_size,frag_size);
      |          ^~~~~~~~
tones.c:382:6: error: implicit declaration of function 'flush_samples' [-Wimplicit-function-declaration]
  382 |      flush_samples();
      |      ^~~~~~~~~~~~~
siggen.c:320:4: error: implicit declaration of function 'WinGen' [-Wimplicit-function-declaration]
  320 |    WinGen(DAC);
      |    ^~~~~~
siggen.c: At top level:
siggen.c:326:1: error: return type defaults to 'int' [-Wimplicit-int]
  326 | set_resolution(p)
      | ^~~~~~~~~~~~~~
tones.c:383:6: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
  383 |      close(fd);
      |      ^~~~~
      |      pclose
swgen.c:411:13: error: implicit declaration of function 'writecyclic' [-Wimplicit-function-declaration]
  411 |          st=writecyclic(fd,plbuf,plbuf_size,n);
      |             ^~~~~~~~~~~
sgen.c:413:12: error: implicit declaration of function 'fWAVwrfile' [-Wimplicit-function-declaration]
  413 |         st=fWAVwrfile(f,plbuf,plbuf_size,n,samplerate,afmt,stereo);
      |            ^~~~~~~~~~
swgen.c:413:10: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
  413 |          close(fd);
      |          ^~~~~
      |          pclose
tones.c:386:23: error: implicit declaration of function 'getsamples' [-Wimplicit-function-declaration]
  386 |          (fWAVwrhdr(f,getsamples(),samplerate,afmt,stereo)<0)) {
      |                       ^~~~~~~~~~
swgen.c:415:10: error: implicit declaration of function 'playloop' [-Wimplicit-function-declaration]
  415 |          playloop(fd,plbuf,plbuf_size,frag_size);
      |          ^~~~~~~~
make[1]: *** [Makefile:46: siggen.o] Error 1
swgen.c:422:12: error: implicit declaration of function 'fWAVwrfile' [-Wimplicit-function-declaration]
  422 |         st=fWAVwrfile(f,plbuf,plbuf_size,n,samplerate,afmt,stereo);
      |            ^~~~~~~~~~
make[1]: *** [Makefile:46: tonesgen.o] Error 1
make[1]: *** [Makefile:46: sgen.o] Error 1
make[1]: *** [Makefile:46: tones.o] Error 1
make[1]: *** [Makefile:46: swgen.o] Error 1
make[1]: Leaving directory '/build/reproducible-path/siggen-2.3.10'
dh_auto_build: error: make -j11 "INSTALL=install --strip-program=true" "CFLAGS=-g -O2" tones signalgen swgen siggen sweepgen fsynth soundinfo smix returned exit code 2
make: *** [debian/rules:20: build-stamp] Error 25
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/16823 and its subdirectories