Opened 8 years ago

Last modified 6 years ago

#51805 new defect

netcdf @4.4.1: error: cannot combine with previous 'type-name' declaration specifier

Reported by: rory.cerbus@… Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: mkae (Marko Käning)
Port: netcdf

Description (last modified by mf2k (Frank Schima))

I have the latest versions of Xcode and Macports installed and attempted to port netcdf (I eventually want to port netcdf-fortran), but failed. I have the log below. Thank you very much for any assistance you are able to offer.

version:1
:msg:main --->  Computing dependencies for netcdf:info:main .:debug:main netcdf has no conflicts
:debug:main Searching for dependency: cmake
:debug:main Didn't find receipt, going to depspec regex for: cmake
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/cmake
:debug:main OS darwin/15.5.0 (Mac OS X 10.11) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Searching for dependency: hdf5-18
:debug:main Didn't find receipt, going to depspec regex for: hdf5-18
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/science/hdf5-18
:debug:main OS darwin/15.5.0 (Mac OS X 10.11) arch i386
:debug:main Sourcing PortGroup conflicts_build 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/conflicts_build-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Sourcing PortGroup active_variants 1.1 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/active_variants-1.1.tcl
:debug:main Sourcing PortGroup compilers 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/compilers-1.0.tcl
:debug:main Sourcing PortGroup mpi 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/mpi-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main Executing variant hl provides hl
:debug:main Executing variant cxx provides cxx
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Searching for dependency: curl
:debug:main Didn't find receipt, going to depspec regex for: curl
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/curl
:debug:main OS darwin/15.5.0 (Mac OS X 10.11) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main Executing variant ssl provides ssl
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:info:main .:debug:main Checking for conflicts against cmake
:debug:main Searching for dependency: cmake-devel
:debug:main Didn't find receipt, going to depspec regex for: cmake-devel
:debug:main Searching for dependency: expat
:debug:main Didn't find receipt, going to depspec regex for: expat
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/expat
:debug:main OS darwin/15.5.0 (Mac OS X 10.11) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Searching for dependency: zlib
:debug:main Didn't find receipt, going to depspec regex for: zlib
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/zlib
:debug:main OS darwin/15.5.0 (Mac OS X 10.11) arch i386
:debug:main Sourcing PortGroup xcodeversion 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Searching for dependency: bzip2
:debug:main Didn't find receipt, going to depspec regex for: bzip2
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/bzip2
:debug:main OS darwin/15.5.0 (Mac OS X 10.11) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Searching for dependency: libarchive
:debug:main Didn't find receipt, going to depspec regex for: libarchive
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/libarchive
:debug:main OS darwin/15.5.0 (Mac OS X 10.11) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Searching for dependency: ncurses
:debug:main Didn't find receipt, going to depspec regex for: ncurses
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/ncurses
:debug:main OS darwin/15.5.0 (Mac OS X 10.11) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:info:main .:debug:main expat has no conflicts
:info:main .:debug:main zlib has no conflicts
:info:main .:debug:main bzip2 has no conflicts
:info:main .:debug:main libarchive has no conflicts
:debug:main Searching for dependency: openssl
:debug:main Didn't find receipt, going to depspec regex for: openssl
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/openssl
:debug:main OS darwin/15.5.0 (Mac OS X 10.11) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Searching for dependency: libxml2
:debug:main Didn't find receipt, going to depspec regex for: libxml2
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libxml2
:debug:main OS darwin/15.5.0 (Mac OS X 10.11) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Searching for dependency: xz
:debug:main Didn't find receipt, going to depspec regex for: xz
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/xz
:debug:main OS darwin/15.5.0 (Mac OS X 10.11) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Searching for dependency: lzo2
:debug:main Didn't find receipt, going to depspec regex for: lzo2
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/lzo2
:debug:main OS darwin/15.5.0 (Mac OS X 10.11) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Searching for dependency: libiconv
:debug:main Didn't find receipt, going to depspec regex for: libiconv
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libiconv
:debug:main OS darwin/15.5.0 (Mac OS X 10.11) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:info:main .:debug:main Checking for conflicts against openssl
:debug:main Searching for dependency: libressl
:debug:main Didn't find receipt, going to depspec regex for: libressl
:info:main .:debug:main libxml2 has no conflicts
:info:main .:debug:main Checking for conflicts against xz
:debug:main Searching for dependency: xz-devel
:debug:main Didn't find receipt, going to depspec regex for: xz-devel
:debug:main Searching for dependency: gettext
:debug:main Didn't find receipt, going to depspec regex for: gettext
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gettext
:debug:main OS darwin/15.5.0 (Mac OS X 10.11) arch i386
:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main compiler clang 703.0.31 not blacklisted because it doesn't match {clang < 211.10.1}
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:info:main .:debug:main gettext has no conflicts
:info:main .:debug:main lzo2 has no conflicts
:info:main .:debug:main libiconv has no conflicts
:info:main .:debug:main ncurses has no conflicts
:info:main .:debug:main hdf5-18 has no conflicts
:info:main .:debug:main curl has no conflicts
:debug:main Searching for dependency: curl-ca-bundle
:debug:main Didn't find receipt, going to depspec regex for: curl-ca-bundle
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/curl
:debug:main OS darwin/15.5.0 (Mac OS X 10.11) arch i386
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:info:main .:debug:main Checking for conflicts against curl-ca-bundle
:debug:main Searching for dependency: certsync
:debug:main Didn't find receipt, going to depspec regex for: certsync
:msg:main 
:msg:main --->  Dependencies to be installed: cmake bzip2 curl curl-ca-bundle openssl zlib expat libarchive libiconv libxml2 xz gettext ncurses lzo2 hdf5-18
:debug:main Starting logging for bzip2
:debug:clean Starting logging for curl-ca-bundle
:debug:clean Starting logging for zlib
:debug:clean Starting logging for openssl
:debug:clean Starting logging for curl
:debug:clean Starting logging for expat
:debug:clean Starting logging for libiconv
:debug:clean Starting logging for ncurses
:debug:clean Starting logging for gettext
:debug:clean Starting logging for xz
:debug:clean Starting logging for libxml2
:debug:clean Starting logging for lzo2
:debug:clean Starting logging for libarchive
:debug:clean Starting logging for cmake
:debug:clean Starting logging for hdf5-18
:debug:main Executing org.macports.main (netcdf)
: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 (netcdf)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (netcdf)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (netcdf)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (netcdf)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (netcdf)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (netcdf)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Fri Jul  8 21:56:22 JST 2016
:notice:build --->  Building netcdf
:debug:build Executing org.macports.build (netcdf)
:debug:build Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.11'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build /opt/local/bin/cmake -H/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build --check-build-system CMakeFiles/Makefile.cmake 0
:info:build /opt/local/bin/cmake -E cmake_progress_start /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/CMakeFiles /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/CMakeFiles/progress.marks
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f libdispatch/CMakeFiles/dispatch.dir/build.make libdispatch/CMakeFiles/dispatch.dir/depend
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f libsrc/CMakeFiles/manpage.dir/build.make libsrc/CMakeFiles/manpage.dir/depend
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f libsrc/CMakeFiles/netcdf3.dir/build.make libsrc/CMakeFiles/netcdf3.dir/depend
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f libsrc4/CMakeFiles/netcdf4.dir/build.make libsrc4/CMakeFiles/netcdf4.dir/depend
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libsrc /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/libsrc /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/libsrc/CMakeFiles/manpage.dir/DependInfo.cmake --color=
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libsrc /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/libsrc /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/libsrc/CMakeFiles/netcdf3.dir/DependInfo.cmake --color=
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libdispatch /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/libdispatch /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/libdispatch/CMakeFiles/dispatch.dir/DependInfo.cmake --color=
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libsrc4 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/libsrc4 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/libsrc4/CMakeFiles/netcdf4.dir/DependInfo.cmake --color=
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f libsrc/CMakeFiles/manpage.dir/build.make libsrc/CMakeFiles/manpage.dir/build
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/libsrc && /usr/bin/m4 -DAPI=C -DNETCDF4=TRUE /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/libsrc/netcdf.m4 > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/libsrc/netcdf.3
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f libsrc/CMakeFiles/netcdf3.dir/build.make libsrc/CMakeFiles/netcdf3.dir/build
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f libdispatch/CMakeFiles/dispatch.dir/build.make libdispatch/CMakeFiles/dispatch.dir/build
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f libsrc4/CMakeFiles/netcdf4.dir/build.make libsrc4/CMakeFiles/netcdf4.dir/build
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build make[2]: Nothing to be done for `libsrc4/CMakeFiles/netcdf4.dir/build'.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build make[2]: Nothing to be done for `libdispatch/CMakeFiles/dispatch.dir/build'.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build [  0%] Building C object libsrc/CMakeFiles/netcdf3.dir/memio.c.o
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/libsrc && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang  -DCURL_STATICLIB=1 -DHAVE_CONFIG_H -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/oc2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libsrc -I/opt/local/include/hdf5-18 -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build  -pipe -Os  -DNDEBUG -arch x86_64 -mmacosx-version-min=10.11 -fPIC   -o CMakeFiles/netcdf3.dir/memio.c.o   -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libsrc/memio.c
:info:build [  4%] Built target netcdf4
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f oc2/CMakeFiles/oc2.dir/build.make oc2/CMakeFiles/oc2.dir/depend
:info:build [ 10%] Built target dispatch
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f libdap2/CMakeFiles/dap2.dir/build.make libdap2/CMakeFiles/dap2.dir/depend
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/oc2 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/oc2 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/oc2/CMakeFiles/oc2.dir/DependInfo.cmake --color=
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libdap2 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/libdap2 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/libdap2/CMakeFiles/dap2.dir/DependInfo.cmake --color=
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f oc2/CMakeFiles/oc2.dir/build.make oc2/CMakeFiles/oc2.dir/build
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f libdap2/CMakeFiles/dap2.dir/build.make libdap2/CMakeFiles/dap2.dir/build
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build make[2]: Nothing to be done for `libdap2/CMakeFiles/dap2.dir/build'.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build [ 10%] Building C object oc2/CMakeFiles/oc2.dir/ocdump.c.o
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/oc2 && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang  -DCURL_STATICLIB=1 -DHAVE_CONFIG_H -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/oc2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libsrc -I/opt/local/include/hdf5-18 -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build  -pipe -Os  -DNDEBUG -arch x86_64 -mmacosx-version-min=10.11 -fPIC   -o CMakeFiles/oc2.dir/ocdump.c.o   -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/oc2/ocdump.c
:info:build [ 13%] Built target dap2
:info:build [ 14%] Building C object libsrc/CMakeFiles/netcdf3.dir/posixio.c.o
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/libsrc && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang  -DCURL_STATICLIB=1 -DHAVE_CONFIG_H -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/oc2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libsrc -I/opt/local/include/hdf5-18 -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build  -pipe -Os  -DNDEBUG -arch x86_64 -mmacosx-version-min=10.11 -fPIC   -o CMakeFiles/netcdf3.dir/posixio.c.o   -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libsrc/posixio.c
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build [ 14%] Built target manpage
:info:build [ 14%] Building C object oc2/CMakeFiles/oc2.dir/ocinternal.c.o
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/oc2 && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang  -DCURL_STATICLIB=1 -DHAVE_CONFIG_H -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/oc2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libsrc -I/opt/local/include/hdf5-18 -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build  -pipe -Os  -DNDEBUG -arch x86_64 -mmacosx-version-min=10.11 -fPIC   -o CMakeFiles/oc2.dir/ocinternal.c.o   -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/oc2/ocinternal.c
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/oc2/ocdump.c:21:
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/oc2/ocinternal.h:26:
:info:build In file included from /usr/include/string.h:152:
:info:build /usr/include/sys/_types/_ssize_t.h:30:33: error: cannot combine with previous 'type-name' declaration specifier
:info:build typedef __darwin_ssize_t        ssize_t; 
:info:build                                 ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/oc2/ocdump.c:16:17: note: expanded from macro 'ssize_t'
:info:build #define ssize_t int
:info:build                 ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libsrc/posixio.c:37:13: error: typedef redefinition with different types ('int' vs '__darwin_ssize_t' (aka 'long'))
:info:build typedef int ssize_t;
:info:build             ^
:info:build /usr/include/sys/_types/_ssize_t.h:30:33: note: previous definition is here
:info:build typedef __darwin_ssize_t        ssize_t; 
:info:build                                 ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libsrc/posixio.c:237:15: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
:info:build   if(file_len < 0) return errno;
:info:build      ~~~~~~~~ ^ ~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libsrc/memio.c:231:29: error: use of undeclared identifier 'O_RDWR'
:info:build         oflags = (persist ? O_RDWR : O_RDONLY);
:info:build                             ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libsrc/memio.c:235:17: error: use of undeclared identifier 'O_CREAT'
:info:build         oflags |= (O_CREAT|O_TRUNC);
:info:build                    ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libsrc/memio.c:235:25: error: use of undeclared identifier 'O_TRUNC'
:info:build         oflags |= (O_CREAT|O_TRUNC);
:info:build                            ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libsrc/memio.c:237:16: error: use of undeclared identifier 'O_EXCL'
:info:build             oflags |= O_EXCL;
:info:build                       ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libsrc/memio.c:241:15: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration]
:info:build         fd  = open(path, oflags, OPENMODE);
:info:build               ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libsrc/memio.c:323:29: error: use of undeclared identifier 'O_RDWR'
:info:build         oflags = (persist ? O_RDWR : O_RDONLY);
:info:build                             ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libsrc/memio.c:327:19: error: use of undeclared identifier 'O_EXCL'
:info:build         oflags |= O_EXCL;
:info:build                   ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/oc2/ocinternal.c:104:16: warning: implicit declaration of function 'getcwd' is invalid in C99 [-Wimplicit-function-declaration]
:info:build             tempdir = getcwd(cwd,sizeof(cwd));
:info:build                       ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libsrc/memio.c:492:15: error: use of undeclared identifier 'O_WRONLY'
:info:build         int oflags = O_WRONLY|O_CREAT|O_TRUNC;
:info:build                      ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libsrc/memio.c:492:24: error: use of undeclared identifier 'O_CREAT'
:info:build         int oflags = O_WRONLY|O_CREAT|O_TRUNC;
:info:build                               ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/oc2/ocinternal.c:104:14: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion]
:info:build             tempdir = getcwd(cwd,sizeof(cwd));
:info:build                     ^ ~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/libsrc/memio.c:492:32: error: use of undeclared identifier 'O_TRUNC'
:info:build         int oflags = O_WRONLY|O_CREAT|O_TRUNC;
:info:build                                       ^
:info:build 1 warning and 9 errors generated.
:info:build 1 warning and 1 error generated.
:info:build 1 error generated.
:info:build make[2]: *** [libsrc/CMakeFiles/netcdf3.dir/posixio.c.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build make[2]: *** [libsrc/CMakeFiles/netcdf3.dir/memio.c.o] Error 1
:info:build make[2]: *** [oc2/CMakeFiles/oc2.dir/ocdump.c.o] Error 1make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build 
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build make[1]: *** [libsrc/CMakeFiles/netcdf3.dir/all] Error 2
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/oc2/ocinternal.c:401:22: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration]
:info:build     if(ocdebug == 0) unlink(tree->data.filename);
:info:build                      ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/oc2/ocinternal.c:619:14: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
:info:build         pid_t pid = getpid();
:info:build                     ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/oc2/ocinternal.c:624:9: warning: implicit declaration of function 'mkdir' is invalid in C99 [-Wimplicit-function-declaration]
:info:build         stat = mkdir(tmp,S_IRUSR | S_IWUSR | S_IXUSR);
:info:build                ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/oc2/ocinternal.c:624:19: error: use of undeclared identifier 'S_IRUSR'
:info:build         stat = mkdir(tmp,S_IRUSR | S_IWUSR | S_IXUSR);
:info:build                          ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/oc2/ocinternal.c:624:29: error: use of undeclared identifier 'S_IWUSR'
:info:build         stat = mkdir(tmp,S_IRUSR | S_IWUSR | S_IXUSR);
:info:build                                    ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.4.1/oc2/ocinternal.c:624:39: error: use of undeclared identifier 'S_IXUSR'
:info:build         stat = mkdir(tmp,S_IRUSR | S_IWUSR | S_IXUSR);
:info:build                                              ^
:info:build 5 warnings and 3 errors generated.
:info:build make[2]: *** [oc2/CMakeFiles/oc2.dir/ocinternal.c.o] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build make[1]: *** [oc2/CMakeFiles/oc2.dir/all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON 
:info:build Exit code: 2
:error:build org.macports.build for port netcdf returned: command execution failed
:debug:build Error code: CHILDSTATUS 31003 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for netcdf: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port netcdf for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/main.log

Change History (7)

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

Keywords: netcdf removed
Owner: changed from macports-tickets@… to takeshi@…
Port: netcdf added

In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainers (port info --maintainers netcdf), if any. Also, please attach the complete main.log file after running port clean on the port instead of pasting it into the description unformatted.

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

Description: modified (diff)

comment:3 Changed 8 years ago by seanfarley (Sean Farley)

This looks really odd. takeshi, do you have any ideas?

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

It works for me. It seems like a problem of headers. ssize_t is redefined. Perhaps _MSC_VER is defined in oc2/oc2internal.c?

comment:5 in reply to:  description Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to rory.cerbus@…:

I have the latest versions of Xcode

What version of Xcode? What version of the command line tools?

:debug:main Skipping completed org.macports.configure (netcdf)

"Skipping completed" means this was not a clean build attempt, which could account for the problem. Please sudo port clean netcdf, then try again. Attach (not paste) the new main.log if it fails again.

comment:6 Changed 8 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:7 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: Trying to port netcdf on El Capitan but failednetcdf @4.4.1: error: cannot combine with previous 'type-name' declaration specifier
Note: See TracTickets for help on using tickets.