Opened 6 years ago
Closed 20 months ago
#57421 closed defect (fixed)
gmtl @0.6.1: AttributeError: 'NoneType' object has no attribute 'group'
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | mccdo@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | gmtl |
Description
Executing: cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_gmtl/gmtl/work/gmtl-0.6.1" && scons -j8 DEBUG: system: cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_gmtl/gmtl/work/gmtl-0.6.1" && scons -j8 scons: Reading SConscript files ... Building GMTL Version: 0.6.1 Install prefix: /usr/local AttributeError: 'NoneType' object has no attribute 'group': File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_gmtl/gmtl/work/gmtl-0.6.1/SConstruct", line 622: baseEnv = BuildPlatformEnv() File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_gmtl/gmtl/work/gmtl-0.6.1/SConstruct", line 280: env = BuildDarwinEnvironment() File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_gmtl/gmtl/work/gmtl-0.6.1/SConstruct", line 143: compiler_ver = match_obj.group(1) Command failed: cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_gmtl/gmtl/work/gmtl-0.6.1" && scons -j8 Exit code: 2
Change History (4)
comment:1 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)
This is https://sourceforge.net/p/ggt/bugs/28/. I didn't like the fix proposed there so I wrote a different one. Additional issues remain after fixing that. I'm still working on it.
comment:3 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign added |
---|---|
Keywords: | haspatch added |
comment:4 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
This is happening because the SConstruct is getting the output of
$CXX -v
and is expecting it to match the regular expressiongcc version ((\d+)\.(\d+)\.(\d+))
. On a modern Mac there are no matches from that regular expression, of course, because$CXX
isn't gcc anymore so its output doesn't contain the stringgcc version
.