[MacPorts] #65789: libgcc-devel @12-20220828_0+stdlib_flag build failure: use of undeclared identifier 'PTR'

MacPorts noreply at macports.org
Thu Sep 8 21:07:41 UTC 2022


#65789: libgcc-devel @12-20220828_0+stdlib_flag build failure: use of undeclared
identifier 'PTR'
---------------------------+-----------------------
  Reporter:  physicsbeany  |      Owner:  michaelld
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:
      Port:  libgcc-devel  |
---------------------------+-----------------------

Comment (by physicsbeany):

 @cjoines051073, I had some reason for needing libgcc-devel, but I don't
 recall the decision-making process. I just looked to see what depended on
 it, and I got the following:

 {{{
 > port dependents libgcc-devel

 OpenBLAS depends on libgcc-devel
 gcc12 depends on libgcc-devel
 gsl depends on libgcc-devel
 libgcc11 depends on libgcc-devel
 openmpi-default depends on libgcc-devel
 }}}

 I just tried nuking those five ports -- plus their own dependencies -- and
 doing a clean reinstall of a top-level port I know I wanted, openmpi. This
 looked like it was going to avoid libgcc-devel, using libgcc12 instead,
 but that failed too (different error):


 {{{
 > port install openmpi
 --->  Computing dependencies for openmpi
 The following dependencies will be installed:
  gcc12
  libgcc
  libgcc12
  openmpi-default
 Continue? [Y/n]:
 Portfile changed since last build; discarding previous state.
 --->  Fetching distfiles for libgcc12
 --->  Attempting to fetch gcc-12.2.0.tar.xz from
 https://distfiles.macports.org/gcc12
 --->  Verifying checksums for libgcc12
 --->  Extracting libgcc12
 --->  Applying patches to libgcc12
 --->  Configuring libgcc12
 --->  Building libgcc12
 Error: Failed to build libgcc12: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_github
 .com_macports_macports-ports_lang_gcc12/libgcc12/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port openmpi failed
 }}}

 I'm attaching that new log here.

-- 
Ticket URL: <https://trac.macports.org/ticket/65789#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list