Control: reassign -1 lintian 2.68.0 Control: retitle -1 lintian: Should emit an error on non-debug files in dbgsym packages
Hi again, Axel Beckert wrote: > From upstream's (generated) Makefile: > > ------------------------------------------------------------------------ > linstall: | libipt_NETFLOW.so libip6t_NETFLOW.so > @echo " *" > install -D libipt_NETFLOW.so > $(DESTDIR)$(IPTABLES_MODULES)/libipt_NETFLOW.so > install -D libip6t_NETFLOW.so > $(DESTDIR)$(IPTABLES_MODULES)/libip6t_NETFLOW.so > ------------------------------------------------------------------------ There's one more interesting (surely generated) snippet in there: ------------------------------------------------------------------------ IPTABLES_MODULES = /usr/lib/debug/.dwz/x86_64-linux-gnu/iptables.debug ------------------------------------------------------------------------ Makefile.in looks like this in the same place: ------------------------------------------------------------------------ IPTABLES_MODULES = @IPTABLES_MODULES@ ------------------------------------------------------------------------ configure replaces this as follows: ------------------------------------------------------------------------ s!@IPTABLES_MODULES@!$IPTLIB! ------------------------------------------------------------------------ And from the build log: ------------------------------------------------------------------------ Iptables module path: /usr/lib/debug/.dwz/x86_64-linux-gnu/iptables.debug (from binary) ------------------------------------------------------------------------ And indeed, the way to determine this value seems to be buggy: ------------------------------------------------------------------------ $ strings /sbin/iptables | grep '^/.*lib.*/.*tables' /usr/lib/debug/.dwz/x86_64-linux-gnu/iptables.debug ------------------------------------------------------------------------ I searched the output of "strings /sbin/iptables" for other, similar paths, but there's just none: ------------------------------------------------------------------------ $ strings /sbin/iptables | grep 'usr' /usr/lib/debug/.dwz/x86_64-linux-gnu/iptables.debug $ strings /sbin/iptables | grep 'lib' /lib64/ld-linux-x86-64.so.2 libmnl.so.0 libnftnl.so.11 libxtables.so.12 libc.so.6 __libc_start_main /usr/lib/debug/.dwz/x86_64-linux-gnu/iptables.debug $ strings /sbin/iptables | grep 'x86' /lib64/ld-linux-x86-64.so.2 /usr/lib/debug/.dwz/x86_64-linux-gnu/iptables.debug ------------------------------------------------------------------------ So the main issue here seems upstream's self-written configure script that fails on recent iptables binaries. > Maybe lintian should warn about non-debug stuff in dbgsym packages? > I'll probably later retitle and reassign the bug report to lintian > accordingly — once I've better understood wtf is going on here. I'm convinced now that lintian should emit such a warning. Retitling and reassigning accordingly. This tag should be very likely of severity "error". Regards, Axel -- ,''`. | Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE