Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214953 - app-office/openoffice-2.4.0_rc5 compile failed
Summary: app-office/openoffice-2.4.0_rc5 compile failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 218308 218343 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-26 19:36 UTC by Balint Dobai-Pataky
Modified: 2008-04-19 05:54 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge.info,3.98 KB, text/plain)
2008-03-26 19:37 UTC, Balint Dobai-Pataky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Balint Dobai-Pataky 2008-03-26 19:36:13 UTC
Making: ../../../unxlngx6.pro/slo/OGLTrans.uno_version.obj
x86_64-pc-linux-gnu-gcc -Wreturn-type -fmessage-length=0 -c -O2 -fno-strict-aliasing -Wuninitialized   -I.  -I../../../unxlngx6.pro/inc/OGLTrans -I../inc -I../../../inc/pch -I../../../inc -I../../../unx/inc -I../../../unxlngx6.pro/inc -I. -I/var/tmp/portage/app-office/openoffice-2.4.0_rc5/work/ooo/build/OOH680_m11/solver/680/unxlngx6.pro/incdont_use_stl -I/var/tmp/portage/app-office/openoffice-2.4.0_rc5/work/ooo/build/OOH680_m11/solver/680/unxlngx6.pro/inc/external -I/var/tmp/portage/app-office/openoffice-2.4.0_rc5/work/ooo/build/OOH680_m11/solver/680/unxlngx6.pro/inc -I/var/tmp/portage/app-office/openoffice-2.4.0_rc5/work/ooo/build/OOH680_m11/solenv/unxlngx6/inc -I/var/tmp/portage/app-office/openoffice-2.4.0_rc5/work/ooo/build/OOH680_m11/solenv/inc -I/var/tmp/portage/app-office/openoffice-2.4.0_rc5/work/ooo/build/OOH680_m11/res -I/var/tmp/portage/app-office/openoffice-2.4.0_rc5/work/ooo/build/OOH680_m11/solver/680/unxlngx6.pro/incdont_use_stl -I/var/tmp/portage/app-office/openoffice-2.4.0_rc5/work/ooo/build/OOH680_m11/solenv/inc/Xp31 -INO_JAVA_HOME/include -INO_JAVA_HOME/include/linux -INO_JAVA_HOME/include/native_threads/include -Idefault_x_includes     -I/var/tmp/portage/app-office/openoffice-2.4.0_rc5/work/ooo/build/OOH680_m11/solver/680/unxlngx6.pro/inc/offuh -I. -I../../../res -I. -pipe -O2 -march=athlon64 -mtune=k8 -pipe -Wall -Wextra -Wendif-labels -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DX86_64 -DCVER=C341 -DNPTL -DGLIBC=2 -DX86_64 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/include/g++-v4 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DGSTREAMER -DCUI -DOOH680=OOH680   -DSHAREDLIB -D_DLL_   -o ../../../unxlngx6.pro/slo/OGLTrans.uno_version.o ../../../unxlngx6.pro/misc/OGLTrans.uno_version.c
if test -e ../../../unxlngx6.pro/slo/OGLTrans.uno_version.o ; then touch ../../../unxlngx6.pro/slo/OGLTrans.uno_version.obj ; fi
Making: ../../../unxlngx6.pro/slo/OGLTrans_TransitionImpl.obj
/var/tmp/portage/app-office/openoffice-2.4.0_rc5/work/ooo/build/OOH680_m11/slideshow/source/engine/OGLTrans/OGLTrans_TransitionImpl.cxx: In member function 'void OGLTransitionImpl::preparePermShader()':
/var/tmp/portage/app-office/openoffice-2.4.0_rc5/work/ooo/build/OOH680_m11/slideshow/source/engine/OGLTrans/OGLTrans_TransitionImpl.cxx:1156: error: 'glActiveTexture' was not declared in this scope
/var/tmp/portage/app-office/openoffice-2.4.0_rc5/work/ooo/build/OOH680_m11/slideshow/source/engine/OGLTrans/OGLTrans_TransitionImpl.cxx: In member function 'void OGLTransitionImpl::displaySlidesShaders(double, sal_Int32, sal_Int32, double, double)':
/var/tmp/portage/app-office/openoffice-2.4.0_rc5/work/ooo/build/OOH680_m11/slideshow/source/engine/OGLTrans/OGLTrans_TransitionImpl.cxx:1195: error: 'glActiveTexture' was not declared in this scope
dmake:  Error code 1, while making '../../../unxlngx6.pro/slo/OGLTrans_TransitionImpl.obj'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-2.4.0_rc5/work/ooo/build/OOH680_m11/slideshow/source/engine/OGLTrans
make: *** [stamp/build] Error 1

