Control: tag -1 + patch
On Sun, 27 May 2018 22:09:07 +0300, Niko Tyni wrote:
> It probably broke with
>
> openipmi (2.0.25-1) unstable; urgency=medium
>
> [...]
> * move pkg-config files to a multiarch location. Thanks Helmut
> closes: Bug#852739
> [...]
>
> -- Noël Köthe Fri, 18 May 2018 13:44:36 +0200
>
>
> From the build log:
>
> # This is a work-around for #474087 (broken openipmi .pc files).
> mkdir debian/pkgconfig
> sed -re 's/^(Requires:.*) pthread(.*)$/\1\2/' \
> /usr/lib/pkgconfig/OpenIPMIpthread.pc \
> > debian/pkgconfig/OpenIPMIpthread.pc
> sed: can't read /usr/lib/pkgconfig/OpenIPMIpthread.pc: No such file or
> directory
> make: *** [debian/rules:205: build-stamp] Error 2
> dpkg-buildpackage: error: debian/rules build subprocess returned exit
> status 2
I believe the attached patch fixes the problem.
Happy to NMU if the maintainers are busy.
Cheers,
gregor
--
.''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`- NP: Bob Dylan: Most likely you go your way and I'll go mine
diff -Nru collectd-5.8.0/debian/changelog collectd-5.8.0/debian/changelog
--- collectd-5.8.0/debian/changelog 2018-05-04 16:52:07.0 +0200
+++ collectd-5.8.0/debian/changelog 2018-06-18 19:02:51.0 +0200
@@ -1,3 +1,14 @@
+collectd (5.8.0-5.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix "FTBFS: sed: can't read /usr/lib/pkgconfig/OpenIPMIpthread.pc:
+No such file or directory":
+Drop hack for broken OpenIPMIpthread.pc from debian/rules; apparently the
+problem in #474087 was fixed in 2010.
+(Closes: #900232)
+
+ -- gregor herrmann Mon, 18 Jun 2018 19:02:51 +0200
+
collectd (5.8.0-5) unstable; urgency=medium
* debian/rules:
diff -Nru collectd-5.8.0/debian/rules collectd-5.8.0/debian/rules
--- collectd-5.8.0/debian/rules 2018-05-04 16:39:28.0 +0200
+++ collectd-5.8.0/debian/rules 2018-06-18 19:02:51.0 +0200
@@ -200,13 +200,6 @@
dh_autoreconf
- # This is a work-around for #474087 (broken openipmi .pc files).
- mkdir debian/pkgconfig
- sed -re 's/^(Requires:.*) pthread(.*)$$/\1\2/' \
- /usr/lib/pkgconfig/OpenIPMIpthread.pc \
- > debian/pkgconfig/OpenIPMIpthread.pc
-
- PKG_CONFIG_PATH="$(CURDIR)/debian/pkgconfig:$$PKG_CONFIG_PATH" \
./configure $(confflags) CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
JAVAC="$(JAVAC)" JAR="$(JAR)" JAVA_CPPFLAGS="$(JAVA_CPPFLAGS)" \
JAVA_LDFLAGS="$(JAVA_LDFLAGS)" \
signature.asc
Description: Digital Signature