Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57803 - gdbm and db are required for Apache, but not specified correctly in Ebuild
Summary: gdbm and db are required for Apache, but not specified correctly in Ebuild
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-20 21:36 UTC by Alex
Modified: 2005-04-23 20:13 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2004-07-20 21:36:42 UTC
The 2.0.50 (and earlier) ebuilds have gdbm as a conditional dependency but they don't do anything based on if the USE flags include gdbm or not.

Regardless, apache is compiled to use gdbm.

The same problem also applies for sys-libs/db -- apache requires this no matter what the USE flags say. 

Neither of these packages are lised as hard dependencies though.

Hopefully someone familiar with apache compilation can fix this.

(I'm trying to do a chroot jail and I really don't want these libraries unless I *NEED* them)

Reproducible: Always
Steps to Reproduce:
1. USE="-gdbm -berkdb"
2. emerge apache
3. ldd `which apache2` | grep db
4. ???
5. PROFIT!

Actual Results:  
Apache2 is linked to libdb and libgdbm

Expected Results:  
Not used those, or those should have been in the ebuild's dependencies.

emerge info not relevant!
Comment 1 xyon 2005-01-25 07:27:09 UTC
Just a note, this does occure with the apache1 ebuild as well.
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2005-01-28 09:58:22 UTC
could you please test if this still occurs with 1.3.33-r1 and 2.0.52-r3 (currently hard masked)

read http://dev.gentoo.org/~vericgar/package-refresh.txt
Comment 3 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-04-23 20:13:16 UTC
Closing. 
Comment 4 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-04-23 20:13:16 UTC
Closing.  Please re-open if you experience this with newer (~arch) apache versions in portage.