Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364839 - app-office/openoffice-3.2.1-r1 fails to install w/ app-text/libwpd-0.9.1 or media-libs/libwpg-0.2.0
Summary: app-office/openoffice-3.2.1-r1 fails to install w/ app-text/libwpd-0.9.1 or m...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 370153 375251 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-25 19:36 UTC by Petr Zima
Modified: 2011-07-27 11:05 UTC (History)
9 users (show)

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


Attachments
patch fixing the dependencis (openoffice-3.2.1-r1.ebuild.patch,470 bytes, patch)
2011-04-25 19:38 UTC, Petr Zima
Details | Diff
Full build log w/ app-text/libwpd-0.9.1 (openoffice-libwpd.log.xz,87.42 KB, application/x-xz)
2011-04-25 19:43 UTC, Petr Zima
Details
Full build log w/ media-libs/libwpg-0.2.0 (openoffice-libwpg.log.xz,87.54 KB, application/x-xz)
2011-04-25 19:44 UTC, Petr Zima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Zima 2011-04-25 19:36:10 UTC
Some configure script of openoffice requires the older versions of libwpd and libwpg to install (the deps should be fixed). They are two separate bugs in fact, but very similar.

Reproducible: Always

Steps to Reproduce:
1. Install libwpd-0.9.1 and libwpg-0.2.0.
2. Uninstall older versions of the above.
3. Try to install openoffice-3.2.1-r1.
Actual Results:  
Instal of openoffice fails during some (not the first) configure script with:

[...]
checking for libwpd-0.8 ... Package libwpd-0.8 was not found in the pkg-config search path. Perhaps you should add the directory containing `libwpd-0.8.pc' to the PKG_CONFIG_PATH environment variable No package 'libwpd-0.8' found
configure: error: Library requirements (libwpd-0.8 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
make: *** [stamp/build] Error 1
[...]

or with

[...]
checking for libwpg-0.1 ... Package libwpg-0.1 was not found in the pkg-config search path. Perhaps you should add the directory containing `libwpg-0.1.pc' to the PKG_CONFIG_PATH environment variable No package 'libwpg-0.1' found
configure: error: Library requirements (libwpg-0.1 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
make: *** [stamp/build] Error 1
[...]
Comment 1 Petr Zima 2011-04-25 19:38:53 UTC
Created attachment 271157 [details, diff]
patch fixing the dependencis

Restricting the dependecies to the older slots of libwpd and libwpg obviously solves the problem.
Comment 2 Petr Zima 2011-04-25 19:43:06 UTC
Created attachment 271161 [details]
Full build log w/ app-text/libwpd-0.9.1
Comment 3 Petr Zima 2011-04-25 19:44:02 UTC
Created attachment 271163 [details]
Full build log w/ media-libs/libwpg-0.2.0
Comment 4 Martin Mokrejš 2011-05-23 15:39:53 UTC
Is this expected to be a final fix or just a workaround? I have same issue, have libwpd-0.9.1 installed. I am not sure I want yet another version of libwpd installed on my system, but if there is not other way ...;)
Comment 5 Derek Dolney 2011-05-23 15:56:29 UTC
Just a note: this issue is fixed in the openoffice fork, libreoffice (which is now at version 3.3.2, by the way). Openoffice development may or may not be dead for good (see bug 359861 for some more info).
Comment 6 Andreas Proschofsky (RETIRED) gentoo-dev 2011-05-24 05:57:28 UTC
As said before in other bugs: Please move to app-office/libreoffice, more recent and app-office/openoffice is basically dead.
Comment 7 Petr Zima 2011-05-24 07:14:06 UTC
It would be fine to fix the oo ebuild in portage, since it need not to be dead for good and the fix is trivial. Btw libre *at the moment* bundles the libs, so there is no need for system ones at all.

Personally, I am going to move to libre when the libs are unbundled (or oo is removed definitely, of course). But I will miss the Oracle logo ;)
Comment 8 Andreas Proschofsky (RETIRED) gentoo-dev 2011-05-24 09:14:10 UTC
(In reply to comment #7)
> It would be fine to fix the oo ebuild in portage, since it need not to be dead
> for good and the fix is trivial. Btw libre *at the moment* bundles the libs, so
> there is no need for system ones at all.
> 
> Personally, I am going to move to libre when the libs are unbundled (or oo is
> removed definitely, of course). But I will miss the Oracle logo ;)

OOo in portage has open security problems. So yes - it NEEDS to die.
Comment 9 Jory A. Pratt gentoo-dev 2011-06-05 16:01:53 UTC
*** Bug 370153 has been marked as a duplicate of this bug. ***
Comment 10 Pacho Ramos gentoo-dev 2011-07-15 09:55:29 UTC
*** Bug 375251 has been marked as a duplicate of this bug. ***
Comment 11 Tomáš Chvátal (RETIRED) gentoo-dev 2011-07-27 11:05:25 UTC
Just migrate to libreoffice, it works with latest wpg/wpd.
openoffice are masked for removal.