Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219390 - app-office/openoffice build fails with USE="opengl"
Summary: app-office/openoffice build fails with USE="opengl"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 246151 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-04-26 22:36 UTC by Sujeet Akula
Modified: 2009-11-28 21:00 UTC (History)
3 users (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 Sujeet Akula 2008-04-26 22:36:54 UTC
I have seen other compile errors involving openoffice-2.4.0, but im reasonably confident that this is independent of those.

here is the tail-end of build.log:

------------------------------
Making: ../../../unxlngi6.pro/slo/OGLTrans.uno_version.obj
i686-pc-linux-gnu-gcc -fmessage-length=0 -c -Os -fno-strict-aliasing   -I.  -I../../../unxlngi6.pro/inc/OGLTrans -I../inc -I../../../inc/pch -I../../../inc -I../../../unx/inc -I.
./../../unxlngi6.pro/inc -I. -I/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngi6.pro/incdont_use_stl -I/var/tmp/portage/app-office/openof
fice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngi6.pro/inc/external -I/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngi6.pro/inc -I/
var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solenv/unxlngi6/inc -I/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solenv/inc -I/v
ar/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/res -I/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngi6.pro/incdont_
use_stl -I/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solenv/inc/Xp31 -I/opt/sun-jdk-1.6.0.05/include -I/opt/sun-jdk-1.6.0.05/include/linux -I/opt/sun-
jdk-1.6.0.05/include/native_threads/include -Idefault_x_includes     -I/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngi6.pro/inc/offuh -I
. -I../../../res -I. -pipe -march=athlon-xp -fomit-frame-pointer -pipe -DGL_GLEXT_PROTOTYPES -Wall -Wextra -Wendif-labels -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C3
41 -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLU
DE_PATH=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA -DOOH680=OOH680   -DSHA
REDLIB -D_DLL_   -o ../../../unxlngi6.pro/slo/OGLTrans.uno_version.o ../../../unxlngi6.pro/misc/OGLTrans.uno_version.c
if test -e ../../../unxlngi6.pro/slo/OGLTrans.uno_version.o ; then touch ../../../unxlngi6.pro/slo/OGLTrans.uno_version.obj ; fi
Making: ../../../unxlngi6.pro/slo/OGLTrans_TransitionImpl.obj
Making: ../../../unxlngi6.pro/slo/OGLTrans_Shaders.obj
/usr/include/GL/glxext.h:405: error: typedef 'unx::__GLXextFuncPtr' is initialized (use __typeof__ instead)
/usr/include/GL/glxext.h:405: error: 'PFNGLXGETPROCADDRESSPROC' was not declared in this scope
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/slideshow/source/engine/OGLTrans/OGLTrans_Shaders.cxx: In static member function 'static bool OGLShaders::I
nitialize()':
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/slideshow/source/engine/OGLTrans/OGLTrans_Shaders.cxx:37: error: 'glXGetProcAddress' is not a member of 'un
x'
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/slideshow/source/engine/OGLTrans/OGLTrans_Shaders.cxx:38: error: 'glXGetProcAddress' is not a member of 'un
x'
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/slideshow/source/engine/OGLTrans/OGLTrans_Shaders.cxx:39: error: 'glXGetProcAddress' is not a member of 'un
x'
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/slideshow/source/engine/OGLTrans/OGLTrans_Shaders.cxx:40: error: 'glXGetProcAddress' is not a member of 'un
x'
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/slideshow/source/engine/OGLTrans/OGLTrans_Shaders.cxx:41: error: 'glXGetProcAddress' is not a member of 'un
x'
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/slideshow/source/engine/OGLTrans/OGLTrans_Shaders.cxx:42: error: 'glXGetProcAddress' is not a member of 'un
x'
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/slideshow/source/engine/OGLTrans/OGLTrans_Shaders.cxx:43: error: 'glXGetProcAddress' is not a member of 'un
x'
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/slideshow/source/engine/OGLTrans/OGLTrans_Shaders.cxx:44: error: 'glXGetProcAddress' is not a member of 'un
x'
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/slideshow/source/engine/OGLTrans/OGLTrans_Shaders.cxx:45: error: 'glXGetProcAddress' is not a member of 'un
x'
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/slideshow/source/engine/OGLTrans/OGLTrans_Shaders.cxx:46: error: 'glXGetProcAddress' is not a member of 'un
x'
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/slideshow/source/engine/OGLTrans/OGLTrans_Shaders.cxx:47: error: 'glXGetProcAddress' is not a member of 'un
x'
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/slideshow/source/engine/OGLTrans/OGLTrans_Shaders.cxx:48: error: 'glXGetProcAddress' is not a member of 'un
x'
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/slideshow/source/engine/OGLTrans/OGLTrans_Shaders.cxx:49: error: 'glXGetProcAddress' is not a member of 'un
x'
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/slideshow/source/engine/OGLTrans/OGLTrans_Shaders.cxx:50: error: 'glXGetProcAddress' is not a member of 'un
x'
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/slideshow/source/engine/OGLTrans/OGLTrans_Shaders.cxx:51: error: 'glXGetProcAddress' is not a member of 'un
x'
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/slideshow/source/engine/OGLTrans/OGLTrans_Shaders.cxx:52: error: 'glXGetProcAddress' is not a member of 'un
x'
dmake:  Error code 1, while making '../../../unxlngi6.pro/slo/OGLTrans_Shaders.obj'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/slideshow/source/engine/OGLTrans
make: *** [stamp/build] Error 1
 *
 * ERROR: app-office/openoffice-2.4.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5369:  Called die
 * The specific snippet of code:
 *       make || die "Build failed"
 *  The die message:
 *   Build failed
 *
 * 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/app-office/openoffice-2.4.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-2.4.0/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.05"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info


and emerge --info:


Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 i686)
=================================================================
System uname: 2.6.22-gentoo-r9 i686 AMD Athlon(tm)
Timestamp of tree: Sat, 26 Apr 2008 08:34:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://128.104.70.13/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/"
LINGUAS="en en_US hi hi_IN"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi aim alsa apache2 avi bash-completion bitmap-fonts bzip2 cairo cddb cdr cli cpudetection cracklib crypt cscope cups dbus divx4linux djvu dri dts dvd dvdr dvdread encode esd ethereal fbcon ffmpeg firefox flac flash fortran gdbm gif gnome gpm gtk gtk2 hal iconv id3tag ieee1394 imagemagick imap imlib imlib2 ipv6 isdnlog java jikes jpeg kde libaudiofile libcaca libwww lm_sensors madwifi maildir midi mmx mmxext mozilla mp3 mpeg msn mudflap mysql ncurses nls nocd nptl nptlonly nsplugin nvidia offensive oggvorbis opengl openmp oss pam pango pcre pdf pdflib perl png pppd python qt4 quicktime readline reflection session shorten shout sockets socks5 spell spl sse ssl svg tcpd tetex tiff truetype truetype-fonts type1-fonts unicode valias vcd vhosts vorbis win32codecs wmf wxwindows x264 x86 xine xorg xscreensaver xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US hi hi_IN" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Sujeet Akula 2008-04-26 22:42:41 UTC
My apologies--you will notice that I put the emerge --info output in the bug description.
Comment 2 Wonko 2008-05-16 12:32:40 UTC
I have the very same problem. In my case it's line 460 instead of 405 in /usr/include/GL/glxext.h, that's because I have a newer app-admin/eselect-opengl (1.0.6-r1) running. With 1.0.5 I get texactly the same error.

