[MacPorts] #65471: libgcc12: rev-upgrade fails due to missing libiconv
MacPorts
noreply at macports.org
Mon Jul 11 16:52:52 UTC 2022
#65471: libgcc12: rev-upgrade fails due to missing libiconv
--------------------+----------------------
Reporter: kencu | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: libgcc12
--------------------+----------------------
after installing libgcc12, rev-upgrade fails:
{{{
% sudo port -v install libgcc
% sudo port -d rev-upgrade
DEBUG: Copying
/Users/cunningh/Library/Preferences/com.apple.dt.Xcode.plist to
/opt/local/var/macports/home/Library/Preferences
---> Scanning binaries for linking errors
DEBUG: Ignoring loadcommand containing @rpath in
/opt/local/lib/libgcc/libasan.8.dylib
Could not open /opt/local/lib/libiconv.2.dylib: Error opening or reading
file (referenced from /opt/local/lib/libgcc/libasan.8.dylib)
DEBUG: Marking /opt/local/lib/libgcc/libasan.8.dylib as broken
DEBUG: Ignoring loadcommand containing @rpath in
/opt/local/lib/libgcc/libasan.8.dylib
DEBUG: Ignoring loadcommand containing @rpath in
/opt/local/lib/libgcc/libgcc_s.1.dylib
DEBUG: Ignoring loadcommand containing @rpath in
/opt/local/lib/libgcc/libgfortran.5.dylib
DEBUG: Ignoring loadcommand containing @rpath in
/opt/local/lib/libgcc/libgfortran.5.dylib
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/lib/libgcc
/libobjc-gnu.4.dylib
DEBUG: Ignoring loadcommand containing @rpath in
/opt/local/lib/libgcc/libstdc++.6.dylib
DEBUG: Marking /opt/local/lib/libgcc/libstdc++.6.dylib as broken
DEBUG: Ignoring loadcommand containing @rpath in
/opt/local/lib/libgcc/libubsan.1.dylib
DEBUG: Marking /opt/local/lib/libgcc/libubsan.1.dylib as broken
DEBUG: Ignoring loadcommand containing @rpath in
/opt/local/lib/libgcc/libubsan.1.dylib
---> Found 3 broken files, matching files to ports
---> Found 1 broken port, determining rebuild order
DEBUG: Broken: libgcc12
DEBUG: Processing port libgcc12 @0:12.1.0_1+enable_stdlib_flag
DEBUG: Processing port libgcc @3:6.0_0
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: libgcc12 @12.1.0+enable_stdlib_flag
}}}
manually installing {{{libiconv}}} fixes rev-upgrade.
I'm not sure if libgcc12/gcc12 can be made to ignore MacPorts' libiconv
during the build. If not, or if we don't mind the dep, it looks like it
needs a dep on libiconv.
--
Ticket URL: <https://trac.macports.org/ticket/65471>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list