Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openoffice 2.0.4 fails
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message

Joined: 11 Jul 2005
Posts: 56
Location: Brazil

PostPosted: Wed Dec 20, 2006 5:53 pm    Post subject: openoffice 2.0.4 fails Reply with quote


I've trying to compile openoffice 2.0.4 but I didn't succeed... I didn't find information neither in the forum nor in

The error message:

Making: ../../
gcc -fsigned-char -fmessage-length=0 -c -O2 -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -I. -I../../ -I../inc -I../../inc/pch -I../../inc -I../../unx/inc -I../../ -I. -I/var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/ -I/var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/ -I/var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/ -I/var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solenv/unxlngppc/inc -I/var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solenv/inc -I/var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/res -I/var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/ -I/var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solenv/inc/Xp31 -I/opt/ibm-jdk-bin- -I/opt/ibm-jdk-bin- -I/opt/ibm-jdk-bin- -I/usr/include -I/var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/ -I. -I../../res -I. -fsigned-char -pipe -O2 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -D_STLP_STRICT_ANSI -fPIC -DLINUX -DUNX -DVCL -DGCC -DC300 -DPOWERPC -DCVER=C300 -DNPTL -DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DPOWERPC -DPPC -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DOOD680=OOD680 -DSHAREDLIB -D_DLL_ -DMULTITHREAD -o ../../ com_sun_star_comp_beans_LocalOfficeWindow.c
In file included from com_sun_star_comp_beans_LocalOfficeWindow.c:41:
/opt/ibm-jdk-bin- error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jboolean'
dmake: Error code 1, while making '../../'
'---* *---'

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/bean/native/unix
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.0.4 failed.
Call stack:, line 1546: Called dyn_compile, line 937: Called src_compile
openoffice-2.0.4.ebuild, line 276: Called die

!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! When you file a bug report, please include the following information:
GENTOO_VM=ibm-jdk-bin-1.5 CLASSPATH="" JAVA_HOME="/opt/ibm-jdk-bin-"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info

More helpful information:
emerge openoffice -pv

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

Calculating dependencies... done!
[ebuild U ] app-office/openoffice-2.0.4 [2.
0.3] USE="cups%* firefox gnome gtk java kde ldap pam -binfilter -branding% -cairo -dbus% -debug -eds -gstreamer% -odk -sound% -webdav% (-xml%)" LINGUAS="en pt_BR -af -ar -be_BY -bg -bn -bs -ca -cs -cy -da -de -el -en_GB -en_US -en_ZA -es -et -fa -fi -fr -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -lt -lv% -mk -nb -nl -nn -nr -ns -pa_IN -pl -pt -ru -rw -sh_YU -sk -sl -sr_CS -st -sv -sw_TZ -th -tn -tr -ts -vi -xh -zh_CN -zh_TW -zu" 0 kB

Total size of downloads: 0 kB

I also tried to compile with -java but it fails.
emerge --info
Portage 2.1.1-r2 (default-linux/ppc/2005.0, gcc-4.1.1, glibc-2.4-r4, 2.6.17-rc4 ppc)
System uname: 2.6.17-rc4 ppc 7447A, altivec supported
Gentoo Base System version 1.12.8
Last Sync: Tue, 19 Dec 2006 17:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.16
CFLAGS="-O2 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
LINGUAS="en pt_BR"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
USE="ppc X alsa altivec arts asf auctex bash-completion berkdb bitmap-fonts browserplugin cdr cli clisp cracklib crypt cups dlloader dri dvd elibc_glibc emacs emboss fbcon firefox flash fortran gif gnome gpm graphviz gtk gtk2 haskell iconv imap input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jpeg kde kernel_linux latex ldap leim libwww linguas_en linguas_pt_BR motif mozilla mp3 mpeg ncurses nls nptl nptlonly nsplugin ocaml ogg oggvorbis opengl pam pascal pcre pda pdf perl php png ppds pppd python qt3 qt4 readline reflection session spell spl ssl subversion tcpd tetex truetype truetype-fonts type1-fonts unicode userland_GNU userlocales vanilla video_cards_fbdev video_cards_radeon xine xml2 xorg xv zlib"

Maybe the problem is a cflag... but I don't know exactly what I have to try, so any help is welcome.

Thanks in advance,

Back to top
View user's profile Send private message

Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Wed Dec 20, 2006 9:27 pm    Post subject: Reply with quote


This is a bug with ibm-java 1.5. You probably didn't find it because it has been closed
recently. However the patch for this is not in ppc yet it is still in ~ppc I think.
A temporary solution is to build OOo without java. You will miss the help
system mainly by doing so.

This is the bug in question #126105.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum