Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77866 - openoffice-ximian-1.3.7 USE="java" build error
Summary: openoffice-ximian-1.3.7 USE="java" build error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL: http://www.openoffice.org/issues/show...
Whiteboard:
Keywords:
: 77845 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-13 10:30 UTC by Hanno Zysik (geki)
Modified: 2005-01-14 15:28 UTC (History)
2 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 Hanno Zysik (geki) 2005-01-13 10:30:06 UTC
at posted url you see the error message plus patch to fix. please apply, thanks.

Reproducible: Always
Steps to Reproduce:
1. emerge openoffice-ximian
2.
3.

Actual Results:  
error

Expected Results:  
patched source to success compilation

anomalie ~ # emerge info
Portage 2.0.51-r11 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.10-ano1 i686)
=================================================================
System uname: 2.6.10-ano1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.4 [2.4 (#1, Dec 21 2004, 18:16:26)]
dev-lang/python:     2.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.8.5-r2, 1.6.3, 1.9.4, 1.5, 1.7.9
sys-devel/binutils:  2.15.94.0.1, 2.15.94.0.2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mtune=pentium4 -march=pentium4 -pipe -fforce-addr -fforce-mem
-momit-leaf-frame-pointer -fomit-frame-pointer -fweb -ftracer -frename-registers"
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/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=pentium4 -march=pentium4 -pipe -fforce-addr -fforce-mem
-momit-leaf-frame-pointer -fomit-frame-pointer -fweb -ftracer -frename-registers
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
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="X aalib acpi alsa apache2 avi berkdb bitmap-fonts cdr cups curl dga dts dvd
dvdr dvdread fastcgi fbcon gcj gd gif glx gpm gtk gtk2 hardenedphp icq imap
imlib ipv6 java jpeg ldap lesstif libwww mad mbox mmx mmx2 motif mpeg multislot
mysql ncurses nls nptl nptlonly nvidia oggvorbis opengl pam pdflib perl png
python qt quicktime readline sasl sdl sse sse2 ssl tcltk tcpd tiff truetype
truetype-fonts type1-fonts unicode usb userlocales vhosts videos wmf wxwindows
x86 xface xinerama xml xml2 xmms xprint xv xvid zlib video_cards_nvidia linguas_de"
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-13 10:34:22 UTC
Hanno, did you actually try with the version in portage (and not from your overlay). Cause I included a fix for the java build problems which at least works for me, otherwise I wouldn't have pushed it into portage
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-13 10:41:50 UTC
Also: I don't quite get how the link you provided is related to openoffice-ximian 1.3.7, care to elaborate?
Comment 3 Hanno Zysik (geki) 2005-01-13 10:57:29 UTC
yes, from portage and yes because things get backported from OOo 1.9 in Ximian. irf2003 and Guiseppe Ghibo encountered same problem already!

irc2003 with vanilla 1.1.3 - do not ask me how.
Guiseppe Ghibo with OOo 1.1.4 and he uses Ximian patches as well. Well, at least i guess so.

Both solved by that patch as well solved for me. like i see this it is just a so-called 'compiler bug' workaround. no deep api change or alike. ;)
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-13 11:05:55 UTC
Thanks for informing me that stuff from 1.9 gets backported to ooo-build, otherwise I wouldn't have known ;)

On a more serious note: It would still be good to know why you get the build breakage and it works for me. Do you know what triggers this? Which java version are you using? Also do you know if this is gcc 3.4.x specific?
Comment 5 Hanno Zysik (geki) 2005-01-13 11:15:36 UTC
blackdown-1.4.2.01, well latest ~x86.
and do not ask me about deeper sense of patches. i just test patches if they let me compile things which did not before. like there are many in gcc34.patch.bz2 like this one. but sure you know that so ...

any difference in packages I and you have? well, just ask about anything but i am still a normal user. :)
Comment 6 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-13 23:23:16 UTC
*** Bug 77845 has been marked as a duplicate of this bug. ***
Comment 7 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-14 07:50:38 UTC
Fixed this in cvs for both openoffice and openoffice-ximian. As always: Thanks for reporting and providing the patch
Comment 8 Matt MacLeod 2005-01-14 14:35:11 UTC
Just tried to emerge the openoffice-ximian-1.3.7 ebuild with this patch, and the fix would not apply:

 * Failed Patch: javafix.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/openoffice-ximian-1.3.7/temp/javafix.patch-28979.out

said .out file:

<code>
***** javafix.patch *****

=========================

PATCH COMMAND:  patch -p0 -g0 < /usr/portage/app-office/openoffice-ximian/files/1.1.3/javafix.patch

=========================
patching file connectivity/source/drivers/jdbc/DriverPropertyInfo.cxx
Hunk #1 FAILED at 184.
1 out of 1 hunk FAILED -- saving rejects to file connectivity/source/drivers/jdbc/DriverPropertyInfo.cxx.rej
patching file connectivity/source/inc/java/tools.hxx
Hunk #1 FAILED at 101.
1 out of 1 hunk FAILED -- saving rejects to file connectivity/source/inc/java/tools.hxx.rej
=========================

PATCH COMMAND:  patch -p1 -g0 < /usr/portage/app-office/openoffice-ximian/files/1.1.3/javafix.patch

=========================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- connectivity/source/drivers/jdbc/DriverPropertyInfo.cxx	24 Apr 2003 13:20:29 -0000	1.4
|+++ connectivity/source/drivers/jdbc/DriverPropertyInfo.cxx	27 Dec 2004 09:35:38 -0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 19
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- connectivity/source/inc/java/tools.hxx	1 Nov 2002 10:58:49 -0000	1.5
|+++ connectivity/source/inc/java/tools.hxx	27 Dec 2004 09:35:42 -0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=========================

PATCH COMMAND:  patch -p2 -g0 < /usr/portage/app-office/openoffice-ximian/files/1.1.3/javafix.patch

=========================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- connectivity/source/drivers/jdbc/DriverPropertyInfo.cxx	24 Apr 2003 13:20:29 -0000	1.4
|+++ connectivity/source/drivers/jdbc/DriverPropertyInfo.cxx	27 Dec 2004 09:35:38 -0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 19
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- connectivity/source/inc/java/tools.hxx	1 Nov 2002 10:58:49 -0000	1.5
|+++ connectivity/source/inc/java/tools.hxx	27 Dec 2004 09:35:42 -0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=========================

PATCH COMMAND:  patch -p3 -g0 < /usr/portage/app-office/openoffice-ximian/files/1.1.3/javafix.patch

=========================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- connectivity/source/drivers/jdbc/DriverPropertyInfo.cxx	24 Apr 2003 13:20:29 -0000	1.4
|+++ connectivity/source/drivers/jdbc/DriverPropertyInfo.cxx	27 Dec 2004 09:35:38 -0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 19
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- connectivity/source/inc/java/tools.hxx	1 Nov 2002 10:58:49 -0000	1.5
|+++ connectivity/source/inc/java/tools.hxx	27 Dec 2004 09:35:42 -0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=========================

PATCH COMMAND:  patch -p4 -g0 < /usr/portage/app-office/openoffice-ximian/files/1.1.3/javafix.patch

=========================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
----------------------file:///var/tmp/portage/openoffice-ximian-1.3.7/temp/javafix.patch-28979.out----
|--- connectivity/source/drivers/jdbc/DriverPropertyInfo.cxx	24 Apr 2003 13:20:29 -0000	1.4
|+++ connectivity/source/drivers/jdbc/DriverPropertyInfo.cxx	27 Dec 2004 09:35:38 -0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 19
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- connectivity/source/inc/java/tools.hxx	1 Nov 2002 10:58:49 -0000	1.5
|+++ connectivity/source/inc/java/tools.hxx	27 Dec 2004 09:35:42 -0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
</code>

I'm using gcc 3.4.3 and sun-jdk-1.4.2.06. Ximian 1.3.6 installed on the system fine.
Comment 9 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-14 15:28:36 UTC
@Matt: Please don't report on a closed bug, the bug you are looking for is:

http://bugs.gentoo.org/show_bug.cgi?id=78020