Re: Build-Depends versioning and binary Depends versioning

2013-03-21 Thread Paul Wise
On Fri, Mar 22, 2013 at 12:17 AM, Russ Allbery wrote: > Which is why all shared libraries should use at least trivial symbol > versioning that assigns all symbols a version that changes with the > SONAME. Perhaps a pedantic/info lintian complaint is in order? -- bye, pabs http://wiki.debian.or

Re: Build-Depends versioning and binary Depends versioning

2013-03-21 Thread Russ Allbery
Andrey Rahmatullin writes: > If your app is linked against libavcodec53 and against libavdevice53 and > libavdevice53 is linked against libavcodec54 and libavcodec* doesn't use > symbol versioning, your app will crash because of symbol conflicts. Which is why all shared libraries should use at l

Re: Build-Depends versioning and binary Depends versioning

2013-03-21 Thread Paul Gevers
Please ignore the mail below, I think I understand that part now. libavdevice53 itself depends on libavcodec5{3|4} depending on where it comes from. Paul On 21-03-13 08:04, Paul Gevers wrote: > Hi Andrey, > > On 21-03-13 07:46, Andrey Rahmatullin wrote: >> On Wed, Mar 20, 2013 at 07:17:50PM +01

Re: Build-Depends versioning and binary Depends versioning

2013-03-21 Thread Andrey Rahmatullin
On Thu, Mar 21, 2013 at 08:04:10AM +0100, Paul Gevers wrote: > >>> Maybe I've picked the wrong example, the actual problem was with > >>> libavdevice53, the same soname is used for either 0.8.5-1 and 9.3-1, > >>> but 9.3-1 links to libavcodec54 while 0.8.5-1 links to libavcodec53, so > >>> my binar

Re: Build-Depends versioning and binary Depends versioning

2013-03-21 Thread Paul Gevers
Hi Andrey, On 21-03-13 07:46, Andrey Rahmatullin wrote: > On Wed, Mar 20, 2013 at 07:17:50PM +0100, Paul Gevers wrote: >>> Maybe I've picked the wrong example, the actual problem was with >>> libavdevice53, the same soname is used for either 0.8.5-1 and 9.3-1, >>> but 9.3-1 links to libavcodec54 w

Re: Build-Depends versioning and binary Depends versioning

2013-03-20 Thread Andrey Rahmatullin
On Wed, Mar 20, 2013 at 07:17:50PM +0100, Paul Gevers wrote: > > Maybe I've picked the wrong example, the actual problem was with > > libavdevice53, the same soname is used for either 0.8.5-1 and 9.3-1, > > but 9.3-1 links to libavcodec54 while 0.8.5-1 links to libavcodec53, so > > my binary ended

Re: Build-Depends versioning and binary Depends versioning

2013-03-20 Thread Paul Gevers
On 20-03-13 15:54, Antonio Ospite wrote: > Maybe I've picked the wrong example, the actual problem was with > libavdevice53, the same soname is used for either 0.8.5-1 and 9.3-1, > but 9.3-1 links to libavcodec54 while 0.8.5-1 links to libavcodec53, so > my binary ended up importing either libavcod

Re: Build-Depends versioning and binary Depends versioning

2013-03-20 Thread Andrey Rahmatullin
On Wed, Mar 20, 2013 at 03:54:13PM +0100, Antonio Ospite wrote: > Maybe I've picked the wrong example, the actual problem was with > libavdevice53, the same soname is used for either 0.8.5-1 and 9.3-1, > but 9.3-1 links to libavcodec54 while 0.8.5-1 links to libavcodec53, so > my binary ended up im

Re: Build-Depends versioning and binary Depends versioning

2013-03-20 Thread Antonio Ospite
On Tue, 19 Mar 2013 10:10:51 -0700 Russ Allbery wrote: > Antonio Ospite writes: > > > Should I restrict the Depends for the binary packages by hand in > > debian/control? For example adding: > > > libavcodec53 (<< 6:9) > > > to the binary package I am interested in restricting? > > Yes.

Re: Build-Depends versioning and binary Depends versioning

2013-03-20 Thread Antonio Ospite
On Tue, 19 Mar 2013 18:51:26 +0100 Jakub Wilk wrote: > * Antonio Ospite , 2013-03-19, 16:15: > >for a package I am working on, I am setting versioned Build-Depends, to > >avoid using newer libav versions which would break compilation, e.g.: > > > > libavcodec-dev (<< 6:9) > > > >Compilation

Re: Build-Depends versioning and binary Depends versioning

2013-03-19 Thread Jakub Wilk
* Antonio Ospite , 2013-03-19, 16:15: for a package I am working on, I am setting versioned Build-Depends, to avoid using newer libav versions which would break compilation, e.g.: libavcodec-dev (<< 6:9) Compilation under pbuilder for Sid goes fine, but the binary packages are still a

Re: Build-Depends versioning and binary Depends versioning

2013-03-19 Thread Russ Allbery
Antonio Ospite writes: > Should I restrict the Depends for the binary packages by hand in > debian/control? For example adding: > libavcodec53 (<< 6:9) > to the binary package I am interested in restricting? Yes. The shared library dependency information otherwise comes from shlibs/symb

Re: Build-Depends versioning and binary Depends versioning

2013-03-19 Thread Andrey Rahmatullin
On Tue, Mar 19, 2013 at 04:15:57PM +0100, Antonio Ospite wrote: > Compilation under pbuilder for Sid goes fine, but the binary packages > are still allowed to be installed with newer libav binary packages: > >libavcodec53 (>= 6:0.8.3-1~) | libavcodec-extra-53 (>= 6:0.8.5) Of course, becaus

Build-Depends versioning and binary Depends versioning

2013-03-19 Thread Antonio Ospite
Hi, for a package I am working on, I am setting versioned Build-Depends, to avoid using newer libav versions which would break compilation, e.g.: libavcodec-dev (<< 6:9) Compilation under pbuilder for Sid goes fine, but the binary packages are still allowed to be installed with newer lib