Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 396733 - www-client/chromium-17.0.963.12-r1: error: ‘g_get_language_names’ was not declared in this scope
Summary: www-client/chromium-17.0.963.12-r1: error: ‘g_get_language_names’ was not de...
Status: RESOLVED DUPLICATE of bug 395773
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-01-01 21:33 UTC by Vasco Gervasi
Modified: 2012-01-03 17:05 UTC (History)
1 user (show)

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


Attachments
Build.log (build.log.tar.gz,127.32 KB, text/plain)
2012-01-01 21:33 UTC, Vasco Gervasi
Details
Patch to Chromium 17.0.963.12 sources to enable compilation against >=dev-util/glib-2.31 (chromium-glib-2.31-compatibility.patch,781 bytes, patch)
2012-01-03 07:23 UTC, Robin Kauffman
Details | Diff
Patch to bring chromium 17.0.963.12 ebuild to -r2 (chromium-17.0.963.12-r2.ebuild.patch,363 bytes, patch)
2012-01-03 07:26 UTC, Robin Kauffman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vasco Gervasi 2012-01-01 21:33:26 UTC
Created attachment 297577 [details]
Build.log

Hi all,
I am trying to emerge www-client/chromium-17.0.963.12-r1 but it gives me this error:

ui/base/l10n/l10n_util.cc: In function ‘std::string l10n_util::GetApplicationLocale(const string&)’:
ui/base/l10n/l10n_util.cc:420:55: error: ‘g_get_language_names’ was not declared in this scope
make: *** [out/Release/obj.target/ui/ui/base/l10n/l10n_util.o] Errore 1
make: *** Attesa dei processi non terminati....

There is a report on http://code.google.com/p/chromium/issues/detail?id=108431
Comment 1 Robin Kauffman 2012-01-02 23:23:33 UTC
Hi-
    This has been documented (and a fix proposed) in upstream bug 104911.  As of 12/31/2011 (sorry, I'm a little out of date), it hasn't been fixed in SVN HEAD, but likely will be committed to the SCM soon (and thus will show up in the live ebuild).
Here is the link:
http://code.google.com/p/chromium/issues/detail?id=104911

    I can make an updated ebuild with patch for the stable version (16.0.912.63, which is afflicted by the same issue with >=dev-libs/glib-2.31.0), or the current masked version (or live ebuild).  I will try whipping up a small patch and will see if it works.  I'll also update when upstream has committed the fix to SVN, so we know not to include the patch in the live ebuild.  Thank you for all of your hard work on this guys, I know tracking changes to unstable packages is a pain.

        -Robin K.
Comment 2 Robin Kauffman 2012-01-03 07:23:31 UTC
Created attachment 297761 [details, diff]
Patch to Chromium 17.0.963.12 sources to enable compilation against >=dev-util/glib-2.31

This is the glib compatibility patch for Chromium 17.0.963.12.  It may work for 16.0.912.63 or the live (:live/-9999) ebuild, I haven't tried.  It does seem to fix the two issues mentioned in this bug, though.
Apologies, I posted the wrong link last time.  The proper bug report (with the fix) is at: http://code.google.com/p/chromium/issues/detail?id=104911 .
Credit goes to Mike for submitting the bug and fix to the upstream bugtracker.  We should see this in SVN upstream eventually, but for now a patch is required for every ebuild currently in the tree.
Comment 3 Robin Kauffman 2012-01-03 07:26:57 UTC
Created attachment 297763 [details, diff]
Patch to bring chromium 17.0.963.12 ebuild to -r2

This is a patch to bring chromium-17.0.963.12-r1 to -r2 and include the patch attached above.  It should apply against chromium-17.0.963.12-r1.ebuild in the tree.  If not, please let me know.  I have tested this ebuild and it successfully builds against glib-9999 (merged 12/29/2011) with GCC 4.6.2.  If there are any concerns, please let me know.
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-01-03 17:05:15 UTC

*** This bug has been marked as a duplicate of bug 395773 ***