Opened 5 months ago
Closed 2 weeks ago
#70195 closed defect (fixed)
game-porting-toolkit portfile does not parse: can't read "configure.cxx_archflags.": no such variable
Reported by: | barracuda156 | Owned by: | Gcenx |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | Cc: | herbygillot (Herby Gillot), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) | |
Port: | game-porting-toolkit, wine-stable, wine-devel |
Description
Failed to parse file devel/game-porting-toolkit/Portfile: can't read "configure.cxx_archflags.": no such variable
Change History (5)
comment:1 Changed 5 months ago by Gcenx
comment:2 Changed 5 months ago by jmroot (Joshua Root)
Cc: | Gcenx MarcusCalhoun-Lopez added |
---|
You need to provide debug output and some info about your system configuration in cases like this where there is no log. The debug output will have a backtrace that shows exactly where the error is happening.
Based on the variable name and your hardware of choice, I can only assume this is probably happening in muniversal on systems that can't run x86_64 code.
comment:3 Changed 5 months ago by kencu (Ken)
presumably related to the portfile setting this
muniversal.arch_flag no
and then going down some previously-untested code pathway on your system….
comment:4 Changed 2 weeks ago by jmroot (Joshua Root)
Cc: | Gcenx removed |
---|---|
Owner: | set to Gcenx |
Port: | wine-stable wine-devel added |
Status: | new → assigned |
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
comment:5 Changed 2 weeks ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
You’ve tagged the wrong person, I’m maintainer of this port.
If you look over the Portfile you’ll see that
configure.cxx_archflags
isn’t set anywhere.