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   
Whiteboard:
Fixed In Version: libreoffice-3.5.1.1-2.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-06 15:38:22 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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):
libreoffice-sdk-3.5.0.3-1.fc17

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:

http://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-3-5&id=249fdaa87062fc8a6a7d5a068a7d1401b6c37b5c
Comment 4 Fedora Update System 2012-03-01 08:32:36 EST
libreoffice-3.5.1.1-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/libreoffice-3.5.1.1-2.fc17
Comment 5 Fedora Update System 2012-03-01 20:00:42 EST
Package libreoffice-3.5.1.1-2.fc17:
* 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-3.5.1.1-2.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-2826/libreoffice-3.5.1.1-2.fc17
then log in and leave karma (feedback).
Comment 6 Fedora Update System 2012-03-06 15:38:22 EST
libreoffice-3.5.1.1-2.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.