Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30335 - OpenOffice-1.1.0 fails to build
Summary: OpenOffice-1.1.0 fails to build
Status: RESOLVED DUPLICATE of bug 31378
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:
: 30680 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-04 11:10 UTC by Greg Hellings
Modified: 2005-07-17 13:06 UTC (History)
4 users (show)

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


Attachments
oo_1.1-nptl.patch (oo_1.1-nptl.patch,1.25 KB, patch)
2003-10-06 16:38 UTC, Stefan Jones (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Hellings 2003-10-04 11:10:46 UTC
When I try to emerge OpenOffice-1.1.0 with the recommended gcc-3.2.3-r1, the
build exits the build unsuccessfully.  I did the manual emerge, because simply
emerging openoffice-1.1.0 wanted me to reupgrade my compiler to 3.3.1-r4, but
the ebuild would exit telling me that I had to have 3.2.3-r1.

Reproducible: Didn't try
Steps to Reproduce:
1. emerge =gcc-3.2.3-r1
2. emerge /usr/portage/app-office/openoffice/openoffice-1.1.0.ebuild

Actual Results:  
The build exited with this error message:
/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/svtools/source/svdde
GUI == UNX - nothing to do
/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/svtools/util
dmake:  Error -- `../unxlngi4.pro/slb/svarray.lib' not found, and can't be made
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making
/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/svtools/util

!!! ERROR: app-office/openoffice-1.1.0 failed.
!!! Function src_compile, Line 448, Exitcode 1
!!! Build failed!


Expected Results:  
Built and merged openoffice-1.1.0

localhost slb # emerge info
Portage 2.0.49-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
ACCEPT_KEYWORDS="~x86 x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ libwww
mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv
zlib alsa gdbm berkdb slang readline arts svga java guile X sdl gpm tcpd pam ssl
perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla cdr"
Comment 1 Chris Snyder 2003-10-04 22:36:43 UTC
I'm also having problems building OO 1.1.0, but a different error message.
Here's what I'm getting:

Making: ../../unxlngi4.pro/bin/mksvconf
unx
cat ../../unxlngi4.pro/misc/mksvconf.cmd
gcc -z combreloc -z defs -Wl,-rpath,'$ORIGIN' -Wl,-export-dynamic -Wl,--noinhibit-exec
-L../../unxlngi4.pro/lib -L../lib -L/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solenv/unxlngi4/lib
-L/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solver/645/unxlngi4.pro/lib
-L/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solenv/unxlngi4/lib -L/opt/blackdown-jdk-1.4.1/lib
-L/opt/blackdown-jdk-1.4.1/jre/lib/i386 -L/opt/blackdown-jdk-1.4.1/jre/lib/i386/client
-L/opt/blackdown-jdk-1.4.1/jre/lib/i386/native_threads -L/usr/X11R6/lib -o
../../unxlngi4.pro/bin/mksvconf ../../unxlngi4.pro/obj/solar.o \
-ldl -lpthread -lm -Wl,-Bdynamic -lstlport_gcc -lstdc++
-rwxr-xr-x    1 root     root        13254 Oct  4 16:01 ../../unxlngi4.pro/bin/mksvconf
-------------
../../unxlngi4.pro/bin/mksvconf ../../unxlngi4.pro/inc/svconf.h
char    = signed char
short   = signed short
int     = signed int
long    = signed long
sizeof(char)    = 1
sizeof(short)   = 2
sizeof(int)     = 4
sizeof(long)    = 4
sizeof(float)   = 4
sizeof(double)  = 8
sizeof(void *)  = 4
LITTLEENDIAN (Intel, VAX, PowerPC)
Stack waechst nach unten
STACKALIGNMENT   : 1
can not read address (nil)
Segmentation fault
dmake:  Error code 139, while making '../../unxlngi4.pro/inc/svconf.h'
dmake:  '../../unxlngi4.pro/inc/svconf.h' removed.
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/tools/source/solar

!!! ERROR: app-office/openoffice-1.1.0 failed.
!!! Function src_compile, Line 448, Exitcode 1
!!! Build failed!

----------------------
emerge info:
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test5-mm3)
=================================================================
System uname: 2.6.0-test5-mm3 i686 Transmeta(tm) Crusoe(tm) Processor TM5800
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer -mpreferred-stack-boundary=2
-falign-functions=0 -falign-jumps=0 -falign-loops=0"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer -mpreferred-stack-boundary=2
-falign-functions=0 -falign-jumps=0 -falign-loops=0"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs -ccache"
GENTOO_MIRRORS="http://mirror.calvin.edu/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mirror.calvin.edu/gentoo-portage"
USE="oss foomaticdb gnome libg++ libwww mad mikmod nls gdbm berkdb slang
bonobo guile sdl gpm tcpd python esd imlib acpi -afs alsa apm arts avi cdr
crypt cups dvd encode gd gif gtk gtk2 imap ipv6 java jpeg kde kerberos ldap
-lirc mmx motif mozilla mpeg mysql ncurses oggvorbis opengl pam pdflib perl
png qt quicktime readline samba sasl spell ssl svga tiff truetype usb X xml2
xmms xv zlib x86"
Comment 2 André Lemos 2003-10-05 14:55:57 UTC
gcc -fmessage-length=0 -c -I.  -I. -I../inc -I../../inc -I../../unx/inc -I../../unxlngi4.pro/inc
-I.
-I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solver/645/unxlngi4.pro/inc/dont_use_stl
-I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solver/645/unxlngi4.pro/inc/external
-I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solver/645/unxlngi4.pro/inc
-I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solenv/unxlngi4/inc -I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solenv/inc
-I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/res
-I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solver/645/unxlngi4.pro/inc/dont_use_stl
-I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solenv/inc/Xp31 -I/opt/blackdown-jdk-1.4.1/include
-I/opt/blackdown-jdk-1.4.1/include/linux -I/opt/blackdown-jdk-1.4.1/include/native_threads/include
-I/usr/X11R6/include     -I. -I../../res -I. -mfpmath=sse -mmmx -msse -msse2
-march=pentium3 -mcpu=pentium4 -O2 -fno-strict-aliasing -fstack-protector
-finline-functions -falign-jumps=5 -falign-loops=5 -falign-functions=64 -pipe
-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER
  -pipe -mcpu=pentiumpro   -DLINUX -DUNX -DVCL -DGCC -DC300 -DINTEL -DCVER=C300
-D_USE_NAMESPACE -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1
-DSTLPORT_VERSION=400 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=645 -DBUILD=8693
-DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_OFF
-DCUI -DSOLAR_JAVA -DSRX645  -DMULTITHREAD   -o ../../unxlngi4.pro/obj/semaphor.o
semaphor.c
semaphor.c:88: error: syntax error before "_pthread_descr"
semaphor.c:88: warning: no semicolon at end of struct or union
semaphor.c:89: warning: data definition has no type or storage class
dmake:  Error code 1, while making '../../unxlngi4.pro/obj/semaphor.obj'
---* TG_SLO.MK *---
 
ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/sal/osl/unx
 
!!! ERROR: app-office/openoffice-1.1.0 failed.
!!! Function src_compile, Line 425, Exitcode 1
!!! Build failed!

Portage 2.0.49-r7 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r5, 2.6.0-test6-mm2-nptl)
=================================================================
System uname: 2.6.0-test6-mm2-nptl i686 Intel(R) Celeron(R) CPU 1.70GHz
distcc 2.11 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mfpmath=sse -fomit-frame-pointer -mmmx -msse -msse2 -march=pentium3
-mcpu=pentium4 -O2 -fno-strict-aliasing -fstack-protector -finline-functions
-falign-jumps=5 -falign-loops=5 -falign-functions=64 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -pipe -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache autoaddcvs sandbox userpriv"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx
mpeg ncurses png quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa
gdbm slang readline arts tetex aalib bonobo svga ggi tcltk guile mysql X
sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome qt motif
opengl mozilla cdr apache2 dvd gtk2 ipv6 maildir sasl sse tiff usb wmf xml
-oss -apm -nls -pdflib -berkdb gtk -ldap joystick oss -kde nptl -java"

Comment 3 Dominik Brodowski 2003-10-05 16:28:01 UTC
Fails to proceed at this point only if LANGUAGE="49" is set, with LANGUAGE="43"
it proceeds beyond this point [didn't run full compile, though]:

=============
Building project helpcontent
=============
/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/helpcontent/unx/sbasic
mkout -- version: 1.3
------------------------------
Making: ../../unxlngi4.pro/misc/usbasic.dpz
nothing to zip for activated languages!
cat: No match.
dmake:  Error code 1, while making '../../unxlngi4.pro/misc/usbasic.dpz'
dmake:  '../../unxlngi4.pro/misc/usbasic.dpz' removed.
---* TG_SLO.MK *---
 
ERROR: Error 65280 occurred while making
/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/helpcontent/unx/sbasic
 
-
Portage 2.0.49-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test5)
System uname: 2.6.0-test5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
ACCEPT_KEYWORDS="x86 ~x86"
CFLAGS="-march=pentium4 -mcpu=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CXXFLAGS="-march=pentium4 -mcpu=pentium4 -O2 -pipe"
FEATURES="sandbox ccache autoaddcvs buildpkg"
MAKEOPTS="-j1"
Comment 4 Greg Hellings 2003-10-05 17:24:27 UTC
OK, I tried to emerge it again, doing nothing differently and changing no
settings on my machine, and the emerge went without a hitch and worked fine.
 The program merged into my system without a hitch.  So in my original case,
change the "Didn't try" to "Couldn't reproduce."  Don't know what the deal
was, but it worked out this time.
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2003-10-06 05:12:02 UTC
to  Andr
Comment 6 Paul de Vrieze (RETIRED) gentoo-dev 2003-10-06 05:12:02 UTC
to  André Lemos, your issue is related to nptl. Currently openoffice does
not compile against nptl. Sorry, I don't know if there is a way to make it
work for you. You might want to look for patches that support it. If you
find clean patches, I will look into adding them.

To Greg Hellings, that is nice to hear. Unfortunately that happens more with
openoffice.

To Dominik Brodowski, did you by any chance try to install localised help
files? Currently the ebuild does not yet provide localised help files. I
will look into that. The error is says that it was not able to find the help
file.

To Chris Snyder, probably you are using too agressive cflags. What I use
is "-march=pentium3 -mcpu=pentium3 -O2 -pipe" which works. Your cflags are
probably overagressive.

To all: if your error message is not the same, please open a new bug next
time, as all your errors are different (only the same in that they concern
openoffice-1.1.0)
Comment 7 Stefan Jones (RETIRED) gentoo-dev 2003-10-06 16:38:05 UTC
Created attachment 18871 [details, diff]
oo_1.1-nptl.patch

This patch fixes some of the problems listed:

Additional Comment #1 From Chris Snyder  2003-10-04 22:36 PST is fixed by
the 
patch to oo_1.1rc3_src/tools/source/solar/solar.c

Additional Comment #2 From Andr
Comment 8 Stefan Jones (RETIRED) gentoo-dev 2003-10-06 16:38:05 UTC
Created attachment 18871 [details, diff]
oo_1.1-nptl.patch

This patch fixes some of the problems listed:

Additional Comment #1 From Chris Snyder  2003-10-04 22:36 PST is fixed by
the 
patch to oo_1.1rc3_src/tools/source/solar/solar.c

Additional Comment #2 From André Lemos	2003-10-05 14:55 PST is fixed by the
patch
to oo_1.1rc3_src/sal/osl/unx/semaphor.c

The third chunk to oo_1.1_src/neon/neon.patch fixes a bad error where inline
is
removed from the sources, causing problems with inline macros in very new
glibc
( 2.3.2-r6 in portage I think, see sys/sysmacros.h )
Comment 9 Paul de Vrieze (RETIRED) gentoo-dev 2003-10-09 04:41:39 UTC
*** Bug 30680 has been marked as a duplicate of this bug. ***
Comment 10 Roger 2003-10-09 17:19:01 UTC
I learnt this one awhile ago, as to why the build would succeed the second
time around is because you probably ran out of hdd space.

# df -alh 
/dev/hde1              25G   24G  816K 100% /

My openoffice build borked at line #450 (probably near the end of the build
process ... eh, 12 hours down the tubes :-/)

With this problem being known that openoffice.org takes ~2GB for tmp files
in order to build, i'm surprised the openoffice team has yet to implent a
feature w/i configure to "check" for the appropriate free disk space.  ...
The total disk space could probably be calculate by checking free disk space
before and after the first compile of the release and integrated within their
configure script.

Since the build process takes ~12hrs, and a break in the build process during
the 11th hour simply becuase of a lack of disk space can be quite aggrivating!

OO usually took 1-2GB here. However, this release looks to want a little
more then just 2GB! 
Comment 11 Greg Hellings 2003-10-09 20:34:23 UTC
That's a good theory, Roger, but that doesn't explain why it succeeded the
first time and failed the second time when I was buliding it on a partition
with about 15G free.  If space is the issue, then this build takes upwards
of 15G of free drive-space.
Comment 12 Simon Cooper 2003-10-09 23:45:58 UTC
The patch works fine with gcc-3.2.3-r2, glibc-3,2,3-r1 and love-sources-2.6.0-test6.love1.
Complains about some gtk thing at the end (not being able to find it) but
it installs correctly after that

I could provice an ebuild with the updated patches, but just put 
epatch oo_1.1-nptl.patch
into the ebuild and it should work fine
Comment 13 Paul de Vrieze (RETIRED) gentoo-dev 2003-10-10 03:14:05 UTC
About the 11 hours down the drain problem. With a little more handwork you
can continue the building with about 5 minutes lost in configuring and makefile
walking. If you use the ebuild command:
ebuild /usr/portage/app-office/openoffice/openoffice-1.1.0.ebuild compile
ebuild /usr/portage/app-office/openoffice/openoffice-1.1.0.ebuild install
ebuild /usr/portage/app-office/openoffice/openoffice-1.1.0.ebuild package
ebuild /usr/portage/app-office/openoffice/openoffice-1.1.0.ebuild qmerge
Comment 14 Roger 2003-10-10 20:07:53 UTC
call me a newbie at the gentoo package manager, but what about:

ebuild /usr/portage/app-office/openoffice/openoffice-1.1.0.ebuild preinst
ebuild /usr/portage/app-office/openoffice/openoffice-1.1.0.ebuild postinst

or are these performed within qmerge or install automagically?

also, my build time & disk space used:


2x750P3 (however, build appears to only use one cpu) & 1 GB Ram
real    941m20.819s (~16 Hours?)
user    815m1.630s
sys     118m7.860s
(doesn't include installing as i had to do that manually after having to
free up even more space the 2nd time around!)

3GB of disk space was used (I think i just made it with ~30MB to spare).

wow. i'm amazed at the responsiveness of oo-1.1.0!  or maybe it's just my
CFLAGS="-march=pentium3 -mcpu=pentium3 -O3 -pipe -fomit-frame-pointer"

;-)
Comment 15 Lindsay Haisley 2003-10-17 11:29:34 UTC
I'm getting similar errors, but not the same as reported here.  OO 1.0.0
compiled with no problems.

Making: ../unxlngi4.pro/misc/gpc.dpc
Making : Dependencies
touch ../unxlngi4.pro/misc/gpc.dpc
------------------------------
Making: ../unxlngi4.pro/slo/gpc.obj
gcc -fmessage-length=0 -c -I.  -I. -I../inc -I../inc -I../unx/inc -I../unxlngi4.pro/inc
-I.
-I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solver/645/unxlngi4.pro/inc/dont_use_stl
-I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solver/645/unxlngi4.pro/inc/external
-I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solver/645/unxlngi4.pro/inc
-I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solenv/unxlngi4/inc -I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solenv/inc
-I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/res
-I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solver/645/unxlngi4.pro/inc/dont_use_stl
-I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solenv/inc/Xp31 -I/opt/blackdown-jdk-1.4.1/include
-I/opt/blackdown-jdk-1.4.1/include/linux -I/opt/blackdown-jdk-1.4.1/include/native_threads/include
-I/usr/X11R6/include     -I. -I../res -I. -O2 -mcpu=pentium4 -march=pentium4
-fprefetch-loop-arrays -pipe -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER
  -pipe -mcpu=pentiumpro  -fpic -DLINUX -DUNX -DVCL -DGCC -DC300 -DINTEL
-DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3
-DSUPD=645 -DBUILD=8693 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0
-DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSOLAR_JAVA -DSRX645  -DSHAREDLIB -D_DLL_
 -DMULTITHREAD  -o ../unxlngi4.pro/slo/gpc.o gpc.c
{standard input}: Assembler messages:
{standard input}:3189: Error: suffix or operands invalid for `movd'
dmake:  Error code 1, while making '../unxlngi4.pro/slo/gpc.obj'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/external/gpc


-----------------------------------

# emerge -s gcc
<snip>
*  sys-devel/gcc
      Latest version available: 3.2.3-r2
      Latest version installed: 3.2.3-r2
      Size of downloaded files: 20,716 kB
      Homepage:    http://www.gnu.org/software/gcc/gcc.html
      Description: The GNU Compiler Collection. Includes C/C++ and java compilers

# emerge info
Portage 2.0.49-r13-2 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r7)
=================================================================
System uname: 2.4.20-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo ftp://gentoo.noved.org/ http://gentoo.noved.org/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 avi encode foomaticdb libg++ mikmod xv arts guile sdl gpm libwww
imlib -kde -qt acl acpi alsa apache2 apm berkdb bonobo cdr crypt cups curl
doc dvd dvdr esd evo fastcgi flash gdbm gif gnome gps gstreamer gtk gtkhtml
imap ipv6 java jikes jpeg ldap mad maildir mcal motif mozilla mpeg mysql
ncurses nls oggvorbis opengl oss pam pdflib perl plotutils png bindist python
quicktime readline samba sasl scanner slang slp snmp spell sse ssl svga tcltk
tcpd tetex tiff truetype usb X Xaw3d xosd xml xml2 xmms zeo zlib"
Comment 16 Lindsay Haisley 2003-10-17 11:32:26 UTC
Ommitted from my build output at the end.  Sorry!

