[MacPorts] #64316: gcc9 @9.4.0_1 & gcc10 @10.3.0_1: build failure: Undefined symbols for architecture x86_64
MacPorts
noreply at macports.org
Tue Feb 22 18:12:27 UTC 2022
#64316: gcc9 @9.4.0_1 & gcc10 @10.3.0_1: build failure: Undefined symbols for
architecture x86_64
-------------------------+--------------------
Reporter: i0ntempest | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: gcc9 gcc10 |
-------------------------+--------------------
Comment (by cmstuber):
I've been having this issue as well since about the time this ticket was
submitted.
From a clean macports install and having buildfromsource turned on, I
attempted to build gcc9 first. libgcc10 builds successfully but libgcc9
does not, thus gcc9 will fail to build.
{{{
---> Fetching distfiles for libgcc10
---> Verifying checksums for libgcc10
---> Extracting libgcc10
---> Configuring libgcc10
---> Building libgcc10
---> Staging libgcc10 into destroot
---> Installing libgcc10 @10.3.0_2
---> Activating libgcc10 @10.3.0_2
---> Cleaning libgcc10
---> Fetching distfiles for libgcc9
---> Attempting to fetch gcc-9.4.0.tar.xz from
https://distfiles.macports.org/gcc9
---> Verifying checksums for libgcc9
---> Extracting libgcc9
---> Applying patches to libgcc9
---> Configuring libgcc9
Warning: Applying '--without-build-config' workaround to Xcode 13.2.1 /
CLT 13.2.0.0.1.1637719136
Warning: If versions > 12.5 please check if it is still required
---> Building libgcc9
Error: Failed to build libgcc9: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port gcc9 failed
}}}
Without cleanup, I attempted to build gcc10 but got an immediate failure.
{{{
root at mac66 local # port install gcc10
---> Computing dependencies for gcc10
---> Building gcc10
Error: Failed to build gcc10: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/gcc10/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port gcc10 failed
root at mac66 local #
}}}
Attaching terminal input/output, main.logs from libgcc9, gcc9, gcc10.
--
Ticket URL: <https://trac.macports.org/ticket/64316#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list