[MacPorts] #68055: codeblocks fails to build with gcc12 on 10.6 when build as ppc: error: static assertion failed: comparison object must be invocable as const

MacPorts noreply at macports.org
Wed Mar 27 05:13:26 UTC 2024


#68055: codeblocks fails to build with gcc12 on 10.6 when build as ppc: error:
static assertion failed: comparison object must be invocable as const
---------------------------+-----------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:  snowleopard ppc
      Port:  codeblocks    |
---------------------------+-----------------------------

Comment (by barracuda156):

 Replying to [comment:3 kencu]:

 Yeah, `codeblocks-devel` installs fine from existing portfile. However, I
 get this error now:

 {{{
 36-100% /Applications/MacPorts/CodeBlocks.app/Contents/MacOS/CodeBlocks
 Fatal Error: Mismatch between the program and library build versions
 detected.
 The library used 3.0 (wchar_t,compiler with C++ ABI 1002,wx
 containers,compatible with 2.8),
 and your program used 3.0 (wchar_t,compiler with C++ ABI 1018,wx
 containers,compatible with 2.8).
 }}}

 I have seen it earlier with `amule`, where I had to fallback to `gcc-4.2`.
 Here that does not work, we need C++11.
 What is the right way to address this?

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


More information about the macports-tickets mailing list