Opened 2 years ago
Closed 22 months ago
#66004 closed defect (fixed)
flint fails to configure on Leopard: SyntaxError: invalid syntax
Reported by: | barracuda156 | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | powerpc, leopard, snowleopard | Cc: | |
Port: | flint |
Description
<string>:4: Warning: 'with' will become a reserved keyword in Python 2.6 File "<string>", line 4 with open(join('/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_flint/flint/work/flint-2.9.0','qadic', 'CPimport.txt')) as fin: ^ SyntaxError: invalid syntax CMake Error: File /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_flint/flint/work/build-ppc/CPimport.h.in does not exist. CMake Error at CMakeLists.txt:127 (configure_file): configure_file Problem configuring file -- Performing Test HAS_FLAG_MPOPCNT -- Performing Test HAS_FLAG_MPOPCNT - Failed -- Performing Test HAS_FLAG_UNROLL_LOOPS -- Performing Test HAS_FLAG_UNROLL_LOOPS - Success -- Performing Test FLINT_USES_POPCNT -- Performing Test FLINT_USES_POPCNT - Success -- Performing Test FLINT_USES_FENV -- Performing Test FLINT_USES_FENV - Success -- Performing Test FLINT_USES_CPUSET -- Performing Test FLINT_USES_CPUSET - Failed -- Using FLINT memory manager: reentrant -- Checking for IPO -- Checking for IPO - not found -- Configuring incomplete, errors occurred!
Identical error on 10.6 PPC too.
Attachments (1)
Change History (5)
Changed 2 years ago by barracuda156
comment:1 Changed 2 years ago by barracuda156
Version: | 2.7.2 → 2.8.0 |
---|
comment:2 follow-up: 3 Changed 2 years ago by reneeotten (Renee Otten)
comment:3 Changed 2 years ago by barracuda156
Replying to reneeotten:
Probably just need to make sure not to use the system Python, which appears to be 2.5.x - add a dependency on 2.7 (or ideally 3.10) and see if that works.
It is there, but apparently does not work:
depends_build-append port:python310
Thank you, I will try forcing it to use correct Python.
comment:4 Changed 22 months ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Probably just need to make sure not to use the system Python, which appears to be 2.5.x - add a dependency on 2.7 (or ideally 3.10) and see if that works.