On Sat, 10 Apr 2010 22:18:38 +0300, Niko Tyni wrote:
> > It looks like the arch:any packages build-depending on libdbi-perl
> > need binNMUs against the new libdbi-perl 1.610.90-1.
> I don't think this is quite enough. What's preventing breakage on partial
> upgrades where libdbi-perl is upgraded but libdbd-*-perl isn't?
Ack, those package just depend on libdbi-perl >= something ...
> % perl -MDBI -e 'DBI->connect("dbi:Pg:foo")'
> install_driver(Pg) failed: DBI/DBD internal version mismatch (DBI is v95/s208, DBD Pg.xsi expected v94/s208) you probably need to rebuild the DBD driver (or possibly the DBI).
> Compilation failed in require at (eval 3) line 3.
>
> This comes from DBISTATE_VERSION in DBIXS.h, and I see it's the first
> time the number changed in more than ten years (DBI-1.13 on CPAN has
> 94 already.)
Ah. I was already wondering why we haven't seen this before.
> I suppose just adding libdbi-perl Breaks: entries for the current versions
> of libdbd-*-perl would be enough.
Ok, I'll do this.
> For a full binNMU-compatible solution, libdbi-perl could use
> DBISTATE_VERSION to derive
> Provides: perl-dbiabi-95
> or something like that, and the libdbd-*-perl packages should do the
> same trick when they generate their dependencies.
Hm, if DBISTATE_VERSION only changes every 10 years the Breaks should
be enough, I guess.
> Also, I doubt these are really needed:
>
> > nmu libdbix-oo-perl_0.0.9-2 . ALL . -m "Rebuilt against new libdbi-perl."
> > nmu libpoe-component-dbiagent-perl_0.26-1 . ALL . -m "Rebuilt against new libdbi-perl."
> > nmu libtfbs-perl_0.5.svn.20091128-1 . ALL . -m "Rebuilt against new libdbi-perl."
> > nmu olive_1.3-3 . ALL . -m "Rebuilt against new libdbi-perl."
> > nmu sympa_5.4.7-1 . ALL . -m "Rebuilt against new libdbi-perl."
> as they don't seem to be DBD plugins and three of them are Arch:all anyway.
Ack, I trusted grep-dctrl's output when checking for Build-Depends
and haven't checked the Architecture.
> Hope this makes sense,
Absolutely, thanks for your help!
Cheers,
gregor
--
.''`. http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4
: :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
`- NP: Penelope Swales: Waterclock
Attachment:
signature.asc
Description: Digital signature