Bug#898049: libdune-grid-dev: Differing versions break multi-arch support

2018-05-08 Thread Ansgar Burchardt
Hi,

Francois Gouget writes:
> This concerns Debian Testing and Unstable:
>
> * For the alpha, amd64, arm64, mips64el and ppc64el architectures only 
>   version 2.6.0-1+b1 is available.
>
> * For the armel, armhf, i386, mipsel and x32 architectures only
>   version 2.6.0-1 is available.

Yes, some builds failed.  I tried reproducing the build failures, but
on armhf the compiler on the porterbox crashed (internal compiler
error) and on i386 the build dependencies were not installable when I
looked.

On x32 the build dependencies are not installable (missing python-vtk6
rebuild against newer OpenMPI).

>  But libdune-grid-dev says that it breaks any version that's different. For 
>   instance:
>   Breaks: libdune-grid-dev (!= 2.6.0-1+b1)
>
> Thus, because the amd64 and i386 architectures (for instance) are not 
> available in
> the same version, they are not coinstallable, thus breaking multi-arch 
> support.
>
> Presumably at some point a new version will be available for all 
> architectures, 
> which will fix this. But this illustrates that:
>
> * Either the Breaks: statement should be revised. Maybe it should target 
> releases 
>   older than a specific version or could be removed.

Not possible.  There is no `Breaks:` in the package, but an implicit
`Breaks:` is added for multi-arch packages.

> * Or one should not just rebuild this package for a subset of the 
> architectures to
>   avoid breaking multi-arch.

If I don't find time to look at the errors or still get compiler errors,
I'll probably ask for removal of the binary packages on the failing
architectures.

Ansgar



Bug#898049: libdune-grid-dev: Differing versions break multi-arch support

2018-05-06 Thread Francois Gouget
Package: libdune-grid-dev
Version: 2.6.0-1+b1
Severity: normal

Dear Maintainer,

This concerns Debian Testing and Unstable:

* For the alpha, amd64, arm64, mips64el and ppc64el architectures only 
  version 2.6.0-1+b1 is available.

* For the armel, armhf, i386, mipsel and x32 architectures only
  version 2.6.0-1 is available.

 But libdune-grid-dev says that it breaks any version that's different. For 
  instance:
  Breaks: libdune-grid-dev (!= 2.6.0-1+b1)

Thus, because the amd64 and i386 architectures (for instance) are not available 
in 
the same version, they are not coinstallable, thus breaking multi-arch support.

Presumably at some point a new version will be available for all architectures, 
which will fix this. But this illustrates that:

* Either the Breaks: statement should be revised. Maybe it should target 
releases 
  older than a specific version or could be removed.

* Or one should not just rebuild this package for a subset of the architectures 
to
  avoid breaking multi-arch.


Note that libdune-grid-glue-dev and libdune-pdelab-dev suffer
from the same issue.


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libdune-grid-dev depends on:
pn  libalberta-dev  
pn  libalberta4 
ii  libc6   2.27-3
pn  libdune-common-2.6.0
pn  libdune-common-dev  
pn  libdune-geometry-2.6.0  
pn  libdune-geometry-dev
pn  libdune-uggrid-2.6.0
pn  libdune-uggrid-dev  
ii  libgcc1 1:8-20180425-1
ii  libltdl72.4.6-2.1
ii  libopenmpi3 3.0.1-9
ii  libstdc++6  8-20180425-1

libdune-grid-dev recommends no packages.

Versions of packages libdune-grid-dev suggests:
pn  libdune-grid-doc  

-- no debconf information