Opened 6 months ago

Closed 3 months ago

#70029 closed defect (fixed)

hdfeos5 looks for a wrong binary at configure, which fails: /opt/local/bin/h5cc: No such file or directory

Reported by: barracuda156 Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc: cooljeanius (Eric Gallager)
Port: hdfeos5

Description

configure:2704: checking for a BSD-compatible install
configure:2772: result: /usr/bin/install -c
configure:2783: checking whether build environment is sane
configure:2838: result: yes
configure:2989: checking for a thread-safe mkdir -p
configure:3028: result: /opt/local/bin/gmkdir -p
configure:3035: checking for gawk
configure:3051: found /opt/local/bin/gawk
configure:3062: result: gawk
configure:3073: checking whether make sets $(MAKE)
configure:3095: result: yes
configure:3124: checking whether make supports nested variables
configure:3141: result: yes
configure:3226: checking whether to enable maintainer-specific portions of Makefiles
configure:3235: result: no
configure:3314: checking build system type
configure:3328: result: powerpc-apple-darwin10.0.0d2
configure:3348: checking host system type
configure:3361: result: powerpc-apple-darwin10.0.0d2
configure:3402: checking how to print strings
configure:3429: result: printf
configure:3462: checking for style of include used by make
configure:3490: result: GNU
configure:3561: checking for gcc
configure:3588: result: /opt/local/bin/h5cc
configure:3817: checking for C compiler version
configure:3826: /opt/local/bin/h5cc --version >&5
./configure: line 3828: /opt/local/bin/h5cc: No such file or directory
configure:3837: $? = 127
configure:3826: /opt/local/bin/h5cc -v >&5
./configure: line 3828: /opt/local/bin/h5cc: No such file or directory
configure:3837: $? = 127
configure:3826: /opt/local/bin/h5cc -V >&5
./configure: line 3828: /opt/local/bin/h5cc: No such file or directory
configure:3837: $? = 127
configure:3826: /opt/local/bin/h5cc -qversion >&5
./configure: line 3828: /opt/local/bin/h5cc: No such file or directory
configure:3837: $? = 127
configure:3857: checking whether the C compiler works
configure:3879: /opt/local/bin/h5cc -pipe -Os -DH5_USE_16_API -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib/libaec -Wl,-rpath,/opt/local/lib/libgcc conftest.c  >&5
./configure: line 3881: /opt/local/bin/h5cc: No such file or directory
configure:3883: $? = 127
configure:3921: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "hdf-eos5"
| #define PACKAGE_TARNAME "hdf-eos5"
| #define PACKAGE_VERSION "2.0"
| #define PACKAGE_STRING "hdf-eos5 2.0"
| #define PACKAGE_BUGREPORT "null@bogus.email"
| #define PACKAGE_URL ""
| #define PACKAGE "hdf-eos5"
| #define VERSION "2.0"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3926: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdfeos5/hdfeos5/work/hdf-eos5-2.0':
configure:3928: error: C compiler cannot create executables
See `config.log' for more details

There is indeed no such a binary /opt/local/bin/h5cc. However, hdf5 provides /opt/local/bin/h5pcc, perhaps that is meant?

Change History (4)

comment:1 Changed 6 months ago by jmroot (Joshua Root)

The mpi variants need to match.

comment:2 in reply to:  1 Changed 6 months ago by barracuda156

Replying to jmroot:

The mpi variants need to match.

Perhaps the port should at least hint at that if not enforce.

comment:3 Changed 5 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:4 Changed 3 months ago by Sergey Fedorov <barracuda@…>

Resolution: fixed
Status: assignedclosed

In c8521f8708e01715ba7f6435198cc680fee4dee9/macports-ports (master):

hdfeos5: fix build when hdf5 is installed with +mpich

Closes: #70029

Note: See TracTickets for help on using tickets.