Bug#793976: ruby-netcdf: FTBFS with netcdf in experimental / update to 0.7.1

Sebastiaan Couwenberg sebastic at xs4all.nl
Thu Jul 30 20:15:21 UTC 2015


On 30-07-15 14:00, Sebastiaan Couwenberg wrote:
> On 29-07-15 16:23, Youhei SASAKI wrote:
>> I'll prepare new upstream release ASAP.
> 
> ruby-netcdf (0.7.1.1-1) no longer fails the main() check, but it doesn't
> accept the 4.4.0-rc version we currently have in experimental:
> 
>  extconf.rb:55:in `<main>': Invalid netcdf version: 4.4.0-rc. Use
> --with-netcdf-version= (RuntimeError)
> 
> Patching the version check regex to support an optional -rc suffix
> allows the build to start (patch attached), but it fails to find the
> HDF5 libraries:
> 
>  [...]
> 
> This is a common problem with the new netcdf packages in experimental.
> I'm not sure all affected reverse dependencies need to specify the hdf5
> library themselves, we should probably fix this in libnetcdf-dev by
> patching nc-config & netcdf.pc.

The netcdf rc version patch is still required to build successfully with
the new netcdf packages in experimental, but no changes are required for
the HDF5 linking issue.

In netcdf (1:4.4.0~rc2-1~exp4) I've patched nc-config and netcdf.pc to
include the HDF5 library & include paths. That solves the linking issue
for all affected packages.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



More information about the Pkg-grass-devel mailing list