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

Bug#294287: Add test for arch-specific defines in arch all /usr/include/*.h files



Package: lintian
Version: 1.23.8
Severity: wishlist

See #294257, the arch:all package apache2-threaded-dev had a #define
WORDS_BIGENDIAN in one of its .h files, which is of course going to fuck
up a lot. Same for defining stuff like SIZEOF_LONG 4, or other
arch-specific features detected by autoconf. Somehow a list of those
would be useful to be able to detect it all, and also, one should then
detect /* #undef WORDS_BIGENDIAN */ too, for builds on non-bigendian
machines etc.

Thanks to Adam Conrad for managing to break mono with this :-P, and
afterwards helping me giving the right idea for a lintian test.

--Jeroen

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)

Versions of packages lintian depends on:
ii  binutils                   2.15-5        The GNU assembler, linker and bina
ii  diffstat                   1.35-1        produces graph of changes introduc
ii  file                       4.12-1        Determines file type using "magic"
ii  gettext                    0.14.1-7      GNU Internationalization utilities
ii  intltool-debian            0.30+20040213 Help i18n of RFC822 compliant conf
ii  man-db                     2.4.2-19      The on-line manual pager
ii  perl [libdigest-md5-perl]  5.8.4-5       Larry Wall's Practical Extraction 

-- no debconf information

-- 
Jeroen van Wolffelaar
jeroen@wolffelaar.nl
http://jeroen.A-Eskwadraat.nl



Reply to: