Bug#586149: Please consider the usage of update-alternatives for hdf5 libraries

2012-02-26 Thread Francesco P. Lovergine
On Sun, Feb 26, 2012 at 12:34:54AM -0500, Adam C Powell IV wrote:
> There's a better way to do this by just having different shared library
> file names and sonames for each of the shared library packages.  Then
> the -dev packages can conflict, while one can install multiple packages
> using the different shared libraries simultaneously, not one-at-a-time
> as update-alternatives would do.
> 
> Note this would also allow simultaneous install of hdf5-tools and
> libhdf5-mpi-dev which is required to build several HDF5 reverse-depends,
> such as med-fichier.  This represents a major regression vs. 1.8.6 and
> should be fixed as soon as possible.
> 

Are you proposing to install conflicting -dev packages with identical
symlinks for ensuring transparent building in serial/parallel? I'm not
sure that would not break in a very odd and tricky way intricated
dependencies (e.g. building using headers of third parties that
depend on and include different hdf5 flavors). I would avoid that.
It is much more sane diverging headers names too and patch what ever
is needed to be patched to use the right flavor.


-- 
Francesco P. Lovergine



___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel


Bug#586149: Please consider the usage of update-alternatives for hdf5 libraries

2012-02-25 Thread Adam C Powell IV
severity 586149 serious
retitle 586149 Conflict between hdf5-tools and libhdf5-mpi-dev prevents several 
packages from building
block 661301 by 586149
thanks

Hi again,

Because this causes other packages to FTBFS, it really needs to be an RC
bug.

-Adam

On Sun, 2012-02-26 at 00:12 -0500, Adam C Powell IV wrote:
> Hi,
> 
> There's a better way to do this by just having different shared library
> file names and sonames for each of the shared library packages.  Then
> the -dev packages can conflict, while one can install multiple packages
> using the different shared libraries simultaneously, not one-at-a-time
> as update-alternatives would do.
> 
> Note this would also allow simultaneous install of hdf5-tools and
> libhdf5-mpi-dev which is required to build several HDF5 reverse-depends,
> such as med-fichier.  This represents a major regression vs. 1.8.6 and
> should be fixed as soon as possible.
> 
> I'll work on a patch tomorrow and will post it to this bug.
> 
> -Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Engineering consulting with open source tools
http://www.opennovation.com/


signature.asc
Description: This is a digitally signed message part
___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Bug#586149: Please consider the usage of update-alternatives for hdf5 libraries

2012-02-25 Thread Adam C Powell IV
Hi,

There's a better way to do this by just having different shared library
file names and sonames for each of the shared library packages.  Then
the -dev packages can conflict, while one can install multiple packages
using the different shared libraries simultaneously, not one-at-a-time
as update-alternatives would do.

Note this would also allow simultaneous install of hdf5-tools and
libhdf5-mpi-dev which is required to build several HDF5 reverse-depends,
such as med-fichier.  This represents a major regression vs. 1.8.6 and
should be fixed as soon as possible.

I'll work on a patch tomorrow and will post it to this bug.

-Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Engineering consulting with open source tools
http://www.opennovation.com/


signature.asc
Description: This is a digitally signed message part
___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Re: [DebianGIS-dev] Bug#586149: Please consider the usage of update-alternatives for hdf5 libraries

2010-06-22 Thread Francesco P. Lovergine
On Wed, Jun 16, 2010 at 10:28:46PM +0200, Sylvestre Ledru wrote:
> Package: hdf5
> Severity: wishlist
> 
> Hello,
> 
> It would be nice if you could consider the usage of update-alternative
> for the hdf5 libraries.
> For now, it is not possible to have both hdf5 and hdf5-mpi packages on the
> same system.
> This would allow this and improves the switch between the various
> implementations improvements.
> 
> I implemented this with success for linear algebra libraries:
> http://sylvestre.ledru.info/blog/sylvestre/2010/04/06/update_of_the_linear_algebra_libraries_i
> If you agree, I could try to do that for you for hdf5.
> 
> Cheers,
> Sylvestre
> 
> 

I fail to see how it could be possible: MPI and not-MPI enabled
libraries have different APIs, not the same as in the LAPACK case.
The right answer is a different name for mpi/not-mpi implementations,
but upstream is still far from converging on that and I'd avoid
implementing a debian-only flavor about that.

-- 
Francesco P. Lovergine

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel


[DebianGIS-dev] Bug#586149: Please consider the usage of update-alternatives for hdf5 libraries

2010-06-16 Thread Sylvestre Ledru
Package: hdf5
Severity: wishlist

Hello,

It would be nice if you could consider the usage of update-alternative
for the hdf5 libraries.
For now, it is not possible to have both hdf5 and hdf5-mpi packages on the
same system.
This would allow this and improves the switch between the various
implementations improvements.

I implemented this with success for linear algebra libraries:
http://sylvestre.ledru.info/blog/sylvestre/2010/04/06/update_of_the_linear_algebra_libraries_i
If you agree, I could try to do that for you for hdf5.

Cheers,
Sylvestre



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel