Open griffini opened 1 year ago
The msys2 libelf package was removed in this commit https://github.com/msys2/MSYS2-packages/commit/4888c12c7f6de6ff36c3bbb47ede6490337cd3d6. But you can use the mingw libelf package.
Ah, thanks. I didn't spot that. That's a shame - the commit mentions upstream is gone and now that I check indeed it seems to be.
Okay, I had some problems with using the mingw-libelf instead, but I'll take another look to see if I can rework my code...
Thanks for the background info!
That's a shame - the commit mentions upstream is gone
I think mentioning it as a cause of removal (in the commit message) is orthogonal to having no users (the real cause) and misleads the reader quite a bit.
Otherwise the MINGW version should be removed as well: https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-libelf/PKGBUILD#L12
... which it had been not.
Otherwise the MINGW version should be removed as well: https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-libelf/PKGBUILD#L12
... which it had been not.
I likely missed back then that the mingw version exists and points to a third party mirror of the old tarball.
NP. One build of the package is probably enough (given it works fine:)
PS. Later yesterday I learnt that there are different libelf
coming from elfutils
and hosted by SourceWare:
https://sourceware.org/git/?p=elfutils.git;a=tree;f=libelf
No ideas if these are compatible or even doing the same job.
Description / Steps to reproduce the issue
Installed msys2-x86_64_20230718.exe on a clean Windows 10 machine.
pacman -S libelf and pacman -S libelf-devel give a target not found error.
However, I can download the libelf and libelf-devel packages from repo.msys2.org/msys/x86_64 and install manually using pacman -U
Expected behavior
pacman -S libelf and pacman -S libelf-devel will find and install the relevant packages.
Actual behavior
pacman -S libelf and pacman -S libelf-devel give a target not found error.
However, I can download the libelf and libelf-devel packages from repo.msys2.org/msys/x86_64 and install manually using pacman -U
Other packages are found and installed just fine.
Verification
Windows Version
MSYS_NT-10.0-19044
Are you willing to submit a PR?
No response