Bug 789622 - Trying to build libreoffice-voikko results in an error: "cppumaker : init registries failed, check your registry files."
Trying to build libreoffice-voikko results in an error: "cppumaker : init reg...
Product: Fedora
Classification: Fedora
Component: libreoffice (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Stephan Bergmann
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-02-11 15:27 EST by Ville-Pekka Vainio
Modified: 2012-03-06 15:38 EST (History)
6 users (show)

See Also:
Fixed In Version: libreoffice-
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-03-06 15:38:22 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ville-Pekka Vainio 2012-02-11 15:27:21 EST
Description of problem:
I've been trying to build the libreoffice-voikko extension against the f17 packages of libreoffice. The build process throws the following error: "cppumaker : init registries failed, check your registry files."

Essentially the libreoffice-voikko build process runs the following shell commands:

. /usr/lib64/libreoffice/sdk/setsdkenv_unix.sh
"/usr/lib64/libreoffice/sdk/bin/cppumaker" -Gc -BUCR -O./build/hpp "/usr/lib64/libreoffice/ure/share/misc/types.rdb" "/usr/lib64/libreoffice/program/offapi.rdb"

Version-Release number of selected component (if applicable):

Here's an example of an older Koji build which failed similarly: https://koji.fedoraproject.org/koji/buildinfo?buildID=297656
Comment 1 Caolan McNamara 2012-02-13 06:16:14 EST
caolanm->sberg: can you take a look ?
Comment 2 Stephan Bergmann 2012-02-14 04:44:40 EST
This is a general problem with the LibreOffice 3.5 SDK missing an adaption to changed paths within the LibreOffice installation.  It can also be reproduced, in a shell prepared with the SDK's setsdkenv_unix, with

  $ cd ${OO_SDK_HOME?}/examples/cpp/counter && make

failing with "cppumaker : init registries failed, check your registry files."

Fixed upstream as <http://cgit.freedesktop.org/libreoffice/core/commit/?id=bcdadc2e9f3f6a400438cbbefffc60bf02baa0f1> "Resolves rhbz#789622: Adapt SDK to changed paths in LO installation".
Comment 3 Michael Stahl 2012-02-14 10:12:26 EST
fixed upstream in libreoffice-3-5 as well:

Comment 4 Fedora Update System 2012-03-01 08:32:36 EST
libreoffice- has been submitted as an update for Fedora 17.
Comment 5 Fedora Update System 2012-03-01 20:00:42 EST
Package libreoffice-
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libreoffice-'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Comment 6 Fedora Update System 2012-03-06 15:38:22 EST
libreoffice- has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.