Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229631 - ERROR: dev-java/swt-3.4_pre6-r1 failed.
Summary: ERROR: dev-java/swt-3.4_pre6-r1 failed.
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-26 18:11 UTC by Arjen Pool
Modified: 2008-12-28 22:23 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arjen Pool 2008-06-26 18:11:12 UTC
ERROR: dev-java/swt-3.4_pre6-r1 failed.

 * Building OpenGL component
cc -O2 -march=prescott -mno-tls-direct-seg-refs -mmmx -m32 -pipe -Wall -DSWT_VERSION=3436  -DLINUX -DGTK -I/opt/sun-jdk-1.6.0.06/include -I/opt/sun-jdk-1.6.0.06/include/linux -fPIC   -c glx.c
cc -O2 -march=prescott -mno-tls-direct-seg-refs -mmmx -m32 -pipe -Wall -DSWT_VERSION=3436  -DLINUX -DGTK -I/opt/sun-jdk-1.6.0.06/include -I/opt/sun-jdk-1.6.0.06/include/linux -fPIC   -c glx_structs.c
cc -O2 -march=prescott -mno-tls-direct-seg-refs -mmmx -m32 -pipe -Wall -DSWT_VERSION=3436  -DLINUX -DGTK -I/opt/sun-jdk-1.6.0.06/include -I/opt/sun-jdk-1.6.0.06/include/linux -fPIC   -c glx_stats.c
cc -shared -fPIC -shared -fPIC -L/usr/X11R6/lib -lGL -lGLU -lm -o libswt-glx-gtk-3436.so swt.o glx.o glx_structs.o glx_stats.o
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make: *** [libswt-glx-gtk-3436.so] Error 1
 *
 * ERROR: dev-java/swt-3.4_pre6-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4101:  Called die
 * The specific snippet of code:
 *           ${make} make_glx || die "Unable to build OpenGL component";
 *  The die message:
 *   Unable to build OpenGL component
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-java/swt-3.4_pre6-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/swt-3.4_pre6-r1/temp/environment'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.06"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info


Reproducible: Always

Steps to Reproduce:
1.emerge -a swt
2.ERROR: dev-java/swt-3.4_pre6-r1 failed.
3.

Actual Results:  
Error

Expected Results:  
compile merge and be used :)

My specs,

Linux raptor 2.6.25-gentoo-r5 #1 SMP PREEMPT Fri Jun 20 19:51:25 CEST 2008 i686 Genuine Intel(R) CPU T2080 @ 1.73GHz GenuineIntel GNU/Linux

Gnu C                  4.1.2
Gnu make               3.81
binutils               2.18
util-linux             2.14
mount                  support
module-init-tools      3.4
e2fsprogs              1.40.11
reiserfsprogs          3.6.19
Linux C Library        2.8
Dynamic linker (ldd)   2.8
Procps                 3.2.7
Net-tools              1.60
Kbd                    1.14.1
Sh-utils               6.12
udev                   124
wireless-tools         29
Modules Loaded         snd_pcm_oss snd_mixer_oss snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device ipv6 af_packet usbmouse usbhid hid joydev psmouse yenta_socket pcspkr serio_raw rsrc_nonstatic pcmcia_core sdhci snd_hda_intel ehci_hcd mmc_core uhci_hcd usbcore snd_pcm snd_timer nvidia video snd output battery soundcore container ac thermal snd_page_alloc processor intel_agp button agpgart evdev

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

# /etc/make.conf
CFLAGS="-O2 -march=prescott -mno-tls-direct-seg-refs -mmmx -m32 -pipe"
CHOST="i686-pc-linux-gnu"
USE="kde qt3 qt4 X xorg ipv6 spell pcre
nvidia dbus hal wifi cdrom cdr dvd dvdr
dvdread bluetooth pcmcia usb perl python
jpeg mpg mpeg mp2 mp3 mp4 avi win32codecs gif
tiff pdf quicktime msn alsa arts cairo eds
emboss encode esd evo fam firefox gpm
ldap mad mikmod ogg opengl oss png qt3support
ssl sdl spell svg truetype vorbis unicode xml
xv cups crypt branding -fortran alsa
pam -pascal xulrunner"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~x86"
LINGUAS="en"
MAKEOPTS="-j3"
PORTAGE_NICENESS="8"
FEATURES="parallel-fetch ccache confcache collision-protect"
CCACHE_DIR="/var/tmp/ccache"
CCACHE_SIZE="2G"
CONFIG_PROTECT="/etc"
INPUT_DEVICES="keyboard mouse synaptics"
VIDEO_CARDS="nvidia"
AlSA_CARDS="hda-intel"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
PORTAGE_TMPFS="/dev/shm"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.ut$
# /etc/make.conf.
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2008-06-30 19:07:03 UTC
what does eselect opengl list say?
Comment 2 Arjen Pool 2008-07-01 20:01:04 UTC
(In reply to comment #1)
> what does eselect opengl list say?
> 

# eselect opengl list
Available OpenGL implementations:
  [1]   nvidia
  [2]   xorg-x11 *
!

Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-12-28 22:23:12 UTC
Please reopen if problem still exists with swt-3.4-r2