Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 508864 - net-libs/czmq fails to report version
Summary: net-libs/czmq fails to report version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-04-27 12:24 UTC by Dan Molik
Modified: 2014-04-27 16:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Molik 2014-04-27 12:24:54 UTC
When building rsyslog with zeromq support, rsyslog ensures that czmq has a version greater than 1.0.2 or something, and then fails out becauase czmq is not correctly reporting it's own version.

I was able to correct the version reporiting with the following:
 src_prepare() {
 	sed -i -e 's|-Werror||g' configure.ac || die
+	sed -i -e "s/^\(AC_INIT(\[czmq\],\).*\(,\[zeromq-dev\@lists\.zeromq\.org\])\)/\1\[$PV\]\2/" configure.ac || die
 	autotools-utils_src_prepare
 }


Reproducible: Always

Steps to Reproduce:
1. build latest version of rsyslog (8.2.1) with zeromq support.


Expected Results:  
czmq should report the correct version
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2014-04-27 15:27:40 UTC
which version of czmq are you using?
Comment 2 Dan Molik 2014-04-27 15:32:41 UTC
This was latest (2.1.0) but I think it affects all versions >=2.0
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2014-04-27 16:00:55 UTC
+  27 Apr 2014; Justin Lecher <jlec@gentoo.org> czmq-2.0.3.ebuild,
+  czmq-2.1.0.ebuild, +files/version.sh:
+  Fix missing verison number in pkg-config file, #508864
+