Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#61032 closed defect (fixed)

udunits2: error: implicitly declaring library function 'strdup' with type 'char *(const char *)' [-Werror,-Wimplicit-function-declaration]

Reported by: caseyyoungflesh (Casey Youngflesh) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc: chrstphrchvz (Christopher Chavez), scrallen, thiagoveloso (Thiago V. dos Santos)
Port: udunits2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I'm getting an error when trying to install udunit2 on macOS 10.15.6.

 => sudo port install udunits2
--->  Computing dependencies for udunits2
--->  Fetching archive for udunits2
--->  Attempting to fetch udunits2-2.2.27.6_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/udunits2
--->  Attempting to fetch udunits2-2.2.27.6_0.darwin_19.x86_64.tbz2 from https://kmq.jp.packages.macports.org/udunits2
--->  Attempting to fetch udunits2-2.2.27.6_0.darwin_19.x86_64.tbz2 from https://mse.uk.packages.macports.org/udunits2
--->  Building udunits2
Error: Failed to build udunits2: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port udunits2 failed

The contents of main.log:

version:1
:debug:sysinfo macOS 10.15 (darwin/19.6.0) arch i386
:debug:sysinfo MacPorts 2.6.3
:debug:sysinfo Xcode 11.6
:debug:sysinfo SDK 10.15
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.15
:debug:main epoch: in tree: 0 installed: 0
:debug:main cmake 3.18.1_1 exists in the ports tree
:debug:main cmake 3.18.1_1  is the latest installed
:debug:main cmake 3.18.1_1  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/cmake
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/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/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Sourcing PortGroup xcodeversion 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
:debug:main Sourcing PortGroup gitlab 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/gitlab-1.0.tcl
:debug:main Sourcing PortGroup legacysupport 1.1 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/legacysupport-1.1.tcl
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main Re-registering default for livecheck.regex
: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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main Running callback legacysupport::add_legacysupport
:debug:main Finished running callback legacysupport::add_legacysupport
:debug:main No need to upgrade! cmake 3.18.1_1 >= cmake 3.18.1_1
:debug:main epoch: in tree: 1 installed: 1
:debug:main libcxx 5.0.1_4 exists in the ports tree
:debug:main libcxx 5.0.1_4  is the latest installed
:debug:main libcxx 5.0.1_4  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/libcxx
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
:debug:main Sourcing PortGroup active_variants 1.1 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/active_variants-1.1.tcl
: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
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! libcxx 5.0.1_4 >= libcxx 5.0.1_4
:debug:main epoch: in tree: 0 installed: 0
:debug:main curl 7.72.0_0 exists in the ports tree
:debug:main curl 7.72.0_0 +ssl is the latest installed
:debug:main curl 7.72.0_0 +ssl is active
:debug:main Merging existing variants '+ssl' into variants
:debug:main new fully merged portvariants: ssl +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/curl
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/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/macports/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
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! curl 7.72.0_0 >= curl 7.72.0_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libidn2 2.3.0_0 exists in the ports tree
:debug:main libidn2 2.3.0_0  is the latest installed
:debug:main libidn2 2.3.0_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/mail/libidn2
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! libidn2 2.3.0_0 >= libidn2 2.3.0_0
:debug:main epoch: in tree: 2 installed: 2
:debug:main gettext 0.19.8.1_2 exists in the ports tree
:debug:main gettext 0.19.8.1_2  is the latest installed
:debug:main gettext 0.19.8.1_2  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/gettext
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/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/macports/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/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main compiler clang 1103.0.32.62 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
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! gettext 0.19.8.1_2 >= gettext 0.19.8.1_2
:debug:main epoch: in tree: 0 installed: 0
:debug:main libiconv 1.16_1 exists in the ports tree
:debug:main libiconv 1.16_1  is the latest installed
:debug:main libiconv 1.16_1  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/textproc/libiconv
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/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/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main Sourcing PortGroup xcodeversion 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/xcodeversion-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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! libiconv 1.16_1 >= libiconv 1.16_1
:debug:main epoch: in tree: 0 installed: 0
:debug:main ncurses 6.2_0 exists in the ports tree
:debug:main ncurses 6.2_0  is the latest installed
:debug:main ncurses 6.2_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/ncurses
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! ncurses 6.2_0 >= ncurses 6.2_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libunistring 0.9.10_0 exists in the ports tree
:debug:main libunistring 0.9.10_0  is the latest installed
:debug:main libunistring 0.9.10_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/textproc/libunistring
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/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/macports/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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! libunistring 0.9.10_0 >= libunistring 0.9.10_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libpsl 0.21.0-20200315_0 exists in the ports tree
:debug:main libpsl 0.21.0-20200315_0  is the latest installed
:debug:main libpsl 0.21.0-20200315_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/libpsl
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Sourcing PortGroup github 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/github-1.0.tcl
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main Re-registering default for livecheck.regex
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! libpsl 0.21.0-20200315_0 >= libpsl 0.21.0-20200315_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main glib2 2.58.3_0 exists in the ports tree
:debug:main glib2 2.58.3_0 +x11 is the latest installed
:debug:main glib2 2.58.3_0 +x11 is active
:debug:main Merging existing variants '+x11' into variants
:debug:main new fully merged portvariants: x11 +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/glib2
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main compiler clang 1103.0.32.62 not blacklisted because it doesn't match {clang < 600}
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main adding the default universal variant
:debug:main Executing variant x11 provides x11
: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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! glib2 2.58.3_0 >= glib2 2.58.3_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libffi 3.2.1_0 exists in the ports tree
:debug:main libffi 3.2.1_0  is the latest installed
:debug:main libffi 3.2.1_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/libffi
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/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/macports/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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! libffi 3.2.1_0 >= libffi 3.2.1_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main pcre 8.44_0 exists in the ports tree
:debug:main pcre 8.44_0  is the latest installed
:debug:main pcre 8.44_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/pcre
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! pcre 8.44_0 >= pcre 8.44_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main bzip2 1.0.8_0 exists in the ports tree
:debug:main bzip2 1.0.8_0  is the latest installed
:debug:main bzip2 1.0.8_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/archivers/bzip2
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! bzip2 1.0.8_0 >= bzip2 1.0.8_0
:debug:main epoch: in tree: 20090923 installed: 20090923
:debug:main libedit 20191231-3.1_0 exists in the ports tree
:debug:main libedit 20191231-3.1_0  is the latest installed
:debug:main libedit 20191231-3.1_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/libedit
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/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/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! libedit 20191231-3.1_0 >= libedit 20191231-3.1_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main zlib 1.2.11_0 exists in the ports tree
:debug:main zlib 1.2.11_0  is the latest installed
:debug:main zlib 1.2.11_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/archivers/zlib
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Sourcing PortGroup xcodeversion 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/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/macports/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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! zlib 1.2.11_0 >= zlib 1.2.11_0
:debug:main epoch: in tree: 1 installed: 1
:debug:main openssl 1.1.1g_0 exists in the ports tree
:debug:main openssl 1.1.1g_0  is the latest installed
:debug:main openssl 1.1.1g_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/openssl
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/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/macports/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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! openssl 1.1.1g_0 >= openssl 1.1.1g_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main curl-ca-bundle 7.72.0_0 exists in the ports tree
:debug:main curl-ca-bundle 7.72.0_0  is the latest installed
:debug:main curl-ca-bundle 7.72.0_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/curl
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
: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
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! curl-ca-bundle 7.72.0_0 >= curl-ca-bundle 7.72.0_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main expat 2.2.9_0 exists in the ports tree
:debug:main expat 2.2.9_0  is the latest installed
:debug:main expat 2.2.9_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/textproc/expat
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/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/macports/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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! expat 2.2.9_0 >= expat 2.2.9_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libarchive 3.4.3_0 exists in the ports tree
:debug:main libarchive 3.4.3_0  is the latest installed
:debug:main libarchive 3.4.3_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/archivers/libarchive
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! libarchive 3.4.3_0 >= libarchive 3.4.3_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libxml2 2.9.10_1 exists in the ports tree
:debug:main libxml2 2.9.10_1  is the latest installed
:debug:main libxml2 2.9.10_1  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/textproc/libxml2
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! libxml2 2.9.10_1 >= libxml2 2.9.10_1
:debug:main epoch: in tree: 0 installed: 0
:debug:main icu 67.1_2 exists in the ports tree
:debug:main icu 67.1_2  is the latest installed
:debug:main icu 67.1_2  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/icu
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/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/macports/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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! icu 67.1_2 >= icu 67.1_2
:debug:main epoch: in tree: 0 installed: 0
:debug:main xz 5.2.5_0 exists in the ports tree
:debug:main xz 5.2.5_0  is the latest installed
:debug:main xz 5.2.5_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/archivers/xz
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! xz 5.2.5_0 >= xz 5.2.5_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main lzo2 2.10_0 exists in the ports tree
:debug:main lzo2 2.10_0  is the latest installed
:debug:main lzo2 2.10_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/archivers/lzo2
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/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/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! lzo2 2.10_0 >= lzo2 2.10_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main lz4 1.9.2_0 exists in the ports tree
:debug:main lz4 1.9.2_0  is the latest installed
:debug:main lz4 1.9.2_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/archivers/lz4
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Sourcing PortGroup github 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/github-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/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/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main Re-registering default for livecheck.regex
: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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! lz4 1.9.2_0 >= lz4 1.9.2_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main zstd 1.4.5_0 exists in the ports tree
:debug:main zstd 1.4.5_0  is the latest installed
:debug:main zstd 1.4.5_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/archivers/zstd
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Sourcing PortGroup github 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/github-1.0.tcl
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main Re-registering default for livecheck.regex
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! zstd 1.4.5_0 >= zstd 1.4.5_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libuv 1.38.1_0 exists in the ports tree
:debug:main libuv 1.38.1_0  is the latest installed
:debug:main libuv 1.38.1_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/libuv
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Sourcing PortGroup github 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/github-1.0.tcl
:debug:main Removing legacy build support
:debug:main Sourcing PortGroup legacysupport 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/legacysupport-1.0.tcl
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main Re-registering default for livecheck.regex
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main Running callback add_legacysupport
:debug:main Removing legacy build support
:debug:main Finished running callback add_legacysupport
:debug:main No need to upgrade! libuv 1.38.1_0 >= libuv 1.38.1_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main cunit 2.1-3_1 exists in the ports tree
:debug:main cunit 2.1-3_1  is the latest installed
:debug:main cunit 2.1-3_1  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/cunit
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/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 Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! cunit 2.1-3_1 >= cunit 2.1-3_1
:msg:main --->  Computing dependencies for udunits2:info:main .:debug:main udunits2 has no conflicts
:debug:main Searching for dependency: cmake
:debug:main Found Dependency: receipt exists for cmake
:debug:main Searching for dependency: expat
:debug:main Found Dependency: receipt exists for expat
:debug:main Searching for dependency: cunit
:debug:main Found Dependency: receipt exists for cunit
:debug:main Executing org.macports.main (udunits2)
:debug:main dropping privileges: euid changed to 502, egid changed to 501.
:debug:archivefetch archivefetch phase started at Wed Aug 19 16:08:02 PDT 2020
:msg:archivefetch --->  Fetching archive for udunits2
:debug:archivefetch Executing org.macports.archivefetch (udunits2)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  udunits2-2.2.27.6_0.darwin_19.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch udunits2-2.2.27.6_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/udunits2
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 
:msg:archivefetch --->  Attempting to fetch udunits2-2.2.27.6_0.darwin_19.x86_64.tbz2 from https://kmq.jp.packages.macports.org/udunits2
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch udunits2-2.2.27.6_0.darwin_19.x86_64.tbz2 from https://mse.uk.packages.macports.org/udunits2
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.fetch (udunits2)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.checksum (udunits2)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.extract (udunits2)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.patch (udunits2)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.configure (udunits2)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Wed Aug 19 16:08:05 PDT 2020
:notice:build --->  Building udunits2
:debug:build Executing org.macports.build (udunits2)
:debug:build Environment: 
:debug:build CC_PRINT_OPTIONS='YES'
:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/.CC_PRINT_OPTIONS'
:debug:build CPATH='/opt/local/include'
:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:build LIBRARY_PATH='/opt/local/lib'
:debug:build MACOSX_DEPLOYMENT_TARGET='10.15'
:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk'
:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build" && /usr/bin/make -j8 -w all VERBOSE=ON 
:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build" && /usr/bin/make -j8 -w all VERBOSE=ON 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build'
:info:build /opt/local/bin/cmake -S/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/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_macports_release_tarballs_ports_science_udunits2/udunits2/work/build/CMakeFiles /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build//CMakeFiles/progress.marks
:info:build /Library/Developer/CommandLineTools/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_macports_release_tarballs_ports_science_udunits2/udunits2/work/build'
:info:build /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/udunits2_doc.dir/build.make CMakeFiles/udunits2_doc.dir/depend
:info:build /Library/Developer/CommandLineTools/usr/bin/make  -f lib/CMakeFiles/libudunits2.dir/build.make lib/CMakeFiles/libudunits2.dir/depend
:info:build /Library/Developer/CommandLineTools/usr/bin/make  -f lib/CMakeFiles/udunits2lib_doc.dir/build.make lib/CMakeFiles/udunits2lib_doc.dir/depend
:info:build /Library/Developer/CommandLineTools/usr/bin/make  -f prog/CMakeFiles/udunits2prog_doc.dir/build.make prog/CMakeFiles/udunits2prog_doc.dir/depend
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build'
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build/CMakeFiles/udunits2_doc.dir/DependInfo.cmake --color=
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build'
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6/lib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build/lib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build/lib/CMakeFiles/udunits2lib_doc.dir/DependInfo.cmake --color=
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build'
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6/prog /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build/prog /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build/prog/CMakeFiles/udunits2prog_doc.dir/DependInfo.cmake --color=
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build'
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6/lib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build/lib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build/lib/CMakeFiles/libudunits2.dir/DependInfo.cmake --color=
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build'
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build'
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build'
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build'
:info:build /Library/Developer/CommandLineTools/usr/bin/make  -f lib/CMakeFiles/udunits2lib_doc.dir/build.make lib/CMakeFiles/udunits2lib_doc.dir/build
:info:build /Library/Developer/CommandLineTools/usr/bin/make  -f prog/CMakeFiles/udunits2prog_doc.dir/build.make prog/CMakeFiles/udunits2prog_doc.dir/build
:info:build /Library/Developer/CommandLineTools/usr/bin/make  -f lib/CMakeFiles/libudunits2.dir/build.make lib/CMakeFiles/libudunits2.dir/build
:info:build /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/udunits2_doc.dir/build.make CMakeFiles/udunits2_doc.dir/build
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build'
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build'
:info:build make[2]: Nothing to be done for `prog/CMakeFiles/udunits2prog_doc.dir/build'.
:info:build make[2]: Nothing to be done for `lib/CMakeFiles/udunits2lib_doc.dir/build'.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build'
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build'
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build'
:info:build make[2]: Nothing to be done for `CMakeFiles/udunits2_doc.dir/build'.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build'
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build'
:info:build [ 13%] Built target udunits2lib_doc
:info:build [ 13%] Building C object lib/CMakeFiles/libudunits2.dir/parser.c.o
:info:build [ 13%] Built target udunits2_doc
:info:build [ 21%] Building C object lib/CMakeFiles/libudunits2.dir/unitAndId.c.o
:info:build [ 26%] Building C object lib/CMakeFiles/libudunits2.dir/xml.c.o
:info:build [ 26%] Building C object lib/CMakeFiles/libudunits2.dir/formatter.c.o
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build/lib && /usr/bin/clang -Dlibudunits2_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6/lib/. -I/opt/local/include -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -DNDEBUG -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.15 -fPIC -o CMakeFiles/libudunits2.dir/parser.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6/lib/parser.c
:info:build [ 34%] Building C object lib/CMakeFiles/libudunits2.dir/converter.c.o
:info:build [ 34%] Built target udunits2prog_doc
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build/lib && /usr/bin/clang -Dlibudunits2_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6/lib/. -I/opt/local/include -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -DNDEBUG -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.15 -fPIC -o CMakeFiles/libudunits2.dir/xml.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6/lib/xml.c
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build/lib && /usr/bin/clang -Dlibudunits2_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6/lib/. -I/opt/local/include -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -DNDEBUG -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.15 -fPIC -o CMakeFiles/libudunits2.dir/unitAndId.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6/lib/unitAndId.c
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build/lib && /usr/bin/clang -Dlibudunits2_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6/lib/. -I/opt/local/include -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -DNDEBUG -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.15 -fPIC -o CMakeFiles/libudunits2.dir/formatter.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6/lib/formatter.c
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build/lib && /usr/bin/clang -Dlibudunits2_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6/lib/. -I/opt/local/include -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -DNDEBUG -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.15 -fPIC -o CMakeFiles/libudunits2.dir/converter.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6/lib/converter.c
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6/lib/unitAndId.c:59:18: error: implicitly declaring library function 'strdup' with type 'char *(const char *)' [-Werror,-Wimplicit-function-declaration]
:info:build             entry->id = strdup(id);
:info:build                         ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6/lib/unitAndId.c:59:18: note: include the header <string.h> or explicitly provide a declaration for 'strdup'
:info:build 1 error generated.
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6/lib/converter.c:187:12: error: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
:info:build     return snprintf(buf, max, "%s", variable);
:info:build            ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6/lib/converter.c:187:12: note: include the header <stdio.h> or explicitly provide a declaration for 'snprintf'
:info:build make[2]: *** [lib/CMakeFiles/libudunits2.dir/unitAndId.c.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build parser.y:100:21: error: implicitly declaring library function 'strdup' with type 'char *(const char *)' [-Werror,-Wimplicit-function-declaration]
:info:build     _errorMessage = strdup(s);
:info:build                     ^
:info:build parser.y:100:21: note: include the header <string.h> or explicitly provide a declaration for 'strdup'
:info:build 1 error generated.
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6/lib/formatter.c:234:8: error: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
:info:build             : snprintf(buf, size, "%s", id);
:info:build               ^
:info:build parser.c:1506:16/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6/lib/formatter.c: error: implicit declaration of function 'utlex' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build :      yychar = YYLEX;234
:info:build :               ^8
:info:build : note: include the header <stdio.h> or explicitly provide a declaration for 'snprintf'
:info:build parser.c:862:16: note: expanded from macro 'YYLEX'
:info:build # define YYLEX yylex ()
:info:build                ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6/lib/parser.c:63:17: note: expanded from macro 'yylex'
:info:build #define yylex   utlex
:info:build                 ^
:info:build parser.y:366:8: error: implicit declaration of function 'utGetPrefixByName' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build                         if (utGetPrefixByName(_unitSystem, cp, &value, &nchar)
:info:build                             ^
:info:build parser.y:373:9: error: implicit declaration of function 'utGetPrefixBySymbol' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build                                     utGetPrefixBySymbol(_unitSystem, cp, &value,
:info:build                                     ^
:info:build make[2]: *** [lib/CMakeFiles/libudunits2.dir/converter.c.o] Error 1
:info:build parser.y:373:9: note: did you mean 'utGetPrefixByName'?
:info:build parser.y:366:8: note: 'utGetPrefixByName' declared here
:info:build                         if (utGetPrefixByName(_unitSystem, cp, &value, &nchar)
:info:build                             ^
:info:build 1 error generated.
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6/lib/xml.c:1817:15: error: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
:info:build         (void)snprintf(buf, sizeof(buf),
:info:build               ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6/lib/xml.c:1817:15: note: include the header <stdio.h> or explicitly provide a declaration for 'snprintf'
:info:build 1 error generated.
:info:build make[2]: *** [lib/CMakeFiles/libudunits2.dir/formatter.c.o] Error 1
:info:build make[2]: *** [lib/CMakeFiles/libudunits2.dir/xml.c.o] Error 1
:info:build 4 errors generated.
:info:build make[2]: *** [lib/CMakeFiles/libudunits2.dir/parser.c.o] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build'
:info:build make[1]: *** [lib/CMakeFiles/libudunits2.dir/all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/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_macports_release_tarballs_ports_science_udunits2/udunits2/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/work/build" && /usr/bin/make -j8 -w all VERBOSE=ON 
:info:build Exit code: 2
:error:build Failed to build udunits2: command execution failed
:debug:build Error code: CHILDSTATUS 59936 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_udunits2/udunits2/main.log for details.

Attachments (1)

main.log (711.7 KB) - added by caseyyoungflesh (Casey Youngflesh) 4 years ago.
main.log

Download all attachments as: .zip

Change History (13)

comment:1 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

The full main.log should be attached rather than put in the description. The ticket hasn't been assigned to the port's maintainer, so they have yet to be notified of this issue.

I notice the upstream GitHub project appears to have commits corresponding to newer releases, but git tags have not been created for them: https://github.com/Unidata/UDUNITS-2/issues/94

I attempted to update the port to 2.2.27.14, which appears to address a few of the errors: https://github.com/macports/macports-ports/pull/8155. But it still runs into the issue of undefined snprintf() for lib/converter.c, despite the file having #include <stdio.h>: https://github.com/Unidata/UDUNITS-2/blob/00ce1e1/lib/converter.c#L25

comment:2 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: set to tenomoto
Status: newassigned
Summary: Installation fail udunits2udunits2: error: implicitly declaring library function 'strdup' with type 'char *(const char *)' [-Werror,-Wimplicit-function-declaration]

Changed 4 years ago by caseyyoungflesh (Casey Youngflesh)

Attachment: main.log added

main.log

comment:4 Changed 4 years ago by caseyyoungflesh (Casey Youngflesh)

Great, thanks. Log file added as an attachment.

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

Thank for reporting. My student reported presumably the same problem, but I can't reproduce it. The common factor between my student's and your environment is the beta version of command line tools. I must confess that I'm to still used to a pull request in MacPorts. I know what it is and have even sent a few, but I'm not sure how pull requests fit with the old ticket-based workflow.

comment:6 Changed 4 years ago by scrallen

Cc: scrallen added

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

Resolution: fixed
Status: assignedclosed

In 3f7d1f697a54aef1b96834a6d41d6a30ec9ccb86/macports-ports (master):

udunits2: adhoc fix to avoid implicit declaration of snprintf()

Closes: #61032

comment:8 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

The warnings for snprintf() and strdup() can be dealt with by defining _XOPEN_SOURCE as 600 rather than 500. But there is still a file with a deliberate implicit function declaration (parser.c uses yylex() at line 1394, but yylex() isn't defined until scanner.c is included at line 2152); I'm not sure there's a better way of dealing with this than -Wno-error=implicit-function-declaration.

Version 0, edited 4 years ago by chrstphrchvz (Christopher Chavez) (next)

comment:9 Changed 4 years ago by jmroot (Joshua Root)

Implicit declaration has been invalid since C99, and will cause actual ABI breakage on arm64. The only viable fix is to add a function prototype before the function is called.

comment:10 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

In ff44f5011d9f807aa20824f62bc03d7318fb39f6/macports-ports (master):

udunits2: update to 2.2.27.14

Add patch defining _XOPEN_SOURCE to 600 to allow using
snprintf() and strdup()
Still need -Wno-error=implicit-function-declaration because of
deliberate implicit declaration of yylex() in parser.c
See: #61032

comment:11 Changed 4 years ago by thiagoveloso (Thiago V. dos Santos)

Quick report here: udunits2 v2.2.27.14 breaks my system - macOS 10.15.6 with XCode 11.6 and 12 as well.

It installs fine, but most applications depending on it won't work because of an unset "UDUNITS2_XML_PATH" environment variable. Tried manually setting that variable, but the only fix for me was going back to v2.2.27.6.

comment:12 in reply to:  11 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: thiagoveloso added

Replying to thiagoveloso:

Quick report here: udunits2 v2.2.27.14 breaks my system - macOS 10.15.6 with XCode 11.6 and 12 as well.

It installs fine, but most applications depending on it won't work because of an unset "UDUNITS2_XML_PATH" environment variable. Tried manually setting that variable, but the only fix for me was going back to v2.2.27.6.

Please file a new bug report about that. This ticket was about a different issue and has been resolved.

Note: See TracTickets for help on using tickets.