[MacPorts] #61854: starship: missing lib dependencies
MacPorts
noreply at macports.org
Thu Dec 17 14:44:33 UTC 2020
#61854: starship: missing lib dependencies
--------------------+-------------------------
Reporter: amake | Owner: herbygillot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: starship
--------------------+-------------------------
I recently installed starship on a fresh installation with very few
packages so I happened to notice that it died due to missing libiconv.
In fact it depends on two MacPorts libraries not noted in the portfile:
libz and libiconv
{{{
% otool -L /opt/local/bin/starship
/opt/local/bin/starship:
/System/Library/Frameworks/Security.framework/Versions/A/Security
(compatibility version 1.0.0, current version 59754.41.1)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
(compatibility version 150.0.0, current version 1770.106.0)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
(compatibility version 1.0.0, current version 275.0.0)
/opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0,
current version 9.1.0)
/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current
version 1.2.11)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1292.0.0)
/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current
version 1.0.0)
}}}
libz will always be installed because it is a transitive dependency:
{{{
% port rdeps --no-build starship
The following ports are dependencies of starship @0.47.0_0:
openssl
zlib
}}}
So I don't know if zlib should be explicitly added.
--
Ticket URL: <https://trac.macports.org/ticket/61854>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list