[MacPorts] #67572: gperftools: arm: cmake arch check broken, causing build failures

MacPorts noreply at macports.org
Sun Jun 4 18:01:02 UTC 2023


#67572: gperftools: arm: cmake arch check broken, causing build failures
---------------------+------------------------
 Reporter:  mascguy  |      Owner:  mascguy
     Type:  defect   |     Status:  assigned
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.8.1
 Keywords:  arm      |       Port:  gperftools
---------------------+------------------------
 Apparently the CMake-based arch check for ARM differs from the autotools
 version, causing the check to fail during configure:

 {{{
 -- Performing Test ARM
 -- Performing Test ARM - Failed
 }}}

 Resulting in a build failure:

 {{{
 In file included from
 .../gperftools/work/gperftools-2.10/src/profiler.cc:38:
 .../gperftools/work/gperftools-2.10/src/getpc.h:189:49: error: expected
 unqualified-id
   return (void*)signal_ucontext.PC_FROM_UCONTEXT;   // defined in config.h
                                                 ^
 }}}

 Should be relatively easy to fix though.

-- 
Ticket URL: <https://trac.macports.org/ticket/67572>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list