[MacPorts] #66234: taglib fails to build with gcc-4.2

MacPorts noreply at macports.org
Sat Nov 12 03:25:08 UTC 2022

#66234: taglib fails to build with gcc-4.2
  Reporter:  barracuda156  |      Owner:  ryandesign
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.0
Resolution:                |   Keywords:  powerpc, leopard, snowleopard
      Port:  taglib        |

Comment (by barracuda156):

 Looks like it uses cppunit without tests variant being chosen.

 Adding `compiler.cxx_standard 2011` for a general cases fixes the build.
 Then, to fix universal we also need `muniversal 1.0`, or if it breaks
 Clang builds, then:
 platform darwin powerpc {
     PortGroup muniversal 1.0


 After these two fixes made, it builds fine:
 36-43:~ svacchanda$ port -v installed taglib
 The following ports are currently installed:
   taglib @1.13_0+universal (active) requested_variants='+universal'
 platform='darwin 9' archs='ppc ppc64' date='2022-11-12T11:24:44+0800'

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

More information about the macports-tickets mailing list