[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#679905: 2021.8+ds2-1 - Pending



On Fri, 17 Dec 2021 12:57:48 +0200 Andrius Merkys <merkys@debian.org>
wrote:
> Hi Neil,
> 
> On 2021-12-16 11:19, Neil Williams wrote:
> > README.source:
> > 
> > cctbx for Debian
> > ----------------
> > 
> > CCTBX upstream does not manage SONAME versions, so a version is
> > added in the Debian patches. This means that new upstream releases
> > of cctbx should update the patch to cause a SONAME bump for all >100
> > cctbx libraries and a transition in the archive.
> 
> I see you have switched from having all libraries in cctbx/
> subdirectory [1] to public libs and libdevel locations. Personally I
> do think Debian as a downstream should be setting SONAMEs. This does
> not seem to be forbidden by the policy, but in case the upstream
> introduces SONAMEs, clashes may occur. Moreover, caring for ABI
> compatibility is a lot of work.

When trying to package libobjcryst, it became obvious that a SONAME had
to be applied to cctbx, just as libobjcryst itself needs to patch in a
SONAME. It is an extra amount of work but C++ symbols based on a
package using lots of templates are fuzzy at best and with so many
different modules in cctbx, the only practical way to handle it seems
to be a new SONAME each time. The header files are also problematic. We
might be able to restrict SONAME changes to upstream versions which
make changes to the header files included in libcctbx-dev rather than
every new upstream release. Until we've got cctbx through NEW, it is
going to be hard to tell.


> On a separate thread, I managed to package reduce [2] locally.
> However, as you have also noted it, the name of source, binary and
> executable is problematic. Maybe it is worth trying to talk to
> upstream about renaming it to avoid clashes.

Maybe package it as pdb-reduce or pdb-hydrogen-reduce ?

/usr/bin/reduce does not exist in Debian yet but it may be worth
packaging the script as pdb-reduce with a note in README.Debian -
anyone switching from using the upstream build to Debian packages will
need to make other changes anyway.

> 
> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679905#98
> [2] https://github.com/rlabduke/reduce
> 
> Best,
> Andrius
> 
> 



-- 
Neil Williams
=============
https://linux.codehelp.co.uk/

Attachment: pgp9mK9Vn3Bk0.pgp
Description: OpenPGP digital signature


Reply to: