Diff of the two buildlogs: -- --- b1/build.log 2024-05-05 10:17:08.417454364 +0000 +++ b2/build.log 2024-05-05 10:18:19.110446200 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 4 22:15:21 -12 2024 -I: pbuilder-time-stamp: 1714904121 +I: Current time: Mon May 6 00:17:20 +14 2024 +I: pbuilder-time-stamp: 1714904240 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -35,52 +35,84 @@ dpkg-source: info: applying gcc10.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/25388/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/5999/tmp/hooks/D01_modify_environment starting +debug: Running on virt64c. +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 5 10:17 /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/5999/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/5999/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - 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]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + 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=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='b0a5f0c70e014607922e52cdd36adc70' - 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='25388' - PS1='# ' - PS2='> ' + INVOCATION_ID=8ed4275af4e449af8b1da0b95bffbf43 + 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=5999 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.L4WpmF1R/pbuilderrc_RLnZ --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.L4WpmF1R/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.L4WpmF1R/pbuilderrc_1Jp9 --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.L4WpmF1R/b2 --logfile b2/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-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32a 6.1.0-20-armmp-lpae #1 SMP Debian 6.1.85-1 (2024-04-11) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 4 11:24 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/25388/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 4 11:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/5999/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -150,7 +182,7 @@ Get: 30 http://deb.debian.org/debian trixie/main armhf debhelper all 13.15.3 [901 kB] Get: 31 http://deb.debian.org/debian trixie/main armhf libncurses6 armhf 6.4+20240414-1 [81.8 kB] Get: 32 http://deb.debian.org/debian trixie/main armhf libncurses-dev armhf 6.4+20240414-1 [309 kB] -Fetched 18.8 MB in 1s (13.5 MB/s) +Fetched 18.8 MB in 0s (47.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 ... 19441 files and directories currently installed.) @@ -298,7 +330,11 @@ fakeroot is already the newest version (1.33-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 +I: user script /srv/workspace/pbuilder/5999/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/5999/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/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 @@ -318,75 +354,100 @@ 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/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 +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:99:1: warning: return type defaults to 'int' [-Wimplicit-int] 99 | mk8bit(bf,ip,N) | ^~~~~~ +tones.c:97:1: warning: return type defaults to 'int' [-Wimplicit-int] + 97 | help(e) + | ^~~~ generator.c:117:1: warning: return type defaults to 'int' [-Wimplicit-int] 117 | mixplaybuf(a,b,c,N,afmt) | ^~~~~~~~~~ +tonesgen.c: In function 'init_samples': 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) - | ^~~~~~~~~~~~ -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) | ^~~~ -tonesgen.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int] - 168 | init_samples(fo,fdo,N,S,F,St,Ch,Wn) +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:166:1: warning: return type defaults to 'int' [-Wimplicit-int] + 166 | do_antiphase(a,b,N,afmt) | ^~~~~~~~~~~~ +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 '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); | ^~~~~~~~ +tonesgen.c: At top level: +tones.c: In function 'main': generator.c: At top level: +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:211:1: warning: return type defaults to 'int' [-Wimplicit-int] 211 | mksweep(bf,bfn,FMbuf,wavbuf,Fmin,Fmax,N,afmt) | ^~~~~~~ +tonesgen.c:231:1: warning: return type defaults to 'int' [-Wimplicit-int] + 231 | do_loadable_waveforms(aa,n,T) + | ^~~~~~~~~~~~~~~~~~~~~ generator.c:254:1: warning: return type defaults to 'int' [-Wimplicit-int] 254 | mkcos(bf,bfn,freq,A,N,R,afmt) | ^~~~~ -tones.c: In function 'main': generator.c: In function 'mkcos': -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: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: +tonesgen.c: In function 'do_loadable_waveforms': generator.c:268:1: warning: return type defaults to 'int' [-Wimplicit-int] 268 | mksin(bf,bfn,freq,A,N,R,afmt) | ^~~~~ +tonesgen.c:243:9: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] + 243 | err_rpt(errno,bf); + | ^~~~~~~ generator.c: In function 'mksin': -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: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); + | ^~~~~~~~~~~~~~~ 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) | ^~~~~~~~ -tonesgen.c:193:10: warning: implicit declaration of function 'setwaveform' [-Wimplicit-function-declaration] - 193 | if ((i=setwaveform("off",&Silence,NULL))) return(i); - | ^~~~~~~~~~~ -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 'loadWavFile': +tonesgen.c:282:10: warning: implicit declaration of function 'fprintfmt'; did you mean 'fprintf'? [-Wimplicit-function-declaration] + 282 | fprintfmt(stdout,W); + | ^~~~~~~~~ + | fprintf +tonesgen.c: At top level: +tonesgen.c:325:1: warning: return type defaults to 'int' [-Wimplicit-int] + 325 | setwaveform(s,WFs,WFN) + | ^~~~~~~~~~~ +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:358:1: warning: return type defaults to 'int' [-Wimplicit-int] + 358 | flush_samples() + | ^~~~~~~~~~~~~ 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)); @@ -395,31 +456,44 @@ generator.c:342:1: warning: return type defaults to 'int' [-Wimplicit-int] 342 | mkpulse(bf,bfn,freq,A,N,R,afmt) | ^~~~~~~ -tonesgen.c: At top level: -tonesgen.c:231:1: warning: return type defaults to 'int' [-Wimplicit-int] - 231 | do_loadable_waveforms(aa,n,T) - | ^~~~~~~~~~~~~~~~~~~~~ +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:294:22: warning: implicit declaration of function 'getfragsize' [-Wimplicit-function-declaration] + 294 | if ((frag_size=getfragsize(fd))<0) + | ^~~~~~~~~~~ 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:367:7: warning: 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: warning: return type defaults to 'int' [-Wimplicit-int] + 379 | newsamples(bf,wav,cp,N,F,G) + | ^~~~~~~~~~ +tonesgen.c:408:1: warning: return type defaults to 'int' [-Wimplicit-int] + 408 | addsamples(bf,wav,cp,N,F,G,L) + | ^~~~~~~~~~ generator.c:474:1: warning: return type defaults to 'int' [-Wimplicit-int] 474 | mknoise(bf,bfn,freq,A,N,R,afmt) | ^~~~~~~ -tonesgen.c:243:9: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] - 243 | err_rpt(errno,bf); - | ^~~~~~~ generator.c: In function 'mknoise': generator.c:493:10: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] 493 | srand(time(NULL)); | ^~~~ +tonesgen.c:473:1: warning: return type defaults to 'int' [-Wimplicit-int] + 473 | doToneCmd(s) + | ^~~~~~~~~ +tones.c:340:21: warning: implicit declaration of function 'fWAVwrhdr' [-Wimplicit-function-declaration] + 340 | if (wfmt && (fWAVwrhdr(f,0,samplerate,afmt,stereo)<0)) { + | ^~~~~~~~~ generator.c:80:1: note: 'time' is defined in header ''; did you forget to '#include '? 79 | #include "config.h" +++ |+#include @@ -428,89 +502,39 @@ generator.c:511:1: warning: return type defaults to 'int' [-Wimplicit-int] 511 | mknull(bf,bfn,freq,A,N,R,afmt) | ^~~~~~ -tones.c:294:22: warning: implicit declaration of function 'getfragsize' [-Wimplicit-function-declaration] - 294 | if ((frag_size=getfragsize(fd))<0) - | ^~~~~~~~~~~ generator.c:562:1: warning: return type defaults to 'int' [-Wimplicit-int] 562 | generate(wf,buf,N,fr,A,S,R,afmt) | ^~~~~~~~ -tonesgen.c: In function 'loadWavFile': -generator.c:610:1: warning: return type defaults to 'int' [-Wimplicit-int] - 610 | genAllWaveforms(Wfs,bufs,F,samplerate,afmt) - | ^~~~~~~~~~~~~~~ -tonesgen.c:282:10: warning: implicit declaration of function 'fprintfmt'; did you mean 'fprintf'? [-Wimplicit-function-declaration] - 282 | fprintfmt(stdout,W); - | ^~~~~~~~~ - | fprintf -tonesgen.c: At top level: -tonesgen.c:325:1: warning: return type defaults to 'int' [-Wimplicit-int] - 325 | setwaveform(s,WFs,WFN) - | ^~~~~~~~~~~ -tonesgen.c:358:1: warning: return type defaults to 'int' [-Wimplicit-int] - 358 | flush_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: 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:344:10: warning: implicit declaration of function 'fWAVinit' [-Wimplicit-function-declaration] 344 | if (fWAVinit(0,samplerate,afmt,stereo)) { | ^~~~~~~~ -tonesgen.c:367:7: warning: 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: warning: return type defaults to 'int' [-Wimplicit-int] - 379 | newsamples(bf,wav,cp,N,F,G) - | ^~~~~~~~~~ -tones.c:354:18: warning: implicit declaration of function 'fWAVdebug' [-Wimplicit-function-declaration] - 354 | if (vflg>1) fWAVdebug(stdout); - | ^~~~~~~~~ -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:367:4: warning: implicit declaration of function 'init_samples' [-Wimplicit-function-declaration] - 367 | init_samples(f,fd,frag_size,samplerate,afmt,stereo,channels,&TWn); - | ^~~~~~~~~~~~ +generator.c:610:1: warning: return type defaults to 'int' [-Wimplicit-int] + 610 | genAllWaveforms(Wfs,bufs,F,samplerate,afmt) + | ^~~~~~~~~~~~~~~ tonesgen.c: In function 'doToneCmd': tonesgen.c:493:23: warning: implicit declaration of function 'docmdwaveform'; did you mean 'setwaveform'? [-Wimplicit-function-declaration] 493 | } else if (GenErr=docmdwaveform(s)) { | ^~~~~~~~~~~~~ | setwaveform -tones.c:368:19: warning: implicit declaration of function 'do_loadable_waveforms' [-Wimplicit-function-declaration] - 368 | if (LWn && (st=do_loadable_waveforms(LWaa,LWn,TWn,vflg))) exit(st); - | ^~~~~~~~~~~~~~~~~~~~~ +tones.c:354:18: warning: implicit declaration of function 'fWAVdebug' [-Wimplicit-function-declaration] + 354 | if (vflg>1) fWAVdebug(stdout); + | ^~~~~~~~~ tonesgen.c:494:14: warning: implicit declaration of function 'docmdfile' [-Wimplicit-function-declaration] 494 | GenErr=docmdfile(s); | ^~~~~~~~~ -tones.c:373:17: warning: implicit declaration of function 'doToneCmd' [-Wimplicit-function-declaration] - 373 | if (st=doToneCmd(argv[i])) { - | ^~~~~~~~~ +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:502:12: warning: implicit declaration of function 'doToneDur'; did you mean 'doToneCmd'? [-Wimplicit-function-declaration] 502 | return(doToneDur(s,&t)); | ^~~~~~~~~ | doToneCmd -tones.c:377:21: warning: implicit declaration of function 'ftones' [-Wimplicit-function-declaration] - 377 | if (fi!=NULL) ftones(fi,infile); - | ^~~~~~ tonesgen.c:504:23: warning: implicit declaration of function 'doDefDB' [-Wimplicit-function-declaration] 504 | if (*s=='@') return(doDefDB(s+1)); | ^~~~~~~ -tones.c:382:6: warning: implicit declaration of function 'flush_samples' [-Wimplicit-function-declaration] - 382 | flush_samples(); - | ^~~~~~~~~~~~~ -tones.c:383:6: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] - 383 | close(fd); - | ^~~~~ - | pclose +tones.c:368:19: warning: 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:511:14: warning: implicit declaration of function 'docmdtones' [-Wimplicit-function-declaration] 511 | GenErr=docmdtones(s,t); | ^~~~~~~~~~ @@ -521,12 +545,15 @@ tonesgen.c:539:1: warning: return type defaults to 'int' [-Wimplicit-int] 539 | doToneDur(s,t) | ^~~~~~~~~ -tones.c:386:23: warning: implicit declaration of function 'getsamples' [-Wimplicit-function-declaration] - 386 | (fWAVwrhdr(f,getsamples(),samplerate,afmt,stereo)<0)) { - | ^~~~~~~~~~ +tones.c:373:17: warning: implicit declaration of function 'doToneCmd' [-Wimplicit-function-declaration] + 373 | if (st=doToneCmd(argv[i])) { + | ^~~~~~~~~ tonesgen.c:564:1: warning: return type defaults to 'int' [-Wimplicit-int] 564 | docmdtones(s,t) | ^~~~~~~~~~ +tones.c:377:21: warning: implicit declaration of function 'ftones' [-Wimplicit-function-declaration] + 377 | if (fi!=NULL) ftones(fi,infile); + | ^~~~~~ 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) { @@ -535,9 +562,16 @@ tonesgen.c:624:1: warning: return type defaults to 'int' [-Wimplicit-int] 624 | ConvNote(s) | ^~~~~~~~ +tones.c:382:6: warning: implicit declaration of function 'flush_samples' [-Wimplicit-function-declaration] + 382 | flush_samples(); + | ^~~~~~~~~~~~~ tonesgen.c:653:1: warning: return type defaults to 'int' [-Wimplicit-int] 653 | docmdwaveform(s) | ^~~~~~~~~~~~~ +tones.c:383:6: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] + 383 | close(fd); + | ^~~~~ + | pclose tonesgen.c:696:1: warning: return type defaults to 'int' [-Wimplicit-int] 696 | writesamples(bf,N) | ^~~~~~~~~~~~ @@ -546,6 +580,9 @@ 712 | write(FD,(char *)bf,n); | ^~~~~ | fwrite +tones.c:386:23: warning: implicit declaration of function 'getsamples' [-Wimplicit-function-declaration] + 386 | (fWAVwrhdr(f,getsamples(),samplerate,afmt,stereo)<0)) { + | ^~~~~~~~~~ tonesgen.c:714:6: warning: implicit declaration of function 'fWAVwrsamples'; did you mean 'newsamples'? [-Wimplicit-function-declaration] 714 | fWAVwrsamples(FO,(char *)bf,n); | ^~~~~~~~~~~~~ @@ -569,7 +606,6 @@ 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) | ^~~~~ @@ -586,7 +622,6 @@ 131 | mstosamples(ms,sr) | ^~~~~~~~~~~ gcc -c -g -O2 -I. -I/usr/include/ncurses wavfile.c -gcc -c -g -O2 -I. -I/usr/include/ncurses wavsubs.c wavfile.c:104:1: warning: return type defaults to 'int' [-Wimplicit-int] 104 | fWAVdebug(f) | ^~~~~~~~~ @@ -621,6 +656,45 @@ wavfile.c:163:1: warning: return type defaults to 'int' [-Wimplicit-int] 163 | fWAVwrfile(f,bf,bfn,Ns,samplerate,afmt,stereo) | ^~~~~~~~~~ +wavfile.c: In function 'fWAVwrfile': +wavfile.c:170:7: warning: implicit declaration of function 'fWAVwrhdr' [-Wimplicit-function-declaration] + 170 | if (fWAVwrhdr(f,Ns,samplerate,afmt,stereo)==-1) return(-1); + | ^~~~~~~~~ +wavfile.c: At top level: +wavfile.c:188:1: warning: return type defaults to 'int' [-Wimplicit-int] + 188 | fWAVwrhdr(f,Ns,samplerate,afmt,stereo) + | ^~~~~~~~~ +wavfile.c: In function 'fWAVwrhdr': +wavfile.c:198:3: warning: implicit declaration of function 'riffhdr' [-Wimplicit-function-declaration] + 198 | riffhdr(f,(Ns<<(afmt==16))+36); + | ^~~~~~~ +wavfile.c: At top level: +wavfile.c:207:1: warning: return type defaults to 'int' [-Wimplicit-int] + 207 | fWAVwrsamples(f,bf,N) + | ^~~~~~~~~~~~~ +wavfile.c:219:1: warning: return type defaults to 'int' [-Wimplicit-int] + 219 | fWAVrdsamples(f,bf,N) + | ^~~~~~~~~~~~~ +wavfile.c:232:1: warning: return type defaults to 'int' [-Wimplicit-int] + 232 | writecyclic(fd,bf,bfn,Ns) + | ^~~~~~~~~~~ +wavfile.c:252:1: warning: return type defaults to 'int' [-Wimplicit-int] + 252 | playloop(fd,bf,bfn,N) + | ^~~~~~~~ +wavfile.c:277:1: warning: return type defaults to 'int' [-Wimplicit-int] + 277 | fWAVsamplerate() + | ^~~~~~~~~~~~~~ +wavfile.c:283:1: warning: return type defaults to 'int' [-Wimplicit-int] + 283 | fWAVafmt() + | ^~~~~~~~ +wavfile.c:289:1: warning: return type defaults to 'int' [-Wimplicit-int] + 289 | fWAVstereo() + | ^~~~~~~~~~ +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] @@ -652,76 +726,39 @@ wavsubs.c:103:1: warning: return type defaults to 'int' [-Wimplicit-int] 103 | isriff(f) | ^~~~~~ -wavfile.c: In function 'fWAVwrfile': wavsubs.c:124:1: warning: return type defaults to 'int' [-Wimplicit-int] 124 | wavnextchunk(f,p) | ^~~~~~~~~~~~ -wavfile.c:170:7: warning: implicit declaration of function 'fWAVwrhdr' [-Wimplicit-function-declaration] - 170 | if (fWAVwrhdr(f,Ns,samplerate,afmt,stereo)==-1) return(-1); - | ^~~~~~~~~ wavsubs.c:144:1: warning: return type defaults to 'int' [-Wimplicit-int] 144 | findwavchunk(f,s) | ^~~~~~~~~~~~ -wavfile.c: At top level: -wavfile.c:188:1: warning: return type defaults to 'int' [-Wimplicit-int] - 188 | fWAVwrhdr(f,Ns,samplerate,afmt,stereo) - | ^~~~~~~~~ wavsubs.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int] 168 | wavreadfmt(f,W) | ^~~~~~~~~~ -wavfile.c: In function 'fWAVwrhdr': wavsubs.c: In function 'wavreadfmt': wavsubs.c:180:9: warning: implicit declaration of function 'Wconvfmt' [-Wimplicit-function-declaration] 180 | if (n=Wconvfmt(bf,W)) return(n); | ^~~~~~~~ -wavfile.c:198:3: warning: implicit declaration of function 'riffhdr' [-Wimplicit-function-declaration] - 198 | riffhdr(f,(Ns<<(afmt==16))+36); - | ^~~~~~~ wavsubs.c: At top level: wavsubs.c:188:1: warning: return type defaults to 'int' [-Wimplicit-int] 188 | Wconvfmt(p,W) | ^~~~~~~~ -wavfile.c: At top level: -wavfile.c:207:1: warning: return type defaults to 'int' [-Wimplicit-int] - 207 | fWAVwrsamples(f,bf,N) - | ^~~~~~~~~~~~~ wavsubs.c:213:1: warning: return type defaults to 'int' [-Wimplicit-int] 213 | riffhdr(f,N) | ^~~~~~~ -wavfile.c:219:1: warning: return type defaults to 'int' [-Wimplicit-int] - 219 | fWAVrdsamples(f,bf,N) - | ^~~~~~~~~~~~~ -wavfile.c:232:1: warning: return type defaults to 'int' [-Wimplicit-int] - 232 | writecyclic(fd,bf,bfn,Ns) - | ^~~~~~~~~~~ wavsubs.c:231:1: warning: return type defaults to 'int' [-Wimplicit-int] 231 | wavwritefmt(f,W) | ^~~~~~~~~~~ -wavfile.c:252:1: warning: return type defaults to 'int' [-Wimplicit-int] - 252 | playloop(fd,bf,bfn,N) - | ^~~~~~~~ -wavfile.c:277:1: warning: return type defaults to 'int' [-Wimplicit-int] - 277 | fWAVsamplerate() - | ^~~~~~~~~~~~~~ wavsubs.c:261:1: warning: return type defaults to 'int' [-Wimplicit-int] 261 | wavread(f,W,buf,N) | ^~~~~~~ -wavfile.c:283:1: warning: return type defaults to 'int' [-Wimplicit-int] - 283 | fWAVafmt() - | ^~~~~~~~ -wavfile.c:289:1: warning: return type defaults to 'int' [-Wimplicit-int] - 289 | fWAVstereo() - | ^~~~~~~~~~ wavsubs.c:287:1: warning: return type defaults to 'int' [-Wimplicit-int] 287 | wavwrite(f,W,buf,N) | ^~~~~~~~ -wavfile.c:295:1: warning: return type defaults to 'int' [-Wimplicit-int] - 295 | fWAVsamples() - | ^~~~~~~~~~~ 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) | ^~~~~~~ @@ -748,8 +785,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) | ^~~~~~~~~~~~~~~ @@ -762,7 +797,9 @@ 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 +gcc -c -g -O2 -I. -I/usr/include/ncurses siggen.c sgen.c:119:1: warning: return type defaults to 'int' [-Wimplicit-int] 119 | help(e) | ^~~~ @@ -773,45 +810,6 @@ sgen.c:206:20: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] 206 | else exit(err_rpt(EINVAL,"must be '-b 8' or '-b 16'.")); | ^~~~~~~ -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); - | ^~~~~~~~~~~~~~~ -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) { - | ^~~~~~~ - | open -sgen.c:299:22: warning: implicit declaration of function 'getfragsize' [-Wimplicit-function-declaration] - 299 | if ((frag_size=getfragsize(fd))<0) - | ^~~~~~~~~~~ -sgen.c:341:23: warning: implicit declaration of function 'mstosamples' [-Wimplicit-function-declaration] - 341 | if ((playsamples=mstosamples(playtime,samplerate))==0) - | ^~~~~~~~~~~ -sgen.c:363:7: warning: implicit declaration of function 'mknull' [-Wimplicit-function-declaration] - 363 | mknull(silbuf,plbuf_size,0,0,samplerate*freqX,0,afmt); - | ^~~~~~ -sgen.c:386:8: warning: implicit declaration of function 'generate' [-Wimplicit-function-declaration] - 386 | if (generate(wf,lbuf,lbuf_size,freq,Gain,samplerate*freqX,ratio,afmt)==0) { - | ^~~~~~~~ -sgen.c:392:10: warning: implicit declaration of function 'do_antiphase' [-Wimplicit-function-declaration] - 392 | do_antiphase(rbuf,lbuf,samplerate*freqX,afmt); - | ^~~~~~~~~~~~ -sgen.c:394:7: warning: implicit declaration of function 'mixplaybuf' [-Wimplicit-function-declaration] - 394 | mixplaybuf(plbuf,lbuf,rbuf,samplerate*freqX,afmt); - | ^~~~~~~~~~ -sgen.c:402:12: warning: implicit declaration of function 'writecyclic' [-Wimplicit-function-declaration] - 402 | st=writecyclic(fd,plbuf,plbuf_size,n); - | ^~~~~~~~~~~ -sgen.c:404:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] - 404 | close(fd); - | ^~~~~ - | pclose -sgen.c:406:10: warning: implicit declaration of function 'playloop' [-Wimplicit-function-declaration] - 406 | playloop(fd,plbuf,plbuf_size,frag_size); - | ^~~~~~~~ -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) | ^~~~ @@ -822,9 +820,16 @@ swgen.c:201:20: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] 201 | else exit(err_rpt(EINVAL,"must be '-b 8' or '-b 16'.")); | ^~~~~~~ +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); + | ^~~~~~~~~~~~~~~ swgen.c:239:4: warning: implicit declaration of function 'init_conf_files' [-Wimplicit-function-declaration] 239 | init_conf_files(configfile,DEF_CONF_FILENAME,DEF_GLOBAL_CONF_FILE,vflg); | ^~~~~~~~~~~~~~~ +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) { + | ^~~~~~~ + | open swgen.c:297:15: warning: implicit declaration of function 'DACopen'; did you mean 'open'? [-Wimplicit-function-declaration] 297 | if ((fd=DACopen(fnm=dac,"w",&samplerate,&i,&n))<0) { | ^~~~~~~ @@ -835,6 +840,9 @@ swgen.c:345:23: warning: implicit declaration of function 'mstosamples' [-Wimplicit-function-declaration] 345 | if ((playsamples=mstosamples(playtime,samplerate))==0) | ^~~~~~~~~~~ +sgen.c:299:22: warning: implicit declaration of function 'getfragsize' [-Wimplicit-function-declaration] + 299 | if ((frag_size=getfragsize(fd))<0) + | ^~~~~~~~~~~ swgen.c:375:8: warning: 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) { | ^~~~~~~ @@ -842,6 +850,9 @@ swgen.c:386:10: warning: implicit declaration of function 'mk8bit' [-Wimplicit-function-declaration] 386 | mk8bit(FM8buf,FMbuf,samplerate*freqX); | ^~~~~~ +sgen.c:341:23: warning: implicit declaration of function 'mstosamples' [-Wimplicit-function-declaration] + 341 | if ((playsamples=mstosamples(playtime,samplerate))==0) + | ^~~~~~~~~~~ swgen.c:387:10: warning: implicit declaration of function 'mixplaybuf' [-Wimplicit-function-declaration] 387 | mixplaybuf(plbuf,tbuf,FM8buf,samplerate*freqX,afmt); | ^~~~~~~~~~ @@ -851,16 +862,42 @@ swgen.c:411:13: warning: implicit declaration of function 'writecyclic' [-Wimplicit-function-declaration] 411 | st=writecyclic(fd,plbuf,plbuf_size,n); | ^~~~~~~~~~~ +sgen.c:363:7: warning: implicit declaration of function 'mknull' [-Wimplicit-function-declaration] + 363 | mknull(silbuf,plbuf_size,0,0,samplerate*freqX,0,afmt); + | ^~~~~~ swgen.c:413:10: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 413 | close(fd); | ^~~~~ | pclose +sgen.c:386:8: warning: implicit declaration of function 'generate' [-Wimplicit-function-declaration] + 386 | if (generate(wf,lbuf,lbuf_size,freq,Gain,samplerate*freqX,ratio,afmt)==0) { + | ^~~~~~~~ swgen.c:415:10: warning: implicit declaration of function 'playloop' [-Wimplicit-function-declaration] 415 | playloop(fd,plbuf,plbuf_size,frag_size); | ^~~~~~~~ +sgen.c:392:10: warning: implicit declaration of function 'do_antiphase' [-Wimplicit-function-declaration] + 392 | do_antiphase(rbuf,lbuf,samplerate*freqX,afmt); + | ^~~~~~~~~~~~ swgen.c:422:12: warning: implicit declaration of function 'fWAVwrfile' [-Wimplicit-function-declaration] 422 | st=fWAVwrfile(f,plbuf,plbuf_size,n,samplerate,afmt,stereo); | ^~~~~~~~~~ +sgen.c:394:7: warning: implicit declaration of function 'mixplaybuf' [-Wimplicit-function-declaration] + 394 | mixplaybuf(plbuf,lbuf,rbuf,samplerate*freqX,afmt); + | ^~~~~~~~~~ +sgen.c:402:12: warning: implicit declaration of function 'writecyclic' [-Wimplicit-function-declaration] + 402 | st=writecyclic(fd,plbuf,plbuf_size,n); + | ^~~~~~~~~~~ +sgen.c:404:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] + 404 | close(fd); + | ^~~~~ + | pclose +sgen.c:406:10: warning: implicit declaration of function 'playloop' [-Wimplicit-function-declaration] + 406 | playloop(fd,plbuf,plbuf_size,frag_size); + | ^~~~~~~~ +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 sigscr.c siggen.c:131:1: warning: return type defaults to 'int' [-Wimplicit-int] 131 | help(e) | ^~~~ @@ -891,8 +928,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) | ^~~~~~ @@ -964,9 +999,6 @@ sigscr.c:343:4: warning: implicit declaration of function 'dohdr' [-Wimplicit-function-declaration] 343 | dohdr(0,att_h1,att_h2,att_h3,hl,oh,sig,VERS); | ^~~~~ -scrsubs.c:41:1: warning: return type defaults to 'int' [-Wimplicit-int] - 41 | doinput(c,aa,H,HF,f) - | ^~~~~~~ In file included from sigscr.c:29: 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)) @@ -978,15 +1010,23 @@ sigscr.c:360:1: warning: return type defaults to 'int' [-Wimplicit-int] 360 | playsamples(fd) | ^~~~~~~~~~~ +sigscr.c: In function 'playsamples': +sigscr.c:384:14: warning: implicit declaration of function 'getfreeobufs' [-Wimplicit-function-declaration] + 384 | if ((i=getfreeobufs(fd))<=0) return(i); + | ^~~~~~~~~~~~ +sigscr.c:439:11: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] + 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 +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); | ^~~~~~~~~~~~ -sigscr.c: In function 'playsamples': -sigscr.c:384:14: warning: implicit declaration of function 'getfreeobufs' [-Wimplicit-function-declaration] - 384 | if ((i=getfreeobufs(fd))<=0) return(i); - | ^~~~~~~~~~~~ scrsubs.c:72:9: warning: implicit declaration of function 'next_field'; did you mean 'newfield'? [-Wimplicit-function-declaration] 72 | fn=next_field(aa,f); | ^~~~~~~~~~ @@ -995,10 +1035,6 @@ 78 | fn=prev_field(aa,f); | ^~~~~~~~~~ | putfield -sigscr.c:439:11: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] - 439 | if (write(fd,frag,fragsize)<0) return(-1); - | ^~~~~ - | fwrite scrsubs.c:83:7: warning: implicit declaration of function 'dispfield'; did you mean 'dupfield'? [-Wimplicit-function-declaration] 83 | dispfield(aa,H,HF,f); | ^~~~~~~~~ @@ -1050,6 +1086,7 @@ scrsubs.c:253:1: warning: return type defaults to 'int' [-Wimplicit-int] 253 | scfeql(f1,f2) | ^~~~~~ +gcc -c -g -O2 -I. -I/usr/include/ncurses sweepgen.c scfio.c:111:1: warning: return type defaults to 'int' [-Wimplicit-int] 111 | reverse_attr(a) | ^~~~~~~~~~~~ @@ -1089,7 +1126,6 @@ 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) | ^~~~ @@ -1209,6 +1245,7 @@ 379 | if (write(fd,frag,fragsize)<0) return(-1); | ^~~~~ | fwrite +gcc -c -g -O2 -I. -I/usr/include/ncurses fsynscr.c fsynth.c:80:1: warning: return type defaults to 'int' [-Wimplicit-int] 80 | help(e) | ^~~~ @@ -1229,10 +1266,10 @@ fsynth.c:227:18: warning: implicit declaration of function 'setfragsize' [-Wimplicit-function-declaration] 227 | if ((fragsize=setfragsize(DAC,Nfragbufs,Bufspersec,samplerate,afmt,stereo))<0) { | ^~~~~~~~~~~ +gcc -c -g -O2 -I. -I/usr/include/ncurses soundinfo.c fsynth.c:249:4: warning: implicit declaration of function 'WinGen' [-Wimplicit-function-declaration] 249 | WinGen(DAC); | ^~~~~~ -gcc -c -g -O2 -I. -I/usr/include/ncurses fsynscr.c fsynscr.c:129:1: warning: return type defaults to 'int' [-Wimplicit-int] 129 | WinGen(fd) | ^~~~~~ @@ -1317,8 +1354,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) | ^~~~ @@ -1354,6 +1389,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,11 +1484,10 @@ 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) | ^~~~~~~ +gcc tones.o tonesgen.o generator.o misc.o wavfile.o wavsubs.o DAC.o configsubs.o -lm -o tones 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) && @@ -1506,12 +1542,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/5999/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/5999/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/25388 and its subdirectories -I: Current time: Sat May 4 22:17:03 -12 2024 -I: pbuilder-time-stamp: 1714904223 +I: removing directory /srv/workspace/pbuilder/5999 and its subdirectories +I: Current time: Mon May 6 00:18:14 +14 2024 +I: pbuilder-time-stamp: 1714904294