Control: clone -1 -2
Control: retitle -2 libprelude2: split /etc/prelude and prelude-admin out
Control: severity -2 important
Control: tags -1 pending
Control: tags 844897 pending

I just uploaded an NMU, and I am cloning the part I did not fix into
a new bug.

On Fri, Aug 28, 2015 at 08:25:36AM +0100, Simon McVittie wrote:
> Source: libprelude
> Version: 1.0.0-11.4
> Severity: serious
> Justification: Policy 8.1, 8.2
> 
> Policy says
> 
> > The run-time shared library must be placed in a package whose name
> > changes whenever the SONAME of the shared library changes
> ...
> > If you have several shared libraries built from the same source tree,
> > you may lump them all together into a single shared library package
> > **provided that all of their SONAMEs will always change together**. Be
> > aware that this is not normally the case, and if the SONAMEs do not
> > change together, upgrading such a merged shared library package will be
> > unnecessarily difficult because of file conflicts with the old version
> > of the package. When in doubt, always split shared library packages so
> > that each binary package installs a single shared library.
> 
> (my emphasis)
> 
> but this is not the case for libprelude2, which contains both libprelude.so.2
> and libpreludecxx.so.0. This makes it unnecessarily difficult to handle
> the libstdc++ transition (for which I will open another bug), which as far
> as I can see breaks the ABI of libpreludecxx.so.0 but not libprelude.so.2.

Fixed in my NMU based on the patch from Andreas Beckmann.

> Policy also says
> 
> > If your package contains files whose names do not change with each
> > change in the library shared object version, you must not put them in
> > the shared library package. Otherwise, several versions of the shared
> > library cannot be installed at the same time without filename clashes,
> > making upgrades and transitions unnecessarily difficult.
> 
> but libprelude2 contains /etc/prelude, /usr/bin/prelude-admin
> and /usr/share/man/man1/prelude-admin.1.

This is the contents of the cloned bug.

Sorting out prelude-admin is non-trivial:
- libprelude2 cannot depend on the package it gets moved to,
  since this would create a circular dependency
- some rdeps of libprelude2 will need a dependency on this
  new package

> Finally, it seems inappropriate for the shared library to include HTML
> documentation, which should really be in the -dev package or in a separate
> -doc package.

Fixed in my NMU.

>...
>     S

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

Reply via email to