[MacPorts] #64616: glm fails for ppc on 10.6.8 invoking a wrong compiler: #error "GLM requires GCC 4.6 or higher"

MacPorts noreply at macports.org
Sun Feb 6 12:48:24 UTC 2022


#64616: glm fails for ppc on 10.6.8 invoking a wrong compiler: #error "GLM requires
GCC 4.6 or higher"
---------------------------+-------------------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  powerpc, snowleopard, rosetta
      Port:  glm           |
---------------------------+-------------------------------------------
Description changed by barracuda156:

Old description:

> The log has following errors:
>
> {{{
> error: #error "GLM requires GCC 4.6 or higher"
> error: #error "GLM_COMPILER undefined, your compiler may not be supported
> by GLM. Add #define GLM_COMPILER 0 to ignore this message."
> }}}
>
> I have gcc7 and gcc6 installed, it should have tried using those.
> Instead, gcc-4.2.1 is invoked, which fails.

New description:

 The log has following errors:

 {{{
 error: #error "GLM requires GCC 4.6 or higher"
 error: #error "GLM_COMPILER undefined, your compiler may not be supported
 by GLM. Add #define GLM_COMPILER 0 to ignore this message."
 }}}

 I have gcc7 and gcc6 installed, it should have tried using those. Instead,
 gcc-4.2.1 is invoked, which fails.

 In fact port file permits that, banning only early clang:

 `compiler.blacklist  {clang < 600}`

 Instead gcc < 4.6 must be blacklisted as well.

--

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


More information about the macports-tickets mailing list