Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 508864

Summary: net-libs/czmq fails to report version
Product: Gentoo Linux Reporter: Dan Molik <dan>
Component: [OLD] LibraryAssignee: Justin Lecher (RETIRED) <jlec>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/zeromq/czmq/issues/458
Whiteboard:
Package list:
Runtime testing required: ---

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
+