[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#670963: lintian: Warn (or at least inform) of non-LFS-enabled binaries



Package: lintian
Version: 2.5.6
Severity: wishlist

Hi!

Sometime ago there was a bug report filed against dpkg (#642573)
requesting to enabled LFS by default in dpkg-buildflags, but as stated
there, this is not something safe to do as it can cause unnoticed file
truncation, OOM errors if the software is slurping large files instead
of doing chunked I/O, offset wraparound if using the wrong types (ssize_t
instead of off_t, for example), wrongly placed or missing <config.h>
or similar inclusions, etc; so this is an action that requires actively
reviewing and testing the code.

But then I agree with Steve there, that LFS is a worthwhile goal, and
that we should strive to get as much as possible to be LFS enabled.
Jonathan, proposed to check binaries that use the non-LFS interfaces,
which should be pretty straight forward. There's a bit more detailed
information on that bug report, specifically in
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642573#35>.

It might make sense to start issues information tags, and after a
while maybe consider switching them to warnings? In case you don't
feel comfortable with issues warnings straight away.

(BTW, I'm aware of #178444, and although related I don't think they
request the same thing.)

thanks,
guillem



Reply to: