Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283668 - app-office/openoffice-3.1.1 fails to build (wizards, xmerge modules)
Summary: app-office/openoffice-3.1.1 fails to build (wizards, xmerge modules)
Status: RESOLVED INVALID
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:
Depends on:
Blocks:
 
Reported: 2009-09-04 15:49 UTC by Peter Volkov (RETIRED)
Modified: 2009-10-02 19:06 UTC (History)
2 users (show)

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


Attachments
build.log.gz (build.log.gz,524.77 KB, text/plain)
2009-09-04 15:49 UTC, Peter Volkov (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Volkov (RETIRED) gentoo-dev 2009-09-04 15:49:17 UTC
I've managed to build openoffice-3.1.1 successfully with the following USE flags:

USE="bash-completion cups dbus kde nsplugin opengl pam (-aqua) -binfilter -debug -eds -java -gnome -gstreamer -gtk -ldap -mono -odk -templates"

After I've enabled java USE flag and attempt to rebuild fails with the following error:

Making:    swen-GB.res
Making:    swru.res
using rsc multi-res feature
Module 'sw' delivered successfully. 269 files copied, 0 files unchanged

2 module(s):
        wizards
        xmerge
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/xmerge/source/aportisdoc
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/wizards/com/sun/star/wizards/web

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

rmdir /tmp/17666
make: *** [stamp/build] Error 1


emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.27-openvz-briullov.1-r2 i686)
=================================================================
System uname: Linux-2.6.27-openvz-briullov.1-r2-i686-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-2.0.1
Timestamp of tree: Thu, 03 Sep 2009 22:15:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -mtune=pentium3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe -mtune=pentium3"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="buildpkg ccache collision-protect distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,--as-needed,--hash-style=gnu"
LINGUAS="en ru en_GB en_US"
MAKEOPTS="-j8"
PKGDIR="/i686-packages"
PORTAGE_CONFIGROOT="/"
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="/usr/local/portage /usr/local/portage/layman/kde-testing"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amr bash-completion bluetooth bzip2 caps cdaudio cdparanoia chm cleartype cli consolekit cracklib crypt cups dbus dirac djvu dri dvi encode exif faac faad fam ffmpeg flac fontconfig fortran gif gnokii gs gsm hal iconv id3tag ipv6 isdnlog jbig jingle jpeg jpeg2k kde laptop latex libnotify libsamplerate mad matroska mikmod mmx mng modplug mp2 mp3 mpeg mtp mudflap ncurses network networkmanager nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf plasma plotutils png policykit ppds pppd qt4 raw readline reflection schroedinger session spell spl sse sse2 ssl startup-notification svg sysfs taglib theora threads tiff timidity truetype tta unicode usb vorbis wavpack wma wmf x264 x86 xmp xorg xpm xv xvid 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 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="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru en_GB en_US" USERLAND="GNU" VIDEO_CARDS="vesa radeon intel sis"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2009-09-04 15:49:48 UTC
Created attachment 203122 [details]
build.log.gz

Full build log.
Comment 2 Felix Schuster 2009-09-08 12:29:10 UTC
pretty much the same here: amd64 system, with gcc-4.4.1:

[ebuild     U ] app-office/openoffice-3.1.1 [3.1.0-r1] USE="dbus gnome gtk java opengl pam (-aqua) -bash-completion -binfilter -cups -debug -eds -gstreamer -kde -ldap -mono -nsplugin -odk -templates" LINGUAS="de en -af -ar -as_IN -be_BY -bg -bn -br -brx -bs -ca -cs -cy -da -dgo -dz -el -en_GB -en_US -en_ZA -eo -es -et -eu -fa -fi -fr -ga -gl -gu -he -hi_IN -hr -hu -id -it -ja -ka -kk -km -kn_IN -ko -kok -ks -ku -lt -mai -mk -ml_IN -mn -mni -mr_IN -nb -ne -nl -nn -nr -ns -oc -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sa_IN -sat -sd -sh -sk -sl -sr -ss -st -sv -sw_TZ -ta -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -uz -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB

[...]
Making:    guesslang.lib
Making:    libguesslanglx.so
Making:    spell.lib
Making:    hyphen_lib.lib
Making:    libspelllx.so
Making:    libhyphenlx.so
Making:    lnth.lib
Making:    liblnthlx.so
Module 'lingucomponent' delivered successfully. 9 files copied, 1 files unchanged

2 module(s): 
        sdext
        canvas
need(s) to be rebuilt

Reason(s):
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/sdext/source/pdfimport/pdfparse
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/canvas/source/vcl

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

rmdir /tmp/14459
make: *** [stamp/build] Error 1
 * 
 * ERROR: app-office/openoffice-3.1.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5254:  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.1.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-3.1.1/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.15"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info

(I think Bug #283701 and #283590 are very similar).
Do you need any further information?
Comment 3 Alexander Miller 2009-09-28 22:52:58 UTC
I got a similar error from building build openoffice-3.1.1. Further investigation showed it was not related to your issue, but nevertheless I have some bits for you. (For the curious: I had some broken dependencies because dev-libs/nspr was updated just before OOo.)

There are a lot of bugs for failing OOo builds with similar error messages. I just picked this one and digged around in the attached build log and in my build log, and then I realized:
OOo's #%~{! build system doesn't stop on all errors. The error message you see is usually not very helpful, the REAL error is HIDDEN somewhere in the middle of the HUGE build log. Grrrrr...

In your case, grepping the log for errors revealed:

/opt/sun-jdk-1.6.0.15/bin/javac -source 1.5 -target 1.5 -classpath ".:../../../../../../unxlngi6.pro/class:/opt/sun-jdk-1.6.0.15/jre/lib/rt.jar:.:/var/tmp/porta
ge/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/solver/310/unxlngi6.pro/bin/ridl.jar:/var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310
-m19/solver/310/unxlngi6.pro/bin/unoloader.jar" -d ../../../../../../unxlngi6.pro/class  @/var/tmp/portage/app-office/openoffice-3.1.1/temp/mk0qWdVk
Error occurred during initialization of VM
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
dmake:  Error code 1, while making '../../../../../unxlngi6.pro/misc/com_sun_star_comp_connections_dummy.java'
Could not reserve enough space for object heap
Could not create the Java virtual machine.
dmake:  Error code 1, while making '../../../../../../unxlngi6.pro/misc/com_sun_star_connections_socket_dummy.java'
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: JavaThreadPoolFactory.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

... but the build continues, apparently causing the next error:

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

Reason(s):

ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/jurt/com/sun/star/comp/connections
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/jurt/com/sun/star/lib/connections/socket

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

rmdir /tmp/22698
/var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19
Commencing main build

... yeah, let's ignore this one, too.

out ../../../unxlngi6.pro/bin/cli_types_bridgetest.dll -r /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/solver/310/unxlngi6.pro/bin/cli_uretypes.dll \
                -X /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/solver/310/unxlngi6.pro/bin/types.rdb ../../../unxlngi6.pro/bin/bridgetest.rdb
dmake:  Error executing 'out': No such file or directory (Ignored)
touch ../../../unxlngi6.pro/bin/cli_types_bridgetest.dll

... seems not critical (happened here, too), but still strange?

/opt/sun-jdk-1.6.0.15/bin/javac -source 1.5 -target 1.5 -classpath ".:../../../../../unxlngi6.pro/class:/opt/sun-jdk-1.6.0.15/jre/lib/rt.jar:.:../../../../../unxlngi6.pro/class/commonwizards.jar:/var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/solver/310/unxlngi6.pro/bin/unoil.jar:/var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/solver/310/unxlngi6.pro/bin/jurt.jar:/var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/solver/310/unxlngi6.pro/bin/ridl.jar:/var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/solver/310/unxlngi6.pro/bin/juh.jar:/var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/solver/310/unxlngi6.pro/bin/jut.jar:/var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/solver/310/unxlngi6.pro/bin/java_uno.jar:/var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/solver/310/unxlngi6.pro/bin/java_uno_accessbridge:/var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/solver/310/unxlngi6.pro/bin/saxon9.jar" -d ../../../../../unxlngi6.pro/class  @/var/tmp/portage/app-office/openoffice-3.1.1/temp/mkeFHSe4
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
dmake:  Error code 1, while making '../../../../../unxlngi6.pro/misc/web_dummy.java'

Entering /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/xmerge/source/aportisdoc
/usr/bin/ant -Dprj=../.. -Dprjname=xmerge -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5  -Ddebug=off -Doptimize=on -Dtarget=aportisdoc -Dsolar.update=on  -Dout=../../unxlngi6.pro -Dinpath=unxlngi6.pro -Dproext=".pro" -Dsolar.bin=/var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/solver/310/unxlngi6.pro/bin  -Dsolar.jar=/var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/solver/310/unxlngi6.pro/bin -Dsolar.doc=/var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/solver/310/unxlngi6.pro/doc -Dcommon.jar=/var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/solver/310/unxlngi6.pro/bin  -Dcommon.doc= -Dsolar.sourceversion=OOO310  -Dsolar.lastminor=m19 -Dsolar.build=9420 -fbuild.xml  -emacs -Dsolar.langs="en-US ru en-GB en-US" -Dsolar.localized="true"
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
dmake:  Error code 1, while making 'ANTBUILD'

... and we're still continuing and finally causing:

2 module(s):
        wizards
        xmerge
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/xmerge/source/aportisdoc
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/wizards/com/sun/star/wizards/web

... which stops the buid and is what you have reported.

Conclusion:
1) The first error is: your Java virtual machine fails because it can't get enough space. Did you try with MAKEOPTS="-j1"? I guess -j8 needs a LOT of memory. (Might be some other problem, I'm no Java expert.)
2) Continuing the build after an error is very annoying because it wastes time and hides the error messages, thwarting good bug reports. Can't the OpenOffice Team do something about it?

Note (unrelated issue):
In the build log I noticed the following line:
configure: WARNING: unrecognized options: --without-system-cairo, --enable-pam, --with-java
Does the OpenOffice Team want a bug report for this one?
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2009-09-29 05:58:45 UTC
(In reply to comment #2)
> OOo's #%~{! build system doesn't stop on all errors. The error message you see
> is usually not very helpful, the REAL error is HIDDEN somewhere in the middle
> of the HUGE build log. Grrrrr...

Yeah that is called "parallel building" ;) Actually that is why the ebuild tells you to build with MAKEOPTS="-j1" before submitting bug reports, as this will result in actual useful information...
Comment 5 Felix Schuster 2009-09-29 10:37:37 UTC
Allright, I tried it again, with -j1 set. I've got the following:

Entering /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/canvas/source/vcl
Compiling: canvas/unxlngx6/misc/vclcanvas.uno_version.c
Compiling: canvas/source/vcl/backbuffer.cxx
Compiling: canvas/source/vcl/bitmapbackbuffer.cxx
Compiling: canvas/source/vcl/cachedbitmap.cxx
Compiling: canvas/source/vcl/canvas.cxx
Compiling: canvas/source/vcl/canvasbitmap.cxx
Compiling: canvas/source/vcl/canvasbitmaphelper.cxx
Compiling: canvas/source/vcl/canvascustomsprite.cxx
Compiling: canvas/source/vcl/canvasfont.cxx
Compiling: canvas/source/vcl/canvashelper.cxx
Compiling: canvas/source/vcl/canvashelper_texturefill.cxx
Compiling: canvas/source/vcl/devicehelper.cxx
Compiling: canvas/source/vcl/impltools.cxx
Compiling: canvas/source/vcl/services.cxx
Compiling: canvas/source/vcl/spritecanvas.cxx
Compiling: canvas/source/vcl/spritecanvashelper.cxx
In file included from /usr/include/boost/mpl/aux_/numeric_op.hpp:22,
                 from /usr/include/boost/mpl/aux_/comparison_op.hpp:27,
                 from /usr/include/boost/mpl/equal_to.hpp:19,
                 from /usr/include/boost/numeric/conversion/detail/meta.hpp:17,
                 from /usr/include/boost/numeric/conversion/detail/conversion_traits.hpp:17,
                 from /usr/include/boost/numeric/conversion/conversion_traits.hpp:13,
                 from /usr/include/boost/numeric/conversion/converter.hpp:13,
                 from /usr/include/boost/numeric/conversion/cast.hpp:32,
                 from /usr/include/boost/cast.hpp:105,
                 from /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/canvas/source/vcl/spritecanvashelper.cxx:47:
/usr/include/boost/mpl/apply_wrap.hpp:81:31: error: missing binary operator before token "("
/usr/include/boost/mpl/apply_wrap.hpp:173:31: error: missing binary operator before token "("
In file included from /usr/include/boost/mpl/aux_/numeric_cast_utils.hpp:18,
                 from /usr/include/boost/mpl/aux_/numeric_op.hpp:25,
                 from /usr/include/boost/mpl/aux_/comparison_op.hpp:27,
                 from /usr/include/boost/mpl/equal_to.hpp:19,
                 from /usr/include/boost/numeric/conversion/detail/meta.hpp:17,
                 from /usr/include/boost/numeric/conversion/detail/conversion_traits.hpp:17,
                 from /usr/include/boost/numeric/conversion/conversion_traits.hpp:13,
                 from /usr/include/boost/numeric/conversion/converter.hpp:13,
                 from /usr/include/boost/numeric/conversion/cast.hpp:32,
                 from /usr/include/boost/cast.hpp:105,
                 from /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/canvas/source/vcl/spritecanvashelper.cxx:47:
/usr/include/boost/mpl/apply_wrap.hpp:81:31: error: missing binary operator before token "("
/usr/include/boost/mpl/apply_wrap.hpp:173:31: error: missing binary operator before token "("
In file included from /usr/include/boost/mpl/aux_/comparison_op.hpp:27,
                 from /usr/include/boost/mpl/equal_to.hpp:19,
                 from /usr/include/boost/numeric/conversion/detail/meta.hpp:17,
                 from /usr/include/boost/numeric/conversion/detail/conversion_traits.hpp:17,
                 from /usr/include/boost/numeric/conversion/conversion_traits.hpp:13,
                 from /usr/include/boost/numeric/conversion/converter.hpp:13,
                 from /usr/include/boost/numeric/conversion/cast.hpp:32,
                 from /usr/include/boost/cast.hpp:105,
                 from /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/canvas/source/vcl/spritecanvashelper.cxx:47:
/usr/include/boost/mpl/aux_/numeric_op.hpp:290:31: error: missing binary operator before token "("
In file included from /usr/include/boost/mpl/aux_/numeric_op.hpp:22,
                 from /usr/include/boost/mpl/aux_/arithmetic_op.hpp:26,
                 from /usr/include/boost/mpl/times.hpp:19,
                 from /usr/include/boost/mpl/multiplies.hpp:17,
                 from /usr/include/boost/numeric/conversion/detail/is_subranged.hpp:17,
                 from /usr/include/boost/numeric/conversion/detail/conversion_traits.hpp:21,
                 from /usr/include/boost/numeric/conversion/conversion_traits.hpp:13,
                 from /usr/include/boost/numeric/conversion/converter.hpp:13,
                 from /usr/include/boost/numeric/conversion/cast.hpp:32,
                 from /usr/include/boost/cast.hpp:105,
                 from /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/canvas/source/vcl/spritecanvashelper.cxx:47:
/usr/include/boost/mpl/apply_wrap.hpp:81:31: error: missing binary operator before token "("
/usr/include/boost/mpl/apply_wrap.hpp:173:31: error: missing binary operator before token "("
In file included from /usr/include/boost/mpl/aux_/arithmetic_op.hpp:26,
                 from /usr/include/boost/mpl/times.hpp:19,
                 from /usr/include/boost/mpl/multiplies.hpp:17,
                 from /usr/include/boost/numeric/conversion/detail/is_subranged.hpp:17,
                 from /usr/include/boost/numeric/conversion/detail/conversion_traits.hpp:21,
                 from /usr/include/boost/numeric/conversion/conversion_traits.hpp:13,
                 from /usr/include/boost/numeric/conversion/converter.hpp:13,
                 from /usr/include/boost/numeric/conversion/cast.hpp:32,
                 from /usr/include/boost/cast.hpp:105,
                 from /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/canvas/source/vcl/spritecanvashelper.cxx:47:
/usr/include/boost/mpl/aux_/numeric_op.hpp:290:31: error: missing binary operator before token "("
In file included from /usr/include/boost/mpl/aux_/numeric_op.hpp:22,
                 from /usr/include/boost/mpl/aux_/comparison_op.hpp:27,
                 from /usr/include/boost/mpl/less.hpp:19,
                 from /usr/include/boost/numeric/conversion/detail/is_subranged.hpp:18,
                 from /usr/include/boost/numeric/conversion/detail/conversion_traits.hpp:21,
                 from /usr/include/boost/numeric/conversion/conversion_traits.hpp:13,
                 from /usr/include/boost/numeric/conversion/converter.hpp:13,
                 from /usr/include/boost/numeric/conversion/cast.hpp:32,
                 from /usr/include/boost/cast.hpp:105,
                 from /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/canvas/source/vcl/spritecanvashelper.cxx:47:
/usr/include/boost/mpl/apply_wrap.hpp:81:31: error: missing binary operator before token "("
/usr/include/boost/mpl/apply_wrap.hpp:173:31: error: missing binary operator before token "("
In file included from /usr/include/boost/mpl/aux_/comparison_op.hpp:27,
                 from /usr/include/boost/mpl/less.hpp:19,
                 from /usr/include/boost/numeric/conversion/detail/is_subranged.hpp:18,
                 from /usr/include/boost/numeric/conversion/detail/conversion_traits.hpp:21,
                 from /usr/include/boost/numeric/conversion/conversion_traits.hpp:13,
                 from /usr/include/boost/numeric/conversion/converter.hpp:13,
                 from /usr/include/boost/numeric/conversion/cast.hpp:32,
                 from /usr/include/boost/cast.hpp:105,
                 from /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/canvas/source/vcl/spritecanvashelper.cxx:47:
/usr/include/boost/mpl/aux_/numeric_op.hpp:290:31: error: missing binary operator before token "("
dmake:  Error code 1, while making '../../unxlngx6.pro/slo/spritecanvashelper.obj'

ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/canvas/source/vcl
rmdir /tmp/24572
make: *** [stamp/build] Error 1
 * 
 * ERROR: app-office/openoffice-3.1.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5253:  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.1.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-3.1.1/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.15"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info


So I think the relevant line is <<error: missing binary operator before token "(">> Any hints? Haven't found anything useful on the net.
Comment 6 Peter Volkov (RETIRED) gentoo-dev 2009-09-29 16:54:30 UTC
Uh, thank you Felix. I've completely forgot about that memory issue. Now I've tried with -j1 and it works here. Looks like this bug is invalid. Sorry for noise.
Comment 7 Martin Heusel 2009-09-29 18:15:26 UTC
build still fails for me with make -j1


the error is

...
/usr/include/boost/mpl/apply_wrap.hpp:81:31: error: missing binary operator before token "("
/usr/include/boost/mpl/apply_wrap.hpp:173:31: error: missing binary operator before token "("
In file included from /usr/include/boost/mpl/aux_/comparison_op.hpp:27,
                 from /usr/include/boost/mpl/less.hpp:19,
                 from /usr/include/boost/numeric/conversion/detail/is_subranged.hpp:18,
                 from /usr/include/boost/numeric/conversion/detail/conversion_traits.hpp:21,
                 from /usr/include/boost/numeric/conversion/conversion_traits.hpp:13,
                 from /usr/include/boost/numeric/conversion/converter.hpp:13,
                 from /usr/include/boost/numeric/conversion/cast.hpp:32,
                 from /usr/include/boost/cast.hpp:105,
                 from /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/canvas/source/vcl/spritecanvashelper.cxx:47:
