#67067 closed defect (fixed)

gmtl @0.6.1: SyntaxError: cannot assign to False

Reported by: barracuda156 Owned by: mccdo@…
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: gmtl

Description

--->  Configuring gmtl
--->  Building gmtl
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_gmtl/gmtl/work/gmtl-0.6.1" && scons -j8 
scons: Reading SConscript files ...
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_gmtl/gmtl/work/gmtl-0.6.1/SConstruct", line 21

    False = 0

    ^^^^^

SyntaxError: cannot assign to False

Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_gmtl/gmtl/work/gmtl-0.6.1" && scons -j8

Change History (2)

comment:1 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added
Summary: gmtl fails to build: SyntaxError: cannot assign to Falsegmtl @0.6.1: SyntaxError: cannot assign to False

This is happening because we switched scons to use python 3 and this SConstruct file is written for Python 2.

I've managed to patch the script enough that I'm now back to getting the error I reported in #57421.

Last edited 14 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In d4a979bd0a5ca18d5d9104394eabe30cc94c7c44/macports-ports (master):

gmtl: Fixes for Python 3 compatibility

Closes: #67067

Note: See TracTickets for help on using tickets.