Reproducible: Always

Steps to Reproduce:
emerge openoffice



/var/tmp/portage/app-office/openoffice-2.4.0_rc5/work/ooo/build/OOH680_m11/slideshow/source/engine/OGLTrans/OGLTrans_TransitionImpl.cxx: In member function 'void OGLTransitionImpl::preparePermShader()':
/var/tmp/portage/app-office/openoffice-2.4.0_rc5/work/ooo/build/OOH680_m11/slideshow/source/engine/OGLTrans/OGLTrans_TransitionImpl.cxx:1156: error: 'glActiveTexture' was not declared in this scope
/var/tmp/portage/app-office/openoffice-2.4.0_rc5/work/ooo/build/OOH680_m11/slideshow/source/engine/OGLTrans/OGLTrans_TransitionImpl.cxx: In member function 'void OGLTransitionImpl::displaySlidesShaders(double, sal_Int32, sal_Int32, double, double)':
/var/tmp/portage/app-office/openoffice-2.4.0_rc5/work/ooo/build/OOH680_m11/slideshow/source/engine/OGLTrans/OGLTrans_TransitionImpl.cxx:1195: error: 'glActiveTexture' was not declared in this scope
dmake:  Error code 1, while making '../../../unxlngx6.pro/slo/OGLTrans_TransitionImpl.obj'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-2.4.0_rc5/work/ooo/build/OOH680_m11/slideshow/source/engine/OGLTrans
make: *** [stamp/build] Error 1
 * 
 * ERROR: app-office/openoffice-2.4.0_rc5 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5388:  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-2.4.0_rc5:20080326-154817.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-2.4.0_rc5/temp/environment'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="" COMPILER=""
Comment 1 Balint Dobai-Pataky 2008-03-26 19:37:59 UTC
Created attachment 147398 [details]
emerge --info
Comment 2 Hanno Zysik (geki) 2008-03-26 21:07:11 UTC
I have that with nvidia binary drivers.
Add this to src_compile() in the ebuild:

append-flags -DGL_GLEXT_PROTOTYPES
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2008-03-26 22:39:05 UTC
(In reply to comment #2)
> I have that with nvidia binary drivers.
> Add this to src_compile() in the ebuild:
> 
> append-flags -DGL_GLEXT_PROTOTYPES
> 

I've added this to the ebuild now.

@Balint: Could you give the mirrors some time to catch up, resync and try again?
Comment 4 Balint Dobai-Pataky 2008-03-27 18:54:12 UTC
it's fine now, 
thanks
btw is it loading faster or it's just me?
Comment 5 Jan Kundrát (RETIRED) gentoo-dev 2008-04-18 19:26:22 UTC
*** Bug 218308 has been marked as a duplicate of this bug. ***
Comment 6 Jan Kundrát (RETIRED) gentoo-dev 2008-04-18 19:31:57 UTC
Looks like the 2.4.0 ebuild lacks the fix, reopening per recent dupe.
Comment 7 Andreas Proschofsky (RETIRED) gentoo-dev 2008-04-18 20:09:39 UTC
Falsely believed that this has been taken care of upstream, sorry about that. Re-enabled the fix in the ebuild.

Closing
Comment 8 Andreas Proschofsky (RETIRED) gentoo-dev 2008-04-19 05:54:23 UTC
*** Bug 218343 has been marked as a duplicate of this bug. ***