/usr/include/boost/mpl/aux_/numeric_op.hpp:290:31: error: missing binary operator before token "("
dmake:  Error code 1, while making '../../unxlngx6.pro/slo/spritecanvashelper.obj'

ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/canvas/source/vcl
rmdir /tmp/25684
make: *** [stamp/build] Error 1
 *
 * ERROR: app-office/openoffice-3.1.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5246:  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.1.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-3.1.1/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.15"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""




emerge --info 

Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.4.1, glibc-2.9_p20081201-r2, 2.6.31-gentoo-mhe-thinkpad-64 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-mhe-thinkpad-64-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-1.12.11.1
Timestamp of tree: Tue, 29 Sep 2009 08:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
CHOST="x86_64-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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/  ftp://ftp.gentoo.mesh-solutions.com/gentoo/  ftp://pandemonium.tiscali.de/pub/gentoo/  ftp://de-mirror.org/distro/gentoo/  ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo  ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo  ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/"
LANG="en.US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb blas bluetooth bzip2 cairo cli cracklib crypt cups dbus dri dvb dvd dvdr encode exif f77 faac faad fam ffmpeg flac fortran gdbm geolocation gpm graphite hal ibmacpi iconv ipv6 isdnlog java jpeg kde kpathsea laptop mad mmx mmxext modules mp3 mudflap multilib ncurses nls nptl nptlonly nsplugin ogg openmp pam pcre pdf perl png pppd python qt3 qt3support qt4 readline reflection session smapi smp spl sse sse2 sse3 ssl ssse3 svg sysfs tcpd thinkpad threads tiff truetype unicode vim-syntax vorbis wifi xinerama xorg xv xvid xvmc zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="intel vesa ati fglrx radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

/var/tmp/portage/app-office was deleted

Comment 8 Alexander Miller 2009-10-01 02:01:50 UTC
(In reply to comment #4)
> Yeah that is called "parallel building" ;)

Stupid me. Of course I know this happens with parallel builds and recursive make, but I was confused because I had expected a -j1 build (I have read that note from the ebuild). When I saw the -j8 later I failed to revise my conclusions. Sorry for the inappropriate statement.

(To comment #5 and comment #7)
Felix and Martin, your problem is not related to the initial reporter's.
It looks like a stable boost vs. gcc-4.4 issue. See bug #252287 (or https://svn.boost.org/trac/boost/ticket/2069 for details). Installing dev-libs/boost-1.35.0-r5 or newer should fix the problem. If you still have problems I guess you should open a new bug since this one is both unrelated and closed.
Comment 9 Martin Heusel 2009-10-02 05:25:42 UTC
Alexander you're right, i upgraded to boost 1.39 and everything went fine then. Thnx
Comment 10 Felix Schuster 2009-10-02 11:18:25 UTC
(In reply to comment #8)
> https://svn.boost.org/trac/boost/ticket/2069 for details). Installing
> dev-libs/boost-1.35.0-r5 or newer should fix the problem. If you still have
> problems I guess you should open a new bug since this one is both unrelated and
> closed.

Thank you, this works now. boost-1.35.0-r5 isn't marked stable for amd64, but openoffice-3.1.1 is. So this looks like OOo was marked stable to soon (cause dependencies aren't ready yet)?
Comment 11 Andreas Proschofsky (RETIRED) gentoo-dev 2009-10-02 11:20:00 UTC
(In reply to comment #10)
> 
> Thank you, this works now. boost-1.35.0-r5 isn't marked stable for amd64, but
> openoffice-3.1.1 is. So this looks like OOo was marked stable to soon (cause
> dependencies aren't ready yet)?
> 

Please file a new bug about stabilizing boost-1.35.0-r5, referencing this one.
Comment 12 Felix Schuster 2009-10-02 11:28:55 UTC
(In reply to comment #11)
> Please file a new bug about stabilizing boost-1.35.0-r5, referencing this one.

Done (see Bug #287340), this bug can be verified/closed.

Comment 13 Peter Volkov (RETIRED) gentoo-dev 2009-10-02 19:06:47 UTC
(In reply to comment #12)
> this bug can be verified/closed.

It's RESOLVED and that's sufficient. Thank you.