Diff of the two buildlogs: -- --- b1/build.log 2025-03-05 02:44:21.261802609 +0000 +++ b2/build.log 2025-03-05 02:45:19.143191032 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Apr 6 21:06:17 -12 2026 -I: pbuilder-time-stamp: 1775552777 +I: Current time: Wed Mar 5 16:44:24 +14 2025 +I: pbuilder-time-stamp: 1741142664 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -27,52 +27,84 @@ dpkg-source: info: applying mpg321.1-basic-keys I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2872016/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1778551/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +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 Mar 5 02:44 /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/1778551/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1778551/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='ee7590ecadba4ee0a9a9ff49b0840871' - 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='2872016' - PS1='# ' - PS2='> ' + INVOCATION_ID=6aec48b658654364b74a38cbb4ba3317 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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=1778551 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.9EqO1ASy/pbuilderrc_Ntv5 --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.9EqO1ASy/b1 --logfile b1/build.log mpg321_0.3.2-4.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + 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.9EqO1ASy/pbuilderrc_OOIS --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.9EqO1ASy/b2 --logfile b2/build.log mpg321_0.3.2-4.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.1.0-31-cloud-arm64 #1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-cloud-arm64 #1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2872016/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1778551/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -162,7 +194,7 @@ Get: 42 http://deb.debian.org/debian trixie/main arm64 libid3tag0-dev arm64 0.16.3-1 [10.9 kB] Get: 43 http://deb.debian.org/debian trixie/main arm64 libmad0 arm64 0.15.1b-11+b1 [66.3 kB] Get: 44 http://deb.debian.org/debian trixie/main arm64 libmad0-dev arm64 0.15.1b-11+b1 [76.4 kB] -Fetched 21.8 MB in 0s (64.7 MB/s) +Fetched 21.8 MB in 0s (95.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 ... 19916 files and directories currently installed.) @@ -353,7 +385,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/mpg321-0.3.2/ && 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 > ../mpg321_0.3.2-4_source.changes +I: user script /srv/workspace/pbuilder/1778551/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1778551/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/mpg321-0.3.2/ && 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 > ../mpg321_0.3.2-4_source.changes dpkg-buildpackage: info: source package mpg321 dpkg-buildpackage: info: source version 0.3.2-4 dpkg-buildpackage: info: source distribution unstable @@ -519,83 +555,17 @@ gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mpg321-0.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wunused -Wno-error=format-security -fcommon -I/usr/include -DHAVE_ALSA -c -o remote.o remote.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mpg321-0.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wunused -Wno-error=format-security -fcommon -I/usr/include -DHAVE_ALSA -c -o ao.o ao.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mpg321-0.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wunused -Wno-error=format-security -fcommon -I/usr/include -DHAVE_ALSA -c -o options.o options.c -mpg321.c: In function 'read_keyb': -mpg321.c:186:75: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] - 186 | fprintf(stderr,"Volume: %ld%% \r",volume); - | ~~^ ~~~~~~ - | | | - | long int int - | %d -mpg321.c:236:75: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] - 236 | fprintf(stderr,"Volume: %ld%% \r",volume); - | ~~^ ~~~~~~ - | | | - | long int int - | %d -mpg321.c: In function 'show_id3': gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mpg321-0.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wunused -Wno-error=format-security -fcommon -I/usr/include -DHAVE_ALSA -c -o auth.o auth.c -mpg321.c:450:24: warning: format not a string literal and no format arguments [-Wformat-security] - 450 | printf(emptystring); - | ^~~~~~~~~~~ -mpg321.c:468:34: warning: format not a string literal and no format arguments [-Wformat-security] - 468 | fprintf (stderr, emptystring); - | ^~~~~~~~~~~ -mpg321.c: In function 'id3_get_tag': In file included from playlist.c:47: mpg321.h:192:22: warning: 'handle_error' declared 'static' but never defined [-Wunused-function] 192 | static enum mad_flow handle_error(void *data, struct mad_stream *stream, struct mad_frame *frame); | ^~~~~~~~~~~~ -mpg321.c:1237:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1237 | if (!latin1 || strlen(latin1) == 0) return (NULL); - | ^~~~~~ - | | - | id3_latin1_t * {aka unsigned char *} -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mpg321-0.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wunused -Wno-error=format-security -fcommon -I/usr/include -DHAVE_ALSA -c -o scrobbler.o scrobbler.c -In file included from mpg321.c:35: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'id3_latin1_t *' {aka 'unsigned char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -mpg321.c:1238:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1238 | len = strlen(latin1); - | ^~~~~~ - | | - | id3_latin1_t * {aka unsigned char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'id3_latin1_t *' {aka 'unsigned char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -mpg321.c:1245:29: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness [-Wpointer-sign] - 1245 | strncat (printable, latin1, tocopy); - | ^~~~~~ - | | - | id3_latin1_t * {aka unsigned char *} -In file included from /usr/include/features.h:510, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:28, - from mpg321.c:33: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:145:1: note: expected 'const char *' but argument is of type 'id3_latin1_t *' {aka 'unsigned char *'} - 145 | __NTH (strncat (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ -mpg321.c:1263:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1263 | len = strlen(latin1); - | ^~~~~~ - | | - | id3_latin1_t * {aka unsigned char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'id3_latin1_t *' {aka 'unsigned char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -mpg321.c:1270:33: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness [-Wpointer-sign] - 1270 | strncat (printable, latin1, tocopy); - | ^~~~~~ - | | - | id3_latin1_t * {aka unsigned char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:145:1: note: expected 'const char *' but argument is of type 'id3_latin1_t *' {aka 'unsigned char *'} - 145 | __NTH (strncat (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ mad.c: In function 'read_header': mad.c:360:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 360 | if (!options.skip_printing_frames | ^ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mpg321-0.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wunused -Wno-error=format-security -fcommon -I/usr/include -DHAVE_ALSA -c -o fft.o fft.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mpg321-0.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wunused -Wno-error=format-security -fcommon -I/usr/include -DHAVE_ALSA -c -o scrobbler.o scrobbler.c +remote.c: In function 'remote_parse_input': mad.c: In function 'output': mad.c:951:27: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 951 | register char * ptr = stream; @@ -603,6 +573,14 @@ mad.c:963:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 963 | ptr = (Output_Queue+mad_decoder_position)->data; | ^ +ao.c: In function 'check_default_play_device': +ao.c:115:17: warning: unused variable 'unset' [-Wunused-variable] + 115 | int unset = 1; + | ^~~~~ +ao.c: In function 'check_default_play_device_buffer': +ao.c:179:17: warning: unused variable 'unset' [-Wunused-variable] + 179 | int unset = 1; + | ^~~~~ mad.c:1019:21: warning: pointer targets in passing argument 1 of 'process_fft' differ in signedness [-Wpointer-sign] 1019 | process_fft(stream, pcm->length * 4); | ^~~~~~ @@ -611,7 +589,10 @@ mad.c:900:31: note: expected 'char *' but argument is of type 'unsigned char *' 900 | static int process_fft( char *data, int size) | ~~~~~~^~~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mpg321-0.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wunused -Wno-error=format-security -fcommon -I/usr/include -DHAVE_ALSA -c -o fbuffer.o fbuffer.c +In file included from network.c:47: +mpg321.h:192:22: warning: 'handle_error' declared 'static' but never defined [-Wunused-function] + 192 | static enum mad_flow handle_error(void *data, struct mad_stream *stream, struct mad_frame *frame); + | ^~~~~~~~~~~~ mad.c:1025:37: warning: pointer targets in passing argument 2 of 'ao_play' differ in signedness [-Wpointer-sign] 1025 | ao_play(playdevice, stream, pcm->length * 4); | ^~~~~~ @@ -635,9 +616,16 @@ | ^~~~~~ | | | unsigned char * +remote.c:62:95: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] + 62 | if (!(numread = read(0, remote_input_buf + alreadyread, (sizeof(input)-1)-alreadyread)) > 0) + | ^ /usr/include/ao/ao.h:120:37: note: expected 'char *' but argument is of type 'unsigned char *' 120 | char *output_samples, | ~~~~~~^~~~~~~~~~~~~~ +remote.c:62:11: note: add parentheses around left hand side expression to silence this warning + 62 | if (!(numread = read(0, remote_input_buf + alreadyread, (sizeof(input)-1)-alreadyread)) > 0) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | ( ) mad.c:1079:21: warning: pointer targets in passing argument 1 of 'process_fft' differ in signedness [-Wpointer-sign] 1079 | process_fft(stream, pcm->length * 2); | ^~~~~~ @@ -654,37 +642,7 @@ /usr/include/ao/ao.h:120:37: note: expected 'char *' but argument is of type 'unsigned char *' 120 | char *output_samples, | ~~~~~~^~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mpg321-0.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wunused -Wno-error=format-security -fcommon -I/usr/include -DHAVE_ALSA -c -o volume.o volume.c -mad.c: At top level: -mad.c:842:13: warning: 'prng' is static but used in inline function 'audio_linear_dither' which is not static - 842 | random = prng(dither->random); - | ^~~~ -mpg321.h:192:22: warning: 'handle_error' declared 'static' but never defined [-Wunused-function] - 192 | static enum mad_flow handle_error(void *data, struct mad_stream *stream, struct mad_frame *frame); - | ^~~~~~~~~~~~ -mad.c: In function 'process_fft': -mad.c:936:1: warning: control reaches end of non-void function [-Wreturn-type] - 936 | } - | ^ -auth.c:36:19: warning: 'base64val' defined but not used [-Wunused-const-variable=] - 36 | static const char base64val[] = { - | ^~~~~~~~~ -ao.c: In function 'check_default_play_device': -remote.c: In function 'remote_parse_input': -ao.c:115:17: warning: unused variable 'unset' [-Wunused-variable] - 115 | int unset = 1; - | ^~~~~ -ao.c: In function 'check_default_play_device_buffer': -ao.c:179:17: warning: unused variable 'unset' [-Wunused-variable] - 179 | int unset = 1; - | ^~~~~ -remote.c:62:95: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] - 62 | if (!(numread = read(0, remote_input_buf + alreadyread, (sizeof(input)-1)-alreadyread)) > 0) - | ^ -remote.c:62:11: note: add parentheses around left hand side expression to silence this warning - 62 | if (!(numread = read(0, remote_input_buf + alreadyread, (sizeof(input)-1)-alreadyread)) > 0) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | ( ) +mpg321.c: In function 'read_keyb': remote.c:214:42: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 214 | fprintf(stderr, "@G %lu\n", (int)(100*mpg321_alsa_get_volume()/volume_max)); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -694,10 +652,26 @@ | %u In file included from ao.c:32: mpg321.h: At top level: -In file included from network.c:47: +mpg321.c:186:75: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] + 186 | fprintf(stderr,"Volume: %ld%% \r",volume); + | ~~^ ~~~~~~ + | | | + | long int int + | %d +mad.c: At top level: mpg321.h:192:22: warning: 'handle_error' declared 'static' but never defined [-Wunused-function] 192 | static enum mad_flow handle_error(void *data, struct mad_stream *stream, struct mad_frame *frame); | ^~~~~~~~~~~~ +mpg321.c:236:75: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] + 236 | fprintf(stderr,"Volume: %ld%% \r",volume); + | ~~^ ~~~~~~ + | | | + | long int int + | %d +mad.c:842:13: warning: 'prng' is static but used in inline function 'audio_linear_dither' which is not static + 842 | random = prng(dither->random); + | ^~~~ +network.c: In function 'shoutcast': In file included from remote.c:32: mpg321.h: At top level: mpg321.h:192:22: warning: 'handle_error' declared 'static' but never defined [-Wunused-function] @@ -706,19 +680,81 @@ mpg321.h:192:22: warning: 'handle_error' declared 'static' but never defined [-Wunused-function] 192 | static enum mad_flow handle_error(void *data, struct mad_stream *stream, struct mad_frame *frame); | ^~~~~~~~~~~~ -network.c: In function 'shoutcast': +mpg321.c: In function 'show_id3': network.c:672:11: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 672 | scanf( "%d", &en ); | ^~~~~~~~~~~~~~~~~~ +mpg321.c:450:24: warning: format not a string literal and no format arguments [-Wformat-security] + 450 | printf(emptystring); + | ^~~~~~~~~~~ +mpg321.c:468:34: warning: format not a string literal and no format arguments [-Wformat-security] + 468 | fprintf (stderr, emptystring); + | ^~~~~~~~~~~ network.c: In function 'ftp_get_reply': network.c:692:13: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 692 | read(tcp_sock, &c, sizeof(char)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -fft.c: In function 'fft_init': -In file included from scrobbler.c:31: +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mpg321-0.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wunused -Wno-error=format-security -fcommon -I/usr/include -DHAVE_ALSA -c -o fft.o fft.c +mad.c: In function 'process_fft': +mad.c:936:1: warning: control reaches end of non-void function [-Wreturn-type] + 936 | } + | ^ +mpg321.c: In function 'id3_get_tag': +mpg321.c:1237:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1237 | if (!latin1 || strlen(latin1) == 0) return (NULL); + | ^~~~~~ + | | + | id3_latin1_t * {aka unsigned char *} +In file included from mpg321.c:35: +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'id3_latin1_t *' {aka 'unsigned char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +mpg321.c:1238:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1238 | len = strlen(latin1); + | ^~~~~~ + | | + | id3_latin1_t * {aka unsigned char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'id3_latin1_t *' {aka 'unsigned char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +mpg321.c:1245:29: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness [-Wpointer-sign] + 1245 | strncat (printable, latin1, tocopy); + | ^~~~~~ + | | + | id3_latin1_t * {aka unsigned char *} +In file included from /usr/include/features.h:510, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:28, + from mpg321.c:33: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:145:1: note: expected 'const char *' but argument is of type 'id3_latin1_t *' {aka 'unsigned char *'} + 145 | __NTH (strncat (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +mpg321.c:1263:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1263 | len = strlen(latin1); + | ^~~~~~ + | | + | id3_latin1_t * {aka unsigned char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'id3_latin1_t *' {aka 'unsigned char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +mpg321.c:1270:33: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness [-Wpointer-sign] + 1270 | strncat (printable, latin1, tocopy); + | ^~~~~~ + | | + | id3_latin1_t * {aka unsigned char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:145:1: note: expected 'const char *' but argument is of type 'id3_latin1_t *' {aka 'unsigned char *'} + 145 | __NTH (strncat (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mpg321-0.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wunused -Wno-error=format-security -fcommon -I/usr/include -DHAVE_ALSA -c -o fbuffer.o fbuffer.c +auth.c:36:19: warning: 'base64val' defined but not used [-Wunused-const-variable=] + 36 | static const char base64val[] = { + | ^~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mpg321-0.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wunused -Wno-error=format-security -fcommon -I/usr/include -DHAVE_ALSA -c -o volume.o volume.c +In file included from options.c:33: mpg321.h:192:22: warning: 'handle_error' declared 'static' but never defined [-Wunused-function] 192 | static enum mad_flow handle_error(void *data, struct mad_stream *stream, struct mad_frame *frame); | ^~~~~~~~~~~~ +fft.c: In function 'fft_init': fft.c:90:15: warning: variable 'test' set but not used [-Wunused-but-set-variable] 90 | float test; | ^~~~ @@ -731,10 +767,25 @@ mpg321.h:192:22: warning: 'handle_error' declared 'static' but never defined [-Wunused-function] 192 | static enum mad_flow handle_error(void *data, struct mad_stream *stream, struct mad_frame *frame); | ^~~~~~~~~~~~ -In file included from options.c:33: +In file included from scrobbler.c:31: mpg321.h:192:22: warning: 'handle_error' declared 'static' but never defined [-Wunused-function] 192 | static enum mad_flow handle_error(void *data, struct mad_stream *stream, struct mad_frame *frame); | ^~~~~~~~~~~~ +network.c: In function 'http_open': +network.c:518:50: warning: '%s' directive writing up to 4079 bytes into a region of size 20 [-Wformat-overflow=] + 518 | sprintf(http_length,"%s",http_response+16); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:970, + from network.c:28: +In function 'sprintf', + inlined from 'http_open' at network.c:518:8: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 1 and 4080 bytes into a destination of size 20 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ fbuffer.c: In function 'frame_buffer_p': fbuffer.c:120:44: warning: pointer targets in passing argument 2 of 'ao_play' differ in signedness [-Wpointer-sign] 120 | ao_play(play_device, oframe->data, oframe->length); @@ -750,15 +801,6 @@ mpg321.h:192:22: warning: 'handle_error' declared 'static' but never defined [-Wunused-function] 192 | static enum mad_flow handle_error(void *data, struct mad_stream *stream, struct mad_frame *frame); | ^~~~~~~~~~~~ -volume.c: In function 'init_alsa_volume_control': -volume.c:41:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 41 | elemnam = snd_mixer_selem_get_name(mixerelem); - | ^ -In file included from volume.c:20: -mpg321.h: At top level: -mpg321.h:192:22: warning: 'handle_error' declared 'static' but never defined [-Wunused-function] - 192 | static enum mad_flow handle_error(void *data, struct mad_stream *stream, struct mad_frame *frame); - | ^~~~~~~~~~~~ mpg321.c:1270:13: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1270 | strncat (printable, latin1, tocopy); | ^ @@ -771,21 +813,15 @@ mpg321.c:1238:15: note: length computed here 1238 | len = strlen(latin1); | ^~~~~~~~~~~~~~ -network.c: In function 'http_open': -network.c:518:50: warning: '%s' directive writing up to 4079 bytes into a region of size 20 [-Wformat-overflow=] - 518 | sprintf(http_length,"%s",http_response+16); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:970, - from network.c:28: -In function 'sprintf', - inlined from 'http_open' at network.c:518:8: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 1 and 4080 bytes into a destination of size 20 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ +volume.c: In function 'init_alsa_volume_control': +volume.c:41:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 41 | elemnam = snd_mixer_selem_get_name(mixerelem); + | ^ +In file included from volume.c:20: +mpg321.h: At top level: +mpg321.h:192:22: warning: 'handle_error' declared 'static' but never defined [-Wunused-function] + 192 | static enum mad_flow handle_error(void *data, struct mad_stream *stream, struct mad_frame *frame); + | ^~~~~~~~~~~~ mad.c: In function 'scan': mad.c:596:9: warning: 'xing.frames' may be used uninitialized [-Wmaybe-uninitialized] 596 | mad_timer_multiply(&header.duration, buf->num_frames); @@ -828,12 +864,12 @@ make[3]: Entering directory '/build/reproducible-path/mpg321-0.3.2' make[4]: Entering directory '/build/reproducible-path/mpg321-0.3.2' /usr/bin/mkdir -p '/build/reproducible-path/mpg321-0.3.2/debian/mpg321/usr/bin' + /usr/bin/mkdir -p '/build/reproducible-path/mpg321-0.3.2/debian/mpg321/usr/share/man/man1' /usr/bin/install -c mpg321 '/build/reproducible-path/mpg321-0.3.2/debian/mpg321/usr/bin' make install-exec-hook make[5]: Entering directory '/build/reproducible-path/mpg321-0.3.2' make[5]: Nothing to be done for 'install-exec-hook'. make[5]: Leaving directory '/build/reproducible-path/mpg321-0.3.2' - /usr/bin/mkdir -p '/build/reproducible-path/mpg321-0.3.2/debian/mpg321/usr/share/man/man1' /usr/bin/install -c -m 644 mpg321.1 '/build/reproducible-path/mpg321-0.3.2/debian/mpg321/usr/share/man/man1' make[4]: Leaving directory '/build/reproducible-path/mpg321-0.3.2' make[3]: Leaving directory '/build/reproducible-path/mpg321-0.3.2' @@ -870,12 +906,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/1778551/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1778551/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/2872016 and its subdirectories -I: Current time: Mon Apr 6 21:07:19 -12 2026 -I: pbuilder-time-stamp: 1775552839 +I: removing directory /srv/workspace/pbuilder/1778551 and its subdirectories +I: Current time: Wed Mar 5 16:45:18 +14 2025 +I: pbuilder-time-stamp: 1741142718