Bug#738637: exim4: Please update build depends to libdb-dev (or libdb5.3-dev)
Ondřej Surý
ondrej at debian.org
Tue Feb 11 19:41:43 UTC 2014
Hi Andreas,
On Tue, Feb 11, 2014, at 19:28, Andreas Metzler wrote:
> On 2014-02-11 Ondřej Surý <ondrej at debian.org> wrote:
> > Package: exim4
> > Version: 4.82-4
> > Severity: important
>
> > Dear maintainers,
>
> > jessie will have db5.3 as a default Berkeley DB library (fortunatelly
> > this seems to be a last Berkeley DB transition since db6.0 has been
> > relicenced to AGPLv3 that is virtually not compatible with ... well
> > anything).
>
> > Please update build depends to libdb-dev (or libdb5.3-dev), I have
> > just verified that the package just builds fine with libdb-dev (and
> > exim4-daemon-heavy depends on libdb5.3).
>
> > I will cripple db5.1 package in near future, so it doesn't contain
> > development libraries, so this bug will become FTBFS/serious at that
> > time.
> [...]
>
> Do you know whether the disk file format changed from 5.1 to 5.3?
I don't think so:
http://docs.oracle.com/cd/E17076_02/html/installation/changelog_5_3.html#idp50933456
http://docs.oracle.com/cd/E17076_03/html/installation/changelog_5_2.html#idp51156152
Just the log file format, eg. it needs some care, in case you use the
journal, you can adapt my script from cyrus-imapd-2.4:
http://anonscm.debian.org/gitweb/?p=pkg-cyrus-imapd/cyrus-imapd-2.4.git;a=blob;f=debian/cyrus-upgrade-db;h=866053c2a358147ea9d46d82f1896f3d3cd91cab;hb=HEAD
you need parts of backupdb, upgradebdb and checkpointbdb, but
cyrus-imapd uses berkeley db transactional environment, so it's more
complicated.
or here's a more generic upstream guide to upgrading:
http://docs.oracle.com/cd/E17076_02/html/upgrading/upgrade_process.html
Generally backing up the files and calling db5.3_upgrade should be
enough for most simple cases.
Feel free to ping me again, if you need help. Hopefully this will be the
last upgrade we will ever make.
O.
--
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
More information about the Pkg-exim4-maintainers
mailing list