Opened 3 months ago

Closed 3 months ago

#70265 closed defect (fixed)

py-pyicu: all subports fail to build on case-sensitive filesystems, due to directory name case mismatch

Reported by: mascguy (Christopher Nielsen) Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc:
Port: py-pyicu

Description (last modified by mascguy (Christopher Nielsen))

With the latest update to this port, committed yesterday, all subports now fail to build on case-sensitive filesystems - including our buildbots - with the following error:

[Note: path to macports work directory truncated, for readability.]

ERROR Source .../py310-pyicu/work/PyICU-2.13.1 does not appear to be a Python project: no pyproject.toml or setup.py

Command failed:  cd ".../py310-pyicu/work/PyICU-2.13.1" && /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -m build --no-isolation --wheel --outdir .../py310-pyicu/work

That is due to all files residing under directory pyicu-2.13.1, rather than PyICU-2.13.1:

$ cd $(port work py312-pyicu)

$ ls -l
drwxr-xr-x  2 macports  wheel  -   68 Jun 20 18:28:33 2024 PyICU-2.13.1
drwxr-xr-x  5 macports  wheel  - 2652 Apr 29 16:17:30 2024 pyicu-2.13.1

$ gfind PyICU-2.13.1
PyICU-2.13.1

$ gfind pyicu-2.13.1
pyicu-2.13.1
pyicu-2.13.1/CHANGES
pyicu-2.13.1/CREDITS
pyicu-2.13.1/LICENSE
pyicu-2.13.1/MANIFEST.in
pyicu-2.13.1/PKG-INFO
[...etc...]

The fix may be as simple as eliminating the mixed-case python.rootname declaration in the portfile, assuming nothing else needs to be done...?

Change History (2)

comment:1 Changed 3 months ago by mascguy (Christopher Nielsen)

Description: modified (diff)

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

Resolution: fixed
Status: assignedclosed

In 3e6a44d9ad8a9a7d381e3d6b5e6f36930a91e597/macports-ports (master):

py-pyicu: patch for CXX standard, fix path name

Closes: #70265

Note: See TracTickets for help on using tickets.