Hi Sebastian and Dominic,

I've  just realised that this mail was blocked in my draft stack :-/
so thanks to Laurent once again.

2011/4/27 Sebastian Harl <tok...@debian.org>

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

this is indeed a side effect of a recent fix.
I've fixed the above upstream (r2960), but have not yet had time to get back
on packaging...
@Seb: if you have a bit of time for an NMU

cheers,
Arnaud
-- 
Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.free.fr/

Reply via email to