Your message dated Tue, 25 Jul 2023 10:21:54 +0200
with message-id <87fs5c7659....@msgid.hilluzination.de>
and subject line Fixed. For good.
has caused the Debian Bug report #1037541,
regarding libguestfs: FTBFS: supermin: error: lstat: Value too large for
defined data type: /var/tmp/supermin2b73c8.tmpdir/base.d/init
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1037541: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037541
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: libguestfs
Version: 1:1.50.1-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramac...@debian.org
https://buildd.debian.org/status/fetch.php?pkg=libguestfs&arch=i386&ver=1%3A1.50.1-1&stamp=1686678530&raw=0
tar: etc: implausibly old time stamp -9223372036854775808
tar: usr/sbin/guestfsd: implausibly old time stamp -9223372036854775808
tar: usr/sbin: implausibly old time stamp -9223372036854775808
tar: usr: implausibly old time stamp -9223372036854775808
supermin: build: visiting
/<<PKGBUILDDIR>>/debian/build-4/appliance/supermin.d/excludefiles type
uncompressed excludefiles
supermin: build: visiting
/<<PKGBUILDDIR>>/debian/build-4/appliance/supermin.d/hostfiles type
uncompressed hostfiles
supermin: build: visiting
/<<PKGBUILDDIR>>/debian/build-4/appliance/supermin.d/init.tar.gz type gzip base
image (tar)
tar: init: implausibly old time stamp -9223372036854775808
supermin: build: visiting
/<<PKGBUILDDIR>>/debian/build-4/appliance/supermin.d/packages type uncompressed
packages
supermin: build: visiting
/<<PKGBUILDDIR>>/debian/build-4/appliance/supermin.d/udev-rules.tar.gz type
gzip base image (tar)
tar: etc/udev/rules.d/99-guestfs-serial.rules: implausibly old time stamp
-9223372036854775808
tar: etc/udev/rules.d: implausibly old time stamp -9223372036854775808
tar: etc/udev: implausibly old time stamp -9223372036854775808
tar: etc: implausibly old time stamp -9223372036854775808
supermin: mapping package names to installed packages
supermin: resolving full list of package dependencies
supermin: build: 247 packages, including dependencies
supermin: build: 10324 files
supermin: build: 5081 files, after matching excludefiles
supermin: build: 5084 files, after adding hostfiles
supermin: build: 5084 files, after removing unreadable files
supermin: build: 5085 files, after munging
supermin: kernel: looking for kernel using environment variables ...
supermin: kernel: looking for kernels in /lib/modules/*/vmlinuz ...
supermin: kernel: looking for kernels in /boot ...
supermin: kernel: kernel version of /boot/vmlinuz-6.1.0-9-686-pae =
6.1.0-9-686-pae (from content)
supermin: kernel: picked modules path /lib/modules/6.1.0-9-686-pae
supermin: kernel: picked vmlinuz /boot/vmlinuz-6.1.0-9-686-pae
supermin: kernel: kernel_version 6.1.0-9-686-pae
supermin: kernel: modpath /lib/modules/6.1.0-9-686-pae
supermin: ext2: creating empty ext2 filesystem
'/<<PKGBUILDDIR>>/debian/build-4/tmp/.guestfs-2952/appliance.d.cs96n5v2/root'
supermin: ext2: populating from base image
supermin: error: lstat: Value too large for defined data type:
/var/tmp/supermin2b73c8.tmpdir/base.d/init
libguestfs: error: /usr/bin/supermin exited with error status 1, see debug
messages above
libguestfs: closing guestfs handle 0x57dcea80 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf
/<<PKGBUILDDIR>>/debian/build-4/tmp/libguestfsLo9Elv
make[2]: *** [Makefile:1763: quickcheck] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/build-4'
make[1]: *** [debian/rules:133: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
Cheers
--
Sebastian Ramacher
--- End Message ---
--- Begin Message ---
Control: fixed -1 1:1.50.1-4
The bug would only materialize if libguestfs, specifically the tarballs
for the Supermin appliance, had been built on a tmpfs as is the case on
Debian buildds.
The error message
> supermin: error: lstat: Value too large for defined data type:
> /<<PKGBUILDDIR>>/tmp/supermin105d28.tmpdir/base.d/init
The "lstat" call stems from ext2_copy_file() (supermin/src/ext2fs-c.c).
The strace output of the run does not show any syscalls that exit with
EOVERFLOW, but it also shows us that on i386, lstat) is a wrapper
around statx(2).
The error has nothing to do with large offsets: Warnings that are output
by tar while extracting the files for the ext2 filesystems hint at a
problematic timestamp:
> tar: init: implausibly old time stamp -9223372036854775808
This matches earlier warnings from tar that occurs while building the tarballs:
> tar: Substituting -9223372036854775807 for unknown date format ‘1690112017’
It turns out that tar's --mtime parameter I introduced for reproducible
builds was missing an "@" before the Unix timestamp. Adding it fixes the
FTBFS.
Cheers,
-Hilko
--- End Message ---