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
Created attachment 278111 [details] Build log
That shouldn't happen. What compiler are you using? Please attach your emerge --info.
Created attachment 278129 [details] emerge --info output
Try building webkit-gtk without ccache (remove ccache from FEATURES in make.conf).
(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.
Created attachment 278171 [details] New build.log.gz
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).
(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.