Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214335 - mail-mta/postfix with cdb use flag prefers installing dev-db/cbd over dev-db/tinycdb
Summary: mail-mta/postfix with cdb use flag prefers installing dev-db/cbd over dev-db/...
Status: VERIFIED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-23 03:40 UTC by Eray Aslan
Modified: 2009-01-04 19:54 UTC (History)
0 users

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 Eray Aslan gentoo-dev 2008-03-23 03:40:18 UTC
ebuild prefers compiling with tinycdb (and I agree):

if use cdb ; then
        mycc="${mycc} -DHAS_CDB"
        CDB_LIBS=""

        # Tinycdb is preferred.
        if has_version dev-db/tinycdb ; then
            einfo "Building with dev-db/tinycdb"
            CDB_LIBS="-lcdb"
        else
            einfo "Building with dev-db/cdb"
            CDB_PATH="/usr/$(get_libdir)"
            for i in cdb.a alloc.a buffer.a unix.a byte.a ; do
                CDB_LIBS="${CDB_LIBS} ${CDB_PATH}/${i}"
            done
        fi

But if neither cdb or tinycdb is installed, the ebuild will pull in cdb as a dependency instead of tinycdb.  Changing DEPEND to:

cdb? ( || ( >=dev-db/tinycdb-0.76 >=dev-db/cdb-0.75-r1 ) )

will make tinycdb preferred over cdb.

Reproducible: Always
Comment 1 Eray Aslan gentoo-dev 2008-03-23 03:48:06 UTC
(In reply to comment #0)
> ebuild prefers compiling with tinycdb (and I agree):

The above should have read:

postfix-2.5.1.ebuild prefers compiling with tinycdb (and I agree):
Comment 2 Tobias Scherbaum (RETIRED) gentoo-dev 2009-01-04 18:50:14 UTC
tinycdb isn't tested or even keyworded on all architectures postfix has a stable keyword on, so this is a no-go for now. Plus I don't see a need why would *need* to change this as the now current behaviour is working for $years. WONTFIXing this one.
Comment 3 Eray Aslan gentoo-dev 2009-01-04 19:54:38 UTC
(In reply to comment #2)
> Plus I don't see a need why
> would *need* to change this as the now current behaviour is working for $years.

I don't think this is a valid reason

> tinycdb isn't tested or even keyworded on all architectures postfix has a
> stable keyword on, so this is a no-go for now.

but this one is.

Closing the bug.  Thanks for looking into it.