[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 21:02:50 UTC 2013


Package: libsnmp-dev
Version: 5.7.2~dfsg-7
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi!

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.

Also, I didn't try, but libsensors4-dev is available on kFreeBSD.

- -- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libsnmp-dev depends on:
ii  libc6-dev        2.17-3
ii  libsensors4-dev  1:3.3.3-1
ii  libsnmp30        5.7.2~dfsg-7
ii  libssl-dev       1.0.1e-3
ii  libwrap0-dev     7.6.q-24
ii  procps           1:3.3.8-1

libsnmp-dev recommends no packages.

libsnmp-dev suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJRo8n1AAoJEJWkL+g1NSX5ncoP/iHs31A7rukWxYApM7v9iZin
h3m4/yhu41d0ifnqiHUcPZsfTmVq0K758eyV8vnBLTRAkePc47T1n0o8Lcb5U1bh
ihUVKr6xLoJE/uGchb2dsCQ/p99xSLw8V/TClrHm2tNV+8kQQI9BklNaRgQ7wuhw
mjKEOpRWkbGsS3hbpdlDAg0tBL+vP8qddEAxx4NBW9wLMznC0Gy0opZF9U1Vjyuq
mYLsTuxZfQzGxmm51uEeqPQP3pk1XD9qEKXWWjqGReyvvOdMu93wft/5zXk6zsBl
/lVA/WgdRj7GpUp4KFSZXU41lL2ct9fqG6nlPN2UN4JeTNwHG5cUXnujjVUXHARj
uNGzFUD3F/E5Xt1vXtHKKExPv8aA4awZDhUF5NQKS84XJQDNErvEXmn3yOAPDyO0
e1CGHxcDDiXSQ2Q5DBEDNaNb+/WogQv4tGT7BDoT56THnupNzlmFIzivQ2F9fErx
rWR1+h4we1yHRgKUGZT8YMUXDIy1p3rbhZMS8klY0v9MKuUO128E4sdyGWtvLTso
5qTXNaFvfDTHXdehp4Ql9rKkuNZ3u8uho9XRxBOt1OLkfypzwkErSnYDJHHlG5ZJ
NK6aiy3kROwcaEzCn8HNEDydiUu47jOX0aXVxsGA/I7gByR1XyhMP0zRn5Bm6xxS
DTgnW10XBSq/gkiHVUB8
=shOE
-----END PGP SIGNATURE-----



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