Re: libraptor2-0: please add a Breaks against libraptor1 versions without symbol versioning
- To: 656928@bugs.debian.org
- Cc: debian-release@lists.debian.org
- Subject: Re: libraptor2-0: please add a Breaks against libraptor1 versions without symbol versioning
- From: Jonathan Nieder <jrnieder@gmail.com>
- Date: Fri, 20 Jul 2012 17:34:34 -0500
- Message-id: <20120720223434.GA7056@burratino>
- In-reply-to: <20120122224740.GA32451@burratino>
- References: <4D5A9A16.4020707@drcomp.erfurt.thur.de> <4D5AA58C.7010309@dajobe.org> <20110216145350.GF15327@ltw.loris.tv> <20120122224740.GA32451@burratino>
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 <jrnieder@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
>
Reply to: