app-admin/rsyslog-7.2.5 fails to build because the include path of dev-libs/json-c changed from '/usr/include/json' to '/usr/include/json-c' (cf. bug #452234). Find attached a patch to the ebuild that fixes the problem by sed'ing the relevant source files. Reproducible: Always
Created attachment 337538 [details, diff] rsyslog-7.2.5.ebuild_json-c.patch
I think the json-c package puts a symlink in the wrong place: # ls -l /usr/include/json-c/json lrwxrwxrwx 1 root root 9 Feb 2 04:28 /usr/include/json-c/json -> ../json-c I think that symlink belongs in /usr/include instead of /usr/include/json-c Making that change also fixes net-misc/grive, which has the same problem.
Could we please get a build.log and the output of "emerge --info rsyslog" here?
Created attachment 338680 [details] 0001-Use-pkg-config-to-detect-json-c.patch 0001-Use-pkg-config-to-detect-json-c.patch
+ 12 Feb 2013; Justin Lecher <jlec@gentoo.org> rsyslog-7.2.5.ebuild, + +files/rsyslog-7.2.5-json-c-pkgconfig.patch, metadata.xml: + Correct buildsystem so that json-c will be detected correctly by pkg-config, + #454944 +