Opened 8 months ago

Closed 8 months ago

#68648 closed defect (fixed)

py38-contourpy @1.2.0: Package requires Python version >=3.9, running on 3.8.18

Reported by: odysseus9672 (Sean Lake) Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-contourpy

Description

I'm attempting a port upgrade outdated. I have py38-contourpy @1.1.1_0 installed. I get the following error:

--->  Building py38-contourpy
Error: Failed to build py38-contourpy: ln: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-contourpy/py38-contourpy/work/contourpy-1.2.0/pybind11-config: File exists
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-contourpy/py38-contourpy/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.

The relevant part of the log reads:

:notice:build --->  Building py38-contourpy
:debug:build Executing proc-pre-org.macports.build-build-0
:debug:build Executing proc-pre-org.macports.build-build-1
:error:build Failed to build py38-contourpy: ln: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-contourpy/py38-contourpy/work/contourpy-1.2.0/pybind11-config: File exists
:debug:build Error code: NONE

The full log is attached.

Attachments (1)

main.log (29.9 KB) - added by odysseus9672 (Sean Lake) 8 months ago.
Build log

Download all attachments as: .zip

Change History (4)

Changed 8 months ago by odysseus9672 (Sean Lake)

Attachment: main.log added

Build log

comment:1 Changed 8 months ago by jmroot (Joshua Root)

Owner: set to reneeotten
Port: py-contourpy added
Status: newassigned

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

Summary: py38-contourpy @1.2.0: build/install failspy38-contourpy @1.2.0: Package requires Python version >=3.9, running on 3.8.18

No, you're only getting the ln error File exists because you tried to build again after an initial failure without cleaning first.

The real cause, shown in the first attempt in the log, is:

('\x1b[31m',)meson-python: error: Package requires Python version >=3.9, running on 3.8.18

comment:3 Changed 8 months ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed

In 995b0e0b6cd3c9b38b2b3ae6600dd0f1c984a7a4/macports-ports (master):

py-contourpy: pin to 1.1.1 for PY38

Closes: #68648

Note: See TracTickets for help on using tickets.