Bug#624255: collect: FTBFS: nut dependency error
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 RD - 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/
Bug#624255: collect: FTBFS: nut dependency error
block 624255 by 617212 thanks On Sat, May 07, 2011 at 01:26:28AM +0200, Laurent Bigonville wrote: To the 'nut' maintainer(s): are you able to upload a new version of the package with the fix in the next few days? If not, I'm happy to NMU. This issue is currently one of the blockers for the perl 5.12 transition (via collectd). I've applied the patch in the repository but I've trouble to build the package due to dependency issues with perl packages :( The following packages have unmet dependencies: libsnmp-perl: Depends: perlapi-5.10.1 which is a virtual package. libperl5.10: Depends: perl-base (= 5.10.1-20) but 5.12.3-6 is installed. Unable to resolve dependencies! Giving up... I will upload the package as soon as it build in my chroot. Aha, OK. I hadn't spotted the libsnmp-perl dependency. That's currently blocked by #617212 (net-snmp FTBFS). I'll leave it up to you to upload once that's fixed. Thanks for your work on the nut package! -- Chris Butler chr...@debian.org GnuPG Key ID: 4096R/49E3ACD3 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#624255: collect: FTBFS: nut dependency error
tags 624255 +patch thanks On Wed, Apr 27, 2011 at 08:32:26AM +0200, Sebastian Harl wrote: 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). Sebastian looks to be correct here, I've tried building the package with the attached patch, and the resulting .pc file is correctly generated with the appropriate libraries. To the 'nut' maintainer(s): are you able to upload a new version of the package with the fix in the next few days? If not, I'm happy to NMU. This issue is currently one of the blockers for the perl 5.12 transition (via collectd). -- Chris Butler chr...@debian.org GnuPG Key ID: 4096R/49E3ACD3 diff --git a/lib/libupsclient.pc.in b/lib/libupsclient.pc.in index eb6826c..4ad31fb 100644 --- a/lib/libupsclient.pc.in +++ b/lib/libupsclient.pc.in @@ -9,5 +9,5 @@ nutuser=@RUN_AS_USER@ Name: libupsclient Description: UPS monitoring with Network UPS Tools Version: @PACKAGE_VERSION@ -Libs: -L${libdir} -lupsclient @LIBSSL_LDFLAGS@ +Libs: -L${libdir} -lupsclient @LIBSSL_LIBS@ Cflags: -I${includedir} @LIBSSL_CFLAGS@
Bug#624255: collect: FTBFS: nut dependency error
Le Fri, 6 May 2011 23:45:37 +0100, Chris Butler chr...@debian.org a écrit : Hi, To the 'nut' maintainer(s): are you able to upload a new version of the package with the fix in the next few days? If not, I'm happy to NMU. This issue is currently one of the blockers for the perl 5.12 transition (via collectd). I've applied the patch in the repository but I've trouble to build the package due to dependency issues with perl packages :( The following packages have unmet dependencies: libsnmp-perl: Depends: perlapi-5.10.1 which is a virtual package. libperl5.10: Depends: perl-base (= 5.10.1-20) but 5.12.3-6 is installed. Unable to resolve dependencies! Giving up... I will upload the package as soon as it build in my chroot. Cheers Laurent Bigonville -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#624255: collect: FTBFS: nut dependency error
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