Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407085 - net-libs/webkit-gtk-1.6.3-r200 compile failure "can't resolve libraries to shared libraries: javascriptcoregtk-1.0, webkitgtk-1.0"
Summary: net-libs/webkit-gtk-1.6.3-r200 compile failure "can't resolve libraries to sh...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-06 10:19 UTC by Ulrich Müller
Modified: 2014-02-08 19:26 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,263.97 KB, text/plain)
2012-03-06 10:19 UTC, Ulrich Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2012-03-06 10:19:21 UTC
Created attachment 304379 [details]
build.log

net-libs/webkit-gtk-1.6.3-r200 fails in src_compile:

  GEN    WebKit-1.0.gir
Source/WebKit/gtk/webkit/webkitversion.h:33: Warning: WebKit: symbol='WEBKITGTK_API_VERSION': Unknown namespace for symbol 'WEBKITGTK_API_VERSION'
g-ir-scanner: compile: x86_64-pc-linux-gnu-gcc -pthread -D_REENTRANT -DQT_SHARED -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -march=core2 -O2 -ggdb -pipe -I./Source -I./Source/WebKit/gtk -I./DerivedSources -I./DerivedSources/webkit -I./Source/WebKit/gtk -I./Source/JavaScriptCore/ForwardingHeaders -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/gio-unix-2.0/ -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore -c -o /local/tmp/portage/net-libs/webkit-gtk-1.6.3-r200/work/webkit-1.6.3/tmp-introspect2_0U6z/WebKit-1.0.o /local/tmp/portage/net-libs/webkit-gtk-1.6.3-r200/work/webkit-1.6.3/tmp-introspect2_0U6z/WebKit-1.0.c
g-ir-scanner: link: bash ./gir-paxctl-lt-wrapper m --mode=link --tag=CC x86_64-pc-linux-gnu-gcc -o /local/tmp/portage/net-libs/webkit-gtk-1.6.3-r200/work/webkit-1.6.3/tmp-introspect2_0U6z/WebKit-1.0 -export-dynamic -march=core2 -O2 -ggdb -pipe -L. -lwebkitgtk-1.0 -ljavascriptcoregtk-1.0 -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 /local/tmp/portage/net-libs/webkit-gtk-1.6.3-r200/work/webkit-1.6.3/tmp-introspect2_0U6z/WebKit-1.0.o
./doltlibtool --mode=link --tag=CC x86_64-pc-linux-gnu-gcc -o /local/tmp/portage/net-libs/webkit-gtk-1.6.3-r200/work/webkit-1.6.3/tmp-introspect2_0U6z/WebKit-1.0 -export-dynamic -march=core2 -O2 -ggdb -pipe -L. -lwebkitgtk-1.0 -ljavascriptcoregtk-1.0 -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 /local/tmp/portage/net-libs/webkit-gtk-1.6.3-r200/work/webkit-1.6.3/tmp-introspect2_0U6z/WebKit-1.0.o
libtool: link: x86_64-pc-linux-gnu-gcc -o /local/tmp/portage/net-libs/webkit-gtk-1.6.3-r200/work/webkit-1.6.3/tmp-introspect2_0U6z/.libs/WebKit-1.0 -march=core2 -O2 -ggdb -pipe -pthread /local/tmp/portage/net-libs/webkit-gtk-1.6.3-r200/work/webkit-1.6.3/tmp-introspect2_0U6z/WebKit-1.0.o -Wl,--export-dynamic  -L. /local/tmp/portage/net-libs/webkit-gtk-1.6.3-r200/work/webkit-1.6.3/.libs/libwebkitgtk-1.0.so -L/usr/lib64 -lenchant -lgailutil /usr/lib64/libgstapp-0.10.so /usr/lib64/libgstinterfaces-0.10.so /usr/lib64/libgstpbutils-0.10.so /usr/lib64/libgstvideo-0.10.so /usr/lib64/libgstbase-0.10.so /usr/lib64/libgstreamer-0.10.so -lm -ljpeg -lxslt -lxml2 -lpng15 -lsqlite3 /usr/lib64/libXrender.so -lxcb /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -ldl -lXt -lX11 -lz /local/tmp/portage/net-libs/webkit-gtk-1.6.3-r200/work/webkit-1.6.3/.libs/libjavascriptcoregtk-1.0.so -licui18n -licuuc -licudata -lpthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread
Fallback PaX marking -m ./tmp-introspect2_0U6z/.libs/WebKit-1.0
 TYPE    PAX   FILE 
