[MacPorts] #70195: game-porting-toolkit portfile does not parse: can't read "configure.cxx_archflags.": no such variable

MacPorts noreply at macports.org
Fri Oct 25 07:17:38 UTC 2024


#70195: game-porting-toolkit portfile does not parse: can't read
"configure.cxx_archflags.": no such variable
-------------------------------------------------+-------------------------
  Reporter:  barracuda156                        |      Owner:  Gcenx
      Type:  defect                              |     Status:  assigned
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:  2.9.3
Resolution:                                      |   Keywords:
      Port:  game-porting-toolkit, wine-stable,  |
  wine-devel                                     |
-------------------------------------------------+-------------------------
Changes (by jmroot):

 * status:  new => assigned
 * owner:  (none) => Gcenx
 * port:  game-porting-toolkit => game-porting-toolkit, wine-stable, wine-
     devel
 * cc: Gcenx (removed)


Comment:

 This appears to happen any time build_arch is not either arm64 or x86_64,
 and also affects wine-stable and wine-devel.
 {{{
 % port -d info game-porting-toolkit build_arch=i386
 DEBUG: Opening port in directory: [***]/devel/game-porting-toolkit
 DEBUG: OS darwin/23.6.0 (macOS 14.7) arch i386
 DEBUG: Re-registering default for configure.universal_args
 DEBUG: Re-registering default for configure.cc_archflags
 DEBUG: Re-registering default for configure.objc_archflags
 DEBUG: Re-registering default for configure.cxx_archflags
 DEBUG: Re-registering default for configure.objcxx_archflags
 DEBUG: Re-registering default for configure.fc_archflags
 DEBUG: Re-registering default for configure.f90_archflags
 DEBUG: Re-registering default for configure.f77_archflags
 DEBUG: Re-registering default for configure.ld_archflags
 DEBUG: Re-registering default for configure.universal_cflags
 DEBUG: Re-registering default for configure.universal_objcflags
 DEBUG: Re-registering default for configure.universal_cxxflags
 DEBUG: Re-registering default for configure.universal_objcxxflags
 DEBUG: Re-registering default for configure.universal_cppflags
 DEBUG: Re-registering default for configure.universal_ldflags
 DEBUG: Sourcing PortGroup muniversal 1.1 from
 [***]/_resources/port1.0/group/muniversal-1.1.tcl
 DEBUG: muniversal: < 2 archs supported, not adding universal variant
 DEBUG: Executing variant gstreamer provides gstreamer
 DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
 DEBUG: Finished running callback
 portconfigure::add_automatic_compiler_dependencies
 DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
 DEBUG: Finished running callback
 portbuild::add_automatic_buildsystem_dependencies
 DEBUG: Running callback portstartupitem::add_notes
 DEBUG: Finished running callback portstartupitem::add_notes
 DEBUG: Running callback muniversal::add_compiler_flags
 DEBUG: can't read "configure.cxx_archflags.": no such variable
     while executing
 "set $option"
     (procedure "option" line 10)
     invoked from within
 "option configure.${tool}_archflags.[option configure.build_arch]"
     (procedure "muniversal::add_compiler_flags" line 5)
     invoked from within
 "${callback}"
     (procedure "port::run_callbacks" line 5)
     invoked from within
 "port::run_callbacks"
     invoked from within
 "$workername eval [list port::run_callbacks]"
     (procedure "mportopen" line 67)
     invoked from within
 "mportopen $porturl $options $merged_variations"
 Error: Unable to open port: can't read "configure.cxx_archflags.": no such
 variable
 }}}

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


More information about the macports-tickets mailing list