Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293581 - net-libs/webkit-gtk-1.1.15.2: fails to build with some undefined references
Summary: net-libs/webkit-gtk-1.1.15.2: fails to build with some undefined references
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugs.webkit.org/show_bug.cgi?...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-18 06:34 UTC by Victor Orozco
Modified: 2009-11-19 06:36 UTC (History)
2 users (show)

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


Attachments
Build log for webkit-gtk (build.log,24.62 KB, text/plain)
2009-11-18 06:41 UTC, Victor Orozco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Orozco 2009-11-18 06:34:00 UTC
I tried to emerge webkit-gtk-1.1.15.2 with the gstreamer and gnome-keyring use flags. I also tried to emerge it without that flags but also fails with the same errors.

Also notice that i'm using ACCEPT_KEYWORDS="~amd64" in the make.conf. The stable version build fine

Reproducible: Always

Steps to Reproduce:
emerge the masked version of webkit-gtk-1.1.15.2
Actual Results:  
The build crash with many "undefined reference to findEntity(char const*)" errors


 # emerge --info
Portage 2.2_rc50 (default/linux/amd64/10.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.31-tuxonice x86_64)
=================================================================
System uname: Linux-2.6.31-tuxonice-x86_64-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-2.1.6
Timestamp of tree: Mon, 16 Nov 2009 07:00:03 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.1.6
sys-apps/openrc:     0.5.0-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j9"
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="/usr/local/portage/layman/churritos /usr/local/portage/layman/mpd"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acl acpi addbookmarks additions admin administrator alac alsa amarok amazon amd amd64 amrnb animation-rtl antlr apache2 archive ares ascii aspell autoipd automount avahi bash-completion bdf berkdb binary-drivers branding bzip2 c++ cairo ccache cdda cddb cdio cdr cli consolekit contentcache corba cracklib crypt css cups cursors custom-cxxflags daap dbus dc1394 directfb disk-partition divx dri dts dvb dvd dvdr dvdread eds emboss encode equalizer evo fam fastbuild fat fbcon fbcondecor fbsplash ffmpeg firefox flac fortran ftp fuse gconf gdbm gdm gif git gnome gnome-keyring gnome-print gnutella gnutls gpm grub gstreamer gtk gtk2 hal hddtemp hfs httpd icons iconv id3tag imagemagick injection ipv6 java java6 jpeg lame laptop lcms libcaca libgcrypt libnotify live lua mad madwifi mikmod mmx mmxext mng modules mp3 mp4 mpeg mpeg2 mudflap multilib musepack mysql nautilus ncurses nls nocxx nptl nptlonly nsplugin ntfs objc objc++ objc-gc ogg openal openexr opengl openmp pam pcimcia pcre pdf perl php plugins png ppds pppd python qt3support readline reflection samba sdl session shout simplexml skins spell spl sqlite srt sse sse2 sse3 ssl ssse3 startup-notification stream subversion svg sysfs taglib tcpd theora threads thunar tiff tokenizer truetype udf unicode usb vcd verse vorbis wavpack webkit wmf wxwindows x x264 xcb xcomposite xinerama xml xorg xscreensaver xsl 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vesa nvidia radeon" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Victor Orozco 2009-11-18 06:41:21 UTC
Created attachment 210557 [details]
Build log for webkit-gtk

I only upload the relevant info including the error because the entire build log size is 7.9 MB but if you need it I can upload it
Comment 2 Romain Perier (RETIRED) gentoo-dev 2009-11-18 19:15:14 UTC
Have a look at https://bugs.webkit.org/show_bug.cgi?id=29244, then could you try the patch in attachment ? 
Comment 3 Priit Laes (IRC: plaes) 2009-11-18 19:19:45 UTC
(In reply to comment #2)
> Have a look at https://bugs.webkit.org/show_bug.cgi?id=29244, then could you
> try the patch in attachment ? 

The patch in the upstream report doesn't fix all the linking errors (in total there are 5 functions that are linked wrong).

You can try a changing "-O1" in CFLAGS to "-O2" as a workaround...
Comment 4 Victor Orozco 2009-11-19 06:36:00 UTC
Ok I read the Priit Laes comment and i noticed that when I was building webkit-gtk I didn't have another CFLAGS than "march" because I was trying with other error and optimizations.

So I tried again today with and without my regular CFLAGS, the result is:

With only CFLAGS="-march=core2"
Fails with the same error

With CFLAGS="-march=core2 -msse4 -msse4.1 -msse4.2 -mcx16 -msahf -O1 -pipe"
The package build fine

With CFLAGS="-march=core2 -msse4 -msse4.1 -msse4.2 -mcx16 -msahf -O2 -pipe"
The package also builds fine

Sorry for make that you waste your time guys.
I apologize