Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192937 - OpenOffice 2.3.0 fails to compile because ebuild hasn't gperf in OOo dependency list
Summary: OpenOffice 2.3.0 fails to compile because ebuild hasn't gperf in OOo dependen...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 192933 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-18 15:49 UTC by Genkaku
Modified: 2007-09-21 22:57 UTC (History)
2 users (show)

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


Attachments
Corrected ebuild, that brings dev-util/gperf as a dependency (openoffice-2.3.0.ebuild,11.60 KB, text/plain)
2007-09-18 15:52 UTC, Genkaku
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Genkaku 2007-09-18 15:49:49 UTC
When trying to compile OpenOffice-2.3.0
=============
Building project oox
=============
/tmp/paludis/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/oox/source/token
mkout -- version: 1.7
/usr/bin/perl gentoken.pl tokens.txt ../../unxlngi6.pro/inc/tokens.hxx ../../unxlngi6.pro/misc/tokens.gperf
gperf --compare-strncmp --output-file=../../unxlngi6.pro/misc/_tokens.cxx ../../unxlngi6.pro/misc/tokens.gperf
dmake:  Error: -- gperf: No such file or directory
dmake:  Error code -1, while making '../../unxlngi6.pro/inc/tokens.cxx'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making /tmp/paludis/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/oox/source/token
make: *** [stamp/build] Error 1

!!! ERROR in app-office/openoffice-2.3.0:
!!! In src_compile at line 6341
!!! Build failed

It is because OpenOffice doesn't install dev-util/gperf as a dependency.
My use flags (didn't try with other, but it shouldn't be USEflags specifi):
app-office/openoffice-2.3.0 {:0} [U 2.2.1] -binfilter -cairo cups dbus -debug -eds firefox -gnome -gstreamer -gtk java -kde -ldap -mono -odk pam -seamonkey -sound -webdav -xulrunner



Reproducible: Always

Steps to Reproduce:
1. uninstall dev-util/gperf if You have it
2. emerge openoffice-2.3.0
3. Wait a few hours
4. See the error message

Actual Results:  
=============
Building project oox
=============
/tmp/paludis/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/oox/source/token
mkout -- version: 1.7
/usr/bin/perl gentoken.pl tokens.txt ../../unxlngi6.pro/inc/tokens.hxx ../../unxlngi6.pro/misc/tokens.gperf
gperf --compare-strncmp --output-file=../../unxlngi6.pro/misc/_tokens.cxx ../../unxlngi6.pro/misc/tokens.gperf
dmake:  Error: -- gperf: No such file or directory
dmake:  Error code -1, while making '../../unxlngi6.pro/inc/tokens.cxx'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making /tmp/paludis/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/oox/source/token
make: *** [stamp/build] Error 1

!!! ERROR in app-office/openoffice-2.3.0:
!!! In src_compile at line 6341
!!! Build failed

!!! Call stack:
!!!    * src_compile (/tmp/paludis/app-office/openoffice-2.3.0/temp/loadsaveenv:6341)
!!!    * ebuild_f_compile (/usr/libexec/paludis/src_compile.bash:51)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:363)
!!!    * main (/usr/libexec/paludis/ebuild.bash:381)

die trap: exiting with error.

Install error:
  * In program paludis -i openoffice:
  * When performing install action from command line:
  * When executing install task:
  * When installing 'app-office/openoffice-2.3.0':
  * Install error: Install failed for 'app-office/openoffice-2.3.0::gentoo'

Expected Results:  
It should compile fine
Comment 1 Genkaku 2007-09-18 15:52:50 UTC
Created attachment 131222 [details]
Corrected ebuild, that brings dev-util/gperf as a dependency

After adding dev-util/gperf to the dependency list, openoffice will install it, and compile succesfully.
Comment 2 Dawid Węgliński (RETIRED) gentoo-dev 2007-09-19 11:23:50 UTC
*** Bug 192933 has been marked as a duplicate of this bug. ***
Comment 3 Jan Kohnert 2007-09-19 16:50:12 UTC
At least for amd64 this is *not* fixed. The now stable ebuild has no dependency on gperf, and so openoffice-2.3.0 now fails to compile.

Could you please correct the ebuild (or maybe pushing version to 2.3.0-rX which contains the neccessary fixes?

Thanks a lot!

Best regards Jan
Comment 4 Jan Kohnert 2007-09-21 22:57:53 UTC
Fixed it manually. After a new sync all seems to be fine. :)

kohni-mobil ~ # emerge -ae openoffice | grep gperf
[ebuild   R   ] dev-util/gperf-3.0.1
n
kohni-mobil ~ #  

Sorry for the noise.

Best regards Jan