FS#45063 - [hiredis] pkgconfig/hiredis.pc points to /usr/local

Attached to Project: Community Packages
Opened by Lucas Betschart (lclc) - Saturday, 23 May 2015, 19:43 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Tuesday, 26 May 2015, 14:01 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Massimiliano Torromeo (mtorromeo)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

#### Description:
The libdir and includefit in the hiredis pkgconfig file points to /usr/local/xyz instead of /usr/xyz

# See package content for file list, among others:
usr/include/hiredis/hiredis.h
usr/lib/libhiredis.so

### Current content of /usr/lib/pkgconfig/hiredis.pc:
prefix=/usr/local
exec_prefix=
libdir=/usr/local/lib
includedir=/usr/local/include/hiredis

Name: hiredis
Description: Minimalistic C client library for Redis.
Version: 0.12.1
Libs: -L -lhiredis
Cflags: -I -D_FILE_OFFSET_BITS=64

### Should be
prefix=/usr/
exec_prefix=
libdir=/usr/lib
includedir=/usr/include/hiredis

Name: hiredis
Description: Minimalistic C client library for Redis.
Version: 0.12.1
Libs: -L -lhiredis
Cflags: -I -D_FILE_OFFSET_BITS=64


I guess something is wrong here upstream: https://github.com/redis/hiredis/blob/master/Makefile#L17
This task depends upon

Closed by  Massimiliano Torromeo (mtorromeo)
Tuesday, 26 May 2015, 14:01 GMT
Reason for closing:  Fixed
Additional comments about closing:  hiredis-0.13.1-1 released and dependent packages rebuilt
Comment by Evangelos Foutras (foutrelis) - Tuesday, 26 May 2015, 13:23 GMT
Please note that hiredis 0.13 had a soname bump (libhiredis.so.0.12 -> libhiredis.so.0.13); the following packages need a rebuild:

gearmand
minetest-server
Comment by Lucas Betschart (lclc) - Tuesday, 26 May 2015, 13:40 GMT
[lucas@C984 ~]$ cat /usr/lib/pkgconfig/hiredis.pc
prefix=/usr/local
exec_prefix=
libdir=/usr/local/lib
includedir=/usr/local/include/hiredis

Name: hiredis
Description: Minimalistic C client library for Redis.
Version: 0.12.1
Libs: -L -lhiredis
Cflags: -I -D_FILE_OFFSET_BITS=64


Just installed the updated package on another system.
The new version doesn't fix it.
Comment by Massimiliano Torromeo (mtorromeo) - Tuesday, 26 May 2015, 13:42 GMT
Are you sure you installed version 0.13.1?
It's fine here and your hiredis.pc reports version 0.12.1

As for the gearmand and minetest-server packages, rebuilds are in progress. Sorry about that...
Comment by Lucas Betschart (lclc) - Tuesday, 26 May 2015, 13:57 GMT
huh, yes you're right sorry.
I just did a pacman -S hiredis and it picked 0.12.1.
I guess my mirror didn't update yet.

Yep, the one in the tar downloaded from here it looks good:

prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib
includedir=/usr/include/hiredis

Name: hiredis
Description: Minimalistic C client library for Redis.
Version: 0.13.1
Libs: -L${libdir} -lhiredis
Cflags: -I${includedir} -D_FILE_OFFSET_BITS=64


Thanks for the update!

Loading...