!!! ERROR: app-office/openoffice-1.1.0 failed.
!!! Function src_compile, Line 450, Exitcode 1
!!! Build failed!
Comment 17 Lindsay Haisley 2003-10-17 11:35:32 UTC
One more correction.  It's a scattered day here....

Calculating world dependencies ...done!
[ebuild     U ] app-office/openoffice-1.1.0 [1.0.3-r1] 

The currently installed (and correctly built OO here is 1.0.3-r1, not 1.0.0

I'll shut up now.....
Comment 18 Paul de Vrieze (RETIRED) gentoo-dev 2003-10-17 12:38:18 UTC
Note that you can also try gcc-3.3.1-r5. That should correctly compile openoffice.
The recommendation of 3.2.3 was a leftover from earlier rc's of openoffice.
Comment 19 Simon Cooper 2003-10-17 12:52:40 UTC
well cant you 'officially' remove the 3.2.3 checks from the ebuild?
Comment 20 Paul de Vrieze (RETIRED) gentoo-dev 2003-10-17 12:59:51 UTC
The check is changed in the -r1 version. If there are no problems with that
one, I'll mark it stable soon.
Comment 21 Lindsay Haisley 2003-10-17 17:29:40 UTC
Still no luck!  I upgraded....


# gcc --version 
gcc (GCC) 3.3.1 20030927 (Gentoo Linux 3.3.1-r5, propolice)

Here's how the build bombed out.

Making: ../unxlngi4.pro/obj/pr.obj
gcc -fmessage-length=0 -c -I.  -I. -I../inc -I../inc -I../unx/inc -I../unxlngi4.pro/inc
-I.
-I/var/tmp/portage/openoffice-1.1.0-r1/work/oo_1.1_src/solver/645/unxlngi4.pro/inc/dont_use_stl
-I/var/tmp/portage/openoffice-1.1.0-r1/work/oo_1.1_src/solver/645/unxlngi4.pro/inc/external
-I/var/tmp/portage/openoffice-1.1.0-r1/work/oo_1.1_src/solver/645/unxlngi4.pro/inc
-I/var/tmp/portage/openoffice-1.1.0-r1/work/oo_1.1_src/solenv/unxlngi4/inc
-I/var/tmp/portage/openoffice-1.1.0-r1/work/oo_1.1_src/solenv/inc -I/var/tmp/portage/openoffice-1.1.0-r1/work/oo_1.1_src/res
-I/var/tmp/portage/openoffice-1.1.0-r1/work/oo_1.1_src/solver/645/unxlngi4.pro/inc/dont_use_stl
-I/var/tmp/portage/openoffice-1.1.0-r1/work/oo_1.1_src/solenv/inc/Xp31 -I/opt/blackdown-jdk-1.4.1/include
-I/opt/blackdown-jdk-1.4.1/include/linux -I/opt/blackdown-jdk-1.4.1/include/native_threads/include
-I/usr/X11R6/include     -I. -I../res -I. -O2 -mcpu=pentium4 -march=pentium4
-fprefetch-loop-arrays -pipe -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER
  -pipe -mcpu=pentiumpro   -DLINUX -DUNX -DVCL -DGCC -DC300 -DINTEL -DCVER=C300
-D_USE_NAMESPACE -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1
-DSTLPORT_VERSION=400 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=645 -DBUILD=8693
-DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_OFF
-DCUI -DSOLAR_JAVA -DSRX645  -DNO_X11 -DXP_PC -DHW_THREADS -DINCLUDEDIR=\".\"
-DSINGLETHREAD   -o ../unxlngi4.pro/obj/pr.o pr.c
if ( -e ../unxlngi4.pro/obj/pr.o) touch ../unxlngi4.pro/obj/pr.obj
------------------------------
Making: ../unxlngi4.pro/bin/makedepend
unx
xargs: environment is too large for exec
dmake:  Error code 1, while making '../unxlngi4.pro/bin/makedepend'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.1.0-r1/work/oo_1.1_src/soltools/mkdepend

!!! ERROR: app-office/openoffice-1.1.0-r1 failed.
!!! Function src_compile, Line 443, Exitcode 1
!!! Build failed!
Comment 22 Paul de Vrieze (RETIRED) gentoo-dev 2003-10-18 01:59:16 UTC
Ok, the xargs bug is a new one. It is in the duplicate bug.

*** This bug has been marked as a duplicate of 31378 ***
Comment 23 Sylvain Demers 2003-10-18 14:50:49 UTC
I see here that I was not alone where the compilation failed with:

{standard input}: Assembler messages:
{standard input}:3189: Error: suffix or operands invalid for `movd'

I "fixed" it by using pentium3 instead of pentium4 in my CFLAGS.