[Pkg-net-snmp-devel] Bug#710050: on kfreebsd-*, net-snmp-config asks to link on libsensors

Vincent Bernat bernat at debian.org
Mon May 27 23:36:27 UTC 2013


 ❦ 27 mai 2013 23:02 CEST, Vincent Bernat <bernat at debian.org> :

> Despite net-snmp package not depending on libsensors4-dev on
> kfreebsd-* and the dependency not pulled by another dependency,
> NetSNMP seems to believe it has a dependency to libsensors. Here is
> the output of `net-snmp-config --agent-libs` on a clean chroot of
> kFreeBSD i386:
>
>  -Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lsensors -ldl -lnetsnmpagent -lwrap -Wl,-E -lnetsnmp -lcrypto -lm
>
> I have looked a bit how this -lsensors could get here but I really
> have no clue. In the build log, it says:
>
> checking sensors/sensors.h usability... no
> checking sensors/sensors.h presence... no
> checking for sensors/sensors.h... no
>
> The only way to get -lsensors in LMIBLIBS is in
> configure.d/config_os_libs2 which would only work if the headers are
> found.

I just tried to recompile Net-SNMP on a clean schroot on fischer and I
don't get "-lsensors". The build log seems the same as this one:
 https://buildd.debian.org/status/fetch.php?pkg=net-snmp&arch=kfreebsd-i386&ver=5.7.2%7Edfsg-7&stamp=1369032347

So, I wonder if the binary currently in the archive comes from
buildd. Maybe it was compiled by hand on a system with libsensors4-dev
installed?
-- 
Write and test a big program in small pieces.
            - The Elements of Programming Style (Kernighan & Plauger)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/attachments/20130528/d68358a9/attachment.pgp>


More information about the Pkg-net-snmp-devel mailing list