Skip to content

makepkg-git-i686: ensure that MINGW_ARCH=mingw32 works #99

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 27, 2025

Conversation

dscho
Copy link
Member

@dscho dscho commented May 27, 2025

It needs the /etc/msystem.d/ files... This is the reason why the recent git-artifacts runs in git-sdk-64 failed.

The underlying root cause is most likely the "filesystem (2025.02.23-1 -> 2025.05.08-1)" upgrade in 43e407b.

I verified in my fork that this commit fixes the issue.

This needs the `/etc/msystem.d/` files...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho dscho requested a review from mjcheetham May 27, 2025 13:37
@dscho dscho self-assigned this May 27, 2025
@dscho dscho merged commit b753da3 into git-for-windows:main May 27, 2025
21 checks passed
@dscho dscho deleted the fix-makepkg-git-i686 branch May 27, 2025 14:21
@jeremyd2019
Copy link
Contributor

with the new pacman & makepkg_mingw.conf, you'd also need /etc/makepkg_mingw.d

@dscho
Copy link
Member Author

dscho commented May 27, 2025

with the new pacman & makepkg_mingw.conf, you'd also need /etc/makepkg_mingw.d

Well, my plan is to stop building mingw-w64-i686-git in git-sdk-64 (there is not actually any workflow left that does that and that I use).

So maybe this can wait a little (the problems arose only because the i686 edit-git-bash.exe was being built using the x86_64 gcc).

dscho added a commit to git-for-windows/build-extra that referenced this pull request Jun 3, 2025
As of filesystem-2025.05.08-1, the various definitions depending on the
environment variable `MSYSTEM` are no longer in a single `/etc/msystem`
file, but rather in files in the new `/etc/msystem.d/` directory whose
filenames reflect the value of said environment variable.

As per the suggestion in
git-for-windows/git-sdk-64#99 (comment),
let's include this directory in the payload of Git for Windows'
installer so that users are not greeted with the message:

	bash: /etc/msystem.d/MSYS: No such file or directory

Suggested-by: Jeremy Drake <github@jdrake.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho
Copy link
Member Author

dscho commented Jun 3, 2025

with the new pacman & makepkg_mingw.conf, you'd also need /etc/makepkg_mingw.d

Luckily, we already have that implicitly defined:

/etc/makepkg*

As to having the /etc/msystem.d/ directory not only available for the builds, but also in the end users' installations, I opened git-for-windows/build-extra#621, which will need to be merged quickly because -rc1 is scheduled for today and I haven't managed to get -rc0 out yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants