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

Bug 467700

Summary: dev-libs/libreport-2.0.13 fails to build with dev-libs/json-c-0.11
Product: Gentoo Linux Reporter: Maciej Piechotka <uzytkownik2>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/abrt/libreport/pull/159
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 467644    

Description Maciej Piechotka 2013-04-28 08:45:27 UTC
dev-libs/libreport-2.0.13 fails to build with dev-libs/json-c-0.11. This is the same problem as was with pulseaudio:

checking for JSON_C... no
configure: error: Package requirements (json) were not met:

No package 'json' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables JSON_C_CFLAGS
and JSON_C_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2013-04-28 09:56:24 UTC
An emerge --info and build.log would be nice
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-04-28 14:38:59 UTC
Fixed, thanks.

+  28 Apr 2013; Alexandre Rostovtsev <tetromino@gentoo.org>
+  libreport-2.0.13.ebuild, +files/libreport-2.0.13-json-c-0.11.patch:
+  Fix building with json-c-0.11 (bug #467700, thanks to Markos Chandras for the
+  patch).