[MacPorts] #63530: libhandy @1.2.0_0: Compiler mismatch invoking g-ir-scanner

MacPorts noreply at macports.org
Wed Sep 22 23:43:23 UTC 2021


#63530: libhandy @1.2.0_0: Compiler mismatch invoking g-ir-scanner
---------------------------------------------+----------------------
  Reporter:  evanmiller                      |      Owner:  dbevans
      Type:  defect                          |     Status:  assigned
  Priority:  Normal                          |  Milestone:
 Component:  ports                           |    Version:  2.7.1
Resolution:                                  |   Keywords:
      Port:  libhandy gobject-introspection  |
---------------------------------------------+----------------------

Comment (by kencu):

 a lot of Portfiles that use g-ir-scanner have this block added to them:
 {{{
 # uses g-ir-scanner, which uses $CC from env
 if {${universal_possible} && [variant_isset universal]} {
     foreach arch ${configure.universal_archs} {
         lappend merger_build_env(${arch})  "CC=${configure.cc} -arch
 ${arch}"
         lappend merger_destroot_env(${arch})  "CC=${configure.cc} -arch
 ${arch}"
     }
 } else {
     build.env-append       "CC=${configure.cc} ${configure.cc_archflags}"
     destroot.env-append    "CC=${configure.cc} ${configure.cc_archflags}"
 }

 }}}

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


More information about the macports-tickets mailing list