Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152670 - Openoffice 2.0.4 compile error: tools/stream.hxx: No such file or directory
Summary: Openoffice 2.0.4 compile error: tools/stream.hxx: No such file or directory
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-24 09:18 UTC by hodak
Modified: 2007-09-20 07:53 UTC (History)
3 users (show)

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


Attachments
Full error (error,26.32 KB, text/plain)
2006-10-24 09:23 UTC, hodak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hodak 2006-10-24 09:18:03 UTC
This is what I get when compiling openoffice 2.0.4 (I should also mention that I am trying to compile openoffice with only java 1.5 (no 1.4 version) installed -sun-jdk-1.5  :

Making: ../../../unxlngi6.pro/slo/xltracer.obj
g++ -fmessage-length=0 -c -Os -fno-strict-aliasing   -D_FILE_OFFSET_BITS=64 -fvisibility
=hidden -I.  -I../../../unxlngi6.pro/inc/excel -I/var/tmp/portage/openoffice-2.0.4/work/
ooo/build/OOO_2_0_4/solver/680/unxlngi6.pro/inc/offuh -I../inc -I../../../inc/pch -I../.
./../inc -I../../../unx/inc -I../../../unxlngi6.pro/inc -I. -I/var/tmp/portage/openoffic
e-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngi6.pro/inc/stl -I/var/tmp/portage/open
office-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngi6.pro/inc/external -I/var/tmp/po
rtage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngi6.pro/inc -I/var/tmp/p
ortage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solenv/unxlngi6/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/unxlngi6.pro/inc/stl -I/var/tmp/portage/openoffice-2.0.4/work/ooo/build/OO
O_2_0_4/solenv/inc/Xp31 -I/opt/sun-jdk-1.5.0.08/include -I/opt/sun-jdk-1.5.0.08/include/
linux -I/opt/sun-jdk-1.5.0.08/include/native_threads/include -I/usr/include     -I/var/t
mp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngi6.pro/inc/offuh -
I. -I../../../res -I. -pipe -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fvisibility
-inlines-hidden -fno-exceptions -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-pri
vacy     -Wno-non-virtual-dtor   -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C
341 -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTL
PORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_IN
CLUDE_PATH=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4 -DSUPD=680 -DPRODUCT -DND
EBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_OFF -DGSTREAMER -DCUI -D
SOLAR_JAVA -DOOD680=OOD680   -DSC_DLLIMPLEMENTATION -DENABLE_VBA -DSHAREDLIB -D_DLL_  -D
MULTITHREAD  -o ../../../unxlngi6.pro/slo/xltracer.o /var/tmp/portage/openoffice-2.0.4/w
ork/ooo/build/OOO_2_0_4/sc/source/filter/excel/xltracer.cxx 
In file included from ../../../inc/global.hxx:40,
                 from ../inc/xltracer.hxx:42,
                 from /var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/sc/sour
ce/filter/excel/xltracer.cxx:42:
../../../inc/address.hxx:40:28: error: tools/stream.hxx: No such file or directory
../../../inc/address.hxx:43:28: error: tools/string.hxx: No such file or directory
../../../inc/address.hxx:49:27: error: tools/debug.hxx: No such file or directory
In file included from ../inc/xltools.hxx:43,
                 from ../inc/xltracer.hxx:46,
                 from /var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/sc/sour
ce/filter/excel/xltracer.cxx:42:
../inc/ftools.hxx:47:26: error: tools/list.hxx: No such file or directory
/var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/sc/source/filter/excel/xltrac
er.cxx:46:34: error: svx/msfiltertracer.hxx: No such file or directory
../../../inc/address.hxx:315: error: expected 
Comment 1 hodak 2006-10-24 09:18:03 UTC
This is what I get when compiling openoffice 2.0.4 (I should also mention that I am trying to compile openoffice with only java 1.5 (no 1.4 version) installed -sun-jdk-1.5  :

Making: ../../../unxlngi6.pro/slo/xltracer.obj
g++ -fmessage-length=0 -c -Os -fno-strict-aliasing   -D_FILE_OFFSET_BITS=64 -fvisibility
=hidden -I.  -I../../../unxlngi6.pro/inc/excel -I/var/tmp/portage/openoffice-2.0.4/work/
ooo/build/OOO_2_0_4/solver/680/unxlngi6.pro/inc/offuh -I../inc -I../../../inc/pch -I../.
./../inc -I../../../unx/inc -I../../../unxlngi6.pro/inc -I. -I/var/tmp/portage/openoffic
e-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngi6.pro/inc/stl -I/var/tmp/portage/open
office-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngi6.pro/inc/external -I/var/tmp/po
rtage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngi6.pro/inc -I/var/tmp/p
ortage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solenv/unxlngi6/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/unxlngi6.pro/inc/stl -I/var/tmp/portage/openoffice-2.0.4/work/ooo/build/OO
O_2_0_4/solenv/inc/Xp31 -I/opt/sun-jdk-1.5.0.08/include -I/opt/sun-jdk-1.5.0.08/include/
linux -I/opt/sun-jdk-1.5.0.08/include/native_threads/include -I/usr/include     -I/var/t
mp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngi6.pro/inc/offuh -
I. -I../../../res -I. -pipe -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fvisibility
-inlines-hidden -fno-exceptions -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-pri
vacy     -Wno-non-virtual-dtor   -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C
341 -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTL
PORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_IN
CLUDE_PATH=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4 -DSUPD=680 -DPRODUCT -DND
EBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_OFF -DGSTREAMER -DCUI -D
SOLAR_JAVA -DOOD680=OOD680   -DSC_DLLIMPLEMENTATION -DENABLE_VBA -DSHAREDLIB -D_DLL_  -D
MULTITHREAD  -o ../../../unxlngi6.pro/slo/xltracer.o /var/tmp/portage/openoffice-2.0.4/w
ork/ooo/build/OOO_2_0_4/sc/source/filter/excel/xltracer.cxx 
In file included from ../../../inc/global.hxx:40,
                 from ../inc/xltracer.hxx:42,
                 from /var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/sc/sour
ce/filter/excel/xltracer.cxx:42:
../../../inc/address.hxx:40:28: error: tools/stream.hxx: No such file or directory
../../../inc/address.hxx:43:28: error: tools/string.hxx: No such file or directory
../../../inc/address.hxx:49:27: error: tools/debug.hxx: No such file or directory
In file included from ../inc/xltools.hxx:43,
                 from ../inc/xltracer.hxx:46,
                 from /var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/sc/sour
ce/filter/excel/xltracer.cxx:42:
../inc/ftools.hxx:47:26: error: tools/list.hxx: No such file or directory
/var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/sc/source/filter/excel/xltrac
er.cxx:46:34: error: svx/msfiltertracer.hxx: No such file or directory
../../../inc/address.hxx:315: error: expected , or ... before & token
../../../inc/address.hxx:316: error: ISO C++ forbids declaration of String with no type

Errors continue, until finally I get

dmake:  Error code 1, while making '../../../unxlngi6.pro/slo/xltracer.obj'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-2.0.4/work/ooo/buil
d/OOO_2_0_4/sc/source/filter/excel
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.0.4 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  openoffice-2.0.4.ebuild, line 269:   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=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.08"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info




Emerge info:
Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.18-ck1 i686)
=================================================================
System uname: 2.6.18-ck1 i686 AMD Athlon(TM) XP 2400+
Gentoo Base System version 1.12.5
Last Sync: Sun, 22 Oct 2006 11:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
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.59-r7
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.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texm
f/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
 /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/r
evdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://mirror.datapipe.net/gentoo ftp://mirr
ors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en_US sk"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force 
--whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --excl
ude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac aalib alsa apache2 apm artworkextra bash-completion berkdb
 bitmap-fonts bzip2 cairo cdparanoia cdr cjk cli cpudetection cracklib crypt cups curl c
ursors custom-cflags dbus divx4linux djvu dlloader dri dts dv dvb dvi edl eds elibc_glib
c emboss encode exif fbcon fbdev fftw firefox flac foomaticdb fortran fpx gd gdbm gif gi
mp glibc-omitfp gnome gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml hal icons idn i
mlib input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jpeg jpeg2k
 kernel_linux lcms libcaca libg++ libwww linguas_en_US linguas_sk live lzo lzw-tiff mad 
mikmod mmx mmxext mng motif mozsvg mp3 mpeg msn nas nautilus ncurses network new-login n
ls nowebdav nptl nptlonly nsplugin nvidia nvtv ogg openal opengl pam pcre pdf perl plotu
tils png pppd python quicktime readline real reflection rtc sdl seamonkey session sound 
spell spl sse ssl svg t1lib tcl tcltk tcpd tetex theora tiff tk truetype truetype-fonts 
type1-fonts udev unicode usb userland_GNU v4l v4l2 video_cards_fbdev video_cards_nvidia 
video_cards_vesa vorbis win32codecs wmf xml xml2 xmms xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXT
RA_OPTS
Comment 2 hodak 2006-10-24 09:23:51 UTC
Created attachment 100390 [details]
Full error

adding full error as attachment
Comment 3 Thomas Fischer 2006-11-06 00:59:46 UTC
> ../../../inc/address.hxx:40:28: error: tools/stream.hxx: No such file or
> directory
Maybe the file could not be created due to insufficient free disk space. Have you ensured that you had enough free disk space to compile OpenOffice? You must have at least 6 GB of free space on the partition holding /var/tmp/portage/
Comment 4 hodak 2006-11-06 22:19:02 UTC
(In reply to comment #2)
> > ../../../inc/address.hxx:40:28: error: tools/stream.hxx: No such file or
> > directory
> Maybe the file could not be created due to insufficient free disk space. Have
> you ensured that you had enough free disk space to compile OpenOffice? You must
> have at least 6 GB of free space on the partition holding /var/tmp/portage/
> 

I have 60GB available, so disk space should not be an issue. Since I filed this bug, I have tried to reemerge OO twice more, and it failed both times, with similar (but different) errors.
Comment 5 Andreas Proschofsky (RETIRED) gentoo-dev 2006-11-06 23:01:46 UTC
(In reply to comment #3)
> 
> I have 60GB available, so disk space should not be an issue. Since I filed this
> bug, I have tried to reemerge OO twice more, and it failed both times, with
> similar (but different) errors.
> 

Would be nice, if you post them here. But anyway: Random errors normally point to a hardware problem, like overheating.
Comment 6 Florian Steinel 2006-11-11 23:45:25 UTC
Maybe the same issue?

Preprocessor startline:  rscpp @/tmp/kD5c3y
Rsc2 commandline: rsc2 @/tmp/2j2D8E
Files: /tmp/5a3iXH /tmp/5cbDnp 
reading file /tmp/yNgSmk ........................................................
reading file /tmp/aehivD .....
Writing file ../../../unxlngi6.pro/srs/querydesign.srs.unxlngi6.pro.
rm -f ../../../unxlngi6.pro/srs/querydesign.srs
mv ../../../unxlngi6.pro/srs/querydesign.srs.unxlngi6.pro ../../../unxlngi6.pro/srs/querydesign.srs
rm -f ../../../unxlngi6.pro/srs/querydesign.srs.unxlngi6.pro
-------------
/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/dbaccess/source/ui/relationdesign
------------------------------
------------------------------
Making: ../../../unxlngi6.pro/slo/RTableConnection.obj
g++ -fmessage-length=0 -c -Os -fno-strict-aliasing   -D_FILE_OFFSET_BITS=64 -I.  -I../../../unxlngi6.pro/inc/relationdesign -I../inc -I../../../source/inc -I../../../inc/pch -I../../../inc -I../../../unx/inc -I../../../unxlngi6.pro/inc -I. -I/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngi6.pro/inc/stl -I/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngi6.pro/inc/external -I/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngi6.pro/inc -I/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solenv/unxlngi6/inc -I/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solenv/inc -I/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/res -I/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngi6.pro/inc/stl -I/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solenv/inc/Xp31 -I/opt/sun-jdk-1.5.0.08/include -I/opt/sun-jdk-1.5.0.08/include/linux -I/opt/sun-jdk-1.5.0.08/include/native_threads/include -I/usr/include     -I/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngi6.pro/inc/offuh -I. -I../../../res -I. -pipe -O2 -march=athlon -pipe -fvisibility-inlines-hidden -fexceptions -fno-enforce-eh-specs -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy     -Wno-non-virtual-dtor   -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341  -DGLIBC=2 -DX86 -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/i686-pc-linux-gnu/4.1.1/include/g++-v4 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DGSTREAMER -DCUI -DSOLAR_JAVA -DOOD680=OOD680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../../unxlngi6.pro/slo/RTableConnection.o /var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/dbaccess/source/ui/relationdesign/RTableConnection.cxx 
if test -f ../../../unxlngi6.pro/slo/RTableConnection.o ; then touch ../../../unxlngi6.pro/slo/RTableConnection.obj ; fi
------------------------------
Making: ../../../unxlngi6.pro/slo/RTableConnectionData.obj
g++ -fmessage-length=0 -c -Os -fno-strict-aliasing   -D_FILE_OFFSET_BITS=64 -I.  -I../../../unxlngi6.pro/inc/relationdesign -I../inc -I../../../source/inc -I../../../inc/pch -I../../../inc -I../../../unx/inc -I../../../unxlngi6.pro/inc -I. -I/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngi6.pro/inc/stl -I/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngi6.pro/inc/external -I/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngi6.pro/inc -I/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solenv/unxlngi6/inc -I/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solenv/inc -I/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/res -I/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngi6.pro/inc/stl -I/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solenv/inc/Xp31 -I/opt/sun-jdk-1.5.0.08/include -I/opt/sun-jdk-1.5.0.08/include/linux -I/opt/sun-jdk-1.5.0.08/include/native_threads/include -I/usr/include     -I/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngi6.pro/inc/offuh -I. -I../../../res -I. -pipe -O2 -march=athlon -pipe -fvisibility-inlines-hidden -fexceptions -fno-enforce-eh-specs -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy     -Wno-non-virtual-dtor   -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341  -DGLIBC=2 -DX86 -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/i686-pc-linux-gnu/4.1.1/include/g++-v4 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DGSTREAMER -DCUI -DSOLAR_JAVA -DOOD680=OOD680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../../unxlngi6.pro/slo/RTableConnectionData.o /var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx 
distcc[20091] ERROR: compile (null) on localhost failed
g++: /var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx: Datei oder Verzeichnis nicht gefunden
g++: keine Eingabedateien
distcc[20090] ERROR: compile /var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx on localhost failed
dmake:  Error code 1, while making '../../../unxlngi6.pro/slo/RTableConnectionData.obj'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/dbaccess/source/ui/relationdesign
make: *** [stamp/build] Fehler 1

!!! ERROR: app-office/openoffice-2.0.4 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  openoffice-2.0.4.ebuild, line 275:   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=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.08"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info
Comment 7 Florian Steinel 2006-11-11 23:46:31 UTC
The following VMs are available for generation-2:
1)      Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2]
*)      Sun JDK 1.5.0.08 [sun-jdk-1.5]
The following JDKs are available for generation-1:
*)      Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2.03]

