Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319839 - app-office/openoffice fails with sys-libs/db:5.0
Summary: app-office/openoffice fails with sys-libs/db:5.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: db:5.x
  Show dependency tree
 
Reported: 2010-05-15 14:48 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2011-03-29 20:33 UTC (History)
1 user (show)

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


Attachments
config.log (config.log,59.03 KB, text/plain)
2010-05-15 15:34 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
files/db5-fix.diff - patch to recognise db-5.x (db5-fix.patch,416 bytes, patch)
2010-11-23 01:06 UTC, Alec Moskvin
Details | Diff
patch for openoffice-3.2.1-r1.ebuild (openoffice-3.2.1-r2.patch,494 bytes, patch)
2010-11-23 01:07 UTC, Alec Moskvin
Details | Diff
patched version of openoffice-3.2.1-r1.ebuild (openoffice-3.2.1-r2.ebuild,13.15 KB, text/plain)
2010-11-23 01:11 UTC, Alec Moskvin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-05-15 14:48:38 UTC
checking which db to use... external
checking db-4.8/db.h usability... no
checking db-4.8/db.h presence... no
checking for db-4.8/db.h... no
checking db4.8/db.h usability... yes
checking db4.8/db.h presence... yes
checking for db4.8/db.h... yes
checking whether db is at least 4.1... ./configure: line 14054: test: : integer expression expected
configure: error: no. you need at least db 4.1
make: *** [stamp/build] Error 1
 * ERROR: app-office/openoffice-3.2.0 failed:
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-05-15 15:34:22 UTC
Created attachment 231579 [details]
config.log
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2010-11-11 20:28:40 UTC
so, so, so hate db, same crap every release...
Comment 3 Alec Moskvin 2010-11-23 01:06:40 UTC
Created attachment 255151 [details, diff]
files/db5-fix.diff - patch to recognise db-5.x

Here's a simple patch that lets the configure script accept db version 5. I've tested it with openoffice-3.2.1-r1.
Comment 4 Alec Moskvin 2010-11-23 01:07:46 UTC
Created attachment 255153 [details, diff]
patch for openoffice-3.2.1-r1.ebuild
Comment 5 Alec Moskvin 2010-11-23 01:11:33 UTC
Created attachment 255155 [details]
patched version of openoffice-3.2.1-r1.ebuild
Comment 6 Alec Moskvin 2010-11-26 15:52:45 UTC
I also found the commit to fix db version detection upstream:

http://hg.services.openoffice.org/OOO330/rev/f9f0f8294f08
Comment 7 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-03-29 20:33:25 UTC
app-office/libreoffice-3.3.2 is fixed.