Diff of the two buildlogs: -- --- b1/build.log 2023-04-16 16:37:09.057540768 +0000 +++ b2/build.log 2023-04-16 16:38:46.909200117 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 18 10:58:34 -12 2024 -I: pbuilder-time-stamp: 1716073114 +I: Current time: Mon Apr 17 06:37:12 +14 2023 +I: pbuilder-time-stamp: 1681663032 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./ptpd_2.3.1-debian1.orig.tar.xz] I: copying [./ptpd_2.3.1-debian1-4.debian.tar.xz] I: Extracting source -gpgv: Signature made Fri Dec 7 09:52:35 2018 -12 +gpgv: Signature made Sat Dec 8 11:52:35 2018 +14 gpgv: using RSA key 6201FBFFDBBDE07822EABB9696FCAC0D387B5847 gpgv: issuer "debian@alteholz.de" gpgv: Can't check signature: No public key @@ -30,52 +30,84 @@ dpkg-source: info: applying lintian-warnings.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/14068/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/9845/tmp/hooks/D01_modify_environment starting +debug: Running on codethink10-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 Apr 17 06:37 /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/9845/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/9845/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='14068' - 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=9845 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.kSY4ohy0/pbuilderrc_HhXO --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.kSY4ohy0/b1 --logfile b1/build.log ptpd_2.3.1-debian1-4.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.kSY4ohy0/pbuilderrc_AS2v --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.kSY4ohy0/b2 --logfile b2/build.log --extrapackages usrmerge ptpd_2.3.1-debian1-4.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink11-arm64 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 18 04:48 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/14068/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 15 02:48 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/9845/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -153,7 +185,7 @@ Get: 38 http://deb.debian.org/debian bookworm/main arm64 libdbus-1-dev arm64 1.14.6-1 [239 kB] Get: 39 http://deb.debian.org/debian bookworm/main arm64 libpcap0.8 arm64 1.10.3-1 [148 kB] Get: 40 http://deb.debian.org/debian bookworm/main arm64 libpcap0.8-dev arm64 1.10.3-1 [271 kB] -Fetched 19.3 MB in 0s (40.2 MB/s) +Fetched 19.3 MB in 1s (21.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sgml-base. (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 ... 19616 files and directories currently installed.) @@ -331,10 +363,15 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ptpd-2.3.1-debian1/ && 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 > ../ptpd_2.3.1-debian1-4_source.changes +I: user script /srv/workspace/pbuilder/9845/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/9845/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/ptpd-2.3.1-debian1/ && 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 > ../ptpd_2.3.1-debian1-4_source.changes dpkg-buildpackage: info: source package ptpd dpkg-buildpackage: info: source version 2.3.1-debian1-4 dpkg-buildpackage: info: source distribution unstable @@ -604,6 +641,7 @@ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dep/sys.o dep/sys.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o display.o display.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o management.o management.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o signaling.o signaling.c bmc.c: In function 'bmcStateDecision': bmc.c:631:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 631 | if (ptpClock->portState == PTP_SLAVE) @@ -611,6 +649,12 @@ bmc.c:633:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 633 | if(rtOpts->calibrationDelay) { | ^~ +signaling.c:867:63: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] + 867 | void cancelUnicastTransmission(UnicastGrantData* grant, const const RunTimeOpts* rtOpts, PtpClock* ptpClock) + | ^~~~~ +signaling.c:886:74: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] + 886 | void issueSignaling(MsgSignaling *outgoing, Integer32 destination, const const RunTimeOpts *rtOpts, + | ^~~~~ dep/sys.c: In function 'writeStatusFile': dep/sys.c:996:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 996 | if(ptpClock->portState == PTP_MASTER) @@ -618,7 +662,6 @@ dep/sys.c:998:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 998 | fprintf(out,"\n"); | ^~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o signaling.o signaling.c dep/sys.c: In function 'restoreDrift': dep/sys.c:2086:25: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2086 | else @@ -626,19 +669,15 @@ dep/sys.c:2090:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2090 | break; | ^~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o protocol.o protocol.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o timingdomain.o timingdomain.c dep/sys.c: In function 'ether_ntohost_cache': dep/sys.c:266:9: warning: '__builtin_strncpy' output may be truncated copying 100 bytes from a string of length 999 [-Wstringop-truncation] 266 | strncpy(hostname, buf, 100); | ^ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o protocol.o protocol.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o timingdomain.o timingdomain.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ptpd.o ptpd.c -signaling.c:867:63: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] - 867 | void cancelUnicastTransmission(UnicastGrantData* grant, const const RunTimeOpts* rtOpts, PtpClock* ptpClock) - | ^~~~~ -signaling.c:886:74: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] - 886 | void issueSignaling(MsgSignaling *outgoing, Integer32 destination, const const RunTimeOpts *rtOpts, - | ^~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dep/statistics.o dep/statistics.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dep/outlierfilter.o dep/outlierfilter.c dep/sys.c: In function 'maintainLogSize.part.0': dep/sys.c:547:62: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 547 | snprintf(fname, PATH_MAX,"%s.%d", handler->logPath, i); @@ -674,14 +713,23 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dep/statistics.o dep/statistics.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dep/outlierfilter.o dep/outlierfilter.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dep/eventtimer_posix.o dep/eventtimer_posix.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dep/ipv4_acl.o dep/ipv4_acl.c dep/outlierfilter.c: In function 'outlierFilterInit': dep/outlierfilter.c:85:17: warning: '__builtin_strncpy' specified bound 10 equals destination size [-Wstringop-truncation] 85 | strncpy(filter->rawStats->identifier, id, 10); | ^ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dep/ipv4_acl.o dep/ipv4_acl.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dep/msg.o dep/msg.c +dep/statistics.c: In function 'createIntMovingStatFilter': +dep/statistics.c:496:9: warning: '__builtin_strncpy' specified bound 10 equals destination size [-Wstringop-truncation] + 496 | strncpy(container->identifier, id, 10); + | ^ +dep/statistics.c: In function 'createDoubleMovingStatFilter': +dep/statistics.c:655:9: warning: '__builtin_strncpy' specified bound 10 equals destination size [-Wstringop-truncation] + 655 | strncpy(container->identifier, id, 10); + | ^ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dep/net.o dep/net.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dep/eventtimer.o dep/eventtimer.c dep/sys.c: In function 'checkOtherLocks': dep/sys.c:1611:46: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 1611 | snprintf(searchPattern, PATH_MAX,"%s/%s_*_%s.lock", @@ -708,23 +756,11 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -dep/statistics.c: In function 'createIntMovingStatFilter': -dep/statistics.c:496:9: warning: '__builtin_strncpy' specified bound 10 equals destination size [-Wstringop-truncation] - 496 | strncpy(container->identifier, id, 10); - | ^ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dep/msg.o dep/msg.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dep/net.o dep/net.c -dep/statistics.c: In function 'createDoubleMovingStatFilter': -dep/statistics.c:655:9: warning: '__builtin_strncpy' specified bound 10 equals destination size [-Wstringop-truncation] - 655 | strncpy(container->identifier, id, 10); - | ^ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dep/eventtimer.o dep/eventtimer.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dep/servo.o dep/servo.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dep/iniparser/dictionary.o dep/iniparser/dictionary.c dep/net.c:1913:22: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 1913 | const const RunTimeOpts *rtOpts, Integer32 destinationAddress) | ^~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dep/iniparser/iniparser.o dep/iniparser/iniparser.c dep/iniparser/dictionary.c: In function 'xstrdup': dep/iniparser/dictionary.c:68:9: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 68 | strncpy(t,s,strlen(s)); @@ -732,9 +768,28 @@ dep/iniparser/dictionary.c:68:9: note: length computed here 68 | strncpy(t,s,strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dep/iniparser/iniparser.o dep/iniparser/iniparser.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dep/ntpengine/ntp_isc_md5.o dep/ntpengine/ntp_isc_md5.c dep/servo.c:950:36: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 950 | setupPIservo(PIservo* servo, const const RunTimeOpts* rtOpts) | ^~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dep/ntpengine/ntpdcontrol.o dep/ntpengine/ntpdcontrol.c +dep/iniparser/iniparser.c: In function 'iniparser_load': +dep/iniparser/iniparser.c:708:43: warning: '%s' directive output may be truncated writing up to 1 bytes into a region of size between 0 and 1024 [-Wformat-truncation=] + 708 | snprintf(tmp, ASCIILINESZ, "%s%s%s", section, strlen(section)==0?"":":", key); + | ^~ +In file included from /usr/include/stdio.h:906, + from dep/iniparser/iniparser.h:17, + from dep/iniparser/iniparser.c:11: +In function 'snprintf', + inlined from 'iniparser_load' at dep/iniparser/iniparser.c:708:13: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 1 and 2050 bytes into a destination of size 1024 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ dep/net.c: In function 'netInit': dep/net.c:999:56: warning: array subscript 2 is outside array bounds of 'uint32_t[1]' {aka 'unsigned int[1]'} [-Warray-bounds] 999 | memcpy(netPath->interfaceID + 4, &addr + 2, 2); @@ -742,7 +797,6 @@ dep/net.c:997:26: note: at offset 8 into object 'addr' of size 4 997 | uint32_t addr = ((struct sockaddr_in*)&(netPath->interfaceInfo.afAddress))->sin_addr.s_addr; | ^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dep/ntpengine/ntp_isc_md5.o dep/ntpengine/ntp_isc_md5.c In file included from /usr/include/string.h:535, from dep/../ptpd.h:46, from dep/net.c:57: @@ -757,23 +811,6 @@ dep/net.c:997:26: note: at offset 8 into source object 'addr' of size 4 997 | uint32_t addr = ((struct sockaddr_in*)&(netPath->interfaceInfo.afAddress))->sin_addr.s_addr; | ^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dep/ntpengine/ntpdcontrol.o dep/ntpengine/ntpdcontrol.c -dep/iniparser/iniparser.c: In function 'iniparser_load': -dep/iniparser/iniparser.c:708:43: warning: '%s' directive output may be truncated writing up to 1 bytes into a region of size between 0 and 1024 [-Wformat-truncation=] - 708 | snprintf(tmp, ASCIILINESZ, "%s%s%s", section, strlen(section)==0?"":":", key); - | ^~ -In file included from /usr/include/stdio.h:906, - from dep/iniparser/iniparser.h:17, - from dep/iniparser/iniparser.c:11: -In function 'snprintf', - inlined from 'iniparser_load' at dep/iniparser/iniparser.c:708:13: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 1 and 2050 bytes into a destination of size 1024 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ dep/daemonconfig.c: In function 'parseConfig': dep/daemonconfig.c:361:42: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 361 | if (variable!=tmpstring) strncpy(variable,tmpstring,sizeof(variable) / sizeof(char));\ @@ -928,7 +965,7 @@ dep/daemonconfig.c:2836:25: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 2836 | strncpy(rtOpts->configFile, optarg, PATH_MAX); | ^ -/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -lpcap -Wl,-z,relro -Wl,-z,now -o ptpd arith.o bmc.o dep/ipv4_acl.o dep/msg.o dep/net.o dep/eventtimer.o ptp_timers.o dep/servo.o dep/iniparser/dictionary.o dep/iniparser/iniparser.o dep/daemonconfig.o dep/startup.o dep/sys.o display.o management.o signaling.o protocol.o dep/ntpengine/ntp_isc_md5.o dep/ntpengine/ntpdcontrol.o timingdomain.o ptpd.o dep/statistics.o dep/outlierfilter.o dep/eventtimer_posix.o -lrt -lm +/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -lpcap -Wl,-z,relro -Wl,-z,now -o ptpd arith.o bmc.o dep/ipv4_acl.o dep/msg.o dep/net.o dep/eventtimer.o ptp_timers.o dep/servo.o dep/iniparser/dictionary.o dep/iniparser/iniparser.o dep/daemonconfig.o dep/startup.o dep/sys.o display.o management.o signaling.o protocol.o dep/ntpengine/ntp_isc_md5.o dep/ntpengine/ntpdcontrol.o timingdomain.o ptpd.o dep/statistics.o dep/outlierfilter.o dep/eventtimer_posix.o -lrt -lm libtool: link: gcc -Wall -g -O2 -ffile-prefix-map=/build/ptpd-2.3.1-debian1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o ptpd arith.o bmc.o dep/ipv4_acl.o dep/msg.o dep/net.o dep/eventtimer.o ptp_timers.o dep/servo.o dep/iniparser/dictionary.o dep/iniparser/iniparser.o dep/daemonconfig.o dep/startup.o dep/sys.o display.o management.o signaling.o protocol.o dep/ntpengine/ntp_isc_md5.o dep/ntpengine/ntpdcontrol.o timingdomain.o ptpd.o dep/statistics.o dep/outlierfilter.o dep/eventtimer_posix.o -lpcap -lrt -lm make[2]: Leaving directory '/build/ptpd-2.3.1-debian1/src' make[1]: Leaving directory '/build/ptpd-2.3.1-debian1' @@ -962,7 +999,7 @@ make[4]: Entering directory '/build/ptpd-2.3.1-debian1/src' make[5]: Entering directory '/build/ptpd-2.3.1-debian1/src' /usr/bin/mkdir -p '/build/ptpd-2.3.1-debian1/debian/ptpd/usr/sbin' - /bin/bash ../libtool --mode=install /usr/bin/install -c ptpd '/build/ptpd-2.3.1-debian1/debian/ptpd/usr/sbin' + /bin/sh ../libtool --mode=install /usr/bin/install -c ptpd '/build/ptpd-2.3.1-debian1/debian/ptpd/usr/sbin' libtool: install: /usr/bin/install -c ptpd /build/ptpd-2.3.1-debian1/debian/ptpd/usr/sbin/ptpd /usr/bin/mkdir -p '/build/ptpd-2.3.1-debian1/debian/ptpd/usr/share/man/man5' /usr/bin/install -c -m 644 ptpd2.conf.5 '/build/ptpd-2.3.1-debian1/debian/ptpd/usr/share/man/man5' @@ -1002,8 +1039,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'ptpd' in '../ptpd_2.3.1-debian1-4_arm64.deb'. dpkg-deb: building package 'ptpd-dbgsym' in '../ptpd-dbgsym_2.3.1-debian1-4_arm64.deb'. +dpkg-deb: building package 'ptpd' in '../ptpd_2.3.1-debian1-4_arm64.deb'. dpkg-genbuildinfo --build=binary -O../ptpd_2.3.1-debian1-4_arm64.buildinfo dpkg-genchanges --build=binary -O../ptpd_2.3.1-debian1-4_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1011,12 +1048,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/9845/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/9845/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/14068 and its subdirectories -I: Current time: Sat May 18 11:00:07 -12 2024 -I: pbuilder-time-stamp: 1716073207 +I: removing directory /srv/workspace/pbuilder/9845 and its subdirectories +I: Current time: Mon Apr 17 06:38:46 +14 2023 +I: pbuilder-time-stamp: 1681663126