msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.31k stars 1.23k forks source link

mingw-w64-libftdi: package tries to install python files based on source dir #22399

Closed jeremyd2019 closed 4 weeks ago

jeremyd2019 commented 4 weeks ago

At least on clangarm64, I happened to see:

installing mingw-w64-clang-aarch64-libftdi...
  warning: warning given when extracting /M/ (Can't create '/M')
  warning: warning given when extracting /M/B/ (Failed to create dir '/M')
  warning: warning given when extracting /M/B/src/ (Failed to create dir '/M')
  warning: warning given when extracting /M/B/src/libftdi1-1.5/ (Failed to create dir '/M')
  warning: warning given when extracting /M/B/src/libftdi1-1.5/python/ (Failed to create dir '/M')
  warning: warning given when extracting /M/B/src/libftdi1-1.5/python/lib/ (Failed to create dir '/M')
  warning: warning given when extracting /M/B/src/libftdi1-1.5/python/lib/python3.12/ (Failed to create dir '/M')
  warning: warning given when extracting /M/B/src/libftdi1-1.5/python/lib/python3.12/site-packages/ (Failed to create dir '/M')
  warning: warning given when extracting /M/B/src/libftdi1-1.5/python/lib/python3.12/site-packages/_ftdi1.pyd (Failed to create dir '/M')
  warning: warning given when extracting /M/B/src/libftdi1-1.5/python/lib/python3.12/site-packages/ftdi1.py (Failed to create dir '/M')

This appears to be new to the python3.12 rebuild, looking at the package's files on https://packages.msys2.org/packages/mingw-w64-clang-aarch64-libftdi they seem to be in the right place

jeremyd2019 commented 4 weeks ago

See also https://github.com/msys2/MINGW-packages/actions/runs/11670742543/job/32495583677#step:11:662

mmuetzel commented 4 weeks ago

Oof. Probably something wrong with the patch...

I'm looking into it.