Hi Alex,

Thanks for thinking with me. I found what's wrong.

The standard libtool on OS X is 1.x, which removes the config.sub and 
config.guess files by default.
But since we have multiple cycles of configure (and libtool), on the second run 
of configure those files are gone.
Apparently you need libtool --install to avoid that behaviour.

But since you had it running, I suspected you have another libtool installed 
through Fink (but you don't have in BuildDepends).
I tried installing "fink install libtool14".

And then it runs!

So you forgot to add "libtool14" to BuildDepends in the hdf5.info file.

Regards,
Remko


On 29 May 2011, at 18:09, Alexander Hansen wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 5/29/11 2:00 PM, Remko Scharroo wrote:
>> Dear Alexander,
>> 
>> You have recently uploaded a new hdf5.info file in the unstable tree 
>> (hdf-1.6.10-3).
>> 
>> Unfortunately it doesn't even get through the configuration stage.
>> After a lot of warnings in the autoreconf it fails in the configure command.
>> 
>> Does that do the same on your machine?
> 
> 
> No.
> 
> I tested it on 10.6/i386, 10.6/x86_64, 10.5/powerpc, and 10.4/powerpc.
> I wouldn't have committed the change if the build broke for me on any of
> those systems.
> 
>> What's the way to fix this?
>> 
>> Find below the output of running "fink update hdf5"
>> 
>> Regards,
>> Remko
>> 
> 
> 
> Where you have:
> 
> /var/tmp/tmp.1.QQQzOt
> #!/bin/sh -ev
>  export F9X=/sw/bin/gfortran
>  export FFLAGS='-fsecond-underscore'
>  export LIBS='-lsz'
>  /usr/bin/autoreconf -fi
> configure.in:260: warning: AC_CONFIG_SUBDIRS: you should use literals
> /var/tmp/autoconf/autoconf-15~401/SRC/autoconf/lib/autoconf/status.m4:929:
> AC_CONFIG_SUBDIRS is expanded from...
> configure.in:260: the top level
> configure.in:260: warning: AC_CONFIG_SUBDIRS: you should use literals
> /var/tmp/autoconf/autoconf-15~401/SRC/autoconf/lib/autoconf/status.m4:929:
> AC_CONFIG_SUBDIRS is expanded from...
> configure.in:260: the top level
> glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `bin'.
> glibtoolize: copying file `bin/ltmain.sh'
> glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
> glibtoolize: rerunning libtoolize, to keep the correct libtool macros
> in-tree.
> glibtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
> configure.in:260: warning: AC_CONFIG_SUBDIRS: you should use literals
> /var/tmp/autoconf/autoconf-15~401/SRC/autoconf/lib/autoconf/status.m4:929:
> AC_CONFIG_SUBDIRS is expanded from...
> configure.in:260: the top level
> configure.in:260: warning: AC_CONFIG_SUBDIRS: you should use literals
> /var/tmp/autoconf/autoconf-15~401/SRC/autoconf/lib/autoconf/status.m4:929:
> AC_CONFIG_SUBDIRS is expanded from...
> configure.in:260: the top level
> configure.in:260: warning: AC_CONFIG_SUBDIRS: you should use literals
> /var/tmp/autoconf/autoconf-15~401/SRC/autoconf/lib/autoconf/status.m4:929:
> AC_CONFIG_SUBDIRS is expanded from...
> configure.in:260: the top level
> #  export LDFLAGS="$LDFLAGS -Wl,-dead_strip_dylibs"
>  if [ "x86_64" = "x86_64" ]; then
>     ./configure --prefix=/sw --enable-cxx --without-ssl --with-zlib
> - --without-mpe --without-pablo --with-szlib \
> - --without-gass --without-srb --without-pthread  --enable-fortran
> - --disable-parallel --build=x86_64-apple-darwin`uname -r|cut -f1 -d.`
> - --host=x86_64-apple-darwin`uname -r|cut -f1 -d.`
>  else
>     ./configure --prefix=/sw --enable-cxx --without-ssl --with-zlib
> - --without-mpe --without-pablo --with-szlib \
> - --without-gass --without-srb --without-pthread  --enable-fortran
> - --disable-parallel
>  fi
> uname -r|cut -f1 -d.
> uname -r|cut -f1 -d.
> configure: error: cannot run /bin/sh bin/config.sub
> ### execution of /var/tmp/tmp.1.QQQzOt failed, exit code 1
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-hdf5-1.6.10-3
> (Reading database ... 115976 files and directories currently installed.)
> Removing fink-buildlock-hdf5-1.6.10-3 ...
> Failed: phase compiling: hdf5-1.6.10-3 failed
> 
> I have:
> /var/tmp/tmp.1.EJjH7g
> #!/bin/sh -ev
>  export F9X=/sw64/bin/gfortran
>  export FFLAGS='-fsecond-underscore'
>  export LIBS='-lsz'
>  /usr/bin/autoreconf -fi
> configure.in:260: warning: AC_CONFIG_SUBDIRS: you should use literals
> ../../lib/autoconf/status.m4:1099: AC_CONFIG_SUBDIRS is expanded from...
> configure.in:260: the top level
> configure.in:1934: warning:
> AC_CACHE_VAL(hdf5_mpi_complex_derived_datatype_works, ...): suspicious
> cache-id, must contain _cv_ to be cached
> ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
> configure.in:1934: the top level
> configure.in:260: warning: AC_CONFIG_SUBDIRS: you should use literals
> /var/tmp/autoconf/autoconf-15~401/SRC/autoconf/lib/autoconf/status.m4:929:
> AC_CONFIG_SUBDIRS is expanded from...
> configure.in:260: the top level
> glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `bin'.
> glibtoolize: copying file `bin/ltmain.sh'
> glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
> glibtoolize: rerunning glibtoolize, to keep the correct libtool macros
> in-tree.
> glibtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
> configure.in:260: warning: AC_CONFIG_SUBDIRS: you should use literals
> ../../lib/autoconf/status.m4:1099: AC_CONFIG_SUBDIRS is expanded from...
> configure.in:260: the top level
> configure.in:1934: warning:
> AC_CACHE_VAL(hdf5_mpi_complex_derived_datatype_works, ...): suspicious
> cache-id, must contain _cv_ to be cached
> ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
> configure.in:1934: the top level
> configure.in:260: warning: AC_CONFIG_SUBDIRS: you should use literals
> /var/tmp/autoconf/autoconf-15~401/SRC/autoconf/lib/autoconf/status.m4:929:
> AC_CONFIG_SUBDIRS is expanded from...
> configure.in:260: the top level
> configure.in:260: warning: AC_CONFIG_SUBDIRS: you should use literals
> /var/tmp/autoconf/autoconf-15~401/SRC/autoconf/lib/autoconf/status.m4:929:
> AC_CONFIG_SUBDIRS is expanded from...
> configure.in:260: the top level
> #  export LDFLAGS="$LDFLAGS -Wl,-dead_strip_dylibs"
>  if [ "x86_64" = "x86_64" ]; then
>     ./configure --prefix=/sw64 --enable-cxx --without-ssl --with-zlib
> - --without-mpe --without-pablo --with-szlib \
> - --without-gass --without-srb --without-pthread  --enable-fortran
> - --disable-parallel --build=x86_64-apple-darwin`uname -r|cut -f1 -d.`
> - --host=x86_64-apple-darwin`uname -r|cut -f1 -d.`
>  else
>     ./configure --prefix=/sw64 --enable-cxx --without-ssl --with-zlib
> - --without-mpe --without-pablo --with-szlib \
> - --without-gass --without-srb --without-pthread  --enable-fortran
> - --disable-parallel
>  fi
> uname -r|cut -f1 -d.
> uname -r|cut -f1 -d.
> checking build system type... x86_64-apple-darwin10
> 
> If anything, my autoreconf step is noisier than yours, but proceeds.
> 
> I'm not sure what is going on here, so I'm going to go to the fink-devel
> list.
> - -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> http://finkakh.wordpress.com/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAk3ixB4ACgkQB8UpO3rKjQ+8FwCfa2ALabGMMvUOEcI5kiKOyTj0
> +w4AoKHs7FtKpcEM0FKN+XDl3iPITohs
> =RT/D
> -----END PGP SIGNATURE-----


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to