I: pbuilder: network access will be disabled during build I: Current time: Wed Apr 10 07:42:47 +14 2024 I: pbuilder-time-stamp: 1712684567 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [recoverdm_0.20-8.dsc] I: copying [./recoverdm_0.20.orig.tar.gz] I: copying [./recoverdm_0.20-8.debian.tar.xz] I: Extracting source gpgv: Signature made Tue Sep 21 00:50:35 2021 gpgv: using RSA key 357DCB0EEC95A01AEBA1F0D2DE63B9C704EBE9EF gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./recoverdm_0.20-8.dsc: no acceptable signature found dpkg-source: info: extracting recoverdm in recoverdm-0.20 dpkg-source: info: unpacking recoverdm_0.20.orig.tar.gz dpkg-source: info: unpacking recoverdm_0.20-8.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 10_fix-makefile.patch dpkg-source: info: applying 20_fix-typo-binary.patch dpkg-source: info: applying 30-fix-BTS-mergebad-crash.patch dpkg-source: info: applying 40_dev-c.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/28418/tmp/hooks/D01_modify_environment starting debug: Running on virt64z. 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 9 17:43 /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/28418/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/28418/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") BASH_VERSION='5.2.21(1)-release' BUILDDIR=/build/reproducible-path BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=armhf DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' DIRSTACK=() DISTRIBUTION=trixie EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=arm HOST_ARCH=armhf IFS=' ' INVOCATION_ID=97e147293c164c73bbe342dff9a8354c LANG=C LANGUAGE=it_CH:it LC_ALL=C MACHTYPE=arm-unknown-linux-gnueabihf MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnueabihf PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=28418 PS4='+ ' 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.5J0yFsK8/pbuilderrc_r0mQ --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.5J0yFsK8/b2 --logfile b2/build.log recoverdm_0.20-8.dsc' SUDO_GID=110 SUDO_UID=103 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://10.0.0.15:3142/ I: uname -a Linux i-capture-the-hostname 6.1.0-18-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Apr 8 11:24 /bin -> usr/bin I: user script /srv/workspace/pbuilder/28418/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: armhf Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19636 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1{a} libpipeline1{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 30 newly installed, 0 to remove and 0 not upgraded. Need to get 18.3 MB of archives. After unpacking 68.5 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main armhf sensible-utils all 0.0.22 [22.4 kB] Get: 2 http://deb.debian.org/debian trixie/main armhf libmagic-mgc armhf 1:5.45-2+b1 [314 kB] Get: 3 http://deb.debian.org/debian trixie/main armhf libmagic1 armhf 1:5.45-2+b1 [97.9 kB] Get: 4 http://deb.debian.org/debian trixie/main armhf file armhf 1:5.45-2+b1 [42.2 kB] Get: 5 http://deb.debian.org/debian trixie/main armhf gettext-base armhf 0.21-14+b1 [157 kB] Get: 6 http://deb.debian.org/debian trixie/main armhf libuchardet0 armhf 0.0.8-1+b1 [65.7 kB] Get: 7 http://deb.debian.org/debian trixie/main armhf groff-base armhf 1.23.0-3 [1088 kB] Get: 8 http://deb.debian.org/debian trixie/main armhf bsdextrautils armhf 2.39.3-6 [81.2 kB] Get: 9 http://deb.debian.org/debian trixie/main armhf libpipeline1 armhf 1.5.7-2 [33.3 kB] Get: 10 http://deb.debian.org/debian trixie/main armhf man-db armhf 2.12.0-3 [1367 kB] Get: 11 http://deb.debian.org/debian trixie/main armhf m4 armhf 1.4.19-4 [264 kB] Get: 12 http://deb.debian.org/debian trixie/main armhf autoconf all 2.71-3 [332 kB] Get: 13 http://deb.debian.org/debian trixie/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian trixie/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian trixie/main armhf autopoint all 0.21-14 [496 kB] Get: 16 http://deb.debian.org/debian trixie/main armhf libdebhelper-perl all 13.15.3 [88.0 kB] Get: 17 http://deb.debian.org/debian trixie/main armhf libtool all 2.4.7-7 [517 kB] Get: 18 http://deb.debian.org/debian trixie/main armhf dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian trixie/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian trixie/main armhf libsub-override-perl all 0.10-1 [10.6 kB] Get: 21 http://deb.debian.org/debian trixie/main armhf libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 22 http://deb.debian.org/debian trixie/main armhf dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 23 http://deb.debian.org/debian trixie/main armhf libelf1 armhf 0.190-1+b1 [171 kB] Get: 24 http://deb.debian.org/debian trixie/main armhf dwz armhf 0.15-1 [101 kB] Get: 25 http://deb.debian.org/debian trixie/main armhf libicu72 armhf 72.1-4+b1 [9070 kB] Get: 26 http://deb.debian.org/debian trixie/main armhf libxml2 armhf 2.9.14+dfsg-1.3+b2 [599 kB] Get: 27 http://deb.debian.org/debian trixie/main armhf gettext armhf 0.21-14+b1 [1230 kB] Get: 28 http://deb.debian.org/debian trixie/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian trixie/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian trixie/main armhf debhelper all 13.15.3 [901 kB] Fetched 18.3 MB in 1s (22.1 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 ... 19636 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.22_all.deb ... Unpacking sensible-utils (0.0.22) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.45-2+b1_armhf.deb ... Unpacking libmagic-mgc (1:5.45-2+b1) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../02-libmagic1_1%3a5.45-2+b1_armhf.deb ... Unpacking libmagic1:armhf (1:5.45-2+b1) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.45-2+b1_armhf.deb ... Unpacking file (1:5.45-2+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.21-14+b1_armhf.deb ... Unpacking gettext-base (0.21-14+b1) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../05-libuchardet0_0.0.8-1+b1_armhf.deb ... Unpacking libuchardet0:armhf (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-3_armhf.deb ... Unpacking groff-base (1.23.0-3) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.39.3-6_armhf.deb ... Unpacking bsdextrautils (2.39.3-6) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../08-libpipeline1_1.5.7-2_armhf.deb ... Unpacking libpipeline1:armhf (1.5.7-2) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.12.0-3_armhf.deb ... Unpacking man-db (2.12.0-3) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-4_armhf.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.21-14_all.deb ... Unpacking autopoint (0.21-14) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.15.3_all.deb ... Unpacking libdebhelper-perl (13.15.3) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../19-libsub-override-perl_0.10-1_all.deb ... Unpacking libsub-override-perl (0.10-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:armhf. Preparing to unpack .../22-libelf1_0.190-1+b1_armhf.deb ... Unpacking libelf1:armhf (0.190-1+b1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.15-1_armhf.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../24-libicu72_72.1-4+b1_armhf.deb ... Unpacking libicu72:armhf (72.1-4+b1) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../25-libxml2_2.9.14+dfsg-1.3+b2_armhf.deb ... Unpacking libxml2:armhf (2.9.14+dfsg-1.3+b2) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.21-14+b1_armhf.deb ... Unpacking gettext (0.21-14+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../27-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../28-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../29-debhelper_13.15.3_all.deb ... Unpacking debhelper (13.15.3) ... Setting up libpipeline1:armhf (1.5.7-2) ... Setting up libicu72:armhf (72.1-4+b1) ... Setting up bsdextrautils (2.39.3-6) ... Setting up libmagic-mgc (1:5.45-2+b1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.15.3) ... Setting up libmagic1:armhf (1:5.45-2+b1) ... Setting up gettext-base (0.21-14+b1) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-2+b1) ... Setting up autotools-dev (20220109.1) ... Setting up autopoint (0.21-14) ... Setting up autoconf (2.71-3) ... Setting up sensible-utils (0.0.22) ... Setting up libuchardet0:armhf (0.0.8-1+b1) ... Setting up libsub-override-perl (0.10-1) ... Setting up libelf1:armhf (0.190-1+b1) ... Setting up libxml2:armhf (2.9.14+dfsg-1.3+b2) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up gettext (0.21-14+b1) ... Setting up libtool (2.4.7-7) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.23.0-3) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.12.0-3) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.15.3) ... Processing triggers for libc-bin (2.37-15) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: user script /srv/workspace/pbuilder/28418/tmp/hooks/A99_set_merged_usr starting Not re-configuring usrmerge for trixie I: user script /srv/workspace/pbuilder/28418/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/reproducible-path/recoverdm-0.20/ && 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 > ../recoverdm_0.20-8_source.changes dpkg-buildpackage: info: source package recoverdm dpkg-buildpackage: info: source version 0.20-8 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Joao Eriberto Mota Filho dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf debian/rules clean dh clean dh_auto_clean make -j4 clean make[1]: Entering directory '/build/reproducible-path/recoverdm-0.20' rm -f recoverdm.o dev.o io.o utils.o error.o mergebad.o io.o utils.o error.o recoverdm mergebad core make[1]: Leaving directory '/build/reproducible-path/recoverdm-0.20' dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure dh_auto_build make -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/recoverdm-0.20' cc -g -O2 -ffile-prefix-map=/build/reproducible-path/recoverdm-0.20=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wshadow -Wconversion -Wwrite-strings -Winline -O2 -DVERSION=\"0.20\" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o recoverdm.o recoverdm.c cc -g -O2 -ffile-prefix-map=/build/reproducible-path/recoverdm-0.20=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wshadow -Wconversion -Wwrite-strings -Winline -O2 -DVERSION=\"0.20\" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dev.o dev.c cc -g -O2 -ffile-prefix-map=/build/reproducible-path/recoverdm-0.20=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wshadow -Wconversion -Wwrite-strings -Winline -O2 -DVERSION=\"0.20\" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o io.o io.c cc -g -O2 -ffile-prefix-map=/build/reproducible-path/recoverdm-0.20=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wshadow -Wconversion -Wwrite-strings -Winline -O2 -DVERSION=\"0.20\" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o utils.o utils.c recoverdm.c: In function 'lba_to_msf': recoverdm.c:55:27: warning: conversion from 'off64_t' {aka 'long long int'} to 'unsigned char' may change value [-Wconversion] 55 | *minute = (lba + 150) / (60 * 75); | ^ recoverdm.c:57:27: warning: conversion from 'off64_t' {aka 'long long int'} to 'unsigned char' may change value [-Wconversion] 57 | *second = (lba + 150) / 75; | ^ recoverdm.c:59:26: warning: conversion from 'off64_t' {aka 'long long int'} to 'unsigned char' may change value [-Wconversion] 59 | *frame = (lba + 150); | ^ recoverdm.c:63:27: warning: conversion from 'off64_t' {aka 'long long int'} to 'unsigned char' may change value [-Wconversion] 63 | *minute = (lba + 450150) / (60 * 75); | ^ recoverdm.c:65:27: warning: conversion from 'off64_t' {aka 'long long int'} to 'unsigned char' may change value [-Wconversion] 65 | *second = (lba + 450150) / 75; | ^ recoverdm.c:67:26: warning: conversion from 'off64_t' {aka 'long long int'} to 'unsigned char' may change value [-Wconversion] 67 | *frame = (lba + 450150); | ^ recoverdm.c: In function 'create_sector': recoverdm.c:75:57: warning: passing argument 2 of 'mymalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | char *sector_out = (char *)mymalloc(block_size, "sector"); | ^~~~~~~~ In file included from recoverdm.c:13: utils.h:1:36: note: expected 'char *' but argument is of type 'const char *' 1 | void * mymalloc(size_t size, char *what); | ~~~~~~^~~~ recoverdm.c:107:53: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 107 | chosen_byte_count = count[loop2]; | ^~~~~ recoverdm.c:108:47: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 108 | chosen_byte = loop2; | ^~~~~ recoverdm.c:126:44: warning: conversion from 'short int' to 'char' may change value [-Wconversion] 126 | sector_out[loop] = chosen_byte; | ^~~~~~~~~~~ recoverdm.c: In function 'get_raw_cd': recoverdm.c:169:71: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 169 | char **sector_list = (char **)mymalloc(sizeof(char *) * n_raw_retries, "sectorlist"); | ^ recoverdm.c:169:88: warning: passing argument 2 of 'mymalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 169 | char **sector_list = (char **)mymalloc(sizeof(char *) * n_raw_retries, "sectorlist"); | ^~~~~~~~~~~~ utils.h:1:36: note: expected 'char *' but argument is of type 'const char *' 1 | void * mymalloc(size_t size, char *what); | ~~~~~~^~~~ recoverdm.c:174:74: warning: passing argument 2 of 'mymalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 174 | sector_list[loop] = (char *)mymalloc(block_size, "sector"); | ^~~~~~~~ utils.h:1:36: note: expected 'char *' but argument is of type 'const char *' 1 | void * mymalloc(size_t size, char *what); | ~~~~~~^~~~ recoverdm.c:184:43: warning: passing argument 1 of 'create_sector' from incompatible pointer type [-Wincompatible-pointer-types] 184 | if (create_sector(sector_list, n_raw_retries, block_size, &dummy) == -1) | ^~~~~~~~~~~ | | | char ** recoverdm.c:71:35: note: expected 'unsigned char **' but argument is of type 'char **' 71 | int create_sector(unsigned char **sectors, int n_sectors, size_t block_size, char **psector_out) | ~~~~~~~~~~~~~~~~^~~~~~~ recoverdm.c: In function 'main': recoverdm.c:215:23: warning: unsigned conversion from 'int' to 'char' changes value from '-1' to '255' [-Wsign-conversion] 215 | char dev_type=-1, cd_speed=DEFAULT_CD_SPEED; | ^ recoverdm.c:235:36: warning: conversion from 'int' to 'char' may change value [-Wconversion] 235 | dev_type = atoi(optarg); | ^~~~ recoverdm.c:256:37: warning: conversion from 'int' to 'char' may change value [-Wconversion] 256 | n_retries = atoi(optarg); | ^~~~ recoverdm.c:262:36: warning: conversion from 'int' to 'char' may change value [-Wconversion] 262 | cd_speed = atoi(optarg); | ^~~~ recoverdm.c:265:44: warning: conversion from 'int' to 'char' may change value [-Wconversion] 265 | n_raw_cd_retries = atoi(optarg); | ^~~~ recoverdm.c:307:47: warning: passing argument 2 of 'mymalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 307 | buffer = (char *)mymalloc(block_size, "sectorbuffer"); | ^~~~~~~~~~~~~~ utils.h:1:36: note: expected 'char *' but argument is of type 'const char *' 1 | void * mymalloc(size_t size, char *what); | ~~~~~~^~~~ recoverdm.c:308:48: warning: passing argument 2 of 'mymalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 308 | buffer2 = (char *)mymalloc(block_size, "sectorbuffer for retries"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ utils.h:1:36: note: expected 'char *' but argument is of type 'const char *' 1 | void * mymalloc(size_t size, char *what); | ~~~~~~^~~~ recoverdm.c:445:91: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 445 | fprintf(dsecfile, "%lld %ld\n", curpos, block_size*skip_value); | ^ recoverdm.c:445:67: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 445 | fprintf(dsecfile, "%lld %ld\n", curpos, block_size*skip_value); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long int size_t {aka unsigned int} | %d recoverdm.c:440:38: warning: variable 'ok' set but not used [-Wunused-but-set-variable] 440 | char ok = 1; | ^~ utils.c: In function 'mymalloc': utils.c:21:28: warning: passing argument 1 of 'error_exit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 21 | error_exit("failed to allocate %d bytes for %s\n", size, what); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from utils.c:15: error.h:1:23: note: expected 'char *' but argument is of type 'const char *' 1 | void error_exit(char *format, ...); | ~~~~~~^~~~~~ utils.c: In function 'myrealloc': utils.c:30:28: warning: passing argument 1 of 'error_exit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 30 | error_exit("failed to reallocate to %d bytes for %s\n", newsize, what); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error.h:1:23: note: expected 'char *' but argument is of type 'const char *' 1 | void error_exit(char *format, ...); | ~~~~~~^~~~~~ utils.c: In function 'get_filesize': utils.c:40:28: warning: passing argument 1 of 'error_exit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 40 | error_exit("Failed to retrieve length of file %s: %s (%d)\n", filename, strerror(errno), errno); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error.h:1:23: note: expected 'char *' but argument is of type 'const char *' 1 | void error_exit(char *format, ...); | ~~~~~~^~~~~~ In file included from utils.c:13: utils.c: In function 'copy_block': gen.h:1:25: warning: conversion from 'off64_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 1 | #define min(x, y) ((x)<(y)?(x):(y)) | ^ utils.c:51:38: note: in expansion of macro 'min' 51 | size_t sector_size = min(block_size, 512); | ^~~ utils.c: In function 'myseek': utils.c:78:28: warning: passing argument 1 of 'error_exit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | error_exit("Failed to seek in file to offset %lld: %s (%d)\n", offset, strerror(errno), errno); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error.h:1:23: note: expected 'char *' but argument is of type 'const char *' 1 | void error_exit(char *format, ...); | ~~~~~~^~~~~~ io.c: In function 'READ': io.c:30:52: warning: passing argument 1 of 'error_exit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 30 | error_exit("unexpected error while reading: %s (%d)\n", strerror(errno), errno); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from io.c:12: error.h:1:23: note: expected 'char *' but argument is of type 'const char *' 1 | void error_exit(char *format, ...); | ~~~~~~^~~~~~ io.c:42:29: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 42 | len -= rc; | ^~ io.c: In function 'WRITE': io.c:75:29: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 75 | len -= rc; | ^~ io.c: In function 'phantom_write': io.c:132:39: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 132 | move_a_little -= rc; | ^~ io.c:181:24: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 181 | nbytes -= rc; | ^~ cc -g -O2 -ffile-prefix-map=/build/reproducible-path/recoverdm-0.20=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wshadow -Wconversion -Wwrite-strings -Winline -O2 -DVERSION=\"0.20\" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o error.o error.c cc -g -O2 -ffile-prefix-map=/build/reproducible-path/recoverdm-0.20=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wshadow -Wconversion -Wwrite-strings -Winline -O2 -DVERSION=\"0.20\" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o mergebad.o mergebad.c mergebad.c: In function 'read_mapfile': mergebad.c:191:67: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 191 | bbs = (badblock *)myrealloc(bbs, sizeof(badblock) * (n_bb + 1), "badblocks list"); | ^ mergebad.c:191:81: warning: passing argument 3 of 'myrealloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 191 | bbs = (badblock *)myrealloc(bbs, sizeof(badblock) * (n_bb + 1), "badblocks list"); | ^~~~~~~~~~~~~~~~ In file included from mergebad.c:14: utils.h:2:52: note: expected 'char *' but argument is of type 'const char *' 2 | void * myrealloc(void *oldp, size_t newsize, char *what); | ~~~~~~^~~~ mergebad.c:196:45: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int' [-Wformat=] 196 | printf("%d] %lld %lld\n", n_bb, offset, block_size); | ~~~^ ~~~~~~~~~~ | | | | long long int int | %d mergebad.c: In function 'select_most_occuring_byte': mergebad.c:228:41: warning: conversion from 'int' to 'char' may change value [-Wconversion] 228 | selected_byte = loop; | ^~~~ mergebad.c:235:28: warning: passing argument 1 of 'error_exit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 235 | error_exit("Internal error: no byte found!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mergebad.c:15: error.h:1:23: note: expected 'char *' but argument is of type 'const char *' 1 | void error_exit(char *format, ...); | ~~~~~~^~~~~~ mergebad.c: In function 'main': mergebad.c:272:62: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 272 | imgs = myrealloc(imgs, sizeof(image) * (n_imgs + 1), "image structure"); | ^ mergebad.c:272:78: warning: passing argument 3 of 'myrealloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 272 | imgs = myrealloc(imgs, sizeof(image) * (n_imgs + 1), "image structure"); | ^~~~~~~~~~~~~~~~~ utils.h:2:52: note: expected 'char *' but argument is of type 'const char *' 2 | void * myrealloc(void *oldp, size_t newsize, char *what); | ~~~~~~^~~~ mergebad.c:321:57: warning: format '%d' expects argument of type 'int', but argument 2 has type 'off64_t' {aka 'long long int'} [-Wformat=] 321 | printf("Length set to: %d\n", length); | ~^ ~~~~~~ | | | | int off64_t {aka long long int} | %lld mergebad.c:419:65: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 419 | guess_bytes = (unsigned char *)mymalloc(n_imgs, "temp buffer for bytes from each image to select from"); | ^~~~~~ mergebad.c:419:73: warning: passing argument 2 of 'mymalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 419 | guess_bytes = (unsigned char *)mymalloc(n_imgs, "temp buffer for bytes from each image to select from"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.h:1:36: note: expected 'char *' but argument is of type 'const char *' 1 | void * mymalloc(size_t size, char *what); | ~~~~~~^~~~ mergebad.c:425:44: warning: passing argument 1 of 'error_exit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 425 | error_exit("Internal error: could not find the badblock \"we're in\".\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error.h:1:23: note: expected 'char *' but argument is of type 'const char *' 1 | void error_exit(char *format, ...); | ~~~~~~^~~~~~ mergebad.c:447:44: warning: passing argument 1 of 'error_exit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 447 | error_exit("Number of \"bytes to guess\" less then 1!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error.h:1:23: note: expected 'char *' but argument is of type 'const char *' 1 | void error_exit(char *format, ...); | ~~~~~~^~~~~~ mergebad.c:455:50: warning: conversion from 'off64_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 455 | output_buffer = mymalloc(n_to_guess, "guessed bytes"); | ^~~~~~~~~~ mergebad.c:455:62: warning: passing argument 2 of 'mymalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 455 | output_buffer = mymalloc(n_to_guess, "guessed bytes"); | ^~~~~~~~~~~~~~~ utils.h:1:36: note: expected 'char *' but argument is of type 'const char *' 1 | void * mymalloc(size_t size, char *what); | ~~~~~~^~~~ mergebad.c:478:66: warning: conversion from 'off64_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 478 | if (phantom_write(fd_out, output_buffer, n_to_guess) != n_to_guess) | ^~~~~~~~~~ mergebad.c: In function 'read_mapfile': mergebad.c:189:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 189 | fscanf(fh, "%lld %d", &offset, &block_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -W recoverdm.o dev.o io.o utils.o error.o -Wl,-z,relro -Wl,-z,now -o recoverdm cc -Wall -W mergebad.o io.o utils.o error.o -Wl,-z,relro -Wl,-z,now -o mergebad make[1]: Leaving directory '/build/reproducible-path/recoverdm-0.20' dh_auto_test create-stamp debian/debhelper-build-stamp dh_prep dh_installdirs dh_auto_install --destdir=debian/recoverdm/ make -j4 install DESTDIR=/build/reproducible-path/recoverdm-0.20/debian/recoverdm AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/recoverdm-0.20' cp recoverdm mergebad /build/reproducible-path/recoverdm-0.20/debian/recoverdm/usr/bin echo echo Oh, blatant plug: http://keetweej.vanheusden.com/wishlist.html Oh, blatant plug: http://keetweej.vanheusden.com/wishlist.html make[1]: Leaving directory '/build/reproducible-path/recoverdm-0.20' dh_installdocs dh_installchangelogs dh_installman dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'recoverdm' in '../recoverdm_0.20-8_armhf.deb'. dpkg-deb: building package 'recoverdm-dbgsym' in '../recoverdm-dbgsym_0.20-8_armhf.deb'. dpkg-genbuildinfo --build=binary -O../recoverdm_0.20-8_armhf.buildinfo dpkg-genchanges --build=binary -O../recoverdm_0.20-8_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . 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/28418/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/28418/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/28418 and its subdirectories I: Current time: Wed Apr 10 07:44:09 +14 2024 I: pbuilder-time-stamp: 1712684649