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

Bug 35306

Summary: Sandbox violation while emerging eclipse-sdk-2.1.2-r1
Product: Gentoo Linux Reporter: Hinrik Örn Sigurðsson <hinrik.sig>
Component: Current packagesAssignee: Karl Trygve Kalleberg (RETIRED) <karltk>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hinrik Örn Sigurðsson 2003-12-07 20:23:10 UTC
I get this error message while emerging eclipse-sdk-2.1.2-r1 using ibm-jdk-1.4.1:

gcc -c -O -s -DSWT_VERSION=2135 -DLINUX -DGTK  -fpic -fPIC `pkg-config --cflags gtk+-2.0` `pkg-config --cflags pango` -I/opt/ibm-jdk-1.4.1/include -I/opt/ibm-jdk-1.4.1/include/linux `pkg-config --cflags gtk+-2.0` `pkg-config --cflags pango` swt.c
In file included from swt.c:21:
structs.h:65: error: syntax error before '*' token
structs.h:65: error: syntax error before "GtkCombo"
structs.h:65: warning: data definition has no type or storage class
structs.h:66: error: syntax error before "GtkCombo"
swt.c: In function `Java_org_eclipse_swt_internal_gtk_OS_gtk_1combo_1disable_1activate':
swt.c:2393: error: `GtkCombo' undeclared (first use in this function)
swt.c:2393: error: (Each undeclared identifier is reported only once
swt.c:2393: error: for each function it appears in.)
swt.c:2393: error: syntax error before ')' token
swt.c: In function `Java_org_eclipse_swt_internal_gtk_OS_gtk_1combo_1set_1case_1sensitive':
swt.c:2413: error: `GtkCombo' undeclared (first use in this function)
swt.c:2413: error: syntax error before ')' token
swt.c: In function `Java_org_eclipse_swt_internal_gtk_OS_gtk_1combo_1set_1popdown_1strings':
swt.c:2423: error: `GtkCombo' undeclared (first use in this function)
swt.c:2423: error: syntax error before ')' token
swt.c: In function `Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkCombo_2I':
swt.c:6254: error: `GtkCombo' undeclared (first use in this function)
swt.c:6254: error: syntax error before ')' token
make: *** [swt.o] Error 1
gcc -c -O -s -DSWT_VERSION=2135 -DLINUX -DGTK  -fpic -fPIC `pkg-config --cflags gtk+-2.0` `pkg-config --cflags pango` -I/opt/ibm-jdk-1.4.1/include -I/opt/ibm-jdk-1.4.1/include/linux `pkg-config --cflags gnome-vfs-2.0` -c -o gnome.o gnome.c
ld -o libswt-gnome-gtk-2135.so gnome.o  -x -shared -lpthread --export-dynamic -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lgobject-2.0 -lgthread-2.0 -lm -lgmodule-2.0 -ldl -lglib-2.0
mkdir: cannot create directory `/var/tmp/portage/eclipse-sdk-2.1.2-r1/work/plugins/org.eclipse.swt.gtk/os/linux/x86': File exists
make: make_linux.mak: No such file or directory
make: *** No rule to make target `make_linux.mak'.  Stop.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox-eclipse-sdk-2.1.2-r1-12348.log"
 
open_wr:   /proc/self/maps
open_wr:   /proc/self/maps
open_wr:   /proc/self/maps
open_wr:   /proc/self/maps
open_wr:   /proc/self/maps
--------------------------------------------------------------------------------
Comment 1 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2003-12-21 16:44:23 UTC
I have done a few fixes to the ebuild now. Please update and retry, to see if the gtk compilation errors persis.

The ChangeLog will mention #34721 if you have the updated version; I didn't bump the revision as I don't want people running blackdown-jdk to reemerge.

I'll rebuild eclipse-sdk-2.1.2-r1 tonight with the IBM JDK and see if I can reproduce the sandbox violation, which I suspect is a different issue altogether.
Comment 2 SpanKY gentoo-dev 2003-12-30 06:40:13 UTC

*** This bug has been marked as a duplicate of 31972 ***