ET_EXEC --mxe- ./tmp-introspect2_0U6z/.libs/WebKit-1.0 
ERROR: can't resolve libraries to shared libraries: javascriptcoregtk-1.0, webkitgtk-1.0
make[1]: *** [WebKit-1.0.gir] Error 1
make[1]: Leaving directory `/local/tmp/portage/net-libs/webkit-gtk-1.6.3-r200/work/webkit-1.6.3'
make: *** [all] Error 2

Compilation succeeds if I revert webkit-gtk-1.6.3-paxctl-introspection.patch, so this might be a regression introduced when fixing bug 404215.
Comment 1 Ulrich Müller gentoo-dev 2012-03-06 10:20:42 UTC
Portage 2.1.10.49 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r2, 3.1.10-gentoo-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.1.10-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-2.1
Timestamp of tree: Tue, 06 Mar 2012 06:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.7 [enabled]
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/ccache:          3.1.7
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.6-r1, 4.5.3-r2
sys-devel/gcc-config:     1.5.1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo a1 emacs x-ulm
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -ggdb -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/fax /usr/share/config /usr/share/gnupg/qualified.txt /var/spool/fax/etc"
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.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/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="-march=core2 -O2 -ggdb -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FEATURES="assume-digests binpkg-logs ccache compressdebug distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://a1iarchive1.kph.uni-mainz.de/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://gentoo.oregonstate.edu http://gentoo.inode.at"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en en_GB en_US fr it es"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/a1 /var/lib/layman/emacs /usr/portage/local/ulm"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi alsa amd64 amr ansi apache2 bbdb berkdb branding bzip2 cairo caps cdda cdparanoia cdr cli consolekit cracklib crypt cups curl cxx dbus dga directfb doc dri dts dvd dvdr elisp emacs emboss encode exif expat fam fbcon ffmpeg firefox flac fortran gcj gd gdbm gdu gif gimp gimpprint glitz glut gpm gtk gtkhtml guile iconv idea imap ipv6 java jbig jpeg kpathsea latex lcms libcaca libnotify logrotate mad mbrola mmx mng modules motif mp3 mp4 mpeg mudflap multilib ncurses networking nls nocd nptl nptlonly nsplugin offensive ogg opengl openmp pam pango pcre pdf php png policykit postgres ppds pppd qt3support qt4 rdesktop readline recode regex ruby sasl sbcl sdl sendmail session skey socks5 source sox spell sqlite sse sse2 ssl startup-notification svg sysfs tcpd tex tiff truetype type1 udev unicode usb userlocales vorbis wxwindows x264 xcb xft xml xorg xpm 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en en_GB en_US fr it es" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev v4l" 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

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

net-libs/webkit-gtk-1.6.3-r200 was built with the following:
USE="gstreamer introspection jit (multilib) spell (-aqua) -coverage -debug -test -webgl"
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-03-06 13:24:44 UTC
Please install sys-apps/paxctl and see if the problem still occurs.
Comment 3 Ulrich Müller gentoo-dev 2012-03-06 15:33:42 UTC
(In reply to comment #2)
> Please install sys-apps/paxctl and see if the problem still occurs.

This fixes it for me.
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-03-06 16:27:23 UTC
(In reply to comment #3)

Thanks for testing. It looks like the scanelf fallback does not work right for binaries that need to run from the build tree, such as the temporary dumper binary generated and executed by g-ir-scanner.

I have therefore added paxctl to webkit-gtk's DEPEND.
Comment 5 Maxim Kammerer 2012-03-24 20:22:57 UTC
All of this can be conditional on jit, see my comment in bug #404215.
Comment 6 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-03-25 00:14:51 UTC
(In reply to comment #5)

You are right; fixed in cvs.
Comment 7 Maxim Kammerer 2012-04-01 19:37:16 UTC
Is this also relevant to epiphany-3.2.1-r1? Although not sure how the ebuild can handle this, with jit flag being in webkit-gtk.