FS#49990 - [jsoncpp] pkgconfig paths are broken, preventing reverse dependencies from building

Attached to Project: Arch Linux
Opened by Baptiste (zorun) - Thursday, 07 July 2016, 23:18 GMT
Last edited by Jan de Groot (JGC) - Monday, 08 August 2016, 22:28 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Anatol Pomozov (anatolik)
Levente Polyak (anthraxx)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

There is a regression introduced in jsoncpp 1.7.3.

Basically, paths in /usr/lib/pkgconfig/jsoncpp.pc are now relative, which breaks any program using pkgconfig to build against jsoncpp. For instance, ring-daemon [1] from the AUR is affected:

CXXLD libring.la
/tmp/ring-daemon/src/ring-daemon/src/../libtool: line 7486: cd: lib: No such file or directory
libtool: error: cannot determine absolute directory name of 'lib'
make[3]: *** [Makefile:670: libring.la] Error 1

There may be other packages that are affected.

The upstream bug report is here: https://github.com/open-source-parsers/jsoncpp/pull/493

Upstream seems quite active, so I think we will get a 1.7.4 version fixing the issue fairly soon. Otherwise, it would be necessary to patch the Archlinux package.

[1] https://aur.archlinux.org/packages/ring-daemon/
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 08 August 2016, 22:28 GMT
Reason for closing:  Fixed
Comment by Anatol Pomozov (anatolik) - Friday, 08 July 2016, 22:14 GMT
jsoncpp-1.7.3-2 with the upstream fix has been pushed to [testing]. Please verify that it works for you as expected.
Comment by Baptiste (zorun) - Saturday, 09 July 2016, 18:35 GMT
Thanks, the package in [testing] works fine.

There is new upstream release: https://github.com/open-source-parsers/jsoncpp/releases

Loading...