#65648 closed defect (fixed)

flint declares unused dependency on python310

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: barracuda156
Port: flint

Description

The flint port declares a depenency on port:python310 however the configure phase output says:

-- Found PythonInterp: /usr/bin/python (found version "2.7.18") 

which makes me think python310 is not being used for anything.

Change History (2)

comment:1 Changed 21 months ago by barracuda156

I do not remember now if I got a failure without Python, but CMakeLists has the following:

find_package(GMP REQUIRED)
find_package(MPFR REQUIRED)
if (WITH_NTL)
    find_package(NTL REQUIRED)
endif()
find_package(PythonInterp REQUIRED)
  1. S. Since it is often the case that undeclared dependency does not lead to a failure locally (script still finds everything needed), but causes failures on build bots, I might have added Python on basis of CMakeLists.
Last edited 21 months ago by barracuda156 (previous) (diff)

comment:2 Changed 15 months ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

In e8ea8e8460a60688929f5f2ab931e48fa75108cb/macports-ports (master):

flint: ensure usage of correct Python

Fixes #65648
Fixes #66004

No revbump since port either builds correctly or not at all.

Note: See TracTickets for help on using tickets.