Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 391963 - [gnome-overlay] net-libs/webkit-gtk-1.7.2-r200 - testatk.c:(.text.startup+0x48): undefined reference to `gdk_disable_multidevice'
Summary: [gnome-overlay] net-libs/webkit-gtk-1.7.2-r200 - testatk.c:(.text.startup+0x4...
Status: RESOLVED FIXED
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-11-26 13:12 UTC by Albert W. Hopkins
Modified: 2011-12-07 08:37 UTC (History)
3 users (show)

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


Attachments
build.log (build.log.gz,256.15 KB, application/x-gzip)
2011-11-26 18:42 UTC, Albert W. Hopkins
Details
Fixes ATK test case (webkit-gtk-1.7.2-fixtestatk.patch,508 bytes, patch)
2011-11-28 02:40 UTC, Stefan Zwanenburg
Details | Diff
Updated ebuild to use fixtestatk patch. (webkit-gtk-1.7.2-r200.ebuild,4.33 KB, text/plain)
2011-11-28 03:57 UTC, Stefan Zwanenburg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2011-11-26 13:12:44 UTC
From the build.log:

CCLD   Programs/unittests/testwebresource
Source/WebKit/gtk/tests/Programs_unittests_testatk-testatk.o: In function `main':
testatk.c:(.text.startup+0x48): undefined reference to `gdk_disable_multidevice'
collect2: ld returned 1 exit status                

From a brief Google search[1] I saw that "gdk_enable_multidevice has been replaced by gdk_disable_multidevice" in gtk+ 2.91.7.. The version of gtk it's being built against is 2.24.8-r1 so perhaps the webkit-gtk build is too "new"?


# emerge --info =x11-libs/gtk+-2.24.8-r1
Portage 2.2.0_alpha78 (default/linux/amd64/10.0, gcc-4.6.2, glibc-2.14.1-r0, 3.2.0-rc3+ x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.0-rc3+-x86_64-Intel-R-_Core-TM-_i7-2620M_CPU_@_2.70GHz-with-gentoo-2.1
Timestamp of tree: Sat, 26 Nov 2011 11:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.6
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1-r1
sys-devel/binutils:       2.22
sys-devel/gcc:            4.5.3-r1, 4.6.2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.14.1
Repositories: gentoo marduk gnome gfxboot_overlay
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA IBM-J1.6 AdobeFlash-10.1 skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -mtune=generic"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=core2 -mtune=generic"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --usepkg --binpkg-respect-use=y     --quiet-build --jobs --load-average=9.2 --quiet-unmerge-warn --oneshot     --autounmask=n --buildpkg-exclude virtual/*     --buildpkg-exclude sys-kernel/*-sources"
FEATURES="assume-digests binpkg-logs buildpkg distcc distlocks ebuild-locks fixlafiles news noinfo notitles parallel-fetch protect-owned sandbox sfperms skiprocheck strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ja"
MAKEOPTS="-j5"
PKGDIR="/var/portage/packages"
PORTAGE_COMPRESS=""
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="/var/portage"
PORTDIR_OVERLAY="/var/lib/layman/marduk /var/lib/layman/gnome /usr/local/portage/gfxboot_overlay"
SYNC="rsync://blackwidow/gentoo-portage/"
USE="amd64 cjk introspection multilib nls pam unicode utf8" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="auth_digest authn_file group_file dav dav_fs authz_groupfile" CAMERAS="*" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LINGUAS="ja" NGINX_MODULES_HTTP="geoip xslt" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

x11-libs/gtk+-2.24.8-r1 was built with the following:
USE="cups introspection (multilib) (-aqua) -debug -doc -examples -test -vim-syntax -xinerama"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-11-26 18:28:01 UTC
Please attach the entire build log to this bug report.
Comment 2 Albert W. Hopkins 2011-11-26 18:42:55 UTC
Created attachment 293875 [details]
build.log

Sorry, thought I had attached the build log already
Comment 3 Marek Bartosiewicz 2011-11-27 09:01:58 UTC
Same here:


make[2]: Wejście do katalogu `/var/tmp/portage/net-libs/webkit-gtk-1.7.2-r200/work/webkit-1.7.2'
make[2]: `Source/WebKit/gtk/po/ar.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/bg.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/cs.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/de.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/el.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/en_CA.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/en_GB.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/eo.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/es.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/et.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/eu.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/fr.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/gl.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/gu.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/he.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/hu.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/id.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/it.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/ko.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/lt.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/lv.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/nb.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/nl.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/pa.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/pl.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/pt_BR.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/pt.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/ru.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/sl.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/sr@latin.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/sr.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/sv.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/uk.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/vi.mo' jest aktualne.
make[2]: `Source/WebKit/gtk/po/zh_CN.mo' jest aktualne.
make[2]: Opuszczenie katalogu `/var/tmp/portage/net-libs/webkit-gtk-1.7.2-r200/work/webkit-1.7.2'
touch stamp-po
/bin/mkdir -p ./.deps/DerivedSources
  CXXLD  Programs/jsc-1
  CCLD   Programs/minidom
  GEN    Programs/jsc
  CXXLD  libwebkitgtk-1.0.la
  CCLD   Programs/unittests/testdomdocument
  CCLD   Programs/unittests/testapplicationcache
  CCLD   Programs/unittests/testdomdomwindow
  CCLD   Programs/unittests/testdomnode
  CCLD   Programs/unittests/testhttpbackend
  CCLD   Programs/unittests/testloading
  CCLD   Programs/unittests/testglobals
  CCLD   Programs/unittests/testmimehandling
  CCLD   Programs/unittests/testnetworkrequest
  CCLD   Programs/unittests/testnetworkresponse
  CCLD   Programs/unittests/testwebframe
  CCLD   Programs/unittests/testwebbackforwardlist
  CCLD   Programs/unittests/testwebhistoryitem
  CCLD   Programs/unittests/testwindow
  CCLD   Programs/unittests/testdownload
  CCLD   Programs/unittests/testatk
  CCLD   Programs/unittests/testatkroles
  CCLD   Programs/unittests/testhittestresult
  CCLD   Programs/unittests/testwebsettings
  CCLD   Programs/unittests/testwebresource
  CCLD   Programs/unittests/testwebdatasource
Source/WebKit/gtk/tests/Programs_unittests_testatk-testatk.o: In function `main':
testatk.c:(.text+0xa4dd): undefined reference to `gdk_disable_multidevice'
collect2: ld returned 1 exit status
make[1]: *** [Programs/unittests/testatk] Błąd 1
make[1]: *** Oczekiwanie na niezakończone zadania....
make[1]: Opuszczenie katalogu `/var/tmp/portage/net-libs/webkit-gtk-1.7.2-r200/work/webkit-1.7.2'
make: *** [all] Błąd 2
 * ERROR: net-libs/webkit-gtk-1.7.2-r200 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =net-libs/webkit-gtk-1.7.2-r200',
 * the complete build log and the output of 'emerge -pqv =net-libs/webkit-gtk-1.7.2-r200'.
 * This ebuild is from an overlay named 'gnome': '/var/lib/layman/gnome/'
 * The complete build log is located at '/var/tmp/portage/net-libs/webkit-gtk-1.7.2-r200/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/webkit-gtk-1.7.2-r200/temp/environment'.
 * S: '/var/tmp/portage/net-libs/webkit-gtk-1.7.2-r200/work/webkit-1.7.2'




emerge --info
Portage 2.1.10.38 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.14.1-r0, 3.1.2-gentoo x86_64)
=================================================================
System uname: Linux-3.1.2-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.1
Timestamp of tree: Sun, 27 Nov 2011 06:30:01 +0000
app-shells/bash:          4.2_p20
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.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.22
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.14.1
Repositories: gentoo gnome lcd-filtering ubuntu x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
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/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="gentoo.prz.rzeszow.pl"
LANG="pl_PL.utf8"
LC_ALL="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pl en"
MAKEOPTS="-j8"
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 /var/lib/layman/lcd-filtering /var/lib/layman/ubuntu /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X X509 a52 aac acl acpi action_modeswitch alsa amd64 amr apng artworkextra aspell atm audacious autoipd avahi bazaar bluetooth bluray branding btrfs bzip2 cache cairo caps cdda cddb cdparanoia cdr cli colord consolekit contrast cracklib crypt cue cups curl custom-optimization cxx dbus development device-mapper dga dhcpcd djvu dmraid dri dts dvd dvdr eds egl emboss encode evo exif extras faac fam fat fbcon ffmpeg fftw firefox firefox-bookmarks flac fontconfig fontforge g3dvl gcj gconf gd gdbm gdu gif gimp git glade gles glibc-omitfp gmp gnome gnome-keyring gnome-online-accounts gnutls gpm graphite gs gstreamer gtk gtk3 gtkstyle hddtemp hdri howl-compat hpijs iconv icu id3tag introspection ipc iproute2 ithreads java jemalloc jpeg jpeg2k justify ladspa lame laptop lcdfilter lcms libass libcanberra libedit libkms libnotify libproxy libsamplerate libssh2 llvm lm_sensors lua lvm lzma lzo mad matroska mdnsresponder-compat mercurial mktemp mmx mmxext mng modules motif mp3 mp4 mpd mpeg mudflap multilib musepack natspec nautilus ncurses network networkmanager nls nptl nptlonly nsplugin nss ntfs ntfsprogs ntp numa offensive offlinehelp ogg open_perms openal opengl openmp openvg optimization packagekit pam pam_ssh pango passwordsave pcre pdf pdfimport perl playlist pm-utils png policykit postproc ppds pppd pulseaudio python python3 q32 q8 qemu qemu-ifup qt4 raw rdesktop readline reiser4 resolvconf rss samba sdl secure-delete session shared-dricore slang smp sndfile snmp socialweb spell spice sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification subversion svg symlink sysfs system-sqlite taglib tcpd templates theora threads thunar thunderbird tiff tk truetype udev udis86 unicode unlock-notify unsupported upnp usb utils v4l2 vaapi vala virt-network virtualbox vnc vorbis wavpack webkit webp wifi wmf wxwidgets x264 xattr xcb xcomposite xfs xft xml xmp xorg xosd xprint xscreensaver xulrunner xv xvid xvmc zeroconf zlib" 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" GRUB_PLATFORMS="coreboot pc emu qemu multiboot" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa radeon r600" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Albert W. Hopkins 2011-11-27 11:56:58 UTC
Silly me.. I must have been drunk when I created this bug report:

I meant to paste link about the renaming of the function:

http://mail.gnome.org/archives/commits-list/2010-December/msg06892.html

And also I should have realized.. 2.91 is gtk3 so, it's a gtk3 function that the gtk2 build is referencing.

Out of curiosity, how do the dependencies work for the r2xx and r3xx builds.  I'm trying to figure out what I have that actually requires the gtk2 build as I'm running GNOME3 and most of my gtk apps are built against gtk3.
Comment 5 Albert W. Hopkins 2011-11-27 11:59:07 UTC
(In reply to comment #4)

> Out of curiosity, how do the dependencies work for the r2xx and r3xx builds. 
> I'm trying to figure out what I have that actually requires the gtk2 build as
> I'm running GNOME3 and most of my gtk apps are built against gtk3.

Nm, I see that it's shotwell.
Comment 6 Stefan Zwanenburg 2011-11-28 02:40:57 UTC
Created attachment 294019 [details, diff]
Fixes ATK test case

I ran into the exact same problem, which surely must be a problem upstream as well. I'll file a bug upstream later.
This fixes the build failure of webkit-gtk when built against gtk2.
Comment 7 Stefan Zwanenburg 2011-11-28 03:57:05 UTC
Created attachment 294023 [details]
Updated ebuild to use fixtestatk patch.
Comment 8 Albert W. Hopkins 2011-11-28 04:12:51 UTC
(In reply to comment #6)
> Created attachment 294019 [details, diff] [details, diff]
> Fixes ATK test case
> 
> I ran into the exact same problem, which surely must be a problem upstream as
> well. I'll file a bug upstream later.
> This fixes the build failure of webkit-gtk when built against gtk2.

This patch worked for me. Thanks.
Comment 9 Priit Laes (IRC: plaes) 2011-11-28 05:36:18 UTC
(In reply to comment #6)
> Created attachment 294019 [details, diff] [details, diff]
> Fixes ATK test case
> 
> I ran into the exact same problem, which surely must be a problem upstream as
> well. I'll file a bug upstream later.
> This fixes the build failure of webkit-gtk when built against gtk2.

Thanks, for the patch. Added to overlay :)
Comment 10 Stefan Zwanenburg 2011-11-28 12:50:47 UTC
And a bug was filed upstream: https://bugs.webkit.org/show_bug.cgi?id=73206
Comment 11 Stefan Zwanenburg 2011-11-29 10:18:35 UTC
The patch I submitted has been committed upstream. That means we can expect this issue to be fixed in a later release.

Meanwhile, it might be useful to note that this problem occurs in the 'gnome' overlay. I suppose this bug should be assigned to one of its maintainers.

Albert: Can you possibly prefix the bug's title with '[gnome-overlay]'?
Comment 12 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-12-07 08:37:29 UTC
(In reply to comment #9)
> (In reply to comment #6)
> > Created attachment 294019 [details, diff] [details, diff] [details, diff]
> > Fixes ATK test case
> > 
> > I ran into the exact same problem, which surely must be a problem upstream as
> > well. I'll file a bug upstream later.
> > This fixes the build failure of webkit-gtk when built against gtk2.
> 
> Thanks, for the patch. Added to overlay :)

Marking this bug as fixed then. If the problem reoccurs, please reopen.