My question is how can i have both jsoncpp and json-c with two different /usr/include/json/json.h files on my system _________________"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."

Last edited by Kollin on Sat Feb 09, 2013 5:15 am; edited 1 time in total

I've got the same problem... I'm currently dealing with it by leaving chromium alone, and installing the google-chrome package instead.

Yes that is also an optional solution, i just hope that someone more knowledgeable than me (liek Paweł Hajdan, Jr. for example) will come up with a proper fix. _________________"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."

I already sent a PM to Paweł Hajdan, Jr with link to this thread. No response yet, he is on vacation probably

I'm thinking of filling a bug report, but i still cant decide against which package should i fill it _________________"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."

Today I updated to dev-libs/json-c-0.10 and now pulsaudio compiles fine but chromium fails with:

Code:

In file included from third_party/libjingle/source/talk/base/json.cc:28:0:
third_party/libjingle/source/talk/base/json.h:35:23: fatal error: json/json.h: No such file or directory
compilation terminated.

With the new version json-c installs it's json.h into /usr/include/json-c/
I.e. the only provider of json.h into /usr/include/json/ is jsoncpp now .
To compile chromium i had to install again jsoncpp, preserved-rebuild did not complain of the missing json.h into /usr/include/json/, but chromium did _________________"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."

And the new www-client/chromium-26.0.1403.0 compiles just fine, all issues are gone... Marking as 'solved' _________________"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."

I'm thinking of filling a bug report, but i still cant decide against which package should i fill it

Please do. If in doubt, just file it, it will be routed to the right people (usually both maintainers). File collision is always a bug, and when filed as bug it will always be fixed faster than when discussed on forums (which is one of the first things I drop when shorter on time)._________________http://phajdan-jr.blogspot.com/

I just got this conflict on the last couple of versions of chromium. i just masked them rather than bothering with editing the ebuild and stuff like that since it's just going to get overwritten the following week._________________"My father rode a camel. I drive a car. My son flies a jet-plane. His son will ride a camel."
Saudi saying
Too late to do anything about it, so just sit back and enjoy the fireworks.