Opened 8 years ago

Closed 8 years ago

#51719 closed defect (fixed)

hdfeos configure fails

Reported by: massonseb Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: hdfeos

Description

hdfeos 2.19_1 configure fails for a problem with h4cc.
Adding CC=/opt/local/bin/h4cc in the configure call seems to work...
I saw #51600 where you say "Stopped using h4cc in hdfeos", I guess there is some link...

Bellow is my config.log

version:1
:msg:main --->  Computing dependencies for hdfeos:info:main .:debug:main hdfeos has no conflicts
:debug:main Searching for dependency: hdf4
:debug:main Found Dependency: receipt exists for hdf4
:debug:main Searching for dependency: szip
:debug:main Found Dependency: receipt exists for szip
:msg:main 
:debug:main Executing org.macports.main (hdfeos)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 503
:debug:main Skipping completed org.macports.archivefetch (hdfeos)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (hdfeos)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (hdfeos)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (hdfeos)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (hdfeos)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Mon Jun 27 10:19:44 PDT 2016
:notice:configure --->  Configuring hdfeos
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing proc-pre-org.macports.configure-configure-0
:debug:configure Active variants check for source-type install considers depends_fetch depends_extract depends_lib depends_build depends_run: hdf4 szip
:debug:configure hdf4 is installed with the following variants: +gcc48+szip
:debug:configure   required: szip, forbidden: 
:debug:configure   accepted
:debug:configure Executing org.macports.configure (hdfeos)
:debug:configure Environment: 
CC='/usr/bin/clang'
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_hdfeos/hdfeos/work/.CC_PRINT_OPTIONS'
CFLAGS='-pipe -Os -arch x86_64'
CPATH='/opt/local/include'
CPPFLAGS='-I/opt/local/include'
CXX='/usr/bin/clang++'
CXXFLAGS='-pipe -Os -arch x86_64 -stdlib=libc++'
F77FLAGS='-m64'
F90FLAGS='-pipe -Os -m64'
FCFLAGS='-pipe -Os -m64'
FFLAGS='-pipe -Os'
INSTALL='/usr/bin/install -c'
LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.9'
OBJC='/usr/bin/clang'
OBJCFLAGS='-pipe -Os -arch x86_64'
OBJCXX='/usr/bin/clang++'
OBJCXXFLAGS='-pipe -Os -arch x86_64 -stdlib=libc++'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_hdfeos/hdfeos/work/hdfeos" && ./configure --prefix=/opt/local --with-hdf4=/opt/local --with-jpeg=/opt/local --with-zlib=/opt/local --enable-shared --disable-dependency-tracking --with-szlib=/opt/local'
:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_hdfeos/hdfeos/work/hdfeos" && ./configure --prefix=/opt/local --with-hdf4=/opt/local --with-jpeg=/opt/local --with-zlib=/opt/local --enable-shared --disable-dependency-tracking --with-szlib=/opt/local 
:info:configure checking for a BSD-compatible install... /usr/bin/install -c
:info:configure checking whether build environment is sane... yes
:info:configure checking for gawk... gawk
:info:configure checking whether make sets $(MAKE)... yes
:info:configure checking whether to enable maintainer-specific portions of Makefiles... no
:info:configure checking build system type... i386-apple-darwin13.4.0
:info:configure checking host system type... i386-apple-darwin13.4.0
:info:configure checking for style of include used by make... GNU
:info:configure checking for gcc... /usr/bin/clang
:info:configure checking for C compiler default output file name... a.out
:info:configure checking whether the C compiler works... yes
:info:configure checking whether we are cross compiling... no
:info:configure checking for suffix of executables... 
:info:configure checking for suffix of object files... o
:info:configure checking whether we are using the GNU C compiler... yes
:info:configure checking whether /usr/bin/clang accepts -g... yes
:info:configure checking for /usr/bin/clang option to accept ISO C89... none needed
:info:configure checking dependency style of /usr/bin/clang... none
:info:configure checking for a sed that does not truncate output... /opt/local/bin/gsed
:info:configure checking for grep that handles long lines and -e... /usr/bin/grep
:info:configure checking for egrep... /usr/bin/grep -E
:info:configure checking for ld used by /usr/bin/clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
:info:configure checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
:info:configure checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
:info:configure checking for BSD-compatible nm... /opt/local/bin/nm
:info:configure checking whether ln -s works... yes
:info:configure checking how to recognise dependent libraries... pass_all
:info:configure checking how to run the C preprocessor... /usr/bin/clang -E
:info:configure checking for ANSI C header files... yes
:info:configure checking for sys/types.h... yes
:info:configure checking for sys/stat.h... yes
:info:configure checking for stdlib.h... yes
:info:configure checking for string.h... yes
:info:configure checking for memory.h... yes
:info:configure checking for strings.h... yes
:info:configure checking for inttypes.h... yes
:info:configure checking for stdint.h... yes
:info:configure checking for unistd.h... yes
:info:configure checking dlfcn.h usability... yes
:info:configure checking dlfcn.h presence... yes
:info:configure checking for dlfcn.h... yes
:info:configure checking whether we are using the GNU C++ compiler... yes
:info:configure checking whether /usr/bin/clang++ accepts -g... yes
:info:configure checking dependency style of /usr/bin/clang++... none
:info:configure checking how to run the C++ preprocessor... /usr/bin/clang++ -E
:info:configure checking for g77... no
:info:configure checking for xlf... no
:info:configure checking for f77... no
:info:configure checking for frt... no
:info:configure checking for pgf77... no
:info:configure checking for cf77... no
:info:configure checking for fort77... no
:info:configure checking for fl32... no
:info:configure checking for af77... no
:info:configure checking for xlf90... no
:info:configure checking for f90... no
:info:configure checking for pgf90... no
:info:configure checking for pghpf... no
:info:configure checking for epcf90... no
:info:configure checking for gfortran... gfortran
:info:configure checking whether we are using the GNU Fortran 77 compiler... yes
:info:configure checking whether gfortran accepts -g... yes
:info:configure checking the maximum length of command line arguments... 65536
:info:configure checking command to parse /opt/local/bin/nm output from /usr/bin/clang object... ok
:info:configure checking for objdir... .libs
:info:configure checking for ar... ar
:info:configure checking for ranlib... ranlib
:info:configure checking for strip... strip
:info:configure checking if /usr/bin/clang static flag  works... yes
:info:configure checking if /usr/bin/clang supports -fno-rtti -fno-exceptions... yes
:info:configure checking for /usr/bin/clang option to produce PIC... -fno-common
:info:configure checking if /usr/bin/clang PIC flag -fno-common works... yes
:info:configure checking if /usr/bin/clang supports -c -o file.o... yes
:info:configure checking whether the /usr/bin/clang linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
:info:configure checking dynamic linker characteristics... darwin13.4.0 dyld
:info:configure checking how to hardcode library paths into programs... immediate
:info:configure checking whether stripping libraries is possible... yes
:info:configure checking if libtool supports shared libraries... yes
:info:configure checking whether to build shared libraries... yes
:info:configure checking whether to build static libraries... yes
:info:configure configure: creating libtool
:info:configure appending configuration tag "CXX" to libtool
:info:configure checking for ld used by /usr/bin/clang++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
:info:configure checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
:info:configure checking whether the /usr/bin/clang++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
:info:configure checking for /usr/bin/clang++ option to produce PIC... -fno-common
:info:configure checking if /usr/bin/clang++ PIC flag -fno-common works... yes
:info:configure checking if /usr/bin/clang++ supports -c -o file.o... yes
:info:configure checking whether the /usr/bin/clang++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
:info:configure checking dynamic linker characteristics... darwin13.4.0 dyld
:info:configure checking how to hardcode library paths into programs... immediate
:info:configure checking whether stripping libraries is possible... yes
:info:configure appending configuration tag "F77" to libtool
:info:configure checking if libtool supports shared libraries... yes
:info:configure checking whether to build shared libraries... yes
:info:configure checking whether to build static libraries... yes
:info:configure checking for gfortran option to produce PIC... -fno-common
:info:configure checking if gfortran PIC flag -fno-common works... yes
:info:configure checking if gfortran supports -c -o file.o... yes
:info:configure checking whether the gfortran linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
:info:configure checking dynamic linker characteristics... darwin13.4.0 dyld
:info:configure checking how to hardcode library paths into programs... immediate
:info:configure checking whether stripping libraries is possible... yes
:info:configure checking for ceil in -lm... yes
:info:configure checking for jpeg_set_defaults in -ljpeg... yes
:info:configure checking zlib.h usability... yes
:info:configure checking zlib.h presence... yes
:info:configure checking for zlib.h... yes
:info:configure checking for compress2 in -lz... yes
:info:configure checking for fc2Fortran macro... not defined
:info:configure checking for /opt/local/include/szlib.h... yes
:info:configure checking szlib.h usability... yes
:info:configure checking szlib.h presence... yes
:info:configure checking for szlib.h... yes
:info:configure checking for SZ_BufftoBuffCompress in -lsz... yes
:info:configure checking for gawk... (cached) gawk
:info:configure checking for h4cc... /usr/bin/clang
:info:configure configure: error: CC is not h4cc
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_hdfeos/hdfeos/work/hdfeos" && ./configure --prefix=/opt/local --with-hdf4=/opt/local --with-jpeg=/opt/local --with-zlib=/opt/local --enable-shared --disable-dependency-tracking --with-szlib=/opt/local 
:info:configure Exit code: 1
:error:configure Failed to configure hdfeos, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_hdfeos/hdfeos/work/hdfeos/config.log
:error:configure org.macports.configure for port hdfeos returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"portconfigure::configure_main org.macports.configure"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:configure Warning: targets not executed for hdfeos: org.macports.install org.macports.configure org.macports.build org.macports.destroot
:notice:configure Please see the log file for port hdfeos for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_hdfeos/hdfeos/main.log

Change History (3)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Cc: takeshi@… removed
Owner: changed from macports-tickets@… to takeshi@…

comment:2 Changed 8 years ago by tenomoto (Takeshi Enomoto)

I didn't have any problem with the default configuration (without any variants). It appears that, however, the configure script look for h4cc with +szip. I'll see if I can fix this.

comment:3 Changed 8 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: newclosed

Done in r149845.

Note: See TracTickets for help on using tickets.