Now how do we solve this? I think I may have a related problem, media-tv/mythtv-0.20.2_p15634 does not compile due to this error message:

g++  -o mythfrontend version.o main.o manualbox.o playbackbox.o viewscheduled.o globalsettings.o manualschedule.o programrecpriority.o channelrecpriority.o statusbox.o networkcontrol.o moc_manualbox.o moc_playbackbox.o moc_viewscheduled.o moc_manualschedule.o moc_programrecpriority.o moc_channelrecpriority.o moc_statusbox.o moc_networkcontrol.o   -L/usr/qt/3/lib -L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavu
til -L../../libs/libavcodec -L../../libs/libavformat -L../../libs/libmythfreemheg -L../../libs/libmythui -L
../../libs/libmythupnp -L../../libs/libmythlivemedia -lmythtv-0.20.2 -lmythavformat-0.20.2 -lmythavutil-0.2
0.2 -lmythavcodec-0.20.2 -lmythfreemheg-0.20.2 -lmythupnp-0.20.2 -lmythlivemedia-0.20.2 -lmyth-0.20.2 -lmyt
hui-0.20.2 -lfreetype -lmp3lame -lasound -ljack -lraw1394 -liec61883 -lavc1394 -L/usr/X11R6/lib -lXinerama
-lXv -lXxf86vm -lXrandr -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm -lpthread
../../libs/libmythtv/libmythtv-0.20.2.so: undefined reference to `glXGetProcAddress'

I see we both are using nvidia drivers. I have an old card with driver 71.86.01 - maybe this old driver is missing something? Which driver version do you have?
Comment 3 Sujeet Akula 2008-05-16 14:22:36 UTC
I also have a legacy nvidia card. The driver I use is nvidia's own x11-drivers/nvidia-drivers-1.0.7185

I've also seen some other errors like this in connection with mythtv, but I haven't found any other reports openoffice.

(In reply to comment #2)
Comment 4 Wonko 2008-05-18 08:34:47 UTC
Ok, then it's the old NVidia drivers I think. No idea what to do about this.

At least OO compiles after "eselect opengl set xorg-x11". Compiling withoput the opengl use flag should also work, and opengl would not be missed anyway I guess.
Comment 5 Andreas Proschofsky (RETIRED) gentoo-dev 2008-10-16 20:09:57 UTC
Could you please try if you still get this with OOo 3.0?
Comment 6 Wonko 2008-10-16 23:31:31 UTC
Okay, I will do this. Compiling has started, this will take a couple of hours on that machine.
Comment 7 Wonko 2008-10-17 19:42:02 UTC
I got this error:

Making: ../unxlngi6.pro/lib/librptxmlli.so
g++ -Wl,-z,noexecstack -Wl,-z,combreloc -Wl,-z,defs -Wl,--as-needed -Wl,-Bsymbolic-functions -Wl
,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo -Wl,--hash-style=gnu -Wl,-rpath,'$ORIGIN
:$ORIGIN/../ure-link/lib' -shared -Wl,--version-script ../unxlngi6.pro/misc/rptui_rptxmlli.map -
L../unxlngi6.pro/lib -L../lib -L/data/stuff/portage/app-office/openoffice-3.0.0/work/ooo/build/o
oo300-m9/solenv/unxlngi6/lib -L/data/stuff/portage/app-office/openoffice-3.0.0/work/ooo/build/oo
o300-m9/solver/300/unxlngi6.pro/lib -L/data/stuff/portage/app-office/openoffice-3.0.0/work/ooo/b
uild/ooo300-m9/solenv/unxlngi6/lib -L/opt/sun-jdk-1.6.0.07/lib -L/opt/sun-jdk-1.6.0.07/jre/lib/i
386 -L/opt/sun-jdk-1.6.0.07/jre/lib/i386/client -L/opt/sun-jdk-1.6.0.07/jre/lib/i386/native_thre
ads -L/usr/lib -L/usr/lib/xulrunner-1.9/sdk/lib ../unxlngi6.pro/slo/rptxml_dflt_version.o -o ../
unxlngi6.pro/lib/librptxmlli.so ../unxlngi6.pro/slo/xmlstrings.o ../unxlngi6.pro/slo/xmlfilter.o
 ../unxlngi6.pro/slo/xmlReport.o ../unxlngi6.pro/slo/xmlMasterFields.o ../unxlngi6.pro/slo/xmlGr
oup.o ../unxlngi6.pro/slo/xmlHelper.o ../unxlngi6.pro/slo/xmlSection.o ../unxlngi6.pro/slo/xmlCo
mponent.o ../unxlngi6.pro/slo/xmlControlProperty.o ../unxlngi6.pro/slo/xmlFormattedField.o ../un
xlngi6.pro/slo/xmlReportElement.o ../unxlngi6.pro/slo/xmlReportElementBase.o ../unxlngi6.pro/slo
/xmlCondPrtExpr.o ../unxlngi6.pro/slo/xmlImage.o ../unxlngi6.pro/slo/xmlFunction.o ../unxlngi6.p
ro/slo/xmlStyleImport.o ../unxlngi6.pro/slo/xmlAutoStyle.o ../unxlngi6.pro/slo/xmlExport.o ../un
xlngi6.pro/slo/dbloader2.o ../unxlngi6.pro/slo/xmlFormatCondition.o ../unxlngi6.pro/slo/xmlPrope
rtyHandler.o ../unxlngi6.pro/slo/xmlColumn.o ../unxlngi6.pro/slo/xmlCell.o ../unxlngi6.pro/slo/x
mlTable.o ../unxlngi6.pro/slo/xmlFixedContent.o ../unxlngi6.pro/slo/xmlSubDocument.o ../unxlngi6
.pro/slo/xmlservices.o ../unxlngi6.pro/slo/xmlImportDocumentHandler.o ../unxlngi6.pro/slo/xmlExp
ortDocumentHandler.o -lsvxli -lxoli -lvclli -lutlli -ltlli -ldbtoolsli -lcomphelp4gcc3 -luno_cpp
uhelpergcc3 -luno_cppu -lucbhelper4gcc3 -lsfxli -lsvlli -lsotli -luno_sal -lrptli -ldl -lpthread
 -lm
rm -f ../unxlngi6.pro/lib/check_librptxmlli.so
mv ../unxlngi6.pro/lib/librptxmlli.so ../unxlngi6.pro/lib/check_librptxmlli.so
/data/stuff/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solenv/bin/checkdll.sh
-L../unxlngi6.pro/lib -L/data/stuff/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9
/solver/300/unxlngi6.pro/lib  ../unxlngi6.pro/lib/check_librptxmlli.so
Checking DLL ../unxlngi6.pro/lib/check_librptxmlli.so ...: ok
-rwxr-xr-x 1 portage portage 655525 Oct 17 07:33 ../unxlngi6.pro/lib/librptxmlli.so
Making: ../unxlngi6.pro/bin/rpten-US.res
Making: ../unxlngi6.pro/bin/rptde.res
using rsc multi-res feature
rsc -presponse @/data/stuff/portage/app-office/openoffice-3.0.0/temp/mkxG2PD6 > /dev/null
Making: ../unxlngi6.pro/bin/rptuien-US.res
Making: ../unxlngi6.pro/bin/rptuide.res
using rsc multi-res feature
rsc -presponse @/data/stuff/portage/app-office/openoffice-3.0.0/temp/mkn63BcK > /dev/null
-------------
Running processes: 0
deliver -- version: 1.130
Module 'reportdesign' delivered successfully. 33 files copied, 2 files unchanged

1 module(s):
        slideshow
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /data/stuff/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/slideshow/source/engine/OGLTrans

Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command "build --from slideshow"

rmdir /tmp/7902
make: *** [stamp/build] Error 1
 *
 * ERROR: app-office/openoffice-3.0.0 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 5421:  Called die
 * The specific snippet of code:
 * make || die "Build failed"
 * The die message:
 * Build failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/app-office:openoffice-3.0.0:20081016-233047.log'.
 * The ebuild environment file is located at '/data/stuff/portage/app-office/openoffice-3.0.0/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.07"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info


I then removed the opengl use flag, tried again, and this time it compiled fine.
Comment 8 Andreas Proschofsky (RETIRED) gentoo-dev 2009-01-11 20:51:21 UTC
*** Bug 246151 has been marked as a duplicate of this bug. ***
Comment 9 Zhang Weiwu 2009-01-12 01:26:16 UTC
As somebody who don't know how internally it works, I am confused reading other people's comment that this could be related to video card driver. What does it has to do with video card driver? I should be able to compile OOO even if there is no video driver installed (e.g. on a server. as example KnowledgeTree runs a copy of OOO without X) and if I have multiple video driver installed which would affect ooo compilation?

But if it is related to the video: I also failed to compile with USE="opengl" (see Bug 246151 for detail of my case) but I have x11-drivers/xf86-video-ati-6.6.3 installed. I did not install nvidia driver (I run it on ppc/iBook).

I have Radeon Mobility 7500. Reason for using such old version of ATI driver: newer version cause my X11 session freeze (I tried all of them), thus I am waiting for 6.10

For your information I tried both mesa-6.5.2-r1 and mesa-7.0.3 and failed to compile ooo with both.
Comment 10 Mike Gualtieri 2009-02-21 15:19:31 UTC
Could this be related to a missing dependency?  There is a thread over on the forums where someone had this issue, and fixed it be running an emerge system and world:

http://forums.gentoo.org/viewtopic-t-720524.html
Comment 11 Mike Gualtieri 2009-02-22 02:14:05 UTC
(In reply to comment #10)
> Could this be related to a missing dependency?  There is a thread over on the
> forums where someone had this issue, and fixed it be running an emerge system
> and world:
> 
> http://forums.gentoo.org/viewtopic-t-720524.html
> 

As a follow up on my last post, I updated some of the autoconf and x11 libs on the system prior to rebuilding oo-3.0.0, and the build succeeded.  I'm not sure what package actually made the difference.  I compiled the list from dependency's on virtual/opengl that were out of date.  Here are the packages I updated to the latest gentoo stable:

sys-devel/autoconf-wrapper
app-admin/eselect-opengl
sys-devel/autoconf
sys-devel/libtool
x11-proto/inputproto
x11-libs/libICE
x11-libs/libX11
x11-libs/libSM
x11-libs/libXi
sys-libs/readline
sys-libs/gpm
sys-devel/m4
sys-devel/gnuconfig
Comment 12 Zhang Weiwu 2009-02-23 09:10:14 UTC
Hi. Last month I updated the world deeply with new USE and depcleaned the system. Yesterday I upgrade ooo to 3.0.1 with opengl USE flag. Result: the compile succeeded;

I could not tell what version of what depended library caused openoffice to be able to compile, but it sure seems like some dependency is wrong.

Gentoo QA team please decide if to ignore this problem (just ask everybody to update openoffice deeply) or keep this bug to find the real cause (could be difficult unless someone knows about the 3D library used by ooo)
Comment 13 Pun 2009-05-05 08:19:37 UTC
I've got propbably related build problem: openoffice-3.0 complains about missing libGLU in its configure script. Unfortunately I've noticed this too late so I don't really know what I emerged ot updated last, so I have no clue  what caused this.
Comment 14 Pun 2009-05-10 07:56:18 UTC
For me the issue was resolved by re-emerging mesa. As it turned out, the libGLU is supplied by it regardlessly of the opengl implementation that is used.
Comment 15 Rafael 2009-05-25 02:05:50 UTC
I think I am having this issue with openoffice-3.1.0
Please see bug 271152
Comment 16 Andreas Proschofsky (RETIRED) gentoo-dev 2009-11-28 21:00:34 UTC
Ages old and shouldn't happen anymore, please reopen if you still got this problem