Opened 5 months ago

Last modified 5 months ago

#70294 assigned defect

py312-cartopy @0.21.1: error: use of undeclared identifier '_PyUnicode_Ready'

Reported by: ogourgue (Olivier Gourgue) Owned by: petrrr
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc: ogourgue (Olivier Gourgue), Schamschula (Marius Schamschula)
Port: py312-cartopy

Description


Attachments (1)

main.log (318.5 KB) - added by ogourgue (Olivier Gourgue) 5 months ago.

Download all attachments as: .zip

Change History (5)

Changed 5 months ago by ogourgue (Olivier Gourgue)

Attachment: main.log added

comment:1 Changed 5 months ago by ogourgue (Olivier Gourgue)

Cc: ogourgue added

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

Cc: Schamschula added; petrrr removed
Owner: set to petrrr
Status: newassigned
Summary: Failed to build py312-cartopy: command execution failedpy312-cartopy @0.21.1: error: use of undeclared identifier '_PyUnicode_Ready'

In the log I see:

lib/cartopy/trace.cpp:11730:22: error: use of undeclared identifier '_PyUnicode_Ready'; did you mean '_PyUnicode_Copy'?

I found that _PyUnicode_Ready was removed in python 3.12 so this cannot possibly ever have built, and the build logs confirm that.

comment:3 Changed 5 months ago by Schamschula (Marius Schamschula)

I ran into this myself last night. I'll (temporarily) remove the py312 subport.

Meanwhile, as I have py312-numpy 2.0.0 on my build machine, I'm using py312-cartopy 0.23.0 w/o any issues. See: #70251

comment:4 Changed 5 months ago by Marius Schamschula <mschamschula@…>

In 5116710065ca4fba5670deb2a2d51f29d8e05265/macports-ports (master):

py-cartopy: temporarily remove py312 subport

See: #70294

Note: See TracTickets for help on using tickets.