...


df -hm
/dev/hda8                91565     17793     69121  21% /

root@r2d2 ~ # ls -la /var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/dbaccess/source/ui/*
/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/dbaccess/source/ui/app:
insgesamt 8
drwxr-xr-x  2 654 users 4096 11. Nov 20:08 .
drwxr-xr-x 13 654 users 4096 12. Okt 18:19 ..

/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/dbaccess/source/ui/browser:
insgesamt 16
drwxr-xr-x  2  654 users 4096 11. Nov 20:11 .
drwxr-xr-x 13  654 users 4096 12. Okt 18:19 ..
-r--r--r--  1 root root  6868 11. Nov 20:11 dbtreeview.cxx

/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/dbaccess/source/ui/control:
insgesamt 8
drwxr-xr-x  2 654 users 4096 11. Nov 20:08 .
drwxr-xr-x 13 654 users 4096 12. Okt 18:19 ..

/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/dbaccess/source/ui/dlg:
insgesamt 168
drwxr-xr-x  2  654 users  4096 11. Nov 20:12 .
drwxr-xr-x 13  654 users  4096 12. Okt 18:19 ..
-rw-r--r--  1 root root  14634 11. Nov 20:12 dbwiz.cxx
-r--r--r--  1 root root  60502 11. Nov 20:12 detailpages.cxx
-r--r--r--  1 root root  60962 11. Nov 20:11 detailpages.cxx.orig
-r--r--r--  1 root root  13177 11. Nov 20:12 detailpages.hxx

/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/dbaccess/source/ui/imagelists:
insgesamt 8
drwxr-xr-x  2 654 users 4096 11. Nov 20:08 .
drwxr-xr-x 13 654 users 4096 12. Okt 18:19 ..

/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/dbaccess/source/ui/inc:
insgesamt 8
drwxr-xr-x  2 654 users 4096 11. Nov 20:08 .
drwxr-xr-x 13 654 users 4096 12. Okt 18:19 ..

/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/dbaccess/source/ui/misc:
insgesamt 56
drwxr-xr-x  2  654 users  4096 11. Nov 20:12 .
drwxr-xr-x 13  654 users  4096 12. Okt 18:19 ..
-r--r--r--  1 root root   2221 11. Nov 20:12 dbumiscres.hrc
-r--r--r--  1 root root   7172 11. Nov 20:12 dbumiscres.src
-r--r--r--  1 root root   7148 11. Nov 20:12 dbumiscres.src.orig
-r--r--r--  1 root root  27850 11. Nov 20:12 dsntypes.cxx

/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/dbaccess/source/ui/querydesign:
insgesamt 8
drwxr-xr-x  2 654 users 4096 11. Nov 20:08 .
drwxr-xr-x 13 654 users 4096 12. Okt 18:19 ..

/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/dbaccess/source/ui/relationdesign:
insgesamt 8
drwxr-xr-x  2 654 users 4096 11. Nov 20:08 .
drwxr-xr-x 13 654 users 4096 12. Okt 18:19 ..

/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/dbaccess/source/ui/tabledesign:
insgesamt 32
drwxr-xr-x  2  654 users  4096 11. Nov 20:08 .
drwxr-xr-x 13  654 users  4096 12. Okt 18:19 ..
-r--r--r--  1 root root  21374 11. Nov 20:11 FieldDescriptions.cxx

/var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/dbaccess/source/ui/uno:
insgesamt 8
drwxr-xr-x  2 654 users 4096 11. Nov 20:08 .
drwxr-xr-x 13 654 users 4096 12. Okt 18:19 ..

Portage 2.1.2_rc1-r5 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r3, 2.6.18-gentoo-r2 i686)
=================================================================
System uname: 2.6.18-gentoo-r2 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.12.6
Last Sync: Sat, 11 Nov 2006 09:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
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.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O3 -march=athlon -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://local/gentoo-portage"
USE="x86 3dnow X a52x aac acl alsa apache2 apm audiofile bash-completion berkdb bitmap-fonts bonobo bzip2 bzlib cairo cdr cli cracklib crypt cups curl curlwrappers dbus dlloader dri eds elibc_glibc emboss encode exif expat fam foomaticdb fortran ftp gdbm gif glut gnome gpm gstreamer gtk gtk2 hal iconv idn imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java jbig jpeg jpeg2k kernel_linux keyring lcms ldap libg++ libwww linguas_de linguas_en mad mikmod mmx mmxext mng motif mozilla mozsvg mp3 mpeg ncurses nls nptl nsplugin ogg openal opengl oss pam pcre perl png pppd python qt3 qt4 quicktime readline reflection sdl seamonkey session slang slp sndfile spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU userlocales video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vga vorbis wmf xml xorg xprint xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Florian Steinel 2006-11-19 03:29:59 UTC
ok, found my error.
The error sits in front of my desk ;-)

I had to disable the package "tmpwatch" which cleans up the tmp dir, (including /var/tmp/portage).
Simply disabling my cron fixed this bug.
(Hint: This happens only with packages that unpack the sources in the package own build script [not ebuild])

Maybe adding an check for a running cron implementation and printing an warning massage?
Comment 9 Andreas Proschofsky (RETIRED) gentoo-dev 2006-11-19 04:00:15 UTC
(In reply to comment #7)
> ok, found my error.
> The error sits in front of my desk ;-)
> 
> I had to disable the package "tmpwatch" which cleans up the tmp dir, (including
> /var/tmp/portage).
> Simply disabling my cron fixed this bug.
> (Hint: This happens only with packages that unpack the sources in the package
> own build script [not ebuild])
> 
> Maybe adding an check for a running cron implementation and printing an warning
> massage?
> 

Don't think this is needed, we can't protect users from each and every possible problem they can introduce themselves.

@hodak: Could this also be the problem in your case?
Comment 10 Thomas Fischer 2006-11-19 04:15:56 UTC
> Don't think this is needed, we can't protect users from each and
> every possible problem they can introduce themselves.
As tmpwatch is an official Gentoo package, there should be some kind of protection, especially as (1) the same problem can be occur with an other package emerged at the same time when tmpwatch runs, (2) the error message of the emerge process is not very helpful in tracking the cause, and (3) a fix would be easily available by modifing the tmpwatch script not to delete anything in /var/tmp/portage when an ebuild process is running.

> @hodak: Could this also be the problem in your case?
At least I think that this caused the failure of emerge OOo on an older (slower) machine here.

Currently I am evaluating the following change to tmpwatch:

