Bug#427166: jed: compiled against S-Lang 20007 but linked to 20006

Jörg Sommer joerg at alea.gnuu.de
Sun Jun 3 22:53:14 UTC 2007


John E. Davis schrieb am Sun 03. Jun, 16:57 (-0400):
> On Sun, 3 Jun 2007 21:00:01 +0200, Rafael Laboissiere <rafael at debian.org> said:
> >In order to circumvent this problem, we could force jed in Debian to depend
> >on libslang2 (>= 2.0.7).  For now, the jed package depends on libslang2 (>=
> 
> It seems to me that if jed was compiled against 2.0.7, then the depend
> ought to be >= 2.0.7.

Yes.

> [...]
> >> As you can see, when compiled against 20007, the "bug-fixing" code
> >> will not get included.  However, since the user is actually using
> >> 20006, the bug is present but the code to work-around it is not.
> >
> >This strategy is problematic due to the soname-based behavior of the linker
> >as I described above.  You could replace the conditional compilation above
> >by some run-time test on the library version.  That would be less efficient,
> >though.
> 
> Also in addition to bug fixes, newer versions generally include new
> intrinsics and new functionality.

There's currently an discussion on debian-devel “Improving dependencies
on shared libraries” where it was said that you should bump the symbol
version if you change the behaviour. I don't know if you use symbol
versions in SLang.

http://lists.debian.org/debian-devel/2007/05/msg00937.html
http://lists.debian.org/debian-devel/2007/06/msg00136.html

Bye, Jörg.
-- 
Wenn Du jedesmal stehen bleibst, wenn ein Hund bellt, wirst du Deine Reise
nie beenden.                                       (Arabisches Sprichwort)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-jed-devel/attachments/20070604/5f5c36df/attachment.pgp 


More information about the Pkg-jed-devel mailing list