Diff of the two buildlogs: -- --- b1/build.log 2024-12-12 05:24:27.202509197 +0000 +++ b2/build.log 2024-12-12 05:25:08.860609936 +0000 @@ -1,6 +1,7 @@ +W: cgroups are not available on the host, not using them. I: pbuilder: network access will be disabled during build -I: Current time: Wed Dec 11 17:23:33 -12 2024 -I: pbuilder-time-stamp: 1733981013 +I: Current time: Thu Jan 15 01:47:28 +14 2026 +I: pbuilder-time-stamp: 1768391248 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -31,52 +32,83 @@ 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/1653267/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/630389/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-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 Jan 14 11:47 /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/630389/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/630389/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='2231451dc30d4bbc87c48c9e961b4b2f' - 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='1653267' - PS1='# ' - PS2='> ' + 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=630389 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.MiIttOJO/pbuilderrc_YYbB --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.MiIttOJO/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.MiIttOJO/pbuilderrc_7wR6 --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.MiIttOJO/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 codethink02-arm64 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1653267/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/630389/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -165,7 +197,7 @@ Get: 41 http://deb.debian.org/debian trixie/main arm64 libid3tag0-dev arm64 0.16.3-1 [10.9 kB] Get: 42 http://deb.debian.org/debian trixie/main arm64 libmad0 arm64 0.15.1b-10.2+b1 [66.3 kB] Get: 43 http://deb.debian.org/debian trixie/main arm64 libmad0-dev arm64 0.15.1b-10.2+b1 [77.0 kB] -Fetched 21.2 MB in 0s (110 MB/s) +Fetched 21.2 MB in 0s (186 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 ... 20082 files and directories currently installed.) @@ -352,7 +384,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/630389/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/630389/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 @@ -514,6 +550,41 @@ 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 network.o network.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 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 +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 +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 +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 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); + | ^~~~~~~~~~~~ +network.c: In function 'shoutcast': +network.c:672:11: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 672 | scanf( "%d", &en ); + | ^~~~~~~~~~~~~~~~~~ +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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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; + | ^~~~~ +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); + | ^~~~~~~~~~~~ +In file included from ao.c:32: +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 'read_header': mad.c:360:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 360 | if (!options.skip_printing_frames @@ -525,6 +596,17 @@ 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; | ^ +auth.c:36:19: warning: 'base64val' defined but not used [-Wunused-const-variable=] + 36 | static const char base64val[] = { + | ^~~~~~~~~ +remote.c: In function 'remote_parse_input': +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) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | ( ) 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); | ^~~~~~ @@ -543,7 +625,6 @@ /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 options.o options.c mad.c:1051:21: warning: pointer targets in passing argument 1 of 'process_fft' differ in signedness [-Wpointer-sign] 1051 | process_fft(stream, pcm->length * 4); | ^~~~~~ @@ -580,19 +661,6 @@ 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 | } - | ^ -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 -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); - | ^~~~~~~~~~~~ -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 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); @@ -606,7 +674,6 @@ | | | | long int int | %d -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 mpg321.c: In function 'show_id3': mpg321.c:450:24: warning: format not a string literal and no format arguments [-Wformat-security] 450 | printf(emptystring); @@ -614,12 +681,26 @@ mpg321.c:468:34: warning: format not a string literal and no format arguments [-Wformat-security] 468 | fprintf (stderr, emptystring); | ^~~~~~~~~~~ +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 | } + | ^ 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 *} +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)); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | | int + | long unsigned int + | %u 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) @@ -637,6 +718,8 @@ | ^~~~~~ | | | id3_latin1_t * {aka unsigned char *} +In file included from remote.c:32: +mpg321.h: At top level: 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, @@ -644,36 +727,17 @@ /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.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: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 *} -remote.c: In function 'remote_parse_input': -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) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | ( ) -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)); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | | int - | long unsigned int - | %u -In file included from remote.c:32: -mpg321.h: At top level: -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); - | ^~~~~~~~~~~~ /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) | ~~~~~~~~~~~~^~~ -network.c: In function 'shoutcast': mpg321.c:1270:33: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness [-Wpointer-sign] 1270 | strncat (printable, latin1, tocopy); | ^~~~~~ @@ -682,42 +746,6 @@ /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 -network.c:672:11: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 672 | scanf( "%d", &en ); - | ^~~~~~~~~~~~~~~~~~ -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 '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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ao.c: In function 'check_default_play_device': -ao.c:115:17: warning: unused variable 'unset' [-Wunused-variable] - 115 | int unset = 1; - | ^~~~~ -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 -ao.c: In function 'check_default_play_device_buffer': -ao.c:179:17: warning: unused variable 'unset' [-Wunused-variable] - 179 | int unset = 1; - | ^~~~~ -In file included from ao.c:32: -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); - | ^~~~~~~~~~~~ -auth.c:36:19: warning: 'base64val' defined but not used [-Wunused-const-variable=] - 36 | static const char base64val[] = { - | ^~~~~~~~~ -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); - | ^~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~ 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,6 +759,14 @@ 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 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); + | ^~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~ 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); @@ -746,13 +782,21 @@ 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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mad.c:497:17: note: 'xing.frames' was declared here - 497 | struct xing xing; - | ^~~~ +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); @@ -774,21 +818,13 @@ 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 ()); - | ~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mad.c:497:17: note: 'xing.frames' was declared here + 497 | struct xing xing; + | ^~~~ mpg321.c: In function 'main': mpg321.c:1192:16: warning: 'shm_id' may be used uninitialized [-Wmaybe-uninitialized] 1192 | if(shmctl(shm_id,IPC_RMID,NULL)) @@ -827,10 +863,10 @@ /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 + /usr/bin/install -c -m 644 mpg321.1 '/build/reproducible-path/mpg321-0.3.2/debian/mpg321/usr/share/man/man1' 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/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' make[2]: Leaving directory '/build/reproducible-path/mpg321-0.3.2' @@ -857,8 +893,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'mpg321' in '../mpg321_0.3.2-4_arm64.deb'. dpkg-deb: building package 'mpg321-dbgsym' in '../mpg321-dbgsym_0.3.2-4_arm64.deb'. +dpkg-deb: building package 'mpg321' in '../mpg321_0.3.2-4_arm64.deb'. dpkg-genbuildinfo --build=binary -O../mpg321_0.3.2-4_arm64.buildinfo dpkg-genchanges --build=binary -O../mpg321_0.3.2-4_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -866,12 +902,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/630389/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/630389/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/1653267 and its subdirectories -I: Current time: Wed Dec 11 17:24:26 -12 2024 -I: pbuilder-time-stamp: 1733981066 +I: removing directory /srv/workspace/pbuilder/630389 and its subdirectories +I: Current time: Thu Jan 15 01:48:06 +14 2026 +I: pbuilder-time-stamp: 1768391286