Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468610 - app-admin/abrt fails to configure - Package 'json', required by 'libreport-web', not found
Summary: app-admin/abrt fails to configure - Package 'json', required by 'libreport-we...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 467644
  Show dependency tree
 
Reported: 2013-05-04 21:21 UTC by Justin Lecher (RETIRED)
Modified: 2013-09-12 03:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log (config.log,45.19 KB, text/plain)
2013-05-04 21:21 UTC, Justin Lecher (RETIRED)
Details
build.log (build.log,9.91 KB, text/plain)
2013-05-04 21:22 UTC, Justin Lecher (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2013-05-04 21:21:07 UTC
config.log:

configure:13909: $PKG_CONFIG --exists --print-errors "libreport-gtk"
configure:13912: $? = 0
configure:13926: $PKG_CONFIG --exists --print-errors "libreport-gtk"
configure:13929: $? = 0
configure:13987: result: yes
configure:13993: checking for LIBREPORT_WEB
configure:14000: $PKG_CONFIG --exists --print-errors "libreport-web"
Package json was not found in the pkg-config search path.
Perhaps you should add the directory containing `json.pc'
to the PKG_CONFIG_PATH environment variable
Package 'json', required by 'libreport-web', not found
configure:14003: $? = 1
configure:14017: $PKG_CONFIG --exists --print-errors "libreport-web"
Package json was not found in the pkg-config search path.
Perhaps you should add the directory containing `json.pc'
to the PKG_CONFIG_PATH environment variable
Package 'json', required by 'libreport-web', not found
configure:14020: $? = 1
configure:14034: result: no
Package 'json', required by 'libreport-web', not found
configure:14050: error: Package requirements (libreport-web) were not met:

Package 'json', required by 'libreport-web', not found

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

and LIBREPORT_WEB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2013-05-04 21:21:58 UTC
Created attachment 347382 [details]
config.log

config.log
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2013-05-04 21:22:21 UTC
Created attachment 347384 [details]
build.log

build.log
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2013-05-04 21:33:15 UTC
the pkg-config file says

Requires: glib-2.0 libcurl libproxy-1.0 libxml-2.0 json btparser libreport

the json needs to be fixed to json-c
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-09-11 08:45:13 UTC
Do you really need half a year to fix this?!
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-09-12 03:55:03 UTC
(In reply to Michał Górny from comment #4)

Sorry. And thanks for fixing this upstream.

+*libreport-2.0.13-r1 (12 Sep 2013)
+
+  12 Sep 2013; Alexandre Rostovtsev <tetromino@gentoo.org>
+  -libreport-2.0.10.ebuild, +libreport-2.0.13-r1.ebuild,
+  -files/libreport-2.0.9-gentoo.patch,
+  -files/libreport-2.0.9-no-bugzilla.patch,
+  +files/libreport-2.0.13-json-c-0.11-pc.patch:
+  Really fix json-c-0.11 compatibility (bug #468610, thanks to Michał Górny
+  for the patch). Modernize ebuild. Drop old.