MINGW-packages: script.exe missing after MSYS2-Win64 update
After starting MABS an update for MSYS2 was first applied; the following compile script failed:
H:\development\media-autobuild_suite-master\msys64\usr\bin\script.exe: Exit 126.
Failed to run 'H:\development\media-autobuild_suite-master\msys64\usr\bin\script.exe': No such file or directory
The last entries in msys64/var/log/pacman.log are:
[2018-10-02 18:57] [PACMAN] Running 'pacman -Sy'
[2018-10-02 18:57] [PACMAN] synchronizing package lists
[2018-10-02 18:58] [PACMAN] Running 'pacman -S --noconfirm --ask 20 --overwrite /mingw64/* --overwrite /mingw32/* --overwrite /usr/* bison brotli expat libexpat libutil-linux mintty util-linux'
[2018-10-02 18:58] [ALPM] transaction started
[2018-10-02 18:58] [ALPM] upgraded bison (3.0.5-1 -> 3.1-1)
[2018-10-02 18:58] [ALPM] upgraded brotli (1.0.5-2 -> 1.0.6-1)
[2018-10-02 18:58] [ALPM] upgraded expat (2.2.5-1 -> 2.2.6-1)
[2018-10-02 18:58] [ALPM] upgraded libexpat (2.2.5-1 -> 2.2.6-1)
[2018-10-02 18:58] [ALPM] upgraded libutil-linux (2.26.2-1 -> 2.32.1-1)
[2018-10-02 18:58] [ALPM] upgraded mintty (1~2.9.0-1 -> 1~2.9.1-1)
[2018-10-02 18:58] [ALPM] upgraded util-linux (2.26.2-1 -> 2.32.1-1)
[2018-10-02 18:58] [ALPM] transaction completed
[2018-10-02 18:58] [PACMAN] Running 'pacman -S --needed --noconfirm --ask=20 --asdeps bash pacman msys2-runtime'
[2018-10-02 18:58] [ALPM] transaction started
[2018-10-02 18:58] [ALPM] upgraded pacman (5.1.1-2 -> 5.1.1-3)
[2018-10-02 18:58] [ALPM] transaction completed
About this issue
- Original URL
- State: open
- Created 6 years ago
- Comments: 15 (4 by maintainers)
It’s an upstream decision to use those Unix-only header (signalfd.h), see
configure.ac
:Also
uuidd
has to be removed for the very same reason, see the PR with util-linux update. Also there are many other utils which are disabled in the Windows/MSYS2 version for a good reason - check the PKGBUILD file.One could probably start commenting out/refactoring calls around
signalfd()
to make it work withoutsignalfd
present, but (1) I don’t have the necessary knowledge for that, (2) I don’t have the need. If someone has the (1) knowledge and (2) the need, I believe a good PR is always welcomed here. The real solution is nevertheless is to have it modified at the upstream project.Also I saw the rather emotional discussion at the MABS project, but getting emotional is not a solution. There are two options for the time being for MABS project:
util-linux
version (2.32) withoutscript.exe
pacman -U http://repo.msys2.org/msys/x86_64/libutil-linux-2.26.2-1-x86_64.pkg.tar.xz