View previous topic :: View next topic |
Author |
Message |
NaN Tux's lil' helper
Joined: 02 Feb 2003 Posts: 93 Location: England
|
Posted: Sat Jan 15, 2005 10:39 pm Post subject: |
|
|
Thanks Geki and others for the good work on this ebuild.
I'm trying to build OOo (m69). It seems to get quite far now thanks to the various tips in this thread, but I can't get past the following error
Code: | adding: objdsc/toolkit/com.sun.star.comp.toolkit.AccessibleEdit.csvjava.io.IOException: Input/output error
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:191)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
at sun.tools.jar.Main.addFile(Main.java:614)
at sun.tools.jar.Main.create(Main.java:413)
at sun.tools.jar.Main.run(Main.java:143)
at sun.tools.jar.Main.main(Main.java:904)
dmake: Error code 1, while making 'OWNJAR'
'---* tg_merge.mk *---'
ERROR: Error 65280 occurred while making .../src/qadevOOo/runner
|
I'm still using gcc 3.3.5 and I've tried with both sun java 1.4.2-06 and blackdown 1.4.1. Both give the same problem.
Any ideas to get past this would be appreciated. |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
|
Back to top |
|
|
gentoo_lan l33t
Joined: 08 Sep 2004 Posts: 891 Location: Charles Town, WV
|
Posted: Wed Jan 19, 2005 8:29 am Post subject: |
|
|
Any ideas on how to fix this error? Any help would be appreciated!
Code: | f /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I/include -O2 -mtune=pentium4 -march=pentium4 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -frename-registers -fweb -ftracer -pipe -fno-stack-protector -fno-strict-aliasing -MT url.lo -MD -MP -MF ".deps/url.Tpo" -c -o url.lo url.c; \
then mv -f ".deps/url.Tpo" ".deps/url.Plo"; else rm -f ".deps/url.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I/include -O2 -mtune=pentium4 -march=pentium4 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -frename-registers -fweb -ftracer -pipe -fno-stack-protector -fno-strict-aliasing -MT url.lo -MD -MP -MF .deps/url.Tpo -c url.c -fPIC -DPIC -o .libs/url.o
url.c:89:17: tld.h: No such file or directory
url.c: In function `tld_check_name':
url.c:2099: error: `TLD_INVALID' undeclared (first use in this function)
url.c:2099: error: (Each undeclared identifier is reported only once
url.c:2099: error: for each function it appears in.)
url.c:2108: error: `TLD_SUCCESS' undeclared (first use in this function)
make[1]: *** [url.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/openoffice-1.9-r72/work/OpenOffice/curl/unxlngi4.pro/misc/build/curl-7.12.2/lib'
make: *** [all] Error 2
dmake: Error code 2, while making './unxlngi4.pro/misc/build/so_built_so_curl'
'---* tg_merge.mk *---'
ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.9-r72/work/OpenOffice/curl
!!! ERROR: app-office/openoffice-1.9-r72 failed.
!!! Function src_compile, Line 331, Exitcode 1
!!! Build failed!
!!! If you need support, post the topmost build error, NOT this status message.
|
|
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Wed Jan 19, 2005 11:34 am Post subject: |
|
|
no answer because i use system's curl. but check for: url.c:89:17: tld.h: No such file or directory
where is it?
where is it included?
etc... _________________ hear hear |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Wed Jan 19, 2005 8:03 pm Post subject: |
|
|
fix for 1.9-r72 overlay (updated on http)
* src_install needs 'source ${S}/${LinuxSetEnv}'
*edit*
btw, i got a copy of m72 merged
USE="cups curl java ldap nptl jpeg xml2 -icu -nas -neon -sablot"
CFLAGS="-O2 -mtune=pentium4 -march=pentium4 -pipe -fforce-addr -fforce-mem -momit-leaf-frame-pointer -fomit-frame-pointer -fweb -ftracer -frename-registers -fno-stack-protector -fno-strict-aliasing"
( without forcing system's jpeg ) _________________ hear hear |
|
Back to top |
|
|
gentoo_lan l33t
Joined: 08 Sep 2004 Posts: 891 Location: Charles Town, WV
|
Posted: Thu Jan 20, 2005 10:23 pm Post subject: |
|
|
michael3 wrote: |
Code: |
Making: ../../../../unxlngi4.pro/slo/sc_documen4.obj
g++ -Wuninitialized -fmessage-length=0 -c -I. -I/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc/offuh -I../inc
-I../../../../inc -I../../../../inc/bf_sc -I../../../../unx/inc -I../../../../unxlngi4.pro/inc -I.
-I/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc/stl
-I/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc/external
-I/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc
-I/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solenv/unxlngi4/inc -I/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solenv/inc
-I/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/res -I/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc/stl
-I/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solenv/inc/Xp31 -I/opt/blackdown-jdk-1.4.2.01/include -I/opt/blackdown-jdk-1.4.2.01/include/linux
-I/opt/blackdown-jdk-1.4.2.01/include/native_threads/include -I/usr/X11R6/include -I. -I../../../../res -I. -march=athlon-xp -pipe -O2
-fno-stack-protector -fno-strict-aliasing
-march=athlon-xp -pipe -O2 -fno-strict-aliasing -Wno-ctor-dtor-privacy -include preinclude.h -fno-exceptions -fpic -DLINUX -DUNX -DVCL -DGCC -DC300
-DINTEL -DGXX_INCLUDE_PATH=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3 -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=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0
-DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSOLAR_JAVA -DSRC680 -DSHAREDLIB -D_DLL_ -DMULTITHREAD -o ../../../../unxlngi4.pro/slo/sc_documen4.o
/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/binfilter/bf_sc/source/core/data/sc_documen4.cxx
In file included from /var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc/stl/pthread.h:26,
from /var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc/stl/stl/_threads.h:140,
from /var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc/stl/stl/_alloc.h:64,
from /var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc/stl/stl/_vector.h:40,
from /var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc/stl/stl/_hashtable.h:34,
from /var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc/stl/stl/_hash_map.h:34,
from /var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/solver/680/unxlngi4.pro/inc/stl/hash_map:31,
from ../../../../inc/bf_sc/compiler.hxx:87,
from ../inc/interpre.hxx:74,
from /var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/binfilter/bf_sc/source/core/data/sc_documen4.cxx:79:
/usr/include/pthread.h:446: error: '__jmp_buf' is used as a type, but is not defined as a type.
/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/binfilter/bf_sc/source/core/data/sc_documen4.cxx: In member function `BOOL
binfilter::ScDocument::Solver(short unsigned int, short unsigned int, short unsigned int, short unsigned int, short unsigned int, short unsigned int,
const String&, double&)':
/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/binfilter/bf_sc/source/core/data/sc_documen4.cxx:101: Warnung: comparison is always true due to
limited range of data type
/var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/binfilter/bf_sc/source/core/data/sc_documen4.cxx:101: Warnung: comparison is always true due to
limited range of data type
dmake: Error code 1, while making '../../../../unxlngi4.pro/slo/sc_documen4.obj'
'---* tg_merge.mk *---'
ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.9-r68/work/OpenOffice/binfilter/bf_sc/source/core/data
!!! ERROR: app-office/openoffice-1.9-r68 failed.
!!! Function src_compile, Line 320, Exitcode 1
!!! Build failed!
!!! If you need support, post the topmost build error, NOT this status message.
|
|
I have the same error as micheal and I was wondering if there was any solution for it. I got past my previous error above by adding curl to my use flags but now I am stuck on this one. |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Thu Jan 20, 2005 11:22 pm Post subject: |
|
|
once more you did not patch the system files!
/usr/include/pthread.h:446: error: '__jmp_buf' is used as a type, but is not defined as a type.
at bottom of page 9... _________________ hear hear |
|
Back to top |
|
|
gentoo_lan l33t
Joined: 08 Sep 2004 Posts: 891 Location: Charles Town, WV
|
Posted: Fri Jan 21, 2005 1:21 am Post subject: |
|
|
geki wrote: | once more you did not patch the system files!
/usr/include/pthread.h:446: error: '__jmp_buf' is used as a type, but is not defined as a type.
at bottom of page 9... |
No I looked to see if I had patched the file and I did. Any other ideas? |
|
Back to top |
|
|
pvll n00b
Joined: 15 Jan 2005 Posts: 15 Location: Tallinn, Estonia
|
Posted: Sat Jan 22, 2005 11:09 pm Post subject: |
|
|
I`ve a trouble
I want to try compile new openoffice 2.0 , but i can`t get it from CVS (
Quote: |
emerge openoffice-1.9-r72.ebuild
emerging by path implies --oneshot... adding --oneshot to options.
*** emerging by path is broken and may not always work!!!
Calculating dependencies ...done!
>>> emerge (1 of 1) app-office/openoffice-1.9-r72 to /
>>> md5 src_uri STLport-4.6.2.tar.gz
* If your language is not on my list of supported ones,
* check http://l10n.openoffice.org/languages.html
* report at https://forums.gentoo.org/viewtopic.php?t=195406
*
* USE="jpeg" is set but OpenOffice.org won't be linked to
* system's jpeg library because FORCE variable was not set to YES.
*
* You would loose some functionality - so better do not set it!
>>> Unpacking source...
* Fetching CVS module OpenOffice into /usr/portage/distfiles/cvs-src ...
* Running cvs -q -f -z4 -d ":pserver:anoncvs:anoncvs@anoncvs.services.openoffi ce.org:/cvs" login
Logging in to :pserver:anoncvs@anoncvs.services.openoffice.org:2401/cvs
* Running cvs -q -f -z4 -d ":pserver:anoncvs@anoncvs.services.openoffice.org:/ cvs" checkout -rSRC680_m72 OpenOffice
* Copying OpenOffice from /usr/portage/distfiles/cvs-src ...
cp: stat `/usr/portage/distfiles/cvs-src/OpenOffice': No such file or directory
ls: /usr/portage/distfiles/cvs-src/OpenOffice: No such file or directory
* CVS module OpenOffice is now in /var/tmp/portage/openoffice-1.9-r72/work
!!! ERROR: app-office/openoffice-1.9-r72 failed.
!!! Function src_unpack, Line 208, Exitcode 1
!!! Dare you! Didn't you patch some files?!
!!! If you need support, post the topmost build error, NOT this status message.
|
|
|
Back to top |
|
|
kaksi Tux's lil' helper
Joined: 21 May 2004 Posts: 125
|
Posted: Wed Jan 26, 2005 10:06 am Post subject: |
|
|
I have the same problem... |
|
Back to top |
|
|
Diavolo Apprentice
Joined: 09 Jan 2005 Posts: 151
|
Posted: Fri Jan 28, 2005 8:57 pm Post subject: |
|
|
Same Problem here |
|
Back to top |
|
|
gentoo_lan l33t
Joined: 08 Sep 2004 Posts: 891 Location: Charles Town, WV
|
Posted: Fri Jan 28, 2005 10:03 pm Post subject: |
|
|
You didn't use the patch at the bottom of page 9. You have to patch all the files in order to properly use Openoffice. However I have been unsuccessful several times trying to install it. |
|
Back to top |
|
|
2crazy n00b
Joined: 07 Apr 2003 Posts: 54
|
Posted: Sat Jan 29, 2005 1:33 am Post subject: |
|
|
Is there a patch for AMD64? Because the patch says it differs from the 64bit version and thus I can't use it |
|
Back to top |
|
|
gentoo_lan l33t
Joined: 08 Sep 2004 Posts: 891 Location: Charles Town, WV
|
Posted: Sat Jan 29, 2005 2:31 am Post subject: |
|
|
You might see if you can pm Geki. He seems to be the person who continually makes updates for the openoffice cvs build. |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Sat Jan 29, 2005 2:29 pm Post subject: |
|
|
2crazy wrote: | Is there a patch for AMD64? Because the patch says it differs from the 64bit version and thus I can't use it |
well, I mentioned sometime ago that there were 64bit patches in but they are not . OOo developers got 1.9 compiled on amd64 but as soon as you see the splashscreen of OOo it errors. _________________ hear hear |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
|
Back to top |
|
|
kaksi Tux's lil' helper
Joined: 21 May 2004 Posts: 125
|
Posted: Sun Jan 30, 2005 10:47 am Post subject: |
|
|
geki wrote: | updated system files patch
Code: | # only for 32bit arch!
# 64bit arch is not supported yet
--- /usr/include/pthread.h 2004-10-07 22:03:06.000000000 +0200
+++ /usr/include/pthread.h 2004-10-10 12:10:29.699955184 +0200
@@ -439,6 +439,7 @@
/* Cancellation handling with integration into exception handling. */
+typedef int __jmp_buf[6];
typedef struct
{
struct
# python mismatch
--- /usr/bin/ant 2004-10-09 22:30:34.000000000 +0200
+++ /usr/bin/ant 2004-10-10 12:12:10.734595584 +0200
@@ -73,8 +73,8 @@
if [ -f $HOME/.gentoo/java-env ] ; then
source $HOME/.gentoo/java-env
else
- JAVA_HOME=`java-config --jdk-home`
- CLASSPATH=`java-config --classpath`:${CLASSPATH}
+ JAVA_HOME="${JAVA_HOME}"
+ CLASSPATH=".:${CLASSPATH}"
fi
fi
@@ -90,7 +90,7 @@
# set ANT_LIB location
ANT_LIB="${ANT_HOME}/lib"
-JAVACMD="`java-config --java`"
+JAVACMD="${JAVA_HOME}/bin/java"
if [ ! -x "$JAVACMD" ] ; then
echo "Error: JAVA_HOME is not defined correctly."
# update for 1.55 cvs.eclass
# 'cvs up' impossible for OOo cvs, only module based
--- /usr/portage/eclass/cvs.eclass 2005-01-13 12:52:59.492621552 +0100
+++ /usr/portage/eclass/cvs.eclass 2005-01-13 12:56:21.406925912 +0100
@@ -334,7 +334,13 @@
# Execute commands
- cd "${ECVS_TOP_DIR}"
+ if [ "$ECVS_LOCALNAME" == "OpenOffice" ]; then
+ mkdir -p "${ECVS_TOP_DIR}/$ECVS_LOCALNAME"
+ cd "${ECVS_TOP_DIR}/$ECVS_LOCALNAME"
+ else
+ cd "${ECVS_TOP_DIR}"
+ fi
+
if [ "${ECVS_AUTH}" == "pserver" ]; then
einfo "Running $cmdlogin"
eval $cmdlogin || die "cvs login command failed"
@@ -521,7 +527,7 @@
if [ -n "$ECVS_LOCAL" ]; then
cp -f "$ECVS_TOP_DIR/$ECVS_LOCALNAME"/* "$WORKDIR/$ECVS_LOCALNAME"
else
- cp -Rf "$ECVS_TOP_DIR/$ECVS_LOCALNAME" "$WORKDIR/$ECVS_LOCALNAME/.."
+ cp -Rf "$ECVS_TOP_DIR/$ECVS_LOCALNAME" "$WORKDIR"
fi
# If the directory is empty, remove it; empty directories cannot |
|
What should I do with this? When, where and how shaould I apply it? |
|
Back to top |
|
|
psyeye Guru
Joined: 06 Dec 2002 Posts: 409 Location: Germany
|
Posted: Sun Jan 30, 2005 12:40 pm Post subject: |
|
|
Usually you would put it in a file, say "ooo_system.patch" and then apply it.
Actually it fails for me, completely. No file is patched successfully so I am atm sorting it out and will post a patch which "works for me"[tm].
These are the versions of affected packages:
sys-libs/glibc-2.3.4.20040808-r1
dev-java/ant-core-1.6.2
Output of failed patching:
Code: | # patch -p0 --dry-run < /home/flo/Desktop/ooo_system.patch
patching file /usr/include/pthread.h
Hunk #1 FAILED at 439.
1 out of 1 hunk FAILED -- saving rejects to file /usr/include/pthread.h.rej
patching file /usr/bin/ant
Hunk #1 FAILED at 73.
Hunk #2 succeeded at 87 (offset -3 lines).
1 out of 2 hunks FAILED -- saving rejects to file /usr/bin/ant.rej
patching file /usr/portage/eclass/cvs.eclass
Hunk #1 FAILED at 334.
Hunk #2 FAILED at 527.
2 out of 2 hunks FAILED -- saving rejects to file /usr/portage/eclass/cvs.eclass.rej
|
But this patch is still needed now, isn't it?
psyeye |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Sun Jan 30, 2005 12:47 pm Post subject: |
|
|
you may use ~x86 system? _________________ hear hear |
|
Back to top |
|
|
psyeye Guru
Joined: 06 Dec 2002 Posts: 409 Location: Germany
|
Posted: Sun Jan 30, 2005 12:55 pm Post subject: |
|
|
geki wrote: | you may use ~x86 system? |
No.
But are you interested in a system-patch for x86? I'd be willing to do it.
psyeye |
|
Back to top |
|
|
Diavolo Apprentice
Joined: 09 Jan 2005 Posts: 151
|
Posted: Sun Jan 30, 2005 5:01 pm Post subject: |
|
|
I get the following error:
patching file /usr/include/pthread.h
patching file /usr/bin/ant
Hunk #1 FAILED at 73.
1 out of 2 hunks FAILED -- saving rejects to file /usr/bin/ant.rej
patching file /usr/portage/eclass/cvs.eclass
Hunk #1 FAILED at 235.
Hunk #2 FAILED at 249.
Hunk #3 FAILED at 268.
Hunk #4 FAILED at 334.
patch unexpectedly ends in middle of line
Hunk #5 FAILED at 517.
5 out of 5 hunks FAILED -- saving rejects to file /usr/portage/eclass/cvs.eclass.rej |
|
Back to top |
|
|
psyeye Guru
Joined: 06 Dec 2002 Posts: 409 Location: Germany
|
Posted: Sun Jan 30, 2005 6:31 pm Post subject: |
|
|
I have patches for ant and cvs.eclass which apply cleanly.
Apply with Code: | $ patch -p0 < patchfile | in /usr/bin/ and /usr/portage/eclass/ respectivly.
I hope that the pthread-patch applies cleanly after my upgrade to ~x86 glibc.
Thanks to geki I hope I can try ooo-1.9whatever soon! This is great work with your overlay, I appreciate it very much! Keep it up!!
psyeye |
|
Back to top |
|
|
Diavolo Apprentice
Joined: 09 Jan 2005 Posts: 151
|
Posted: Sun Jan 30, 2005 6:40 pm Post subject: |
|
|
psyeye wrote: | I have patches for ant and cvs.eclass which apply cleanly.
Apply with Code: | $ patch -p0 < patchfile | in /usr/bin/ and /usr/portage/eclass/ respectivly.
I hope that the pthread-patch applies cleanly after my upgrade to ~x86 glibc.
Thanks to geki I hope I can try ooo-1.9whatever soon! This is great work with your overlay, I appreciate it very much! Keep it up!!
psyeye |
The Patch for ant did not work |
|
Back to top |
|
|
psyeye Guru
Joined: 06 Dec 2002 Posts: 409 Location: Germany
|
Posted: Sun Jan 30, 2005 6:52 pm Post subject: |
|
|
Diavolo wrote: | The Patch for ant did not work |
Posting some more info would be a good thing!
I did Code: | $ cd /usr/bin
$ patch -p0 < /somewhere/ooo_ant-050130.diff | and it worked...
psyeye |
|
Back to top |
|
|
|