Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 389213 - [gnome-overlay] net-libs/webkit-gtk-1.7.1-r200: build fails in JavaScriptCore
Summary: [gnome-overlay] net-libs/webkit-gtk-1.7.1-r200: build fails in JavaScriptCore
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-01 17:14 UTC by blakawk
Modified: 2011-11-01 18:58 UTC (History)
0 users

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


Attachments
build.log (build.log,325.12 KB, text/plain)
2011-11-01 17:57 UTC, blakawk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description blakawk 2011-11-01 17:14:57 UTC
Webkit-gtk cannot be installed because of a compilation error in JavaScripCore.

Reproducible: Always

Steps to Reproduce:
1. layman -a gnome
2. emerge =net-libs/webkit-gtk-1.7.1-r200
Actual Results:  
./doltlibtool --silent --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.  -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DENABLE_GLIB_SUPPORT=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DXP_UNIX -DWTF_USE_ICU_UNICODE=1   -DWTF_USE_GSTREAMER=1 -DGTK_API_VERSION_2=1 -DNDEBUG   -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/dfg -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf/gobject -I./Source/JavaScriptCore/wtf/gtk -I./Source/JavaScriptCore/wtf/text -I./Source/JavaScriptCore/wtf/unicode -I./Source/JavaScriptCore/yarr -I./Source/JavaScriptCore -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/runtime  -fno-rtti -fstrict-aliasing -O3  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/include  -O2 -march=core2 -mtune=core2 -fomit-frame-pointer -pipe -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -floop-parallelize-all  -c -o Source/JavaScriptCore/runtime/libjavascriptcoregtk_1_0_la-RegExp.lo `test -f 'Source/JavaScriptCore/runtime/RegExp.cpp' || echo './'`Source/JavaScriptCore/runtime/RegExp.cpp
In file included from ./Source/JavaScriptCore/runtime/JSObject.h:37:0,
                 from ./Source/JavaScriptCore/runtime/JSArray.h:24,
                 from ./Source/JavaScriptCore/runtime/JSGlobalObject.h:25,
                 from ./Source/JavaScriptCore/runtime/Lookup.h:27,
                 from ./Source/JavaScriptCore/parser/Lexer.h:27,
                 from Source/JavaScriptCore/runtime/RegExp.cpp:26:
./Source/JavaScriptCore/runtime/JSString.h: In static member function 'static JSC::JSString* JSC::JSString::createHasOtherOwner(JSC::JSGlobalData&, WTF::PassRefPtr<WTF::StringImpl>)':
./Source/JavaScriptCore/runtime/JSString.h:190:40: error: expected type-specifier before 'allocateCell'
./Source/JavaScriptCore/runtime/JSString.h:190:40: error: expected ')' before 'allocateCell'
./Source/JavaScriptCore/runtime/JSString.h:190:40: error: expected ',' or ';' before 'allocateCell'
make[1]: *** [Source/JavaScriptCore/runtime/libjavascriptcoregtk_1_0_la-RegExp.lo] Error 1
make[1]: Leaving directory `/tmp/portage/net-libs/webkit-gtk-1.7.1-r200/work/webkit-1.7.1'
make: *** [all] Error 2
 * ERROR: net-libs/webkit-gtk-1.7.1-r200 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =net-libs/webkit-gtk-1.7.1-r200',
 * the complete build log and the output of 'emerge -pqv =net-libs/webkit-gtk-1.7.1-r200'.
 * The complete build log is located at '/tmp/portage/net-libs/webkit-gtk-1.7.1-r200/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/net-libs/webkit-gtk-1.7.1-r200/temp/environment'.
 * S: '/tmp/portage/net-libs/webkit-gtk-1.7.1-r200/work/webkit-1.7.1'

>>> Failed to emerge net-libs/webkit-gtk-1.7.1-r200, Log file:

>>>  '/tmp/portage/net-libs/webkit-gtk-1.7.1-r200/temp/build.log'

 * Messages for package net-libs/webkit-gtk-1.7.1-r200:

 * ERROR: net-libs/webkit-gtk-1.7.1-r200 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =net-libs/webkit-gtk-1.7.1-r200',
 * the complete build log and the output of 'emerge -pqv =net-libs/webkit-gtk-1.7.1-r200'.
 * The complete build log is located at '/tmp/portage/net-libs/webkit-gtk-1.7.1-r200/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/net-libs/webkit-gtk-1.7.1-r200/temp/environment'.
 * S: '/tmp/portage/net-libs/webkit-gtk-1.7.1-r200/work/webkit-1.7.1'


Expected Results:  
Webkit merged.

Portage 2.1.10.32 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.13-r4, 3.1.0-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.1.0-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8500_@_3.16GHz-with-gentoo-2.1
Timestamp of tree: Tue, 01 Nov 2011 15:15:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r4
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo gnome local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -mtune=core2 -fomit-frame-pointer -pipe -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -floop-parallelize-all"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=core2 -mtune=core2 -fomit-frame-pointer -pipe -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -floop-parallelize-all"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --with-bdeps=y"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.linuxant.fr/distfiles.gentoo.org/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr en_US en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gnome /usr/local/portage"
SYNC="rsync://mirrors.linuxant.fr/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cddb cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gdu gif gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk gtk3 iconv ipv6 jpeg lcms ldap libnotify lzo mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses network-cron nls nptl nptlonly ogg opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd pulseaudio python qt3support readline sdl session spell sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd threads tiff tracker truetype udev unicode usb vim-syntax vorbis webgl x264 xcb xinerama xml xmp xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en_US en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 blakawk 2011-11-01 17:57:56 UTC
Created attachment 291461 [details]
build.log
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-11-01 18:08:59 UTC
You are using very extreme flags. See if you can reproduce this error with CFLAGS="-O2 -march=core2 -pipe" and CXXFLAGS="-O2 -march=core2 -pipe".
Comment 3 blakawk 2011-11-01 18:40:08 UTC
Ok it seems that indeed, my gcc using graphite framework and LTO is too unstable to keep it at the moment. I rebuilt it without thoses support and using "safe Cflags" instead to build webkit, and it seems to work fine now. Sorry for the noise, feel free to close this bug if needed.