if [[ -d ${PORTAGE_TMPDIR:-/var/tmp/portage} ]]; then
  if [[ $(ps a | grep -c ebuild) -gt 1 ]] ; then
    logger "tmpwatch wants to clean /var/tmp/portage, but emerge/ebuild is still running. Skipping"
  else
    ${TMPWATCH} --mtime --all 336 ${PORTAGE_TMPDIR:-/var/tmp/portage}
  fi
fi

N.B. The partition is mounted using the noatime option.
Comment 11 hodak 2006-11-19 10:06:19 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > ok, found my error.
> > The error sits in front of my desk ;-)
> > 
> > I had to disable the package "tmpwatch" which cleans up the tmp dir, (including
> > /var/tmp/portage).
> > Simply disabling my cron fixed this bug.
> > (Hint: This happens only with packages that unpack the sources in the package
> > own build script [not ebuild])
> > 

> 
> @hodak: Could this also be the problem in your case?
> 

I am seeing something similar. I found that if I let OO emerge overnight, it always errors shortly (few seconds up to a minute) after daily cron jobs are carried out. If I start OO emerge in the morning so that finishes in the evening, it emerges fine. I do not use tmpwatch, I use tmpreaper, but I only use it to clean files older that 2 weeks:

/usr/sbin/tmpreaper 14d /tmp
/usr/sbin/tmpreaper 14d  /var/tmp

So I am thinking my errors could be connected to syslog restart (I am using  sysklogd), or updatedb, although I am not sure why these should cause compile failures. There is a lot of disk activity when daily cron jobs are run, not only because of updatedb, syslog restart script also handles rotating logfiles, but again I am not sure if high disk activity could cause compile failure.
Comment 12 Florian Steinel 2006-11-19 12:24:44 UTC
(In reply to comment #10)
Let me describe the build process:
 ebuild
      +-> unpack ooo-build-2.0.4.x.tar.gz
      |   (unpack and >touch< all files)
      +-> run configure
      +-> run make
                 \-> tar xjf all other files
                     but no >touch< of all files
                     meaning: mtime, atime of all untared file ~ 1 week
                     and older

fix:
create patch to configure.in with something like
 "for i in $(find ${S} -name "*"); do touch $i ; done"
Comment 13 Florian Steinel 2006-11-19 12:27:13 UTC
(In reply to comment #11)
> create patch to configure.in with something like
not configure.in but the file which untars the file
Comment 14 hodak 2006-11-23 02:21:54 UTC
(In reply to comment #11)
> 
> fix:
> create patch to configure.in with something like
>  "for i in $(find ${S} -name "*"); do touch $i ; done"
> 

Good idea, this would fix all the problems.

Comment 15 Paul de Vrieze (RETIRED) gentoo-dev 2006-11-23 07:27:18 UTC
The problem is probably caused by these files getting their times set from the archive. Tools like tmpwatch and tmpreaper have problems with that. They should use atime (which should then be available), and always exclude certain directories (like /tmp/.X11-unix).
Comment 16 hodak 2006-11-27 01:01:59 UTC
(In reply to comment #14)
> The problem is probably caused by these files getting their times set from the
> archive. Tools like tmpwatch and tmpreaper have problems with that. They should
> use atime (which should then be available), and always exclude certain
> directories (like /tmp/.X11-unix).
> 
I agree, but atimes are not available when using noatime in fstab. This was recomended for reiserfs at the time when I was installing. Therefore touching the extracted files may be a better way to solve this issue.  
Comment 17 hodak 2006-11-27 01:15:32 UTC
Tar has -m option which updates timestamps when files are extracted, can this be used in OO ebuild to extract OO files? 
Comment 18 Dan Ost 2007-04-18 20:54:22 UTC
Openoffice 2.0.4 is no longer in the portage tree.
Perhaps it's time to close out this bug.
Comment 19 hodak 2007-04-19 06:55:40 UTC
(In reply to comment #18)
> Openoffice 2.0.4 is no longer in the portage tree.
> Perhaps it's time to close out this bug.
> 

The issue with cleaning openoffice files with tools like tmpreaper is still valid, even though the 2.0.4 is no longer in the portage tree. Since openoffice takes so long to build I suggest that timestamps of untarred files updated at the beginning of the build so that the issue gets fixed.
Comment 20 Andreas Proschofsky (RETIRED) gentoo-dev 2007-09-20 07:53:26 UTC
Still not going to take this, that's a user setup problem, closing