Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 354343 - www-client/chromium-9999 fails to compile (i18n-extension.o: No such file or directory)
Summary: www-client/chromium-9999 fails to compile (i18n-extension.o: No such file or ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-10 10:59 UTC by Julien Sanchez
Modified: 2011-02-18 10:52 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Sanchez archtester 2011-02-10 10:59:26 UTC
When emerging chromium-9999, it fails with the following error:

x86_64-pc-linux-gnu-ar: out/Release/obj.target/i18n_api/v8/src/extensions/experimental/i18n-extension.o: No such file or directory
make: *** [out/Release/obj.target/v8/src/extensions/experimental/libi18n_api.a] Error 1
make: *** Waiting for unfinished jobs....
emake failed

I suppose it's due to system V8 use.


=================================================================
                        Package Settings
=================================================================

www-client/chromium-9999 was built with the following:
USE="cups gecko-mediaplayer gnome gnome-keyring (multilib) -test"
CFLAGS="-O2 -pipe -march=native -ggdb -DGENTOO_CHROMIUM_ENABLE_GECKO_MEDIAPLAYER"
CXXFLAGS="-O2 -pipe -march=native -ggdb -DGENTOO_CHROMIUM_ENABLE_GECKO_MEDIAPLAYER"
Comment 1 Mike Gilbert gentoo-dev 2011-02-10 20:46:07 UTC
I get the same error. I disabled system v8 in my overlay and got it to build successfully.

I guess I have my weekend project! :)
Comment 2 Mike Gilbert gentoo-dev 2011-02-16 04:48:11 UTC
I've tracked this down to this webkit changeset:
http://trac.webkit.org/changeset/78095/trunk

Looks like this will take some work to untangle.
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-02-16 07:14:00 UTC
(In reply to comment #2)
> I've tracked this down to this webkit changeset:
> http://trac.webkit.org/changeset/78095/trunk

Great, thank you!

> Looks like this will take some work to untangle.

Not necessarily, we can just disable ENABLE_JAVASCRIPT_I18N_API in features.gypi, and if necessary patch out this gyp change:

+        ['javascript_engine=="v8"', {
+          'dependencies': [
+            '<(chromium_src_dir)/v8/src/extensions/experimental/experimental.gyp:i18n_api',
+          ],
+        }],
Comment 4 Mike Gilbert gentoo-dev 2011-02-17 02:45:09 UTC
(In reply to comment #3)
> Not necessarily, we can just disable ENABLE_JAVASCRIPT_I18N_API in
> features.gypi, and if necessary patch out this gyp change: 

Yup, I already have a patch for WebCore.gyp.

For the ENABLE_JAVASCRIPT_I18N_API part, is there a way to do that with a gyp -D flag, or do I need to patch/sed features.gyp (or build/features_override.gypi)?

I thought this would be more complicated because I was going get the feature working rather than disabling it. I'll poke around some more anyway.
Comment 5 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-02-17 07:02:47 UTC
(In reply to comment #4)
> For the ENABLE_JAVASCRIPT_I18N_API part, is there a way to do that with a gyp
> -D flag, or do I need to patch/sed features.gyp (or
> build/features_override.gypi)?

I think you'd have to patch it, but in a way that allows control via -D flags. Some examples can be found in http://codesearch.google.com/codesearch/p#OAMlx_jo-ck/src/build/features_override.gypi&exact_package=chromium

> I thought this would be more complicated because I was going get the feature
> working rather than disabling it. I'll poke around some more anyway.

Maybe we can compile dev-lang/v8 with those experimental features compiled in. That generally sounds good.
Comment 6 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-02-18 10:52:16 UTC
Should be fixed, thanks for reporting.