Jack Howarth wrote:
>    I have discovered while revising the gromacs-mpi packaging
> that 'fink -m --build-as-nobody rebuild gromacs-mpi-openmpi'
> produces the error...
>
> WARNING: The package gromacs-mpi-openmpi-dev Depends on openmpi-dev,
>        but openmpi-dev only allows things to BuildDepend on it.
>
>
> I could change the Depends line from...
>
> SplitOff2: <<
> Package: %N-dev
> Conflicts: gromacs-mpi-dev, gromacs-mpi-lammpi-dev, gromacs-mpi-openmpi-dev
> Replaces: gromacs-mpi-dev, gromacs-mpi-lammpi-dev, gromacs-mpi-openmpi-dev
> Depends: (%type_pkg[handler] = lammpi) lammpi-dev (>= 7.1.2-1000), 
> (%type_pkg[handler] = openmpi) openmpi-dev, fftw3-shlibs
>
> to
>
> SplitOff2: <<
> Package: %N-dev
> Conflicts: gromacs-mpi-dev, gromacs-mpi-lammpi-dev, gromacs-mpi-openmpi-dev
> Replaces: gromacs-mpi-dev, gromacs-mpi-lammpi-dev, gromacs-mpi-openmpi-dev
> Depends: fftw3-shlibs
>
> However this will decouple the gromacs-mpi-*-dev package from its associated
> mpi-dev package (allowing gromacs-mpi-lammpi-dev to be installed with
> openmpi-dev and gromacs-mpi-openmpi-dev to be installed with lammpi-dev).
> Should I just ignore this error? Thanks in advance for any advice.
>             Jack
>
>   
(corrected)

If gromacs-mpi-{lam,open}mpi-dev needs to have {lam,open}mpi-dev
installed concurrently to build other packages, then currently this
would handled just by having a note to that effect in the DescUsage
rather than declaring a Depend. 

If these dependencies are simply to build the gromacs family, then they
should be BuildDepends

Also, why doesn't gromacs*-dev Depend on %N-shlibs, as is standard?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to