Bug#345611: openoffice.org: [64bit] Making OpenOffice src compile
It seems that it's still failing to build because of java problems. I get errors such as: HelpContent.java: In class 'com.sun.star.help.HelpContent': HelpContent.java: In constructor '(com.sun.star.help.HelpProvider,com.sun.star.help.HelpContentIdentifier)': HelpContent.java:25: error: final field 'm_xIdentifier' may not have been initialized HelpContent.java:26: error: final field 'm_xParameter' may not have been initialized HelpContent.java:27: error: final field 'm_xProvider' may not have been initialized HelpURLConnection.java: In class 'com.sun.star.help.HelpURLConnection': HelpURLConnection.java: In constructor '(java.net.URL,byte[])': HelpURLConnection.java:17: error: final field '_helpURL' may not have been initialized HelpURLConnection.java:18: error: final field '_doc' may not have been initialized [...] After changing the build depedency related to java to be the same as for sparc, and setting ENABLE_JAVA to n, it build completly, but failed after creating most of the .deb packages with: # install the javadoc stuff manually cp -r ooo-build/build/ooa680-m1/odk/unxlngx6.pro/bin/odk680/docs/java \ debian/openoffice.org-dev-doc/usr/lib/openoffice/sdk/docs cp: cannot stat `ooo-build/build/ooa680-m1/odk/unxlngx6.pro/bin/odk680/docs/java': No such file or directory Kurt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#345611: openoffice.org: [64bit] Making OpenOffice src compile
On 1/11/06, Emmanuel Fleury [EMAIL PROTECTED] wrote: Sincerely, it's not as bad as you said. I did a tour of it yesterday and my desktop didn't burst into fire. :) I found few problems but nothing really lethal until now (I admit I didn't try very deep but I was expecting much worst). Did you try e.g. load/save? And I can say, that it brought my X server to its knees at least once by allocating several gigabytes of pixmaps. I am starting to think that the badness of OpenOffice in 64bits was just a rumor (as nobody really tried out). Umm, don't you think the people who wrote the patches that you use would make it widely known when they had a working 64bit port? Regards, Martin
Bug#345611: openoffice.org: [64bit] Making OpenOffice src compile
Martin Kretzschmar wrote: Did you try e.g. load/save? Erk ! :) It seems that I can't open a file saved with a 32bits version. Hm. I told you I didn't try very hard. :) And I can say, that it brought my X server to its knees at least once by allocating several gigabytes of pixmaps. Didn't reached this one yet. But, I had similar problems long time ago with a 32bits official release of OO. Why should we bother by now ? People know that it's _unstable_. :) Umm, don't you think the people who wrote the patches that you use would make it widely known when they had a working 64bit port? Right, but isn't it time for an alpha-release to get more people involved in the bug fixes ? :) Anyway, I totally agree with the decision of Rene on NOT to put the amd64 in the default. It is definitely too early. Thanks for your help and thanks to al the people from OpenOffice for their wonderful work on the 64bits port. Regards -- Emmanuel Fleury Houston, we've had a problem here. -- Jack Swigert (Appolo XIII, April 13, 1970) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#345611: openoffice.org: [64bit] Making OpenOffice src compile
Hi, Rene Engelhard wrote: touch debian/stampdir/maintscripts /usr/bin/make -f debian/rules DH_OPTIONS=-Npython-uno -Nopenoffice.org-gcj -Nopenoffice.org-hunspell -Nopenoffice.org-filter-so52 -s binary-common make[1]: Entering directory `/home/fleury/devel/projects/openoffice/openoffice.org-2.0.1-2' dh_testdir dh_testdir: I have no package to build Uh, you did add amd64 to Architecture? (set BUILD_AMD64=y and run debian/rules control?) dh-testdir ist right here, it has no package to build because there's no package defined to be built on amd64 Hum, I obviously did it wrong in some way. :-( Well, I suggest to add the following to debian/rules (or similar): --- debian/rules2006-01-10 12:02:31.0 +0100 +++ debian/rules-amd64 2006-01-10 18:49:09.0 +0100 @@ -73,6 +73,10 @@ BUILD_AMD64=y endif +ifeq $(DIST) Debian + BUILD_AMD64=y +endif + ifeq $(ARCH) amd64 BUILD_PYUNO=n else And please stop abusing this bugreport for general amd64 porting issues since this bug is fixed already (adding Debians contents to Debian64). The point of this wish (better than bug, I guess) was to have the src-package to compile for AMD64. The last patch included in this mail (look-up) should be the final one. I had a full building process to complete. You can close this bug. Thanks a lot for your help (Martin and Rene). Regards -- Emmanuel Fleury C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, it blows away your whole leg. -- Bjarne Stroustrup -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#345611: openoffice.org: [64bit] Making OpenOffice src compile
Hi, Emmanuel Fleury wrote: Well, I suggest to add the following to debian/rules (or similar): --- debian/rules2006-01-10 12:02:31.0 +0100 +++ debian/rules-amd64 2006-01-10 18:49:09.0 +0100 @@ -73,6 +73,10 @@ BUILD_AMD64=y endif +ifeq $(DIST) Debian + BUILD_AMD64=y +endif + ifeq $(ARCH) amd64 BUILD_PYUNO=n else This is what the bug I referenced in my last mail wants. And I don't want to do that (in any case, why not just an else?). It still is too premature for that afaik. And no, before you ask; Ubuntu doesn't ship it either, they just build it and let the build fail... You can close this bug. Will be done with the next upload... Regards, Rene signature.asc Description: Digital signature
Bug#345611: openoffice.org: [64bit] Making OpenOffice src compile
Rene Engelhard wrote: This is what the bug I referenced in my last mail wants. And I don't want to do that (in any case, why not just an else?). It still is too premature for that afaik. And no, before you ask; Ubuntu doesn't ship it either, they just build it and let the build fail... You decide. Sincerely, it's not as bad as you said. I did a tour of it yesterday and my desktop didn't burst into fire. :) I found few problems but nothing really lethal until now (I admit I didn't try very deep but I was expecting much worst). I am starting to think that the badness of OpenOffice in 64bits was just a rumor (as nobody really tried out). Just for the record, you can get it here: # OpenOffice 2.0 (64bits) deb ftp://ftp-fourier.ujf-grenoble.fr/linux/oo64/ ./ PS: Yes, an else would be better. Regards -- Emmanuel Fleury In fact, in Linux we did try C++ once already, back in 1992. It sucks. Trust me - writing kernel code in C++ is a BLOODY STUPID IDEA. -- Linus Torvalds -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#345611: openoffice.org: [64bit] Making OpenOffice src compile
Hi all, Martin Kretzschmar wrote: I've updated the patch that disables optimization of that file: http://cvs.gnome.org/viewcvs/ooo-build/patches/src680/svx-customshapes-NOOPTFILES.diff?view=markup Emmanuel, change your *svx/source/customshapes/makefile.mk in the same way, and it should work. It worked really fine. I've never been so far in the building process ! Here is the next problem I got a missing file (debian/scripts/vars.amd64): # generate maintainer scripts from *.in # or generate default script which calls hook in openoffice.org-debian-files package for PKG in `dh_listpackages`; do \ for FILE in postinst postrm preinst prerm; do \ MAINTSCRIPT=debian/$PKG.$FILE ; \ if [ -e $MAINTSCRIPT.in ]; then \ sed -n '1,/^#INCLUDE_SHELL_LIB#$/p' $MAINTSCRIPT.in | sed -e '/^#INCLUDE_SHELL_LIB#$/d' $MAINTSCRIPT; \ grep LIBSUFFIX debian/scripts/vars.amd64 $MAINTSCRIPT; \ cat debian/shell-lib.sh $MAINTSCRIPT; \ sed -n '/^#INCLUDE_SHELL_LIB#$/,$p' $MAINTSCRIPT.in | sed -e '/^#INCLUDE_SHELL_LIB#$/d' $MAINTSCRIPT; \ else \ echo '#!/bin/sh' $MAINTSCRIPT ; \ echo THIS_PACKAGE=$PKG $MAINTSCRIPT ;\ echo THIS_SCRIPT=$FILE $MAINTSCRIPT ;\ cat debian/shell-lib.sh $MAINTSCRIPT; \ fi; \ done; \ done grep: debian/scripts/vars.amd64: No such file or directory grep: debian/scripts/vars.amd64: No such file or directory grep: debian/scripts/vars.amd64: No such file or directory grep: debian/scripts/vars.amd64: No such file or directory grep: debian/scripts/vars.amd64: No such file or directory grep: debian/scripts/vars.amd64: No such file or directory grep: debian/scripts/vars.amd64: No such file or directory touch debian/stampdir/maintscripts /usr/bin/make -f debian/rules DH_OPTIONS=-Npython-uno -Nopenoffice.org-gcj -Nopenoffice.org-hunspell -Nopenoffice.org-filter-so52 -s binary-common make[1]: Entering directory `/home/fleury/devel/projects/openoffice/openoffice.org-2.0.1-2' dh_testdir dh_testdir: I have no package to build make[1]: *** [binary-common] Error 1 make[1]: Leaving directory `/home/fleury/devel/projects/openoffice/openoffice.org-2.0.1-2' make: *** [debian/stampdir/binary-arch] Error 2 I guess it is similar to this one: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=253544 Regards -- Emmanuel Fleury Computers are not intelligent. They only think they are. -- Unknown -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#345611: openoffice.org: [64bit] Making OpenOffice src compile
Hi, Emmanuel Fleury wrote: grep: debian/scripts/vars.amd64: No such file or directory grep: debian/scripts/vars.amd64: No such file or directory grep: debian/scripts/vars.amd64: No such file or directory grep: debian/scripts/vars.amd64: No such file or directory grep: debian/scripts/vars.amd64: No such file or directory grep: debian/scripts/vars.amd64: No such file or directory grep: debian/scripts/vars.amd64: No such file or directory Ignore that. touch debian/stampdir/maintscripts /usr/bin/make -f debian/rules DH_OPTIONS=-Npython-uno -Nopenoffice.org-gcj -Nopenoffice.org-hunspell -Nopenoffice.org-filter-so52 -s binary-common make[1]: Entering directory `/home/fleury/devel/projects/openoffice/openoffice.org-2.0.1-2' dh_testdir dh_testdir: I have no package to build Uh, you did add amd64 to Architecture? (set BUILD_AMD64=y and run debian/rules control?) dh-testdir ist right here, it has no package to build because there's no package defined to be built on amd64 I guess it is similar to this one: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=253544 Not really. More like http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329106. (which I won't fo for obvious reasons) And please stop abusing this bugreport for general amd64 porting issues since this bug is fixed already (adding Debians contents to Debian64). Regards, Rene signature.asc Description: Digital signature
Bug#345611: openoffice.org: [64bit] Making OpenOffice src compile
On 1/4/06, Emmanuel Fleury [EMAIL PROTECTED] wrote: It worked really fine. I've never been so far in the building process ! Here is the next problem I got a missing file (debian/scripts/vars.amd64): If you take a closer look, you will see that there's no such file for any other arch. I guess the code that expects the file should be updated. # generate maintainer scripts from *.in # or generate default script which calls hook in openoffice.org-debian-files package for PKG in `dh_listpackages`; do \ for FILE in postinst postrm preinst prerm; do \ MAINTSCRIPT=debian/$PKG.$FILE ; \ if [ -e $MAINTSCRIPT.in ]; then \ sed -n '1,/^#INCLUDE_SHELL_LIB#$/p' $MAINTSCRIPT.in | sed -e '/^#INCLUDE_SHELL_LIB#$/d' $MAINTSCRIPT; \ grep LIBSUFFIX debian/scripts/vars.amd64 $MAINTSCRIPT; \ cat debian/shell-lib.sh $MAINTSCRIPT; \ sed -n '/^#INCLUDE_SHELL_LIB#$/,$p' $MAINTSCRIPT.in | sed -e '/^#INCLUDE_SHELL_LIB#$/d' $MAINTSCRIPT; \ else \ echo '#!/bin/sh' $MAINTSCRIPT ; \ echo THIS_PACKAGE=$PKG $MAINTSCRIPT ;\ echo THIS_SCRIPT=$FILE $MAINTSCRIPT ;\ cat debian/shell-lib.sh $MAINTSCRIPT; \ fi; \ done; \ done grep: debian/scripts/vars.amd64: No such file or directory grep: debian/scripts/vars.amd64: No such file or directory grep: debian/scripts/vars.amd64: No such file or directory grep: debian/scripts/vars.amd64: No such file or directory grep: debian/scripts/vars.amd64: No such file or directory grep: debian/scripts/vars.amd64: No such file or directory grep: debian/scripts/vars.amd64: No such file or directory touch debian/stampdir/maintscripts /usr/bin/make -f debian/rules DH_OPTIONS=-Npython-uno -Nopenoffice.org-gcj -Nopenoffice.org-hunspell -Nopenoffice.org-filter-so52 -s binary-common make[1]: Entering directory `/home/fleury/devel/projects/openoffice/openoffice.org-2.0.1-2' dh_testdir dh_testdir: I have no package to build make[1]: *** [binary-common] Error 1 make[1]: Leaving directory `/home/fleury/devel/projects/openoffice/openoffice.org-2.0.1-2' make: *** [debian/stampdir/binary-arch] Error 2 Did you set BUILD_AMD64 to y somewhere in debian/rules? If not, do that and run debian/rules control. /uneducated-guess HTH, Martin
Bug#345611: openoffice.org: [64bit] Making OpenOffice src compile
Rene Engelhard wrote: openoffice.org-2.0.1/ooo-build/build/ooa680-m1/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx Ah. That again. See the makefile.mk. There are already workarounds there for various other archs/platforms... I've updated the patch that disables optimization of that file: http://cvs.gnome.org/viewcvs/ooo-build/patches/src680/svx-customshapes-NOOPTFILES.diff?view=markup Emmanuel, change your *svx/source/customshapes/makefile.mk in the same way, and it should work. HTH, Martin * -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#345611: openoffice.org: [64bit] Making OpenOffice src compile
Package: openoffice.org Version: 2.0.1-1 Severity: important Justification: fails to build from source Fixing rhino and other problems. Please apply. diff -ruNbB openoffice.org-2.0.1/ooo-build/patches/src680/apply openoffice.org-2.0.1-1/ooo-build/patches/src680/apply --- openoffice.org-2.0.1/ooo-build/patches/src680/apply 2006-01-01 15:27:13.0 +0100 +++ openoffice.org-2.0.1-1/ooo-build/patches/src680/apply 2006-01-01 15:45:01.0 +0100 @@ -34,7 +34,7 @@ DebianBase : LinuxCommon, SystemDB, DebianBaseOnly Debian : DebianBase, DebianOnly, DebianSidOnly DebianSarge : DebianBase, DebianOnly, DebianSargeOnly -Debian64 : DebianBase, 64bit, DebianOnly +Debian64 : Debian, 64bit # # DroplineGNOME # Still I can't compile because of an out of memory error on gcc. I'll investigate this problem further. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14.3 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#345611: openoffice.org: [64bit] Making OpenOffice src compile
severity 345611 wishlist thanks Hi, Emmanuel Fleury wrote: Package: openoffice.org Version: 2.0.1-1 Severity: important Justification: fails to build from source This is not important IMHO. It may build but not work, so.. Fixing rhino and other problems. Please apply. diff -ruNbB openoffice.org-2.0.1/ooo-build/patches/src680/apply openoffice.org-2.0.1-1/ooo-build/patches/src680/apply --- openoffice.org-2.0.1/ooo-build/patches/src680/apply 2006-01-01 15:27:13.0 +0100 +++ openoffice.org-2.0.1-1/ooo-build/patches/src680/apply 2006-01-01 15:45:01.0 +0100 @@ -34,7 +34,7 @@ DebianBase : LinuxCommon, SystemDB, DebianBaseOnly Debian : DebianBase, DebianOnly, DebianSidOnly DebianSarge : DebianBase, DebianOnly, DebianSargeOnly -Debian64 : DebianBase, 64bit, DebianOnly +Debian64 : Debian, 64bit # # DroplineGNOME # WTF are you reporting a new bug for this when we had that rhino problem in the other bug? /me goes to close the other bug then. Anyway, this is fixed in ooo-build; will be in the next upload. Still I can't compile because of an out of memory error on gcc. I'll investigate this problem further. Wow.. This makes complete sense. Filing a important bug for a non-supported arch which OOo won't really work on even when built and then you can't even build it completely BTW, which file is that? Regards, Rene signature.asc Description: Digital signature
Bug#345611: openoffice.org: [64bit] Making OpenOffice src compile
Rene Engelhard wrote: This is not important IMHO. It may build but not work, so.. Agree. I did just select the can't compile option in reportbug, it selected the important level itself. I should have changed it to minor. WTF are you reporting a new bug for this when we had that rhino problem in the other bug? /me goes to close the other bug then. Ok. I'll keep going on this one (title is explicit enough) until I get a full building process to terminate. Anyway, this is fixed in ooo-build; will be in the next upload. Great. Wow.. This makes complete sense. Filing a important bug for a non-supported arch which OOo won't really work on even when built and then you can't even build it completely This small patch has several good points, it fixes several problems and yet minimize its footprints, it also makes it a step closer to the inclusion of Debian64 in official. BTW, which file is that? openoffice.org-2.0.1/ooo-build/build/ooa680-m1/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx Error log: g++ -Wreturn-type -fmessage-length=0 -c -I. -I. -I../inc -I../../inc -I../../unx/inc -I../../unxlngx6.pro/inc -I. -I/home/fleury/devel/projects/openoffice/openoffice.org-2.0.1-2/ooo-build/build/ooa680-m1/solver/680/unxlngx6.pro/inc/stl -I/home/fleury/devel/projects/openoffice/openoffice.org-2.0.1-2/ooo-build/build/ooa680-m1/solver/680/unxlngx6.pro/inc/external -I/home/fleury/devel/projects/openoffice/openoffice.org-2.0.1-2/ooo-build/build/ooa680-m1/solver/680/unxlngx6.pro/inc -I/home/fleury/devel/projects/openoffice/openoffice.org-2.0.1-2/ooo-build/build/ooa680-m1/solenv/unxlngx6/inc -I/home/fleury/devel/projects/openoffice/openoffice.org-2.0.1-2/ooo-build/build/ooa680-m1/solenv/inc -I/home/fleury/devel/projects/openoffice/openoffice.org-2.0.1-2/ooo-build/build/ooa680-m1/res -I/home/fleury/devel/projects/openoffice/openoffice.org-2.0.1-2/stlport4/stlport -I/home/fleury/devel/projects/openoffice/openoffice.org-2.0.1-2/stlport4/include/stlport -I/home/fleury/devel/projects/openoffice/openoffice.org-2.0.1-2/stlport4/include/stlport -I/home/fleury/devel/projects/openoffice/openoffice.org-2.0.1-2/ooo-build/build/ooa680-m1/solenv/inc/Xp31 -I/usr/lib/jvm/java-gcj/include -I/usr/X11R6/include -I. -I../../res -I. -O2 -fno-strict-aliasing -Wuninitialized -fvisibility=hidden -pipe -Wno-ctor-dtor-privacy -fno-use-cxa-atexit -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DX86_64 -DGXX_INCLUDE_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../include/c++/4.0.3 -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86_64 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DOOA680 -DSVX_DLLIMPLEMENTATION -DSHAREDLIB -D_DLL_ -DMULTITHREAD -o ../../unxlngx6.pro/slo/EnhancedCustomShapeFunctionParser.o /home/fleury/devel/projects/openoffice/openoffice.org-2.0.1-2/ooo-build/build/ooa680-m1/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx cc1plus: out of memory allocating 410991616 bytes after a total of 120205312 bytes dmake: Error code 1, while making '../../unxlngx6.pro/slo/EnhancedCustomShapeFunctionParser.obj' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /home/fleury/devel/projects/openoffice/openoffice.org-2.0.1-2/ooo-build/build/ooa680-m1/svx/source/customshapes make[1]: *** [stamp/build] Error 1 make[1]: Leaving directory `/home/fleury/devel/projects/openoffice/openoffice.org-2.0.1-2/ooo-build' make: *** [debian/stampdir/build] Error 2 Regards -- Emmanuel Fleury Shut up and hack ! -- Theo de Raadt (OpenBSD Hackaton) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#345611: openoffice.org: [64bit] Making OpenOffice src compile
Hi, Emmanuel Fleury wrote: This small patch has several good points, it fixes several problems and yet minimize its footprints, it also makes it a step closer to the inclusion of Debian64 in official. What part of OOo2 native on amd64 is not yet usable did you not understand? openoffice.org-2.0.1/ooo-build/build/ooa680-m1/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx Ah. That again. See the makefile.mk. There are already workarounds there for various other archs/platforms... Regards, Rene signature.asc Description: Digital signature