[pkg-db-devel] Bug#622916: libdb4.7-dev: please reinstate -ldb support

Ondřej Surý ondrej at sury.org
Sun Apr 17 10:52:53 UTC 2011


On Sat, Apr 16, 2011 at 06:11, Niko Tyni <ntyni at debian.org> wrote:
> retitle 622916 libdb4.7-dev: please reinstate -ldb support
> severity 622916 wishlist
> thanks
>
> On Fri, Apr 15, 2011 at 11:29:21PM +0200, Ondřej Surý wrote:
>> Niko, could you change the linking from -ldb to -ldb-4.7 instead? The
>> linkable .so file is provided by libdb4.7 package.
>
> Ah, I didn't really think this through. Sorry for the severity
> inflation and thanks for the patch.

No problem.

> Still, I dislike having to apply this. Given a move to db4.8 is much
> less risky than 5.x, should we do that for the time being or are you
> going to do the same thing to libdb4.8-dev next?

I would like to do this to db4.8 too (but much much later on).

Anyway I don't think the move from 4.7 to 4.8 is any less riskier than
move from 4.7 to 5.1. The 4.x vs 5.x is nothing more than inability to
have 4.10 version number. Both require log format upgrade - See:
http://www.oracle.com/technetwork/database/berkeleydb/downloads/index-082944.html

>> I just wanted to make linking to libdb-4.7 explicit, not to prevent
>> linking at all.
>
> I don't really see the advantage. The maintainers of the dependant
> packages are (hopefully) already aware of the transition, why the need
> to push them? Are you worried that new packages pick db4.7 by accident?

Well, my reasoning is that if you want to depend on specific bdb
version, you need to be able to link with that specific version.

> I see at least memcachedb, radiusd-livingston, drac, squidguard, and
> nvi now FTBFS. While they are probably all trivially fixable, this seems
> like work for work's sake.

I'll be happier to prepare patches for all those packages rather than
reintroducing -ldb :).

>> However I gladly revert the change if it will be too big obstacle.
>
> Please do.

I'll revert the change for now and I will prepare more detailed
schedule when I will reintroduce this move, so all packages can
prepare.

Ondrej
-- 
Ondřej Surý <ondrej at sury.org>





More information about the pkg-db-devel mailing list