Diff of the two buildlogs: -- --- b1/build.log 2024-04-28 21:08:48.546708500 +0000 +++ b2/build.log 2024-04-28 21:09:49.320113493 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 31 15:29:39 -12 2025 -I: pbuilder-time-stamp: 1748748579 +I: Current time: Mon Apr 29 11:08:51 +14 2024 +I: pbuilder-time-stamp: 1714338531 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -30,52 +30,84 @@ dpkg-source: info: applying 04-fix-FTBFS-glic-2.28.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2882564/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2390765/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 Apr 28 21:08 /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/2390765/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2390765/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]="21" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + 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=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='216ed0bed70845b087b4ae12246462cc' - 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='2882564' - PS1='# ' - PS2='> ' + INVOCATION_ID=bdce4fbf5b5147799f4ba405eeb62751 + 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=2390765 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.ufcqhf53/pbuilderrc_56yx --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.ufcqhf53/b1 --logfile b1/build.log partimage_0.6.9-11.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.ufcqhf53/pbuilderrc_IevU --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.ufcqhf53/b2 --logfile b2/build.log partimage_0.6.9-11.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-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 24 13:38 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2882564/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 23 11:23 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2390765/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -192,7 +224,7 @@ Get: 42 http://deb.debian.org/debian trixie/main arm64 libnewt-dev arm64 0.52.24-2 [72.1 kB] Get: 43 http://deb.debian.org/debian trixie/main arm64 libpam0g-dev arm64 1.5.2-9.1+b1 [122 kB] Get: 44 http://deb.debian.org/debian trixie/main arm64 libssl-dev arm64 3.2.1-3 [3089 kB] -Fetched 27.8 MB in 0s (81.5 MB/s) +Fetched 27.8 MB in 0s (155 MB/s) debconf: delaying package configuration, since apt-utils is not installed dpkg: libssl3:arm64: dependency problems, but removing anyway as you requested: libkrb5-3:arm64 depends on libssl3 (>= 3.0.0). @@ -394,7 +426,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/partimage-0.6.9/ && 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 > ../partimage_0.6.9-11_source.changes +I: user script /srv/workspace/pbuilder/2390765/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2390765/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/partimage-0.6.9/ && 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 > ../partimage_0.6.9-11_source.changes dpkg-buildpackage: info: source package partimage dpkg-buildpackage: info: source version 0.6.9-11 dpkg-buildpackage: info: source distribution unstable @@ -820,10 +856,6 @@ fs_ufs.cpp:220:29: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 220 | "Data frags count:.............%"PRIu64"\n"), | ^ -fs_fat.cpp: In member function 'void CFatPart::compareFatCopies()': -fs_fat.cpp:58:7: warning: variable 'nResult' set but not used [-Wunused-but-set-variable] - 58 | int nResult; - | ^~~~~~~ fs_base.cpp:733:35: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 733 | SNPRINTF(szBlocksInfo, i18n("Block size:...................%"PRIu64" bytes\n" | ^ @@ -839,22 +871,22 @@ fs_base.cpp:748:34: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 748 | "Space usage:..................%"PRIu64" %%\n" | ^ -fs_hfs.cpp:145:29: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 145 | "Allocation Group count:.......%"PRIu64"\n" - | ^ -fs_hfs.cpp:148:29: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 148 | "First allocation block:.......%"PRIu64"\n"), - | ^ +fs_fat.cpp: In member function 'void CFatPart::compareFatCopies()': +fs_fat.cpp:58:7: warning: variable 'nResult' set but not used [-Wunused-but-set-variable] + 58 | int nResult; + | ^~~~~~~ fs_ntfs.cpp:315:29: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 315 | "LCN of MFT Data attrib:.......%"PRIu64"\n"), | ^ fs_ntfs.cpp:733:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 733 | fprintf(stderr, "cluster[%llu] = %"PRIu64"\n", (long long unsigned int)i, m_qwOffset[i]); | ^ -fs_ext2.cpp: In member function 'virtual void CExt2Part::readBitmap(COptions*)': -fs_ext2.cpp:209:9: warning: variable 'dwBlocksInThisGroup' set but not used [-Wunused-but-set-variable] - 209 | DWORD dwBlocksInThisGroup; - | ^~~~~~~~~~~~~~~~~~~ +fs_hfs.cpp:145:29: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 145 | "Allocation Group count:.......%"PRIu64"\n" + | ^ +fs_hfs.cpp:148:29: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 148 | "First allocation block:.......%"PRIu64"\n"), + | ^ fs_afs.cpp: In member function 'virtual void CAfsPart::readBitmap(COptions*)': fs_afs.cpp:52:9: warning: variable 'dwWordsPerBlock' set but not used [-Wunused-but-set-variable] 52 | DWORD dwWordsPerBlock; @@ -876,6 +908,10 @@ fs_ntfs.cpp:491:13: warning: variable 'cDataResident' set but not used [-Wunused-but-set-variable] 491 | BYTE *cDataResident; | ^~~~~~~~~~~~~ +fs_ext2.cpp: In member function 'virtual void CExt2Part::readBitmap(COptions*)': +fs_ext2.cpp:209:9: warning: variable 'dwBlocksInThisGroup' set but not used [-Wunused-but-set-variable] + 209 | DWORD dwBlocksInThisGroup; + | ^~~~~~~~~~~~~~~~~~~ fs_ntfs.cpp: In member function 'int CNtfsPart::checkFilenameForRecordIs(BYTE*, const char*, bool)': fs_ntfs.cpp:759:8: warning: variable 'bAttribResident' set but not used [-Wunused-but-set-variable] 759 | bool bAttribResident; @@ -1032,9 +1068,6 @@ gui_text.cpp:754:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 754 | SNPRINTF(szTemp, i18n("Size of the original partition:...%s = %"PRIu64" bytes"), formatSize(qwOrigPartSize, szTemp2), qwOrigPartSize); | ^ -misc.cpp:214:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 214 | SNPRINTF(szTemp, "%.3u: %s [%"PRIu64" blocks]", i, mbrOriginal[i].szDevice, mbrOriginal[i].qwBlocksCount); - | ^ gui_text.cpp: In member function 'void CRestoreMbrWindow::addHardDisk(char*, DWORD)': gui_text.cpp:38:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 38 | newtListboxAppendEntry(m_list1, szText, (void*)dwNumber); @@ -1047,13 +1080,25 @@ gui_text.cpp:137:7: warning: variable 'nRes' set but not used [-Wunused-but-set-variable] 137 | int nRes; | ^~~~ +imginfo.cpp:114:38: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 114 | "Device blocks count:...%"PRIu64"\n" + | ^ +imginfo.cpp:156:38: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 156 | "Identificator:.........%"PRIu64"=%"PRIX64"\n\n"), + | ^ +imginfo.cpp:156:70: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 156 | "Identificator:.........%"PRIu64"=%"PRIX64"\n\n"), + | ^ +main.cpp:304:35: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 304 | fprintf (stderr, i18n("Volume size: %"PRIu64" bytes (%ld MiB)\n"), + | ^ +misc.cpp:214:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 214 | SNPRINTF(szTemp, "%.3u: %s [%"PRIu64" blocks]", i, mbrOriginal[i].szDevice, mbrOriginal[i].qwBlocksCount); + | ^ interface_newt.cpp: In function 'fde* dir_here(newtComponent, char*)': interface_newt.cpp:548:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 548 | if(strlen(dr) > 1) strcat(dp->name,"/"); strcat(dp->name,namelist[i]->d_name); | ^~ -main.cpp:304:35: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 304 | fprintf (stderr, i18n("Volume size: %"PRIu64" bytes (%ld MiB)\n"), - | ^ interface_newt.cpp:548:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 548 | if(strlen(dr) > 1) strcat(dp->name,"/"); strcat(dp->name,namelist[i]->d_name); | ^~~~~~ @@ -1065,15 +1110,6 @@ 613 | newtComponent lb, b1, b2, b3, l1, l2, f, f1; | ^~ g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/client/fs -I/usr/include/slang -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-deprecated -I/usr/include/openssl -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/partimage-0.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o mbr_backup.o mbr_backup.cpp -imginfo.cpp:114:38: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 114 | "Device blocks count:...%"PRIu64"\n" - | ^ -imginfo.cpp:156:38: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 156 | "Identificator:.........%"PRIu64"=%"PRIX64"\n\n"), - | ^ -imginfo.cpp:156:70: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 156 | "Identificator:.........%"PRIu64"=%"PRIX64"\n\n"), - | ^ In file included from gui_text.h:21, from gui_text.cpp:22: gui_text.cpp:157:34: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 122 [-Wformat-truncation=] @@ -1115,66 +1151,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -main.cpp: In function 'int main(int, char**)': -main.cpp:459:16: warning: the address of 'COptions::szFullyBatchMode' will never be NULL [-Waddress] - 459 | if (!options.szFullyBatchMode || !strlen(options.szFullyBatchMode)) { - | ~~~~~~~~^~~~~~~~~~~~~~~~ -In file included from ./misc.h:22, - from ./interface_newt.h:22, - from ../../src/client/fs/fs_base.h:23, - from ../../src/client/fs/fs_ext2.h:22, - from main.cpp:47: -../../src/shared/common.h:145:8: note: 'COptions::szFullyBatchMode' declared here - 145 | char szFullyBatchMode[2048]; - | ^~~~~~~~~~~~~~~~ -main.cpp:490:16: warning: the address of 'COptions::szFullyBatchMode' will never be NULL [-Waddress] - 490 | if (!options.szFullyBatchMode || !strlen(options.szFullyBatchMode)) - | ~~~~~~~~^~~~~~~~~~~~~~~~ -../../src/shared/common.h:145:8: note: 'COptions::szFullyBatchMode' declared here - 145 | char szFullyBatchMode[2048]; - | ^~~~~~~~~~~~~~~~ -mbr_backup.cpp: In function 'int mbrGetInfoDir(char*, char*)': -mbr_backup.cpp:77:10: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 256 equals destination size [-Wstringop-truncation] - 77 | strncpy(szShort, szDevice+i+1, 256); - | ^ -mbr_backup.cpp: In function 'int mbrGetData(char*, CMbr*, DWORD)': -mbr_backup.cpp:223:10: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 512 equals destination size [-Wstringop-truncation] - 223 | strncpy(mbr->szDevice, szDevice, MAX_DEVICENAMELEN); - | ^ -In file included from mbr_backup.cpp:22: -mbr_backup.cpp:252:24: warning: '/model' directive output may be truncated writing 6 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] - 252 | SNPRINTF(szTemp, "%s/model", szInfoDir); - | ^~~~~~~~~~ -partimage.h:48:80: note: in definition of macro 'SNPRINTF' - 48 | #define SNPRINTF(szDest, szFormat, args...) snprintf(szDest, sizeof(szDest)-1, szFormat, ## args),szDest[sizeof(szDest)-1]=0 // allow to use this macro in 'else' - | ^~~~~~~~ -mbr_backup.cpp:252:27: note: format string is defined here - 252 | SNPRINTF(szTemp, "%s/model", szInfoDir); - | ^~~~~~ -In file included from /usr/include/stdio.h:906, - from partimage.h:23: -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'int mbrGetData(char*, CMbr*, DWORD)' at mbr_backup.cpp:252:7: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 7 and 4102 bytes into a destination of size 4095 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -main.cpp:527:14: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 512 equals destination size [-Wstringop-truncation] - 527 | strncpy(szDevice, argv[optind+1], MAX_DEVICENAMELEN); - | ^ -main.cpp:528:14: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] - 528 | strncpy(szImageFile, argv[optind+2], MAXPATHLEN); - | ^ -main.cpp:553:14: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] - 553 | strncpy(nChoice == OPERATION_REST_ALL || nChoice == OPERATION_SAVE_ALL ? szImageDir : szImageFile, argv[optind+1], MAXPATHLEN); - | ^ -imginfo.cpp: In function 'void imageInfoShowRegular(char*, int, CMainHeader*, char*, DWORD)': -imginfo.cpp:104:57: warning: taking address of packed member of 'CMainHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] - 104 | head->dwMainFlags, szFlags, asctime_portable(&head->dateCreate), formatSize(head->qwPartSize, cTemp), head->szHostname, - | ^~~~~~~~~~~~~~~~~ imagefile.cpp: In constructor 'CImage::CImage(COptions*)': imagefile.cpp:122:17: warning: the address of 'COptions::szAutoMount' will never be NULL [-Waddress] 122 | if (m_options.szAutoMount) @@ -1187,14 +1163,14 @@ ../../src/shared/common.h:142:8: note: 'COptions::szAutoMount' declared here 142 | char szAutoMount[MAXPATHLEN]; | ^~~~~~~~~~~ +imginfo.cpp: In function 'void imageInfoShowRegular(char*, int, CMainHeader*, char*, DWORD)': +imginfo.cpp:104:57: warning: taking address of packed member of 'CMainHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] + 104 | head->dwMainFlags, szFlags, asctime_portable(&head->dateCreate), formatSize(head->qwPartSize, cTemp), head->szHostname, + | ^~~~~~~~~~~~~~~~~ imagefile.cpp: In member function 'int CImage::mountImageLocation()': imagefile.cpp:639:18: warning: the address of 'COptions::szAutoMount' will never be NULL [-Waddress] 639 | if ((m_options.szAutoMount) && (strlen(m_options.szAutoMount)) && | ~~~~~~~~~~~^~~~~~~~~~~~ -misc.cpp: In function 'void savePartition(char*, char*, COptions*)': -misc.cpp:550:43: warning: value computed is not used [-Wunused-value] - 550 | else if (options->dwCompression == 1) + fprintf(stderr,i18n("partimage: status: Image type: GZIP\n")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/shared/common.h:142:8: note: 'COptions::szAutoMount' declared here 142 | char szAutoMount[MAXPATHLEN]; | ^~~~~~~~~~~ @@ -1212,10 +1188,28 @@ ../../src/shared/common.h:142:8: note: 'COptions::szAutoMount' declared here 142 | char szAutoMount[MAXPATHLEN]; | ^~~~~~~~~~~ -misc.cpp: In function 'int isDevfsEnabled()': -misc.cpp:1775:9: warning: variable 'cPtr' set but not used [-Wunused-but-set-variable] - 1775 | char *cPtr; - | ^~~~ +misc.cpp: In function 'void savePartition(char*, char*, COptions*)': +misc.cpp:550:43: warning: value computed is not used [-Wunused-value] + 550 | else if (options->dwCompression == 1) + fprintf(stderr,i18n("partimage: status: Image type: GZIP\n")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.cpp: In function 'int main(int, char**)': +main.cpp:459:16: warning: the address of 'COptions::szFullyBatchMode' will never be NULL [-Waddress] + 459 | if (!options.szFullyBatchMode || !strlen(options.szFullyBatchMode)) { + | ~~~~~~~~^~~~~~~~~~~~~~~~ +In file included from ./misc.h:22, + from ./interface_newt.h:22, + from ../../src/client/fs/fs_base.h:23, + from ../../src/client/fs/fs_ext2.h:22, + from main.cpp:47: +../../src/shared/common.h:145:8: note: 'COptions::szFullyBatchMode' declared here + 145 | char szFullyBatchMode[2048]; + | ^~~~~~~~~~~~~~~~ +main.cpp:490:16: warning: the address of 'COptions::szFullyBatchMode' will never be NULL [-Waddress] + 490 | if (!options.szFullyBatchMode || !strlen(options.szFullyBatchMode)) + | ~~~~~~~~^~~~~~~~~~~~~~~~ +../../src/shared/common.h:145:8: note: 'COptions::szFullyBatchMode' declared here + 145 | char szFullyBatchMode[2048]; + | ^~~~~~~~~~~~~~~~ In file included from ../../src/shared/common.h:27, from imginfo.cpp:22: imginfo.cpp:71:29: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4075 [-Wformat-truncation=] @@ -1238,6 +1232,48 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +misc.cpp: In function 'int isDevfsEnabled()': +misc.cpp:1775:9: warning: variable 'cPtr' set but not used [-Wunused-but-set-variable] + 1775 | char *cPtr; + | ^~~~ +main.cpp:527:14: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 512 equals destination size [-Wstringop-truncation] + 527 | strncpy(szDevice, argv[optind+1], MAX_DEVICENAMELEN); + | ^ +main.cpp:528:14: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] + 528 | strncpy(szImageFile, argv[optind+2], MAXPATHLEN); + | ^ +main.cpp:553:14: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] + 553 | strncpy(nChoice == OPERATION_REST_ALL || nChoice == OPERATION_SAVE_ALL ? szImageDir : szImageFile, argv[optind+1], MAXPATHLEN); + | ^ +mbr_backup.cpp: In function 'int mbrGetInfoDir(char*, char*)': +mbr_backup.cpp:77:10: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 256 equals destination size [-Wstringop-truncation] + 77 | strncpy(szShort, szDevice+i+1, 256); + | ^ +mbr_backup.cpp: In function 'int mbrGetData(char*, CMbr*, DWORD)': +mbr_backup.cpp:223:10: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 512 equals destination size [-Wstringop-truncation] + 223 | strncpy(mbr->szDevice, szDevice, MAX_DEVICENAMELEN); + | ^ +In file included from mbr_backup.cpp:22: +mbr_backup.cpp:252:24: warning: '/model' directive output may be truncated writing 6 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] + 252 | SNPRINTF(szTemp, "%s/model", szInfoDir); + | ^~~~~~~~~~ +partimage.h:48:80: note: in definition of macro 'SNPRINTF' + 48 | #define SNPRINTF(szDest, szFormat, args...) snprintf(szDest, sizeof(szDest)-1, szFormat, ## args),szDest[sizeof(szDest)-1]=0 // allow to use this macro in 'else' + | ^~~~~~~~ +mbr_backup.cpp:252:27: note: format string is defined here + 252 | SNPRINTF(szTemp, "%s/model", szInfoDir); + | ^~~~~~ +In file included from /usr/include/stdio.h:906, + from partimage.h:23: +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'int mbrGetData(char*, CMbr*, DWORD)' at mbr_backup.cpp:252:7: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 7 and 4102 bytes into a destination of size 4095 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ In file included from misc.h:21, from misc.cpp:50: misc.cpp: In function 'void restoreMbr(char*, COptions*)': @@ -1261,7 +1297,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -/bin/bash ../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/partimage-0.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z,relro -Wl,-z,now -o partimage netclient.o imagefile.o misc.o image_net.o buffer.o gui_text.o main.o imginfo.o cbitmap.o interface_base.o interface_newt.o interface_none.o mbr_backup.o -lslang fs/libfs.a ../shared/libshared.a -lcrypt -ldl -lpam -lz -lnewt -lbz2 -lpthread -lcrypto -lssl +/bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/partimage-0.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z,relro -Wl,-z,now -o partimage netclient.o imagefile.o misc.o image_net.o buffer.o gui_text.o main.o imginfo.o cbitmap.o interface_base.o interface_newt.o interface_none.o mbr_backup.o -lslang fs/libfs.a ../shared/libshared.a -lcrypt -ldl -lpam -lz -lnewt -lbz2 -lpthread -lcrypto -lssl libtool: link: g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/partimage-0.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -Wl,-z -Wl,now -o partimage netclient.o imagefile.o misc.o image_net.o buffer.o gui_text.o main.o imginfo.o cbitmap.o interface_base.o interface_newt.o interface_none.o mbr_backup.o -lslang fs/libfs.a ../shared/libshared.a -lcrypt -ldl -lpam -lz -lnewt -lbz2 -lpthread -lcrypto -lssl make[5]: Leaving directory '/build/reproducible-path/partimage-0.6.9/src/client' make[4]: Leaving directory '/build/reproducible-path/partimage-0.6.9/src/client' @@ -1299,6 +1335,20 @@ partimaged-gui_dummy.h:38:16: note: by 'virtual void CPartimagedInterfaceDummy::SetState(int, char*)' 38 | virtual void SetState(int client, char * state); | ^~~~~~~~ +partimaged-client.cpp: In member function 'void CPartimagedClients::Release(unsigned int)': +partimaged-client.cpp:92:26: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] + 92 | Clients[client].Sock = NULL; + | ^~~~ +partimaged-client.cpp:94:27: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null] + 94 | Clients[client].MyPid = NULL; + | ^~~~ +partimaged-client.cpp: In member function 'void CPartimagedClients::ReleaseClientByPid(unsigned int)': +partimaged-client.cpp:112:32: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] + 112 | Clients[next].Sock = NULL; + | ^~~~ +partimaged-client.cpp:114:33: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null] + 114 | Clients[next].MyPid = NULL; + | ^~~~ In file included from partimaged-gui_newt.h:26, from partimaged-main.cpp:44: partimaged-gui.h:38:16: warning: 'virtual void CPartimagedInterface::SetSize(int, const char*)' was hidden [-Woverloaded-virtual=] @@ -1326,21 +1376,7 @@ partimaged-gui_dummy.h:38:16: note: by 'virtual void CPartimagedInterfaceDummy::SetState(int, char*)' 38 | virtual void SetState(int client, char * state); | ^~~~~~~~ -partimaged-client.cpp: In member function 'void CPartimagedClients::Release(unsigned int)': -partimaged-client.cpp:92:26: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] - 92 | Clients[client].Sock = NULL; - | ^~~~ -partimaged-client.cpp:94:27: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null] - 94 | Clients[client].MyPid = NULL; - | ^~~~ -partimaged-client.cpp: In member function 'void CPartimagedClients::ReleaseClientByPid(unsigned int)': -partimaged-client.cpp:112:32: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] - 112 | Clients[next].Sock = NULL; - | ^~~~ -partimaged-client.cpp:114:33: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null] - 114 | Clients[next].MyPid = NULL; - | ^~~~ -/bin/bash ../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/partimage-0.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z,relro -Wl,-z,now -o partimaged netserver.o partimaged.o partimaged-client.o partimaged-gui_dummy.o partimaged-gui_newt.o partimaged-main.o -lslang ../shared/libshared.a -lcrypt -ldl -lpam -lz -lnewt -lbz2 -lpthread -lcrypto -lssl +/bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/partimage-0.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z,relro -Wl,-z,now -o partimaged netserver.o partimaged.o partimaged-client.o partimaged-gui_dummy.o partimaged-gui_newt.o partimaged-main.o -lslang ../shared/libshared.a -lcrypt -ldl -lpam -lz -lnewt -lbz2 -lpthread -lcrypto -lssl libtool: link: g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/partimage-0.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -Wl,-z -Wl,now -o partimaged netserver.o partimaged.o partimaged-client.o partimaged-gui_dummy.o partimaged-gui_newt.o partimaged-main.o -lslang ../shared/libshared.a -lcrypt -ldl -lpam -lz -lnewt -lbz2 -lpthread -lcrypto -lssl make[4]: Leaving directory '/build/reproducible-path/partimage-0.6.9/src/server' make[4]: Entering directory '/build/reproducible-path/partimage-0.6.9/src' @@ -1466,7 +1502,7 @@ make[4]: Entering directory '/build/reproducible-path/partimage-0.6.9/src/client' make[5]: Entering directory '/build/reproducible-path/partimage-0.6.9/src/client' /usr/bin/mkdir -p '/build/reproducible-path/partimage-0.6.9/debian/tmp/usr/sbin' - /bin/bash ../../libtool --mode=install /usr/bin/install -c partimage '/build/reproducible-path/partimage-0.6.9/debian/tmp/usr/sbin' + /bin/sh ../../libtool --mode=install /usr/bin/install -c partimage '/build/reproducible-path/partimage-0.6.9/debian/tmp/usr/sbin' libtool: install: /usr/bin/install -c partimage /build/reproducible-path/partimage-0.6.9/debian/tmp/usr/sbin/partimage make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/build/reproducible-path/partimage-0.6.9/src/client' @@ -1476,7 +1512,7 @@ make[3]: Entering directory '/build/reproducible-path/partimage-0.6.9/src/server' make[4]: Entering directory '/build/reproducible-path/partimage-0.6.9/src/server' /usr/bin/mkdir -p '/build/reproducible-path/partimage-0.6.9/debian/tmp/usr/sbin' - /bin/bash ../../libtool --mode=install /usr/bin/install -c partimaged '/build/reproducible-path/partimage-0.6.9/debian/tmp/usr/sbin' + /bin/sh ../../libtool --mode=install /usr/bin/install -c partimaged '/build/reproducible-path/partimage-0.6.9/debian/tmp/usr/sbin' libtool: install: /usr/bin/install -c partimaged /build/reproducible-path/partimage-0.6.9/debian/tmp/usr/sbin/partimaged make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/build/reproducible-path/partimage-0.6.9/src/server' @@ -1491,9 +1527,9 @@ make[2]: Entering directory '/build/reproducible-path/partimage-0.6.9' make[3]: Entering directory '/build/reproducible-path/partimage-0.6.9' make[3]: Nothing to be done for 'install-exec-am'. -/bin/bash ./mkinstalldirs /build/reproducible-path/partimage-0.6.9/debian/tmp/etc +/bin/sh ./mkinstalldirs /build/reproducible-path/partimage-0.6.9/debian/tmp/etc mkdir -p -- /build/reproducible-path/partimage-0.6.9/debian/tmp/etc -/bin/bash ./mkinstalldirs /build/reproducible-path/partimage-0.6.9/debian/tmp/etc/partimaged +/bin/sh ./mkinstalldirs /build/reproducible-path/partimage-0.6.9/debian/tmp/etc/partimaged mkdir -p -- /build/reproducible-path/partimage-0.6.9/debian/tmp/etc/partimaged if test ! -f /build/reproducible-path/partimage-0.6.9/debian/tmp/etc/partimaged/partimagedusers ; then \ echo "# note: '#' introduces comments" > \ @@ -1528,19 +1564,19 @@ dh_perl dh_link dh_strip_nondeterminism - Normalized debian/partimage/usr/share/locale/es/LC_MESSAGES/partimage.mo - Normalized debian/partimage/usr/share/locale/de/LC_MESSAGES/partimage.mo Normalized debian/partimage/usr/share/locale/sk/LC_MESSAGES/partimage.mo Normalized debian/partimage/usr/share/locale/ru/LC_MESSAGES/partimage.mo - Normalized debian/partimage/usr/share/locale/da/LC_MESSAGES/partimage.mo + Normalized debian/partimage/usr/share/locale/pt/LC_MESSAGES/partimage.mo + Normalized debian/partimage/usr/share/locale/pl/LC_MESSAGES/partimage.mo + Normalized debian/partimage/usr/share/locale/gl/LC_MESSAGES/partimage.mo + Normalized debian/partimage/usr/share/locale/fr/LC_MESSAGES/partimage.mo Normalized debian/partimage/usr/share/locale/nl/LC_MESSAGES/partimage.mo Normalized debian/partimage/usr/share/locale/it/LC_MESSAGES/partimage.mo Normalized debian/partimage/usr/share/locale/fi/LC_MESSAGES/partimage.mo Normalized debian/partimage/usr/share/locale/eu/LC_MESSAGES/partimage.mo - Normalized debian/partimage/usr/share/locale/gl/LC_MESSAGES/partimage.mo - Normalized debian/partimage/usr/share/locale/fr/LC_MESSAGES/partimage.mo - Normalized debian/partimage/usr/share/locale/pt/LC_MESSAGES/partimage.mo - Normalized debian/partimage/usr/share/locale/pl/LC_MESSAGES/partimage.mo + Normalized debian/partimage/usr/share/locale/es/LC_MESSAGES/partimage.mo + Normalized debian/partimage/usr/share/locale/de/LC_MESSAGES/partimage.mo + Normalized debian/partimage/usr/share/locale/da/LC_MESSAGES/partimage.mo dh_compress dh_fixperms dh_missing @@ -1553,9 +1589,9 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'partimage-server' in '../partimage-server_0.6.9-11_arm64.deb'. -dpkg-deb: building package 'partimage-dbgsym' in '../partimage-dbgsym_0.6.9-11_arm64.deb'. -dpkg-deb: building package 'partimage' in '../partimage_0.6.9-11_arm64.deb'. dpkg-deb: building package 'partimage-server-dbgsym' in '../partimage-server-dbgsym_0.6.9-11_arm64.deb'. +dpkg-deb: building package 'partimage' in '../partimage_0.6.9-11_arm64.deb'. +dpkg-deb: building package 'partimage-dbgsym' in '../partimage-dbgsym_0.6.9-11_arm64.deb'. dpkg-genbuildinfo --build=binary -O../partimage_0.6.9-11_arm64.buildinfo dpkg-genchanges --build=binary -O../partimage_0.6.9-11_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1563,12 +1599,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/2390765/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2390765/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/2882564 and its subdirectories -I: Current time: Sat May 31 15:31:47 -12 2025 -I: pbuilder-time-stamp: 1748748707 +I: removing directory /srv/workspace/pbuilder/2390765 and its subdirectories +I: Current time: Mon Apr 29 11:09:48 +14 2024 +I: pbuilder-time-stamp: 1714338588