Bug 789622

Summary: Trying to build libreoffice-voikko results in an error: "cppumaker : init registries failed, check your registry files."
Product: [Fedora] Fedora Reporter: Ville-Pekka Vainio <vpvainio>
Component: libreofficeAssignee: Stephan Bergmann <sbergman>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: caolanm, dtardon, erack, ltinkl, mstahl, sbergman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: libreoffice- Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-06 20:38:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ville-Pekka Vainio 2012-02-11 20:27:21 UTC
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 11:16:14 UTC
caolanm->sberg: can you take a look ?

Comment 2 Stephan Bergmann 2012-02-14 09:44:40 UTC
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 15:12:26 UTC
fixed upstream in libreoffice-3-5 as well:


Comment 4 Fedora Update System 2012-03-01 13:32:36 UTC
libreoffice- has been submitted as an update for Fedora 17.

Comment 5 Fedora Update System 2012-03-02 01:00:42 UTC
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 20:38:22 UTC
libreoffice- has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.