Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/n/ngetty/ngetty_1.1-9_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/ngetty-1.1-967xvnirx/ngetty_1.1-9_amd64.buildinfo Get source package info: ngetty=1.1-9 Source URL: http://snapshot.notset.fr/mr/package/ngetty/1.1-9/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11.1 automake=1:1.16.2-3 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.47 bash=5.0-6 binutils=2.35-1 binutils-common=2.35-1 binutils-x86-64-linux-gnu=2.35-1 bsdextrautils=2.36-2 bsdutils=1:2.36-2 build-essential=12.8 bzip2=1.0.8-4 coreutils=8.32-3 cpp=4:10.1.0-1 cpp-10=10.2.0-3 dash=0.5.10.2-7 debconf=1.5.74 debhelper=13.2 debianutils=4.11 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 dietlibc-dev=0.34~cvs20160606-12 diffutils=1:3.7-3 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13-5 file=1:5.38-5 findutils=4.7.0-1 g++=4:10.1.0-1 g++-10=10.2.0-3 gcc=4:10.1.0-1 gcc-10=10.2.0-3 gcc-10-base=10.2.0-3 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 grep=3.4-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.58 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-8 libarchive-zip-perl=1.68-1 libasan6=10.2.0-3 libatomic1=10.2.0-3 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3 libaudit1=1:2.8.5-3+b1 libbinutils=2.35-1 libblkid1=2.36-2 libbz2-1.0=1.0.8-4 libc-bin=2.31-2 libc-dev-bin=2.31-2 libc6=2.31-2 libc6-dev=2.31-2 libcap-ng0=0.7.9-2.2 libcc1-0=10.2.0-3 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.16-1 libcrypt1=1:4.4.16-1 libctf-nobfd0=2.35-1 libctf0=2.35-1 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.253 libdebhelper-perl=13.2 libdpkg-perl=1.20.5 libelf1=0.180-1+b1 libffi7=3.3-4 libfile-stripnondeterminism-perl=1.9.0-1 libgcc-10-dev=10.2.0-3 libgcc-s1=10.2.0-3 libgcrypt20=1.8.6-2 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libglib2.0-0=2.64.4-1 libgmp10=2:6.2.0+dfsg-6 libgomp1=10.2.0-3 libgpg-error0=1.38-2 libicu67=67.1-3 libisl22=0.22.1-1 libitm1=10.2.0-3 liblsan0=10.2.0-3 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-5 libmagic1=1:5.38-5 libmount1=2.36-2 libmpc3=1.2.0~rc1-1 libmpfr6=4.1.0-3 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libperl5.30=5.30.3-4 libpipeline1=1.5.2-2 libquadmath0=10.2.0-3 libseccomp2=2.4.3-1+b1 libselinux1=3.1-2 libsigsegv2=2.12-2 libsmartcols1=2.36-2 libstdc++-10-dev=10.2.0-3 libstdc++6=10.2.0-3 libsub-override-perl=0.09-2 libsystemd0=245.7-1 libtinfo6=6.2-1 libtool=2.4.6-14 libtsan0=10.2.0-3 libubsan1=10.2.0-3 libuchardet0=0.0.7-1 libudev1=245.7-1 libunistring2=0.9.10-4 libuuid1=2.36-2 libxml2=2.9.10+dfsg-5+b1 libzstd1=1.4.5+dfsg-3 linux-libc-dev=5.7.10-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 ncurses-base=6.2-1 ncurses-bin=6.2-1 patch=2.7.6-6 perl=5.30.3-4 perl-base=5.30.3-4 perl-modules-5.30=5.30.3-4 po-debconf=1.0.21 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-3 tar=1.30+dfsg-7 util-linux=2.36-2 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200803T091658Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d ngetty=1.1-9 && mkdir -p /build/ngetty-X7yjqC && dpkg-source --no-check -x /*.dsc /build/ngetty-X7yjqC/ngetty-1.1 && chown -R builduser:builduser /build/ngetty-X7yjqC" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ngetty-X7yjqC/ngetty-1.1 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1596423945" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/ngetty-X7yjqC /tmp/ngetty-1.1-967xvnirx bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200803T091658Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.RgyiA_n4Bs as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.RgyiA_n4Bs Reading package lists... Building dependency tree... util-linux is already the newest version (2.36-2). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20200803T091658Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200803T091658Z unstable/main amd64 fakeroot amd64 1.24-1 [85.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (520 kB/s) Selecting previously unselected package libfakeroot:amd64. (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 ... 4578 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-2) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200803T091658Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.RgyiA_n4Bs Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20200803T091658Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 22s (1033 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.RgyiA_n4Bs I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d ngetty=1.1-9 && mkdir -p /build/ngetty-X7yjqC && dpkg-source --no-check -x /*.dsc /build/ngetty-X7yjqC/ngetty-1.1 && chown -R builduser:builduser /build/ngetty-X7yjqC"' exec /tmp/mmdebstrap.RgyiA_n4Bs Reading package lists... NOTICE: 'ngetty' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/ngetty.git Please use: git clone https://salsa.debian.org/debian/ngetty.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 46.4 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ngetty 1.1-9 (dsc) [1856 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ngetty 1.1-9 (tar) [37.0 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ngetty 1.1-9 (diff) [7560 B] Fetched 46.4 kB in 0s (1717 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'ngetty_1.1-9.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting ngetty in /build/ngetty-X7yjqC/ngetty-1.1 dpkg-source: info: unpacking ngetty_1.1.orig.tar.gz dpkg-source: info: unpacking ngetty_1.1-9.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 10_sig-action.h-define-nsig-words-if-necessary.patch dpkg-source: info: applying 20_ngetty-helper-relax-permissions-check-on-conf.patch dpkg-source: info: applying 30_no-gz-manual-install.patch dpkg-source: info: applying 40_fix-spelling-man.patch dpkg-source: info: applying 50_fix-gcc-hardening.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ngetty-X7yjqC/ngetty-1.1 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1596423945" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.RgyiA_n4Bs dpkg-buildpackage: info: source package ngetty dpkg-buildpackage: info: source version 1.1-9 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 amd64 debian/rules clean dh clean dh: warning: unknown hardening feature in DEB_BUILD_MAINT_OPTIONS variable: all$ dh_auto_clean make -j4 distclean make[1]: Entering directory '/build/ngetty-X7yjqC/ngetty-1.1' make clean make[2]: Entering directory '/build/ngetty-X7yjqC/ngetty-1.1' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. rm -f ngetty ngetty.tiny ngetty.sortpfd ngetty-helper ngetty-helper.tiny ngetty-argv cleanutmp dumputmp nwho ngetty-helper.8 ngetty-argv.8 *.o *.a *.s *_defs.h *.hZ a.out tzmap_mmap.c \ *.c.orig test-helper opts_make ngetty.x86_64 sstrip.* elf_print* rm -rf PACKAGE make[2]: Leaving directory '/build/ngetty-X7yjqC/ngetty-1.1' rm -rf d dietlibc make[1]: Leaving directory '/build/ngetty-X7yjqC/ngetty-1.1' dh_clean debian/rules binary-arch dh binary-arch dh: warning: unknown hardening feature in DEB_BUILD_MAINT_OPTIONS variable: all$ dh_update_autotools_config -a dh_autoreconf -a dh_auto_configure -a debian/rules override_dh_auto_build make[1]: Entering directory '/build/ngetty-X7yjqC/ngetty-1.1' blhc: ignore-line-regexp: .*diet\ -Os\ gcc\ -W.* /usr/bin/make CC='diet -Os gcc -W' make[2]: Entering directory '/build/ngetty-X7yjqC/ngetty-1.1' ./get_headers str_defs.h str_add.c str_copy.c str_copynz.c str_diffn.c str_len.c splitmem.c out_put.c const_io.c > str_defs.h ./get_headers scan_defs.h x_atoi.c const_io.c > scan_defs.h ./get_headers fmt_defs.h fmt_nmb_.c fmt_str_.c fmt_time.c fmt_ulong.c fmt_utmp_ip.c fmt_xlong.c > fmt_defs.h sed -n -e '/EXTRACT_START/,/EXTRACT_END/p' utmp_do.c > utmp_defs.h ./get_headers all_defs.h -Gsys/stat.h -Gtime.h \ -Lstr_defs.h -Lfmt_defs.h -Lscan_defs.h -Lutmp_struct.h const_io.c utmp_io.c utmp_do.c utmp_users.c nv_gmtime.c get_uptime.c fork_and_exec.c check_first.c tzmap.c ngetty-helper.c str_defs.h scan_defs.h fmt_defs.h utmp_defs.h > all_defs.h diet -Os gcc -W --version || true; uname -a || true gcc (Debian 10.2.0-3) 10.2.0 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Linux 4426a840c906 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64 GNU/Linux echo "ARCH = x86_64"; echo "CC = diet -Os gcc -W"; \ echo "CFLAGS = -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os"; echo "LDFLAGS = -Wl,-z,relro -s"; ARCH = x86_64 CC = diet -Os gcc -W CFLAGS = -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os LDFLAGS = -Wl,-z,relro -s diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -DNGETTY_SELFPIPE -o ngetty ngetty.c strip -R .comment -R .note ngetty diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -DNGETTY_TINY -o ngetty.tiny ngetty.c strip -R .comment -R .note ngetty.tiny diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -DNGETTY_SELFPIPE -DNGETTY_SORT -o ngetty.sortpfd ngetty.c strip -R .comment -R .note ngetty.sortpfd ( ( rm -f sysinfo_defs.hZ; diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -o sysinfo_defs.hZ trysysinfo.c && ./sysinfo_defs.hZ ) > /dev/null 2>&1 \ && echo '#define HAVE_SYSTEM_SYSINFO' || true ) > sysinfo_defs.h rm -f sysinfo_defs.hZ; cat sysinfo_defs.h #define HAVE_SYSTEM_SYSINFO ( ( rm -f boottime_defs.hZ; diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -o boottime_defs.hZ tryboottime.c && ./boottime_defs.hZ ) > /dev/null 2>&1 \ && echo '#define HAVE_SYSTEM_BOOTTIME' || true ) > boottime_defs.h rm -f boottime_defs.hZ; cat boottime_defs.h diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c str_add.c diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c str_copy.c diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c str_copynz.c diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c str_diffn.c diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c str_len.c diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c splitmem.c diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c out_put.c out_put.c: In function ‘out_flush’: out_put.c:8:12: warning: cast between incompatible function types from ‘ssize_t (*)(int, const void *, size_t)’ {aka ‘long int (*)(int, const void *, long unsigned int)’} to ‘int (*)()’ [-Wcast-function-type] 8 | const_io((int(*)())write, 1, buf_space, buf_pos); | ^ diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c x_atoi.c diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c fmt_nmb_.c diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c fmt_str_.c diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c fmt_ulong.c diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c fmt_utmp_ip.c diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c fmt_xlong.c diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c const_io.c diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c utmp_io.c utmp_io.c: In function ‘utmp_io’: utmp_io.c:18:36: warning: cast between incompatible function types from ‘ssize_t (*)(int, const void *, size_t)’ {aka ‘long int (*)(int, const void *, long unsigned int)’} to ‘int (*)()’ [-Wcast-function-type] 18 | len = const_io((type==F_WRLCK) ? (int(*)())write : (int(*)())read, | ^ utmp_io.c:18:54: warning: cast between incompatible function types from ‘ssize_t (*)(int, void *, size_t)’ {aka ‘long int (*)(int, void *, long unsigned int)’} to ‘int (*)()’ [-Wcast-function-type] 18 | len = const_io((type==F_WRLCK) ? (int(*)())write : (int(*)())read, | ^ diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c utmp_do.c diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c utmp_users.c diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c nv_gmtime.c diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c get_uptime.c diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c fork_and_exec.c diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c check_first.c ar cr lib.a str_add.o str_copy.o str_copynz.o str_diffn.o str_len.o splitmem.o out_put.o x_atoi.o fmt_nmb_.o fmt_str_.o fmt_ulong.o fmt_utmp_ip.o fmt_xlong.o const_io.o utmp_io.o utmp_do.o utmp_users.o nv_gmtime.o get_uptime.o fork_and_exec.o check_first.o ( ( rm -f vhangup_defs.hZ; diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -o vhangup_defs.hZ tryvhangup.c ) > /dev/null 2>&1 && \ echo '#define HAVE_SYSTEM_VHANGUP' || true ) > vhangup_defs.h rm -f vhangup_defs.hZ; cat vhangup_defs.h #define HAVE_SYSTEM_VHANGUP diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -o opts_make opts_make.c lib.a ./opts_make | sed -n -e '/ O[odmt]/p' > opts__defs.h ./opts_make > opts_defs.h diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c tzmap.c tzmap.c: In function ‘get_tz’: tzmap.c:60:18: warning: cast between incompatible function types from ‘ssize_t (*)(int, void *, size_t)’ {aka ‘long int (*)(int, void *, long unsigned int)’} to ‘int (*)()’ [-Wcast-function-type] 60 | if (const_io((int(*)())read,fd,T,L)) | ^ diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c fmt_time.c fmt_time.c: In function ‘fmt_time’: fmt_time.c:60:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 60 | case 'a': m = Oo[Odays] + 3*tm_wday; | ~~^~~~~~~~~~~~~~~~~~~~~~~ fmt_time.c:61:5: note: here 61 | case 'b': | ^~~~ ar cr tzmap.a tzmap.o fmt_time.o diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -DNGETTY_HOME=\"/etc/ngetty\" -o ngetty-helper ngetty-helper.c lib.a tzmap.a In file included from ngetty-helper.c:12: ngetty-helper.c: In function ‘do_prompt’: lib.h:26:39: warning: cast between incompatible function types from ‘ssize_t (*)(int, void *, size_t)’ {aka ‘long int (*)(int, void *, long unsigned int)’} to ‘int (*)()’ [-Wcast-function-type] 26 | (s=alloca(len+plus))==0 || const_io((int(*)())read,fd,s,len) | ^ ngetty-helper.c:130:9: note: in expansion of macro ‘GLOBAL_fstat_READ’ 130 | if (GLOBAL_fstat_READ(fd,st,s, len,64000, 1)) _exit(1); | ^~~~~~~~~~~~~~~~~ ngetty-helper.c: In function ‘main’: lib.h:26:39: warning: cast between incompatible function types from ‘ssize_t (*)(int, void *, size_t)’ {aka ‘long int (*)(int, void *, long unsigned int)’} to ‘int (*)()’ [-Wcast-function-type] 26 | (s=alloca(len+plus))==0 || const_io((int(*)())read,fd,s,len) | ^ ngetty-helper.c:233:9: note: in expansion of macro ‘GLOBAL_fstat_READ’ 233 | if (GLOBAL_fstat_READ(fd,st,s, len,64000, 40)) _exit(1); | ^~~~~~~~~~~~~~~~~ strip -R .comment -R .note ngetty-helper diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -DNGETTY_HOME=\"/etc/ngetty\" -DDONT_NEED_ESC_TIME -DDONT_NEED_ESC_USERS -o ngetty-helper.tiny ngetty-helper.c lib.a In file included from ngetty-helper.c:12: ngetty-helper.c: In function ‘do_prompt’: lib.h:26:39: warning: cast between incompatible function types from ‘ssize_t (*)(int, void *, size_t)’ {aka ‘long int (*)(int, void *, long unsigned int)’} to ‘int (*)()’ [-Wcast-function-type] 26 | (s=alloca(len+plus))==0 || const_io((int(*)())read,fd,s,len) | ^ ngetty-helper.c:130:9: note: in expansion of macro ‘GLOBAL_fstat_READ’ 130 | if (GLOBAL_fstat_READ(fd,st,s, len,64000, 1)) _exit(1); | ^~~~~~~~~~~~~~~~~ ngetty-helper.c: In function ‘main’: lib.h:26:39: warning: cast between incompatible function types from ‘ssize_t (*)(int, void *, size_t)’ {aka ‘long int (*)(int, void *, long unsigned int)’} to ‘int (*)()’ [-Wcast-function-type] 26 | (s=alloca(len+plus))==0 || const_io((int(*)())read,fd,s,len) | ^ ngetty-helper.c:233:9: note: in expansion of macro ‘GLOBAL_fstat_READ’ 233 | if (GLOBAL_fstat_READ(fd,st,s, len,64000, 40)) _exit(1); | ^~~~~~~~~~~~~~~~~ strip -R .comment -R .note ngetty-helper.tiny diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -o ngetty-argv ngetty-argv.c lib.a ngetty-argv.c: In function ‘expand_string’: ngetty-argv.c:26:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 26 | case 'T': exp = tty; | ~~~~^~~~~ ngetty-argv.c:27:7: note: here 27 | case 'U': | ^~~~ ngetty-argv.c:32:2: warning: this statement may fall through [-Wimplicit-fallthrough=] 32 | ++s; | ^~~ ngetty-argv.c:33:7: note: here 33 | default: | ^~~~~~~ strip -R .comment -R .note ngetty-argv diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -o cleanutmp cleanutmp.c lib.a strip -R .comment -R .note cleanutmp ( echo '#define TZ_MMAP'; echo '#include "tzmap.c"' ) > tzmap_mmap.c diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -c tzmap_mmap.c ar cr tzmap_mmap.a tzmap_mmap.o diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -o dumputmp dumputmp.c tzmap_mmap.a lib.a strip -R .comment -R .note dumputmp diet -Os gcc -W -g -O2 -fdebug-prefix-map=/build/ngetty-X7yjqC/ngetty-1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -s -o nwho nwho.c tzmap_mmap.a lib.a strip -R .comment -R .note nwho echo '.so ngetty.8' > ngetty-helper.8 echo '.so ngetty.8' > ngetty-argv.8 make[2]: Leaving directory '/build/ngetty-X7yjqC/ngetty-1.1' make[1]: Leaving directory '/build/ngetty-X7yjqC/ngetty-1.1' dh_auto_test -a create-stamp debian/debhelper-build-stamp dh_testroot -a dh_prep -a dh_auto_install -a make -j4 install DESTDIR=/build/ngetty-X7yjqC/ngetty-1.1/debian/ngetty AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/ngetty-X7yjqC/ngetty-1.1' install -m 755 -d /build/ngetty-X7yjqC/ngetty-1.1/debian/ngetty/sbin install -m 755 -d /build/ngetty-X7yjqC/ngetty-1.1/debian/ngetty/etc install -m 700 -d /build/ngetty-X7yjqC/ngetty-1.1/debian/ngetty/etc/ngetty install -m 755 -d /build/ngetty-X7yjqC/ngetty-1.1/debian/ngetty/usr/share/man/man8 install -m 755 ngetty ngetty-helper ngetty-argv /build/ngetty-X7yjqC/ngetty-1.1/debian/ngetty/sbin install -m 600 sample.Conf /build/ngetty-X7yjqC/ngetty-1.1/debian/ngetty/etc/ngetty install -m 755 contrib/setup /build/ngetty-X7yjqC/ngetty-1.1/debian/ngetty/etc/ngetty install -m 644 Version /build/ngetty-X7yjqC/ngetty-1.1/debian/ngetty/etc/ngetty test -f /build/ngetty-X7yjqC/ngetty-1.1/debian/ngetty/etc/ngetty/Conf || \ install -m 600 Conf /build/ngetty-X7yjqC/ngetty-1.1/debian/ngetty/etc/ngetty If you want to install some additional programs do: make install_other make[1]: Leaving directory '/build/ngetty-X7yjqC/ngetty-1.1' dh_installdocs -a dh_installchangelogs -a dh_installexamples -a dh_installman -a dh_lintian -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a dh_dwz -a -a dwz: debian/ngetty/sbin/ngetty: .debug_info section not present dwz: debian/ngetty/sbin/ngetty-argv: .debug_info section not present dwz: debian/ngetty/sbin/ngetty-helper: .debug_info section not present dwz: Too few files for multifile optimization dh_dwz: warning: No dwz multifile created, but not explicitly requested either so ignoring it. dh_dwz: warning: Common issues include no debug information at all (missing -g) and dh_dwz: warning: compressed debug information (#931891). dh_strip -a -a dh_makeshlibs -a -a dh_shlibdeps -a -a dh_installdeb -a debian/rules override_dh_gencontrol make[1]: Entering directory '/build/ngetty-X7yjqC/ngetty-1.1' echo >> debian/ngetty.substvars "ngetty:Built-Using=$(dpkg-query -W -f '${source:Package} (= ${source:Version})' dietlibc-dev)" dh_gencontrol dpkg-gencontrol: warning: Depends field of package ngetty: substitution variable ${shlibs:Depends} used, but is not defined make[1]: Leaving directory '/build/ngetty-X7yjqC/ngetty-1.1' dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'ngetty' in '../ngetty_1.1-9_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../ngetty_1.1-9_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/ngetty-X7yjqC /tmp/ngetty-1.1-967xvnirx I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.RgyiA_n4Bs... I: success in 315.5362 seconds md5: ngetty_1.1-9_amd64.deb: OK sha1: ngetty_1.1-9_amd64.deb: OK sha256: ngetty_1.1-9_amd64.deb: OK Checksums: OK