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

Bug#958945: lintian,debhelper: lintian emits missing-dependency-on-libc on auto-generated dbgsym package



Hi,

Axel Beckert wrote:
> E: iptables-netflow-dkms-dbgsym: missing-dependency-on-libc needed by usr/lib/debug/.dwz/x86_64-linux-gnu/iptables.debug/libip6t_NETFLOW.so and 1 others
> 
> Since I can't really influence the automatic debug symbol package, this
> must be either a false positive in Lintian or a bug in debhelper.

The issue actually might be elsewhere and the error issued by Lintian
might be correct. I though actually still don't know what happens
here, especially not why.

>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
------------------------------------------------------------------------

For some reason this causes the file paths mentioned in the lintian
warning to be used:


------------------------------------------------------------------------
$ make -n DESTDIR=debian/tmp linstall
echo " *"
install -D libipt_NETFLOW.so debian/tmp/usr/lib/debug/.dwz/x86_64-linux-gnu/iptables.debug/libipt_NETFLOW.so
install -D libip6t_NETFLOW.so debian/tmp/usr/lib/debug/.dwz/x86_64-linux-gnu/iptables.debug/libip6t_NETFLOW.so
$ echo $IPTABLES_MODULES

$
------------------------------------------------------------------------

So I suspect this is the cause for the then likely correct but kinda
misleading lintian warning.

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.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@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


Reply to: