Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373015 - net-libs/webkit-gtk-1.4.1-r200 fails to compile with error "invalid conversion from ‘int’ to ‘WebCore::ArabicCharShapingMode’ "
Summary: net-libs/webkit-gtk-1.4.1-r200 fails to compile with error "invalid conversio...
Status: RESOLVED INVALID
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:
 
Reported: 2011-06-25 18:11 UTC by Reimundo Heluani
Modified: 2011-06-25 23:42 UTC (History)
0 users

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


Attachments
Build log (build.log.gz,45.47 KB, text/plain)
2011-06-25 18:15 UTC, Reimundo Heluani
Details
emerge --info output (emerge.info.txt,4.61 KB, text/plain)
2011-06-25 20:19 UTC, Reimundo Heluani
Details
New build.log.gz (build.log.gz,105.65 KB, text/plain)
2011-06-25 22:30 UTC, Reimundo Heluani
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Reimundo Heluani 2011-06-25 18:11:18 UTC
Compilation fails with 

Source/WebCore/svg/SVGFont.cpp:82:1: error: invalid conversion from ‘int’ to ‘WebCore::ArabicCharShapingMode’
make[1]: *** [Source/WebCore/svg/libWebCore_la-SVGFont.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-1.4.1-r200/work/webkit-1.4.1'
make: *** [all] Error 2
 * ERROR: net-libs/webkit-gtk-1.4.1-r200 failed (compile phase):
 *   emake failed


Reproducible: Always

Steps to Reproduce:
1. run "emerge webkit-gtk" 
2. see it fail
3.
Actual Results:  
compilation fails

Expected Results:  
compilation to succeed
Comment 1 Reimundo Heluani 2011-06-25 18:15:41 UTC
Created attachment 278111 [details]
Build log
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-06-25 20:11:55 UTC
That shouldn't happen. What compiler are you using?

Please attach your emerge --info.
Comment 3 Reimundo Heluani 2011-06-25 20:19:03 UTC
Created attachment 278129 [details]
emerge --info output
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-06-25 20:25:15 UTC
Try building webkit-gtk without ccache (remove ccache from FEATURES in make.conf).
Comment 5 Reimundo Heluani 2011-06-25 22:22:09 UTC
(In reply to comment #4)

This is really weird, now it fails with a different error. I'm attaching new build log. Also, not sure if it's relevant but if I run

emerge -uNDv world then it tries to pick 1.4.1-r200 which is giving me this bug, but if I run 

emerge -1 webkit-gtk 

it picks 1.4.1-r300 which I haven't compiled.
Comment 6 Reimundo Heluani 2011-06-25 22:30:10 UTC
Created attachment 278171 [details]
New build.log.gz
Comment 7 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-06-25 22:45:43 UTC
Judging by your description and the log, I suspect that you have a hardware problem (e.g. bad memory) or that your gcc is broken somehow :/

(In reply to comment #5)
> Also, not sure if it's relevant but if I run
> 
> emerge -uNDv world then it tries to pick 1.4.1-r200 which is giving me this
> bug, but if I run 
> 
> emerge -1 webkit-gtk 
> 
> it picks 1.4.1-r300 which I haven't compiled.

That is normal behavior (1.4.1-r300 is the gtk3 version, 1.4.1-r200 is the gtk2 version, they have different slots and can be installed in parallel).
Comment 8 Reimundo Heluani 2011-06-25 23:42:26 UTC
(In reply to comment #7)
> Judging by your description and the log, I suspect that you have a hardware
> problem (e.g. bad memory) or that your gcc is broken somehow :/
> 

Yes, this bug should be closed, sorry for the fuzz, just emerged again and it did compile... I guess I'll have to run a memtest and or bootstrap the compiler.