Summary: | app-office/openoffice: hsqldb-1.8.1.2-r1 breaks openoffice 3.2 odb files | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stephan Karacson <stkabugs> |
Component: | Current packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | corecrystal, cruzki123, ecyoung, serkan, ubiquitous1980 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | http://forums.gentoo.org/viewtopic-t-830427.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Ebuild for openoffice without --enable-system-hsqldb |
Description
Stephan Karacson
2010-06-01 16:58:47 UTC
broken odb files cannot be opened on other openoffice installations (e.g. 3.2 on WindowsXP...). Downgrade to hsqldb 1.8.0 even made corrupted files opened once change back to normal working... I can confirm this on x86 Gentoo with hsqldb-1.8.1.2-r1 and openoffice-3.2.0 Wondering if openoffice-3.2.1 is affected by this bug? (In reply to comment #2) > I can confirm this on x86 Gentoo with hsqldb-1.8.1.2-r1 and openoffice-3.2.0 > Wondering if openoffice-3.2.1 is affected by this bug? > This bug is replicated in openoffice-3.2.1 on my system with hsqldb-1.8.1.2-r1. Also, portage is not permitting a downgrade to 1.8.0.x Created attachment 247646 [details]
Ebuild for openoffice without --enable-system-hsqldb
(In reply to comment #3) > Also, portage is not permitting a downgrade to 1.8.0.x You can use the ebuild attached to build openoffice with hsqldb from upstream sources. This should be the default, as most people using oobase with hsqldb do so for interoperability reasons. Maybe building with --enable-system-hsqldb should have a USE-flag? (In reply to comment #5) > (In reply to comment #3) > > Also, portage is not permitting a downgrade to 1.8.0.x > > You can use the ebuild attached to build openoffice with hsqldb from upstream > sources. This should be the default, as most people using oobase with hsqldb do > so for interoperability reasons. Maybe building with --enable-system-hsqldb > should have a USE-flag? > I am inclined to agree that it should have some sort of embedded-hsqldb USE-flag. Perhaps the relevant dev should consider this. The problem still exists with openoffice-3.2.1-r1 and I am not able to adapt the ebuild to make it work. (In reply to comment #7) > The problem still exists with openoffice-3.2.1-r1 and I am not able to adapt > the ebuild to make it work. > This ebuild does work. You must add it to your local overlay and then mask the openoffice packages from the official tree. If you don't know how to do this, please see the documentation for your respective package manager, paludis a.k.a. cave or portage a.k.a. emerge. Quick and dirty: 1. Create local overlay 2. Add this ebuild to app-office/openoffice/* 3. Copy patch files from /usr/portage/app-openoffice/files to localoverlay/app-openoffice/files 4.Mask the official versions of package using appropriate files (etc/portage/package.mask - /etc/paludis/package_mask.conf) 5. Unmask local overlay package. (Opposite of 4.) 6. emerge/install (In reply to comment #8) > (In reply to comment #7) > > The problem still exists with openoffice-3.2.1-r1 and I am not able to adapt > > the ebuild to make it work. > > > > This ebuild does work. You must add it to your local overlay and then mask the > openoffice packages from the official tree. If you don't know how to do this, > please see the documentation for your respective package manager, paludis > a.k.a. cave or portage a.k.a. emerge. Quick and dirty: > 1. Create local overlay > 2. Add this ebuild to app-office/openoffice/* > 3. Copy patch files from /usr/portage/app-openoffice/files to > localoverlay/app-openoffice/files > 4.Mask the official versions of package using appropriate files > (etc/portage/package.mask - /etc/paludis/package_mask.conf) > 5. Unmask local overlay package. (Opposite of 4.) > 6. emerge/install > Last snippet of my build logs(I'm sure there is a way around this) Entering /var/tmp/paludis/app-office-openoffice-3.2.1/work/ooo/build/OOO320_m19/vcl/unx/source/app Compiling: vcl/unx/source/app/i18n_cb.cxx Compiling: vcl/unx/source/app/i18n_ic.cxx Compiling: vcl/unx/source/app/i18n_im.cxx Compiling: vcl/unx/source/app/i18n_xkb.cxx Compiling: vcl/unx/source/app/i18n_wrp.cxx Compiling: vcl/unx/source/app/i18n_status.cxx Compiling: vcl/unx/source/app/i18n_keysym.cxx Compiling: vcl/unx/source/app/saldata.cxx /var/tmp/paludis/app-office-openoffice-3.2.1/work/ooo/build/OOO320_m19/vcl/unx/source/app/saldata.cxx: In member function 'virtual void SalXLib::Wakeup()': /var/tmp/paludis/app-office-openoffice-3.2.1/work/ooo/build/OOO320_m19/vcl/unx/source/app/saldata.cxx:801: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result Compiling: vcl/unx/source/app/saltimer.cxx Compiling: vcl/unx/source/app/saldisp.cxx In file included from ../../../unx/inc/salobj.h:33, from /var/tmp/paludis/app-office-openoffice-3.2.1/work/ooo/build/OOO320_m19/vcl/unx/source/app/saldisp.cxx:98: ../../../inc/vcl/salobj.hxx:74: warning: unused parameter 'bEnable' In file included from /var/tmp/paludis/app-office-openoffice-3.2.1/work/ooo/build/OOO320_m19/vcl/unx/source/app/saldisp.cxx:101: ../../../unx/inc/dtint.hxx:41: error: using typedef-name 'Display' after 'struct' /usr/include/X11/Xlib.h:495: error: 'Display' has a previous declaration here ../../../unx/inc/dtint.hxx:42: error: using typedef-name 'XEvent' after 'struct' /usr/include/X11/Xlib.h:1017: error: 'XEvent' has a previous declaration here rmdir /var/tmp/paludis/app-office-openoffice-3.2.1/temp/bYaF9TPRCB dmake: Error code 1, while making '../../../unxlngx6.pro/slo/saldisp.obj' ERROR: Error 65280 occurred while making /var/tmp/paludis/app-office-openoffice-3.2.1/work/ooo/build/OOO320_m19/vcl/unx/source/app make: *** [stamp/build] Error 1 ----- tried 1st with kde enabled then disabled kde enabled gnome,gtk, same error either way (In reply to comment #9) > (In reply to comment #8) > > (In reply to comment #7) > > > The problem still exists with openoffice-3.2.1-r1 and I am not able to adapt > > > the ebuild to make it work. > > > > > > > This ebuild does work. You must add it to your local overlay and then mask the > > openoffice packages from the official tree. If you don't know how to do this, > > please see the documentation for your respective package manager, paludis > > a.k.a. cave or portage a.k.a. emerge. Quick and dirty: > > 1. Create local overlay > > 2. Add this ebuild to app-office/openoffice/* > > 3. Copy patch files from /usr/portage/app-openoffice/files to > > localoverlay/app-openoffice/files > > 4.Mask the official versions of package using appropriate files > > (etc/portage/package.mask - /etc/paludis/package_mask.conf) > > 5. Unmask local overlay package. (Opposite of 4.) > > 6. emerge/install > > > > Last snippet of my build logs(I'm sure there is a way around this) > > Entering > /var/tmp/paludis/app-office-openoffice-3.2.1/work/ooo/build/OOO320_m19/vcl/unx/source/app > Compiling: vcl/unx/source/app/i18n_cb.cxx > Compiling: vcl/unx/source/app/i18n_ic.cxx > Compiling: vcl/unx/source/app/i18n_im.cxx > Compiling: vcl/unx/source/app/i18n_xkb.cxx > Compiling: vcl/unx/source/app/i18n_wrp.cxx > Compiling: vcl/unx/source/app/i18n_status.cxx > Compiling: vcl/unx/source/app/i18n_keysym.cxx > Compiling: vcl/unx/source/app/saldata.cxx > /var/tmp/paludis/app-office-openoffice-3.2.1/work/ooo/build/OOO320_m19/vcl/unx/source/app/saldata.cxx: > In member function 'virtual void SalXLib::Wakeup()': > /var/tmp/paludis/app-office-openoffice-3.2.1/work/ooo/build/OOO320_m19/vcl/unx/source/app/saldata.cxx:801: > warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', > declared with attribute warn_unused_result > Compiling: vcl/unx/source/app/saltimer.cxx > Compiling: vcl/unx/source/app/saldisp.cxx > In file included from ../../../unx/inc/salobj.h:33, > from > /var/tmp/paludis/app-office-openoffice-3.2.1/work/ooo/build/OOO320_m19/vcl/unx/source/app/saldisp.cxx:98: > ../../../inc/vcl/salobj.hxx:74: warning: unused parameter 'bEnable' > In file included from > /var/tmp/paludis/app-office-openoffice-3.2.1/work/ooo/build/OOO320_m19/vcl/unx/source/app/saldisp.cxx:101: > ../../../unx/inc/dtint.hxx:41: error: using typedef-name 'Display' after > 'struct' > /usr/include/X11/Xlib.h:495: error: 'Display' has a previous declaration here > ../../../unx/inc/dtint.hxx:42: error: using typedef-name 'XEvent' after > 'struct' > /usr/include/X11/Xlib.h:1017: error: 'XEvent' has a previous declaration here > rmdir /var/tmp/paludis/app-office-openoffice-3.2.1/temp/bYaF9TPRCB > dmake: Error code 1, while making '../../../unxlngx6.pro/slo/saldisp.obj' > > ERROR: Error 65280 occurred while making > /var/tmp/paludis/app-office-openoffice-3.2.1/work/ooo/build/OOO320_m19/vcl/unx/source/app > make: *** [stamp/build] Error 1 > ----- > tried 1st with kde enabled then disabled kde enabled gnome,gtk, same error > either way > Can we get a version bump to 2.0 Would that help?? lo-3.4.2 and later use internal hsqldb as upstream explicitely wants 1.8.0 version and no other. Closing as CANTFIX until upstream updates the code the way it can be unbundled. I urge everyone to migrate to LibreOffice. This bug is the reason I opened Bug 359861. Please feel free to add yourself to CC list there. |