Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 385457

Summary: net-libs/webkit-gtk-1.6.1: webkit-1.6.1/tmp-introspectf_k2Pp/WebKit-1.0 returns non-zero exit status 27
Product: Gentoo Linux Reporter: Anton Kochkov <anton.kochkov>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED NEEDINFO    
Severity: normal CC: anton.kochkov
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: full build log
emerge --info output

Description Anton Kochkov 2011-10-03 07:26:57 UTC
Created attachment 288637 [details]
full build log

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: gcc -Wall -pthread -DQT_SHARED -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/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/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 -O2 -march=core2 -mfpmath=sse -mmmx -msse -msse2 -mssse3 -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/lib/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/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/qt4 
-I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore -c -o 
/var/tmp/portage/net-libs/webkit-gtk-1.6.1-r200/work/webkit-1.6.1/tmp-introspectf_k2Pp/WebKit-1.0.o 
/var/tmp/portage/net-libs/webkit-gtk-1.6.1-r200/work/webkit-1.6.1/tmp-introspectf_k2Pp/WebKit-1.0.c
g-ir-scanner: link: ./doltlibtool --mode=link --tag=CC --silent gcc -o 
/var/tmp/portage/net-libs/webkit-gtk-1.6.1-r200/work/webkit-1.6.1/tmp-introspectf_k2Pp/WebKit-1.0 -export-dynamic -O2 -march=core2 -mfpmath=sse -mmmx -msse -msse2 
-mssse3 -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 
/var/tmp/portage/net-libs/webkit-gtk-1.6.1-r200/work/webkit-1.6.1/tmp-introspectf_k2Pp/WebKit-1.0.o
/var/tmp/portage/net-libs/webkit-gtk-1.6.1-r200/work/webkit-1.6.1/tmp-introspectf_k2Pp/.libs/WebKit-1.0: error while loading shared libraries: 
/var/tmp/portage/net-libs/webkit-gtk-1.6.1-r200/work/webkit-1.6.1/.libs/libjavascriptcoregtk-1.0.so.0: cannot make segment writable for relocation: Permission 
denied
Command '['/var/tmp/portage/net-libs/webkit-gtk-1.6.1-r200/work/webkit-1.6.1/tmp-introspectf_k2Pp/WebKit-1.0', 
'--introspect-dump=/var/tmp/portage/net-libs/webkit-gtk-1.6.1-r200/work/webkit-1.6.1/tmp-introspectf_k2Pp/types.txt,/var/tmp/portage/net-libs/webkit-gtk-1.6.1-r200/work/webkit-1.6.1/tmp-introspectf_k2Pp/dump.xml']' 
returned non-zero exit status 127
make[1]: *** [WebKit-1.0.gir] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-1.6.1-r200/work/webkit-1.6.1'
make: *** [all] Error 2
 * ERROR: net-libs/webkit-gtk-1.6.1-r200 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =net-libs/webkit-gtk-1.6.1-r200',
 * the complete build log and the output of 'emerge -pqv =net-libs/webkit-gtk-1.6.1-r200'.
 * The complete build log is located at '/var/tmp/portage/net-libs/webkit-gtk-1.6.1-r200/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/webkit-gtk-1.6.1-r200/temp/environment'.
 * S: '/var/tmp/portage/net-libs/webkit-gtk-1.6.1-r200/work/webkit-1.6.1'

>>> Failed to emerge net-libs/webkit-gtk-1.6.1-r200, Log file:
Comment 1 Anton Kochkov 2011-10-03 07:28:52 UTC
Created attachment 288639 [details]
emerge --info output
Comment 2 Pacho Ramos gentoo-dev 2011-11-22 01:20:07 UTC
I cannot reproduce this, and you are getting a strange permission denied error that is not normal at all. Where is placed your /var/tmp/portage and how is it being mounted?
Comment 3 Anton Kochkov 2011-11-29 14:17:53 UTC
(In reply to comment #2)
> I cannot reproduce this, and you are getting a strange permission denied error
> that is not normal at all. Where is placed your /var/tmp/portage and how is it
> being mounted?

This is because it is hardened profile, with PaX enabled. I think so.