[Kea-users] Build warnings under Debian Stretch

Francis Dupont fdupont at isc.org
Mon Feb 5 12:18:47 UTC 2018


Jason Guy writes:
> In my latest build, I see a few warnings, and I was not sure if these are
> something I should file a bug for, or simply ignore under Debian. None of
> these cause a problem, but I want to verify these will not be an issue:

=> useless dependency is just useless...

> dpkg-shlibdeps: warning: package could avoid a useless dependency if
> debian/kea-common/usr/lib/x86_64-linux-gnu/libkea-dhcpsrv.so.8.0.0 was not
> linked against libz.so.1 (it uses none of the library's symbols)

=> I am afraid this libz dependency is very indirect, perhaps from
a crypto library. config.status should say more but it should not be
enough a problem to justify an effort to solve it.

> dpkg-shlibdeps: warning: package could avoid a useless dependency if
> debian/kea-common/usr/lib/x86_64-linux-gnu/hooks/libdhcp_lease_cmds.so
> debian/kea-common/usr/lib/x86_64-linux-gnu/libkea-dhcp_ddns.so.1.0.2
> debian/kea-common/usr/lib/x86_64-linux-gnu/libkea-process.so.1.0.0
> debian/kea-common/usr/lib/x86_64-linux-gnu/libkea-dhcpsrv.so.8.0.0 were not
> linked against libkea-cfgclient.so.4 (they use none of the library's
> symbols)
>    dh_installdeb -O-B
>    dh_gencontrol -O-B

=> a bit more surprising. BTW what is the version of lease cmds hook code?

> dpkg-gencontrol: warning: Depends field of package kea-dev: unknown
> substitution variable ${shlibs:Depends}
>    dh_md5sums -O-B
>    dh_builddeb -O-B

=> fully Debian specific (and internal). IMHO this should be ignored.

Thanks

Francis Dupont <fdupont at isc.org>

PS: I noted we should look at the Debian tool which detects useless
dependencies.



More information about the Kea-users mailing list