In January, Jonathan Nieder wrote: > Adrian Knoth wrote: >> The situation is as follows: >> >> - ardour depends on liblrdf (mind the l after lib) >> - liblrdf depends on libraptor1 >> >> - ardour depends on libslv2 >> - libslv2 depends on librdf0 (no l this time) >> - librdf0 (>= 1.0.13-1) depends on libraptor2 >> >> And there you have it, clashing symbols. >> >> The solution is to add symbol versioning to both raptor libraries, then >> recompile librdf, liblrdf and afterwards libslv2 (the whole dependency >> chain backwards). In the end, recompile ardour. > > Is that last step (in the end, recompile ardour) needed? > > I'm asking because if it is, this will break partial upgrades from > squeeze. If it isn't, it should be enough for the updated librdf0 to > gain a (direct or indirect) Breaks against versions of libraptor1 that > lack versioned symbols, to ensure the correct upgrade order. > > That is, probably libraptor2-0 should Breaks: libraptor1 (<< 1.4.21-3). > How about this patch?
Ping. The patch below should be risk-free and should ensure upgrades actually work. Any fixes needed before it is ready to be applied? Thanks, Jonathan > --- > debian/changelog | 7 +++++++ > debian/control | 1 + > 2 files changed, 8 insertions(+), 0 deletions(-) > > diff --git a/debian/changelog b/debian/changelog > index c48a8a87..37a940cc 100644 > --- a/debian/changelog > +++ b/debian/changelog > @@ -1,3 +1,10 @@ > +raptor2 (2.0.6-1.1) local; urgency=low > + > + * debian/control: add a breaks relation by libraptor2-0 against squeeze > + libraptor1 to force upgrades to a version with symbol versioning > + > + -- Jonathan Nieder <jrnie...@gmail.com> Sun, 22 Jan 2012 16:39:45 -0600 > + > raptor2 (2.0.6-1) unstable; urgency=low > > * New upstream release > diff --git a/debian/control b/debian/control > index 8d758eeb..abe13400 100644 > --- a/debian/control > +++ b/debian/control > @@ -21,6 +21,7 @@ Package: libraptor2-0 > Section: libs > Architecture: any > Depends: ${misc:Depends}, ${shlibs:Depends} > +Breaks: libraptor1 (<< 1.4.21-3) > Suggests: raptor2-utils > Description: Raptor 2 RDF syntax library > Raptor is a C library providing a set of parsers and serializers for > -- > 1.7.9.rc2 > -- To UNSUBSCRIBE, email to debian-release-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120720223434.GA7056@burratino