Bug#871956: lintian: false positive: binary-file-built-without-LFS-support on x32
Package: lintian
Version: 2.5.52
Severity: normal
Hi!
For all 32-bit architectures lintian complains if functions using off_t
instead of off64_t are used. On legacy architectures, this is indeed a good
check, as for old ABI compatibility reasons sizeof(off_t) is only 4.
However, new 32-bit architectures such as x32 have sizeof(off_t)==8, and
functions like lseek() and lseek64() are the same.
These include at least x32 and arm64ilp32.
Thus, could you please drop these architectures from has_lfs checks?
Reported by Thorsten Glaser, initially found in package cvs. Most packages
don't trigger this warning as "#define _FILE_OFFSET_BITS 64" pointlessly but
harmlessly aliases off_t to off64_t.
Meow!
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: x32 (x86_64)
Kernel: Linux 4.13.0-rc4-debug-00052-gbdd287aecdf1 (SMP w/6 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages lintian depends on:
ii binutils 2.29-4
ii bzip2 1.0.6-8.1
ii diffstat 1.61-1
ii dpkg 1.18.24
ii file 1:5.31-1
ii gettext 0.19.8.1-2+b3
ii intltool-debian 0.35.0+20060710.4
ii libapt-pkg-perl 0.1.32+b2
ii libarchive-zip-perl 1.59-1
ii libclass-accessor-perl 0.34-1
ii libclone-perl 0.38-2+b2
ii libdpkg-perl 1.18.24
ii libemail-valid-perl 1.202-1
ii libfile-basedir-perl 0.07-1
ii libipc-run-perl 0.96-1
ii liblist-moreutils-perl 0.416-1+b3
ii libparse-debianchangelog-perl 1.2.0-12
ii libperl5.26 [libdigest-sha-perl] 5.26.0-5
ii libtext-levenshtein-perl 0.13-1
ii libtimedate-perl 2.3000-2
ii liburi-perl 1.72-1
ii libxml-simple-perl 2.24-1
ii libyaml-libyaml-perl 0.63-2+b2
ii man-db 2.7.6.1-2
ii patchutils 0.3.4-2
ii perl 5.26.0-5
ii t1utils 1.40-2
ii xz-utils 5.2.2-1.3
Versions of packages lintian recommends:
pn libperlio-gzip-perl <none>
Versions of packages lintian suggests:
pn binutils-multiarch <none>
ii dpkg-dev 1.18.24
ii libhtml-parser-perl 3.72-3+b2
pn libtext-template-perl <none>
-- no debconf information
Reply to: