Opened 4 years ago

Closed 4 years ago

#60622 closed defect (worksforme)

udunits @2-2.2.27.6_0.darwin_19.x86_64: Configure error - build failure

Reported by: aekiss (Andrew Kiss) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: takeshi@…, thiagoveloso@…
Port: udunits2

Description

Thanks for maintaining this port.

sudo port install udunits

fails on MacOS Catalina 10.15.5 (19F101) and Xcode 11.5 (11E608c) with

Error: Failed to configure udunits2: configure failure: command execution failed

and

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_udunits2/udunits2/main.log

contains

:info:configure dyld: Library not loaded: /opt/local/lib/libzstd.1.dylib
:info:configure   Referenced from: /opt/local/lib/libarchive.13.dylib
:info:configure   Reason: image not found
:info:configure sh: line 1: 18458 Abort trap: 6           /opt/local/bin/cmake -DCMAKE_INSTALL_PREFIX='/opt/local' -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_C_COMPILER="$CC" -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_INSTALL_RPATH=/opt/local/lib -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/opt/local;/usr" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -Wno-dev -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.15" -DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_udunits2/udunits2/work/build" && /opt/local/bin/cmake -DCMAKE_INSTALL_PREFIX='/opt/local' -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_C_COMPILER="$CC" -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_INSTALL_RPATH=/opt/local/lib -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/opt/local;/usr" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -Wno-dev -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.15" -DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_udunits2/udunits2/work/UDUNITS-2-2.2.27.6
:info:configure Exit code: 134
:error:configure Failed to configure udunits2: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure     while executing
:debug:configure "$procedure $targetname"
:error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_udunits2/udunits2/main.log for details.

this failure also breaks ncview installation

Attachments (1)

main.log (16.1 KB) - added by aekiss (Andrew Kiss) 4 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_udunits2/udunits2/main.log

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by aekiss (Andrew Kiss)

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_udunits2/udunits2/main.log

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

Ok, well... why doesn't /opt/local/lib/libzstd.1.dylib exist on your system? It's supposed to be installed by zstd, which should be installed on your system because it is a dependency of libarchive which is a dependency of cmake which is a dependency of udunits2.

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

Port: ncview removed

comment:3 Changed 4 years ago by aekiss (Andrew Kiss)

My apologies - there must have been something wonky with my macports installation. The problem was resolved by uninstalling everything and trying again. Thanks for your time - feel free to close the ticket.

comment:4 Changed 4 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.