Bug#621387: Still uses libdb4.8

2011-04-07 Thread Ondřej Surý
Hi Andreas,

there's no easy way how to tell if the package will build with
libdb5.x since DB_VERSION_MAJOR has changed, so the binNMU is not very
appropriate without hand checking every package currently linked
against libdb4.[678].

Also sometimes the dependencies are entangled into each other, f.e.
anything depending on libaprutil1-dev gets libdb4.8-dev pulled as an
dependency.

And finally the bug is there to keep track of the transition, but
generally you're right - either binNMU or next build should fix that.

O.

2011/4/7 Andreas Henriksson andr...@fatal.se:
 On Wed, Apr 06, 2011 at 10:57:15PM +0200, Ondřej Surý wrote:
 [...]
 Please port your package to libdb5.1 as soon as possible.  In most cases
 only change required is to update build depends from libdb4.8-dev
 to libdb-dev, or just recompile the package.

 Since iproute already build-depends on libdb-dev I don't see the point
 of this bug report (please enlighten me).
 Either the new dependency will happen on next upload automagically or
 if you want it to happen sooner, go request a binNMU ?!

 --
 Andreas Henriksson




-- 
Ondřej Surý ond...@sury.org
http://blog.rfc1925.org/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#621387: Still uses libdb4.8

2011-04-07 Thread Andreas Henriksson
On Wed, Apr 06, 2011 at 10:57:15PM +0200, Ondřej Surý wrote:
[...]
 Please port your package to libdb5.1 as soon as possible.  In most cases
 only change required is to update build depends from libdb4.8-dev
 to libdb-dev, or just recompile the package.

Since iproute already build-depends on libdb-dev I don't see the point
of this bug report (please enlighten me).
Either the new dependency will happen on next upload automagically or
if you want it to happen sooner, go request a binNMU ?!

-- 
Andreas Henriksson



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#621387: Still uses libdb4.8

2011-04-06 Thread Ondřej Surý
Package: iproute
Version: 20110107-2
Severity: normal
User: pkg-db-de...@lists.alioth.debian.org
Usertags: db5.1

Your package currently still uses Berkeley DB version 4.8 (libdb4.8).

However, there is a newer Berkeley DB version in the archive (libdb5.1),
with a compatible API.  Berkeley DB version 4.8 will be eventually
removed from unstable in favor of version 5.1.

Please port your package to libdb5.1 as soon as possible.  In most cases
only change required is to update build depends from libdb4.8-dev
to libdb-dev, or just recompile the package.

More complicated scenarios:

- Package does check for DB_VERSION_MAJOR == 4 - this should be updated
  to (DB_VERSION_MAJOR  4) || ((DB_VERSION_MAJOR == 4)  (DB_VERSION_MINOR = 
XX)).

- Configure checks - sometime there is a list of db-4.8 db-4.6 db-4.2, etc., 
this
  needs to be updated to just db (or db-5.1 db-5 db), or at least list the 'db'
  in the front

You can see example patch in cyrus-imapd-2.2:
http://git.debian.org/?p=pkg-cyrus-imapd/cyrus-imapd-2.2.git;a=blob;f=debian/patches/99-berkelydb-5.1.dpatch;hb=HEAD

- The packages which use Berkeley DB transactional mode need to upgrade
  the database files before the upgrade.  This is fairly straightforward
  and is well documented on the Berkeley DB website.  But you probably
  already know that because it's not the first Berkeley DB transition.

The example script can be found in the cyrus-imapd-2.4 (not yet released):
http://git.debian.org/?p=pkg-cyrus-imapd/cyrus-imapd-2.4.git;a=blob;f=debian/cyrus-upgrade-db;hb=HEAD

Thanks, 
--
Ondřej Surý ond...@debian.org

-- System Information:
Debian Release: squeeze/sid
  APT prefers maverick-updates
  APT policy: (500, 'maverick-updates'), (500, 'maverick-security'), (500, 
'maverick-proposed'), (500, 'maverick-backports'), (500, 'maverick')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-28-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org