your package appears to FTBFS in unstable, probably related to the move
to hdf5 1.8.8.  See
https://buildd.debian.org/status/fetch.php?pkg=ruby-hdfeos5&arch=s390x&ver=1.0-2&stamp=1327882564 
<https://buildd.debian.org/status/fetch.php?pkg=ruby-hdfeos5&arch=s390x&ver=1.0-2&stamp=1327882564>
for a build log.


The package now fails to build in a slightly different way

checking for HE5_HdfEosDef.h... yes
checking for main() in -lhe5_hdfeos... no
   ** configure error **
      Header hdfeos5.h or the compiled hdfeos5 library is not found.
      If you have the library installed under /hdfeos5dir (that is, hdfeos5.h is
      in /hdfeos5dir/include and the library in /hdfeos5dir/lib/),
      try the following:

      % ruby extconf.rb --with-hdfeos5-dir=/hdfeos5dir

      Alternatively, you can specify the two directory separately
      with --with-hdfeos5-include and --with-hdfeos5-lib.
*** extconf.rb failed ***

The real problem is revealed by mkmf.log
-------------------- have_library: checking for main() in -lhe5_hdfeos... -------------------- no "gcc -o conftest -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -I/usr/include/hdf-eos5 -I/usr/lib/include -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/vendor_ruby/1.8/x86_64-linux -fno-strict-aliasing -g -g -O2 -fPIC conftest.c -L. -L/usr/lib -L/usr/lib/lib -L/usr/lib/ruby/1.8/x86_64-linux -L/usr/lib/ruby/vendor_ruby/1.8/x86_64-linux -L. -rdynamic -Wl,-export-dynamic -lgctp -lruby1.8-static -lhe5_hdfeos -lgctp -lpthread -lrt -ldl -lcrypt -lm -lc" /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libhe5_hdfeos.so: undefined reference to `H5DSis_attached' /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libhe5_hdfeos.so: undefined reference to `H5DSset_scale' /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libhe5_hdfeos.so: undefined reference to `H5DSattach_scale' /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libhe5_hdfeos.so: undefined reference to `H5DSis_scale' collect2: ld returned 1 exit status checked program was: /* begin */ 1: /*top*/ 2: int main() { return 0; } 3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; } /* end */ "gcc -o conftest -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -I/usr/include/hdf-eos5 -I/usr/lib/include -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/vendor_ruby/1.8/x86_64-linux -fno-strict-aliasing -g -g -O2 -fPIC conftest.c -L. -L/usr/lib -L/usr/lib/lib -L/usr/lib/ruby/1.8/x86_64-linux -L/usr/lib/ruby/vendor_ruby/1.8/x86_64-linux -L. -rdynamic -Wl,-export-dynamic -lgctp -lruby1.8-static -lhe5_hdfeos -lgctp -lpthread -lrt -ldl -lcrypt -lm -lc" /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libhe5_hdfeos.so: undefined reference to `H5DSis_attached' /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libhe5_hdfeos.so: undefined reference to `H5DSset_scale' /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libhe5_hdfeos.so: undefined reference to `H5DSattach_scale' /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libhe5_hdfeos.so: undefined reference to `H5DSis_scale' collect2: ld returned 1 exit status checked program was: /* begin */ 1: /*top*/ 2: int main() { return 0; } 3: int t() { main(); return 0; } /* end */ --------------------

It seems it is no longer possible to link against libhe5_hdfeos without 
including some other library (or possiblly at all)

Alastair McKinstry please advise if this is a bug in ruby-hdfeos5 or in hdf-eos5




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

Reply via email to