[Fink-users] Failed: phase compiling: hdf5.8-1.8.11-1 failed

2013-05-27 Thread Dominique Dhumieres
Updating to hdf5.8-1.8.11-1 failed on

Package manager version: 0.34.8
Distribution version: selfupdate-rsync Mon May 27 14:25:19 2013, 10.5, powerpc
Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
Xcode.app: 3.1.4
Xcode command-line tools: 3.1.4
Max. Fink build jobs:  1

with

checking for gcc... clang
checking whether the C compiler works... no
configure: error: in `/sw/src/fink.build/hdf5.8-1.8.11-1/hdf5-1.8.11':
configure: error: C compiler cannot create executables
See `config.log' for more details
### execution of /tmp/fink.8D6_P failed, exit code 77
### execution of /tmp/fink.4vORd failed, exit code 77
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-hdf5.8-1.8.11-1
(Reading database ... 578324 files and directories currently installed.)
Removing fink-buildlock-hdf5.8-1.8.11-1 ...
Failed: phase compiling: hdf5.8-1.8.11-1 failed

The relevant part of the config.log is

...
configure:4220: checking for gcc
configure:4247: result: clang
configure:4476: checking for C compiler version
configure:4485: clang --version 5
./configure: line 4487: clang: command not found
configure:4496: $? = 127
configure:4485: clang -v 5
./configure: line 4487: clang: command not found
configure:4496: $? = 127
configure:4485: clang -V 5
./configure: line 4487: clang: command not found
configure:4496: $? = 127
configure:4485: clang -qversion 5
./configure: line 4487: clang: command not found
configure:4496: $? = 127
configure:4516: checking whether the C compiler works
configure:4538: clang-I/sw/include  -L/sw/lib conftest.c  5
./configure: line 4540: clang: command not found
configure:4542: $? = 127
configure:4580: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME HDF5
| #define PACKAGE_TARNAME hdf5
| #define PACKAGE_VERSION 1.8.11
| #define PACKAGE_STRING HDF5 1.8.11
| #define PACKAGE_BUGREPORT h...@hdfgroup.org
| #define PACKAGE_URL 
| #define PACKAGE hdf5
| #define VERSION 1.8.11
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:4585: error: in `/sw/src/fink.build/hdf5.8-1.8.11-1/hdf5-1.8.11':
configure:4587: error: C compiler cannot create executables
See `config.log' for more details
...

TIA

Dominique

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Failed: phase compiling: hdf5.8-1.8.11-1 failed

2013-05-27 Thread Alexander Hansen
On 5/27/13 5:45 AM, Dominique Dhumieres wrote:
 Updating to hdf5.8-1.8.11-1 failed on

 Package manager version: 0.34.8
 Distribution version: selfupdate-rsync Mon May 27 14:25:19 2013, 10.5, powerpc
 Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
 Xcode.app: 3.1.4
 Xcode command-line tools: 3.1.4
 Max. Fink build jobs:  1

 with

 checking for gcc... clang
 checking whether the C compiler works... no
 configure: error: in `/sw/src/fink.build/hdf5.8-1.8.11-1/hdf5-1.8.11':
 configure: error: C compiler cannot create executables
 See `config.log' for more details
 ### execution of /tmp/fink.8D6_P failed, exit code 77
 ### execution of /tmp/fink.4vORd failed, exit code 77
 Removing runtime build-lock...
 Removing build-lock package...
 /sw/bin/dpkg-lockwait -r fink-buildlock-hdf5.8-1.8.11-1
 (Reading database ... 578324 files and directories currently installed.)
 Removing fink-buildlock-hdf5.8-1.8.11-1 ...
 Failed: phase compiling: hdf5.8-1.8.11-1 failed

 The relevant part of the config.log is

 ...
 configure:4220: checking for gcc
 configure:4247: result: clang
 configure:4476: checking for C compiler version
 configure:4485: clang --version 5
 ./configure: line 4487: clang: command not found
 configure:4496: $? = 127
 configure:4485: clang -v 5
 ./configure: line 4487: clang: command not found
 configure:4496: $? = 127
 configure:4485: clang -V 5
 ./configure: line 4487: clang: command not found
 configure:4496: $? = 127
 configure:4485: clang -qversion 5
 ./configure: line 4487: clang: command not found
 configure:4496: $? = 127
 configure:4516: checking whether the C compiler works
 configure:4538: clang-I/sw/include  -L/sw/lib conftest.c  5
 ./configure: line 4540: clang: command not found
 configure:4542: $? = 127
 configure:4580: result: no
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME HDF5
 | #define PACKAGE_TARNAME hdf5
 | #define PACKAGE_VERSION 1.8.11
 | #define PACKAGE_STRING HDF5 1.8.11
 | #define PACKAGE_BUGREPORT h...@hdfgroup.org
 | #define PACKAGE_URL 
 | #define PACKAGE hdf5
 | #define VERSION 1.8.11
 | /* end confdefs.h.  */
 |
 | int
 | main ()
 | {
 |
 |   ;
 |   return 0;
 | }
 configure:4585: error: in `/sw/src/fink.build/hdf5.8-1.8.11-1/hdf5-1.8.11':
 configure:4587: error: C compiler cannot create executables
 See `config.log' for more details
 ...

 TIA

 Dominique


I have the package build with clang on 10.6/Xcode 4.2 because of 
failures using llvm-gcc. The question, then, is why the clang test is 
showing up as positive.

What do you get from gcc -version ?

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Failed: phase compiling: hdf5.8-1.8.11-1 failed

2013-05-27 Thread Dominique Dhumieres
I think the problem is in

/sw/src/fink.build/hdf5.8-1.8.11-1/hdf5-1.8.11/config/powerpc-apple

# The default compiler is `clang'.
# No support for OS older than darwin 10.X.
if test X- = X-$CC; then
case $host_os in
darwin10.*) # Snow Leopard. Use gcc/g++ because clang++ is not 
available.
CC=gcc
CC_BASENAME=gcc
;;
*)
CC=clang
CC_BASENAME=clang
;;
esac
fi

On ppc the last darwin is darwin9 and has no clang (at least with Xcode 3.1.4).

Dominique

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Failed: phase compiling: hdf5.8-1.8.11-1 failed

2013-05-27 Thread Alexander Hansen
On 5/27/13 11:49 AM, Dominique Dhumieres wrote:
 I think the problem is in

 /sw/src/fink.build/hdf5.8-1.8.11-1/hdf5-1.8.11/config/powerpc-apple

 # The default compiler is `clang'.
 # No support for OS older than darwin 10.X.
 if test X- = X-$CC; then
  case $host_os in
  darwin10.*) # Snow Leopard. Use gcc/g++ because clang++ is not 
 available.
  CC=gcc
  CC_BASENAME=gcc
  ;;
  *)
  CC=clang
  CC_BASENAME=clang
  ;;
  esac
 fi

 On ppc the last darwin is darwin9 and has no clang (at least with Xcode 
 3.1.4).

 Dominique


Ah!  So it wasn't my manual setting in the CompileScript.  And they're 
not even right about the availability of clang++ on Snow Leopard.  I'll 
work up a fix.

(to be fair to upstream, powerpc-apple is something that I generated by 
copying a template file; no editing had been required in prior HDF5 
versions).
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users