Bug#793976: ruby-netcdf: FTBFS with netcdf in experimental / update to 0.7.1
Sebastiaan Couwenberg
sebastic at xs4all.nl
Thu Jul 30 12:00:02 UTC 2015
Control: found -1 ruby-netcdf/0.7.1.1-1
Control: tags -1 patch
Hi Youhei,
Thanks for packaging the latest upstream release and your prompt response.
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:
gcc -shared -o netcdfraw.so netcdfraw.o -L. \
-L/usr/lib/x86_64-linux-gnu -L/usr/lib -L/usr/local/lib \
-L/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.1.0 -L. \
-Wl,-z,relro -L/build/ruby2.1-_39Jjj/ruby2.1-2.1.5/debian/lib \
-fstack-protector -rdynamic -Wl,-export-dynamic \
-L/usr/lib -lnetcdf -lhdf5_hl -lhdf5 -lz -ldl -lm -lcurl -lruby-2.1 \
-lpthread -lgmp -ldl -lcrypt -lm -lc
/usr/bin/ld: cannot find -lhdf5_hl
/usr/bin/ld: cannot find -lhdf5
collect2: error: ld returned 1 exit status
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.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-patch-to-support-NetCDF-4.4.0-rc-version.patch
Type: application/pgp-encrypted
Size: 1683 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20150730/5cb8e2ee/attachment.pgp>
More information about the Pkg-grass-devel
mailing list