Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246151 - app-office/openoffice-3.0.0 compilation fails with opengl use flag
Summary: app-office/openoffice-3.0.0 compilation fails with opengl use flag
Status: RESOLVED DUPLICATE of bug 219390
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 251192 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-09 12:30 UTC by Zhang Weiwu
Modified: 2009-01-11 20:51 UTC (History)
1 user (show)

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


Attachments
The ebuild environment file (environment,222.61 KB, text/plain)
2008-11-09 12:32 UTC, Zhang Weiwu
Details
gzipped build.log (6M before compressed) (build.log.gz,404.54 KB, text/plain)
2008-11-09 12:34 UTC, Zhang Weiwu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zhang Weiwu 2008-11-09 12:30:28 UTC
Hi. On my PowerPC app-office/openoffice-3.0.0 compilation fails when used with opengl use flag. The application compiles just fine by adding -opengl to portage.use.

It failed with MAKEOPTS="-j1"

dmake:  Error code 1, while making '../../../unxlngppc.pro/slo/OGLTrans_TransitionerImpl.obj'

ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/slideshow/source/engine/OGLTrans
rmdir /tmp/2751
make: *** [stamp/build] Error 1
 *
 * ERROR: app-office/openoffice-3.0.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5400:  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-3.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-3.0.0/temp/environment'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="/usr/share/hsqldb/lib/hsqljdbc.jar:/usr/share/jdbc-oracle-bin-10.2/lib/orai18n.jar:/usr/share/jdbc-mysql/lib/jdbc-mysql.jar:/usr/share/hsqldb/lib/hsqltool.jar:/usr/share/jdbc-postgresql/lib/jdbc-postgresql.jar:/usr/share/hsqldb/lib/hsqldbutil.jar:/usr/share/hsqldb/lib/hsqldb.jar:/usr/share/jdbc-oracle-bin-10.2/lib/jdbc-oracle-bin.jar:." JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
Comment 1 Zhang Weiwu 2008-11-09 12:32:06 UTC
Created attachment 171165 [details]
The ebuild environment file

The ebuild environment file. As well as emerge --info

$ sudo emerge --info
Portage 2.1.4.5 (default-linux/ppc/ppc32/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo-r1 ppc)
=================================================================
System uname: 2.6.26-gentoo-r1 ppc 750FX
Timestamp of tree: Thu, 30 Oct 2008 15:06:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
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="ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=G3 -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=G3 -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LINGUAS="de en_US"
MAKEOPTS="-j1"
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"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa berkdb bluetooth cdda cddb cjk cli cracklib crypt cups dbus dri dvd extras ffmpeg flac fortran gdbm gpm iconv ieee1394 imlib ipv6 isdnlog mad midi mng mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin odk ogg opengl openmp pcre perl png ppc pppd python quicktime readline reflection sdl session speex spl ssl subversion tcl tcpd theora thesaurus tk unicode vcd vidix vorbis webdav wifi x264 xorg xulrunner xv xvid zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="joystick synaptics keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en_US" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Zhang Weiwu 2008-11-09 12:34:54 UTC
Created attachment 171166 [details]
gzipped build.log (6M before compressed)
Comment 3 Zhang Weiwu 2008-11-09 12:36:26 UTC
Could this be related to 243478 ?

I just happen to see in 243478 opengl flag is also used.

My media-libs/mesa is 6.5.2-r1, just in case this information is needed.
Comment 4 Hanno Zysik (geki) 2008-11-10 11:12:21 UTC
@Zhang
You may try mesa 7.0.x.

... woa, there is no 7.x stable on ppc? :o
Comment 5 Zhang Weiwu 2008-11-10 13:52:51 UTC
It's funny to try mesa 7. By funny I mean x11-proto/xf86driproto-2.0.3 is needed by, and blocked by, edia-libs/mesa-7.0.3.

# emerge -av =mesa-7.0.3

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] x11-proto/xf86driproto-2.0.3  42 kB 
[ebuild     U ] media-libs/mesa-7.0.3 [6.5.2-r1] USE="-debug -doc -motif (-nptl*) -pic -xcb" VIDEO_CARDS="radeon (-intel) -mach64 -mga -none -r128 -s3virge -savage (-sis) (-sunffb) -tdfx -trident (-via) (-i810%)" 3,310 kB 
[blocks B     ] <=x11-proto/xf86driproto-2.0.3 (is blocking media-libs/mesa-7.0.3)

Total: 2 packages (1 upgrade, 1 new, 1 block), Size of downloads: 3,352 kB

!!! Error: The above package list contains packages which cannot be installed
!!!        at the same time on the same system.

For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

Comment 6 Hanno Zysik (geki) 2008-11-10 16:44:45 UTC
I guess you need xf86driproto-2.0.4 which is also ~ppc.
If there are more of such failing dependencies stop before the system gets mixed up.
Comment 7 Zhang Weiwu 2008-11-11 00:45:48 UTC
Okay I'll try that when I am back home. but question: why? Is it a bug that a package depends on yet blocks another? Why not simply make the package depends on a higher version of another package, instead of making such paradox prompt message that mislead users thinking it's a bug?
Comment 8 Hanno Zysik (geki) 2008-11-11 09:48:21 UTC
Side-effects of mixed stable/unstable packages. That is quite untested.
Comment 9 Zhang Weiwu 2008-11-13 00:41:30 UTC
upgraded to mesa 7.0.3 and ends up with the similar problem. The bug seems not because of mesa 6.x

If you need build.log I'll upload this one again.

Making: ../../../unxlngppc.pro/slo/OGLTrans_TransitionerImpl.obj
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx: In member function 'void<unnamed>::OGLTransitionerImpl::createTexture(unsigned int*, unx::GLXPixmap, bool, bool, com::sun::star::uno::Sequence<signed char>&, const<unnamed>::<unnamed>::OGLFormat*)':
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx:866: error: 'PFNGLXBINDTEXIMAGEEXTPROC' is not a member of 'unx'
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx:866: error: expected `;' before 'myglXBindTexImageEXT'
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx:871: error: 'myglXBindTexImageEXT' was not declared in this scope
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx: In member function 'void<unnamed>::OGLTransitionerImpl::disposeTextures()':
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx:1218: error: 'PFNGLXRELEASETEXIMAGEEXTPROC' is not a member of 'unx'
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx:1218: error: expected `;' before 'myglXReleaseTexImageEXT'
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx:1221: error: 'myglXReleaseTexImageEXT' was not declared in this scope
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx:1231: error: 'myglXReleaseTexImageEXT' was not declared in this scope
dmake:  Error code 1, while making '../../../unxlngppc.pro/slo/OGLTrans_TransitionerImpl.obj'

ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/slideshow/source/engine/OGLTrans
rmdir /tmp/1830
make: *** [stamp/build] Error 1
 * 
 * ERROR: app-office/openoffice-3.0.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5404:  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-3.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-3.0.0/temp/environment'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="/usr/share/hsqldb/lib/hsqljdbc.jar:/usr/share/jdbc-oracle-bin-10.2/lib/orai18n.jar:/usr/share/jdbc-mysql/lib/jdbc-mysql.jar:/usr/share/hsqldb/lib/hsqltool.jar:/usr/share/jdbc-postgresql/lib/jdbc-postgresql.jar:/usr/share/hsqldb/lib/hsqldbutil.jar:/usr/share/hsqldb/lib/hsqldb.jar:/usr/share/jdbc-oracle-bin-10.2/lib/jdbc-oracle-bin.jar:." JAVA_HOME="/opt/ibm-jdk-bin-1.4.2.11"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info

 * Messages for package app-office/openoffice-3.0.0:

 * 
 *  It is important to note that OpenOffice.org is a very fragile  
 *  build when it comes to CFLAGS.  A number of flags have already 
 *  been filtered out.  If you experience difficulty merging this  
 *  package and use agressive CFLAGS, lower the CFLAGS and try to  
 *  merge again. Also note that building OOo takes a lot of time and 
 *  hardware ressources: 4-6 GB free diskspace and 256 MB RAM are 
 *  the minimum requirements. If you have less, use openoffice-bin 
 *  instead. 
 * 
 *  Also if you experience a build break, please make sure to retry 
 *  with MAKEOPTS=-j1 before filing a bug. 
 * 
 * Don't have at least 512MBytes RAM
 * Bad things may happen! You may abort the build by pressing ctrl+c in
 * the next 15 seconds.
 *  
 *  You are building with java-support disabled, this results in some 
 *  of the OpenOffice.org functionality being disabled. 
 *  If something you need does not work for you, rebuild with 
 *  java in your USE-flags. 
 * 
 *  If you want the OpenOffice.org systray quickstarter to work 
 *  activate either the 'gtk' or 'gnome' use flags. 
 * 
 * 
 * ERROR: app-office/openoffice-3.0.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5404:  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-3.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-3.0.0/temp/environment'.
 * 
Comment 10 Hanno Zysik (geki) 2008-11-13 08:29:01 UTC
Then you must have other GL headers in use or mesa is broken on ppc32..?
Comment 11 Zhang Weiwu 2008-11-13 08:33:09 UTC
How could I tell? I am a dump stupid dense user, please give me instructions what should I do instead.

I already have OOO 3.0 installed, without opengl flag.
Comment 12 Brad Allen 2009-01-11 14:50:47 UTC
I also fail build, but my failed build had an error message that was only found in bug 251192, not this bug (246151).  Hopefully this first bug is related, but I do not know.  Anyway, here is the error message:

It happens during patching, before the main build:

( patch -l -p0  -d /var/tmp/paludis/app-office-openoffice-3.0.0/work/ooo/build/ooo300-m9 > /dev/null) < /var/tmp/paludis/app-office-openoffice-3.0.0/work/ooo/patches/dev300/./transogl-detect-fix.diff
done.
copy transogl-detect-fix.diff -> /var/tmp/paludis/app-office-openoffice-3.0.0/work/ooo/build/ooo300-m9/applied_patches/389-transogl-detect-fix.diff

transogl-buildfix.diff: testing...( patch -l -p0  -d /var/tmp/paludis/app-office-openoffice-3.0.0/work/ooo/build/ooo300-m9 --dry-run ) < /var/tmp/paludis/app-office-openoffice-3.0.0/work/ooo/patches/dev300/./transogl-buildfix.diff
patching file slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx
( patch -l -p0  -d /var/tmp/paludis/app-office-openoffice-3.0.0/work/ooo/build/ooo300-m9 > /dev/null) < /var/tmp/paludis/app-office-openoffice-3.0.0/work/ooo/patches/dev300/./transogl-buildfix.diff
done.
copy transogl-buildfix.diff -> /var/tmp/paludis/app-office-openoffice-3.0.0/work/ooo/build/ooo300-m9/applied_patches/390-transogl-buildfix.diff

transogl-pixmap-to-texture.diff: testing...( patch -l -p0  -d /var/tmp/paludis/app-office-openoffice-3.0.0/work/ooo/build/ooo300-m9 --dry-run ) < /var/tmp/paludis/app-office-openoffice-3.0.0/work/ooo/patches/dev300/./transogl-pixmap-to-texture.diff
patching file slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx
can't find file to patch at input line 1093
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -rup slideshow/source/engine/OGLTrans-orig/OGLTrans_TransitionerImpl.cxx.orig slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx.orig
|--- slideshow/source/engine/OGLTrans-orig/OGLTrans_TransitionerImpl.cxx.orig   2008-08-26 18:06:46.000000000 +0200
|+++ slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx.orig        2008-08-25 19:10:29.000000000 +0200
--------------------------
File to patch:  




Of course, it politely sits there waiting for me to tell it which file to patch.

Prior to this, I culled some of the openoffice build bugs to get a best practice going before I delved in (81.5 days ago, around Oct. 17, 2008, I had a failure building openoffice 3; my notes said "patch failed", but anyway, I wanted to be cautious).  I did add the make -j2 patch posted by Comment #25 From David Tardon in bug 253386, in the hope the make -j2 should work; hopefully, that is irrelevent to this bug.  I also put in use flag -kde since I have a kde-4 system and don't want any kde-3 stuff being pulled in.

Adding -opengl results in the build still failing with:

transogl-buildfix.diff: testing...( patch -l -p0  -d /var/tmp/paludis/app-office-openoffice-3.0.0/work/ooo/build/ooo300-m9 --dry-run ) < /var/tmp/paludis/app-office-openoffice-3.0.0/work/ooo/patches/dev300/./transogl-buildfix.diff
patching file slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx
( patch -l -p0  -d /var/tmp/paludis/app-office-openoffice-3.0.0/work/ooo/build/ooo300-m9 > /dev/null) < /var/tmp/paludis/app-office-openoffice-3.0.0/work/ooo/patches/dev300/./transogl-buildfix.diff
done.
copy transogl-buildfix.diff -> /var/tmp/paludis/app-office-openoffice-3.0.0/work/ooo/build/ooo300-m9/applied_patches/390-transogl-buildfix.diff

transogl-pixmap-to-texture.diff: testing...( patch -l -p0  -d /var/tmp/paludis/app-office-openoffice-3.0.0/work/ooo/build/ooo300-m9 --dry-run ) < /var/tmp/paludis/app-office-openoffice-3.0.0/work/ooo/patches/dev300/./transogl-pixmap-to-texture.diff
patching file slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx
can't find file to patch at input line 1093
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -rup slideshow/source/engine/OGLTrans-orig/OGLTrans_TransitionerImpl.cxx.orig slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx.orig
|--- slideshow/source/engine/OGLTrans-orig/OGLTrans_TransitionerImpl.cxx.orig   2008-08-26 18:06:46.000000000 +0200
|+++ slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx.orig        2008-08-25 19:10:29.000000000 +0200
--------------------------
File to patch: 


I'm going to see if I can mimick the USE flags of people who have successfully compiled openoffice.
Comment 13 Zhang Weiwu 2009-01-11 15:13:08 UTC
I have "cups dbus linguas_de linguas_en_US linguas_ja nsplugin odk" and nothing else.
Comment 14 Andreas Proschofsky (RETIRED) gentoo-dev 2009-01-11 20:41:03 UTC
*** Bug 251192 has been marked as a duplicate of this bug. ***
Comment 15 Andreas Proschofsky (RETIRED) gentoo-dev 2009-01-11 20:51:21 UTC

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