reassign 624255 libupsclient1-dev 2.6.0-1 retitle 624255 libupsclient1-dev: broken .pc file severity 624255 serious thanks
Hi, Dominic, thanks for reporting this! On Tue, Apr 26, 2011 at 11:06:39PM +0100, Dominic Hargreaves wrote: > Package: collectd > This package fails to build from source in a clean sid chroot: > [...] > > nut . . . . . . . . . no (dependency error) > > configure: error: "Some plugins are missing dependencies - see the summary > above for details" config.log reveals: > configure:22249: checking for upscli_connect in -lupsclient > configure:22274: i486-linux-gnu-gcc -o conftest -Wall -g -O2 > -I/build/dom-collectd_4.10.1-2.1-i386-S9gxuK/collectd-4.10.1/debian/include > -DLT_LAZY_OR_NOW='RTLD_LAZY|RTLD_GLOBAL' -UCONFIGFILE > -DCONFIGFILE='"/etc/collectd/collectd.conf"' @LIBSSL_LDFLAGS@ -L/lib > -lupsclient conftest.c -lupsclient -ldl >&5 > i486-linux-gnu-gcc: @LIBSSL_LDFLAGS@: No such file or directory This is due to a wrong 'Libs' entry in the libupsclient pkg-config (.pc) file: Libs: -L${libdir} -lupsclient @LIBSSL_LDFLAGS@ collectd determines the linker flags using 'pkg-config --libs libupsclient' which obviously returns '@LIBSSL_LDFLAGS@ -L/lib -lupsclient'. I've reassigned the bug to libupsclient1-dev. I suppose that LIBSSL_LDFLAGS has to be replaced with LIBSSL_LIBS in lib/libupsclient.pc.in (and lib/libupsclient-config.in). Cheers, Sebastian -- Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/ Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin
signature.asc
Description: Digital signature