-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[msmtp] Incorrect LOCALEDIR #22187
Comments
maybe try MSYS2_ARG_CONV_EXCL="*" ? |
It is odd… If I build the package on my machine, everything works as expected without remapping. msmtp uses LOCALEDIR as supplied by autotools and I see correct value starting with config.log (I had to add
src/Makefile (only relevant lines)
There is no logic in the code. https://github.com/marlam/msmtp/blob/master/src/msmtp.c#L2237 and https://github.com/marlam/msmtp/blob/master/src/msmtp.c#L3817 |
I almost feel like the following would fix it. But I'm not sure what gets there on a build farm… I mean if it is diff --git a/mingw-w64-msmtp/PKGBUILD b/mingw-w64-msmtp/PKGBUILD
index 98916b3f3..aae2e3636 100644
--- a/mingw-w64-msmtp/PKGBUILD
+++ b/mingw-w64-msmtp/PKGBUILD
@@ -42,6 +42,7 @@ build() {
--host=${MINGW_CHOST} \
--prefix=${MINGW_PREFIX}
+ sed -i 's/\/d\/a//' src/Makefile
sed -i 's/-R\/mingw..\/lib//' src/Makefile
touch ${srcdir}/${_realname}-${pkgver}/src/*.c
make |
Description / Steps to reproduce the issue
As it is, LOCALEDIR points to
D:/a/MSYS64
. That part should be stripped. LOCALEDIR should be just/ucrt64/share/locale
by using./configure … CFLAGS=-DLOCALEDIR=/ucrt64/share/locale
. I'm actually not sure where it is coming from... default./configure
yieldslocaledir_c='"/ucrt64/share/locale"'
in myconfig.log
.Expected behavior
One can remap things to get it work
Actual behavior
msmtp can't find its translations.
Verification
Windows Version
MINGW64_NT-10.0-22000
MINGW environments affected
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: