Applying this patch to nut allows collectd to compile with the nut plugin enabled once more http://pkgs.fedoraproject.org/cgit/nut.git/tree/nut-2.7.1-fixupslog.patch?id=d6655ef281dbeb55d604241b23e939b7e4582ea2 The symptoms are exactly as reported here: https://bugzilla.redhat.com/show_bug.cgi?id=1071919 Reproducible: Always Steps to Reproduce: 1. Attempt to compile collectd with the nut plugin enabled. 2. 3. Actual Results: Build failure as per redhat bug above... Expected Results: Compilation succeeds
Thanks for filing the bug. I'll have a look at this shortly.
This is probably related: https://github.com/networkupstools/nut/issues/73 ..should be fixed with nut 2.7.2. Can you please test bumping locally? @prometheanfire: Please look at bumping nut. Thanks!
I can confirm bumping nut locally to 2.7.2 also solved the problem. FYI I had to comment out some patches from the 2.7.2 ebuild to get nut to compile 2.7.2 (I guess those fixes aren't needed anymore, but I didn't do any checking other than it still produced a working upsc, and collectd compiled against the new libupsclient.so) duality nut # diff nut-2.7.1.ebuild nut-2.7.2.ebuild 91d90 < ht_fix_file configure.in 93c92 < epatch "${FILESDIR}"/${PN}-2.4.1-no-libdummy.patch 100,102c99,101 < sed -e "s:GD_LIBS.*=.*-L/usr/X11R6/lib \(.*\) -lXpm -lX11:GD_LIBS=\"\1:" \ < -e '/systemdsystemunitdir=.*echo.*sed.*libdir/s,^,#,g' \ < -i configure.in || die
Good to hear. Lets hear back from prometheanfire regarding bumping nut and then possibly version the dependency from collectd.
ok, nut bumped
commit 0351034075163e36645165d2b1e5683fd7511015 (HEAD -> master) Merge: a0b7390 3b459b6 Author: Patrice Clement <monsieurp@gentoo.org> Date: Mon Feb 29 15:31:16 2016 +0000 Merge github#887: app-admin/collectd: Version bump to v5.5.1 This PR bumps collectd to version 5.5.1 and fixes a raft of bugs. See commit 3b459b6d37f22f9da2c070173756bf12de2591f0 for a lengthy explanation concerning the changes involved. Pull-Request: https://github.com/gentoo/gentoo/pull/887 Gentoo-Bug: https://bugs.gentoo.org/570766 Gentoo-Bug: https://bugs.gentoo.org/517060 Gentoo-Bug: https://bugs.gentoo.org/524400 Gentoo-Bug: https://bugs.gentoo.org/570778 Reporter: Thomas D <whissi@whissi.de> Acked-by: Johan Bergström <bugs@bergstroem.nu> Signed-off-by: Patrice Clement <monsieurp@gentoo.org>