Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106174 - openoffice 1.1.5 and openoffice-ximian-1.3.16 don't build with -java
Summary: openoffice 1.1.5 and openoffice-ximian-1.3.16 don't build with -java
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 112929 113309 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-16 03:54 UTC by Patrick Lauer
Modified: 2005-11-23 01:47 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2005-09-16 03:54:33 UTC
-------------+ creating locale dependent resource bundles
mkdir -p ../../unxlngi4.pro/misc/registry/res/de/org/openoffice/
/usr/bin/xsltproc -o
../../unxlngi4.pro/misc/registry/res/de/org/openoffice/Inet.properties \
                    --stringparam locale de \
                    ../../util/resource.xsl org/openoffice/Inet.xcs
XPath error : Undefined variable
compilation error: file ../../util/resource.xsl line 87 element template
Failed to compile predicate
XPath error : Undefined variable
compilation error: file ../../util/resource.xsl line 87 element template
Failed to compile predicate
dmake:  Error code 5, while making
'../../unxlngi4.pro/misc/registry/res/de/org/openoffice/Inet.properties'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making
/var/tmp/portage/openoffice-1.1.5/work/OOo_1.1.5/officecfg/registry/schema

!!! ERROR: app-office/openoffice-1.1.5 failed

Reproducible: Always
Steps to Reproduce:
1. emerge -u openoffice
2. wait ~3h
3. D'Oh!




Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12 i686)
=================================================================
System uname: 2.6.12 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.13
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://ftp.gentoo.mesh-solutions.com/gentoo/ "
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib acpi afs alsa apache2 apm avi
bash-completion berkdb bidi bigger-fonts bitmap-fonts bootsplash ccache cdda
cddb cdparanoia cdr chroot crypt cups curl dga divx4linux dv dvd dvdr dvdread
ecc eds emboss encode esd fam fbcon ffmpeg fftw foomaticdb fortran gd
gd-external gdbm gif gimp gimpprint glep gmp gphoto2 gpm graphviz gstreamer
imagemagick imlib ipv6 jabber jack jikes jit jpeg jpeg2k kde kdeenablefinal
ladcca libg++ libwww lm_sensors lzo mad matroska mhash mikmod mime mjpeg mmx
mmxext mng motif mozilla mozsvg mp3 mpeg mpeg4 ncurses nls nptl nvidia objc ogg
oggvorbis openal opengl oss pam parse-clocks pdf pdflib perl physfs png python
qt quicktime readline real recode ruby samba sdl spell sqlite sse sse2 ssl
stream tcltk tcpd tetex threads tiff transcode truetype truetype-fonts
type1-fonts utf8 vorbis win32codecs wxgtk1 xine xml xml2 xv xvid zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Dario Sarango 2005-09-16 19:34:18 UTC
Had the same issue, then I found out my /var partition was out of free space. 
Hope this helps.
Comment 2 Olliver Schinagl 2005-09-17 20:48:40 UTC
Have the exact same problem on both my systems. I had 2 - 3gigs available after
the error. (AFAIR it doesn't 'clean' the build dir so I have 2-3 gigs free
during the build)

I'll clean some 4 gigs more and try again, but I doubt if that's it...
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2005-09-18 00:33:39 UTC
@node: please post the last snip of your build output, just to make sure this is
the same problem. Also the output of your "emerge info" would be helpful

@all: I assume you are building with -java, right?
Comment 4 Patrick Lauer gentoo-dev 2005-09-18 01:25:25 UTC
>I assume you are building with -java, right?

Yes. I have >10G free on /, so lack of space is definitely not the cause.
Comment 5 Andreas Proschofsky (RETIRED) gentoo-dev 2005-09-18 06:29:02 UTC
@Patrick: OK, I can reproduce that bug, it only happens without java, that's why
I didn't catch it in initial testing. Very unfortunate. Am now going to test if
one of our patches is the culprit, if not we should report that upstream.
Comment 6 Andreas Proschofsky (RETIRED) gentoo-dev 2005-09-18 07:11:19 UTC
Oh my, openoffice-ximian-1.3.16 has the same problem, both don't work with
-java, also our java-patches are NOT the culprit, so this seems to be an
upstream problem.
Comment 7 Olliver Schinagl 2005-09-18 07:28:35 UTC
-------------+ creating locale dependent resource bundles
mkdir -p ../../unxlngi4.pro/misc/registry/res/de/org/openoffice/
/usr/bin/xsltproc -o
../../unxlngi4.pro/misc/registry/res/de/org/openoffice/Inet.properties \
                    --stringparam locale de \
                    ../../util/resource.xsl org/openoffice/Inet.xcs
XPath error : Undefined variable
compilation error: file ../../util/resource.xsl line 87 element template
Failed to compile predicate
XPath error : Undefined variable
compilation error: file ../../util/resource.xsl line 87 element template
Failed to compile predicate
dmake:  Error code 5, while making
'../../unxlngi4.pro/misc/registry/res/de/org/openoffice/Inet.properties'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making
/var/tmp/portage/openoffice-1.1.5/work/OOo_1.1.5/officecfg/registry/schema

!!! ERROR: app-office/openoffice-1.1.5 failed.
!!! Function src_compile, Line 422, Exitcode 1
!!! Build failed!
!!! If you need support, post the topmost build error, NOT this status message.

annika ~ # df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda2              16G  7.5G  7.9G  49% /

annika ~ # emerge info
Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-gentoo-r1 i686)
=================================================================
System uname: 2.6.13-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.13
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/            
http://ftp.snt.utwente.nl/pub/os/linux/gentoo/         
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/            
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi aim alsa apm audiofile avi bcmath bindist bitmap-fonts bzlib cairo
calendar cdr cross crypt ctype cups curl curlwrappers dga dio dvb dvd eds emboss
encode exif fastcgi fbcon fftw foomatic foomaticdb fortran ftp gd gif gnutls
gphoto2 gstreamer gtk gtk2 icq imap imlib imlib2 ipv6 jabber jpeg kerberos
lesstif libwww lirc lzo maildir memlimit mhash mikmod mime mmap mmx mmx2 mng
motif mozilla mp3 ncurses nocd nothemes odbc ogg oggvorbis openal opengl oscar
pam png posix ppds quicktime readline sdl shared sharedmem simplexml slang slp
snmp sockets speex spell sse sse2 ssl svg tcpd theora tidy tiff tokenizer
truetype truetype-fonts type1-fonts unicode usb videos vorbis win32codecs x86
xinerama xml2 xmms xosd xpm xrandr xv xvid yahoo zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

[ebuild     U ] app-office/openoffice-1.1.5 [1.1.4-r1] +curl -hardened -java
-kde -nptl +zlib 0 kB 
Comment 8 Matti Bickel (RETIRED) gentoo-dev 2005-09-22 06:47:16 UTC
As a workaround, and just for the record:
downgrade to libxslt-1.1.14, WFM
Comment 9 Paul de Vrieze (RETIRED) gentoo-dev 2005-09-22 07:12:05 UTC
Ok, it seems that a parameter locale is needed, but not defined on the command
line. On my system it does work manually with the latest libxslt-1.1.15.

What does manual execution do on your system?
- Go to "OOo_1.1.5/officecfg/registry/schema"
- Execute "xsltproc --noout --stringparam locale en-US ../../util/resource.xsl
org/openoffice/Inet.xcs"

You might want to replace en-US with de, but there are no german localisations
for this resource.
Comment 10 Andreas Proschofsky (RETIRED) gentoo-dev 2005-09-23 22:42:53 UTC
I've now added a new patch which fixes this problem for me to both openoffice
and openoffice-ximian. Closing
Comment 11 tiziano 2005-09-25 11:21:46 UTC
(In reply to comment #10)
> I've now added a new patch which fixes this problem for me to both openoffice
> and openoffice-ximian. Closing

how can i have the parch?
Comment 12 Andreas Proschofsky (RETIRED) gentoo-dev 2005-09-25 13:20:35 UTC
@tiziano: just emerge sync and try again
Comment 13 Joe Millenbach 2005-11-16 13:22:55 UTC
This isn't fixed for me with current build (this is a new install and sync'd
today just in case).  Did the fix get removed somehow?
Comment 14 Andreas Proschofsky (RETIRED) gentoo-dev 2005-11-16 14:30:09 UTC
@Joe: No it wasn't. But which version are you trying to build? Also could you
still post your output where the build breaks?
Comment 15 Andreas Proschofsky (RETIRED) gentoo-dev 2005-11-20 11:10:15 UTC
*** Bug 112929 has been marked as a duplicate of this bug. ***
Comment 16 Andreas Proschofsky (RETIRED) gentoo-dev 2005-11-20 11:12:15 UTC
Ok, I see now, this only happens on stable, this is an unfortunate side affect
of libxslt-1.1.15 going stable, and OOo 1.1.4-r1 does not have that fix, crap.
Comment 17 Andreas Proschofsky (RETIRED) gentoo-dev 2005-11-20 11:50:16 UTC
I've now added the fix also to openoffice-1.1.4-r1 and
openoffice-ximian-1.3.9-r1, so this should be fixed, again. Closing.
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2005-11-23 01:47:51 UTC
*** Bug 113309 has been marked as a duplicate of this bug. ***