FS#43081 - [glusterfs] Glusterfs report wrong version to pkg-config

Attached to Project: Community Packages
Opened by Patryk Kowalczyk (patryk) - Thursday, 11 December 2014, 19:20 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 03 March 2015, 17:56 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Glusterfs report vron version to pkg-config


Additional info:
* version 3.6.x
* file /usr/lib/pkgconfig/glusterfs-api.pc keep version "0.0.0". Should be 3.6.1
f.ex.:

cat /usr/lib/pkgconfig/glusterfs-api.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: glusterfs-api
Description: GlusterFS API
/* This is the API version, NOT package version */
Version: 3.6.1
Libs: -L${libdir} -lgfapi -lglusterfs -lgfrpc -lgfxdr
Cflags: -I${includedir}/glusterfs -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64


Steps to reproduce:
* try compile qemu with glusterfs support.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 03 March 2015, 17:56 GMT
Reason for closing:  Fixed
Comment by Patryk Kowalczyk (patryk) - Thursday, 11 December 2014, 19:21 GMT
Version could be also "3".
Comment by Doug Newgard (Scimmia) - Friday, 12 December 2014, 02:41 GMT
Since it's specifically the API version instead of the package version, why would it be 3.6.1?
Comment by Patryk Kowalczyk (patryk) - Saturday, 13 December 2014, 09:41 GMT
I just tested 3.6.1 and 3. I dont know which revision should be.

http://blog.gluster.org/2014/11/some-notes-on-libgfapi-so-symbol-versions-in-glusterfs-3-6-1-2/
Maybe "6" will be ok for now.


best regards,
Comment by Sergej Pupykin (sergej) - Tuesday, 03 March 2015, 17:56 GMT
qemu builds right against glusterfs 3.6.2 using --enable-glusterfs.

Loading...