GNU bug report logs -
#76525
Warnings given when emacs is installed in a directory containing non-ASCII characters on Windows
Previous Next
Reported by: tuug <at> gmx.us
Date: Mon, 24 Feb 2025 17:44:02 UTC
Severity: minor
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 76525 in the body.
You can then email your comments to 76525 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#76525
; Package
emacs
.
(Mon, 24 Feb 2025 17:44:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
tuug <at> gmx.us
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 24 Feb 2025 17:44:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/html, inline)]
[warnings.log (application/octet-stream, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#76525
; Package
emacs
.
(Mon, 24 Feb 2025 19:18:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 76525 <at> debbugs.gnu.org (full text, mbox):
> Date: Mon, 24 Feb 2025 14:22:45 +0100
> Sensitivity: Normal
> From: tuug--- via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> I obtained my emacs build from
> https://github.com/kiennq/emacs-build/releases/tag/v31.331.20250202.5e12843.
We don't know what that build is and what sources does it use. Can
you use the Windows binaries from the GNU FTP site instead?
> After launching the GUI version of emacs, the following warnings spew in the "Warnings" buffer (see
> attatchment)
>
> ■ Warning (native-compiler): c:\Users\ש××ס\scoop\apps\emacs-kiennq-ucrt-mps\current\bin\libgccjit-0.dll: error: error invoking gcc driver
What is the actual name of that directory? And what is your system
codepage? You can answer the latter question by typing inside Emacs
M-: w32-ansi-code-page RET
Also, do you have a working installation of GCC, Binutils, and
libgccjit on that machine? The error messages seem to indicate that
something is broken in the compiler or Binutils installation.
Severity set to 'minor' from 'normal'
Request was from
Stefan Kangas <stefankangas <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Mon, 24 Feb 2025 21:50:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#76525
; Package
emacs
.
(Tue, 25 Feb 2025 15:53:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 76525 <at> debbugs.gnu.org (full text, mbox):
[Please use Reply All to reply, to have the bug tracker CC'ed.]
> From: tuug <at> gmx.us
> Date: Tue, 25 Feb 2025 01:26:31 +0100
>
> I installed this special build into C:\Users\שזדס\scoop\apps\emacs-kiennq-ucrt-mps\current.
>
> Running the official Windows binary from GNU's FTP site (specifically
> "https://ftpmirror.gnu.org/gnu/emacs/windows/emacs-30/emacs-30.1.zip"),
> yields the following errors in the console:
> Warning: arch-dependent data dir 'c:/Users/ש×â€
> “דס/scoop/apps/emacs/current/libexec/emacs/30.1/x86_64-w64-mingw32/': No such file or
> directory
> Warning: arch-independent data dir 'c:/Users/ש×â€
> “דס/scoop/apps/emacs/current/share/emacs/30.1/etc/': No such file or directory
> Warning: Lisp directory 'c:/Users/ש×â€
> “דס/scoop/apps/emacs/current/share/emacs/30.1/lisp': No such file or directory
>
> and shows an error window preventing launch (see attatchment). The jumble of characters is supposed to
> be שזדס.
>
> Also, my current codepage obtained through chcp shows "Active code page: 65001"
Ah, that explains everything: you have turned on the experimental
Windows feature of using UTF-8 as the system codepage. This triggers
a known bug (bug#75207), which is currently only fixed in what will
become Emacs 31. Maybe we should backport it to the Emacs 30 branch,
so that Emacs 30.2 will have it.
To solve this issue, try changing your system codepage so that it is
one of the ANSI 125x codepages, not UTF-8.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#76525
; Package
emacs
.
(Tue, 25 Feb 2025 18:05:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 76525 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#76525
; Package
emacs
.
(Tue, 25 Feb 2025 19:38:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 76525 <at> debbugs.gnu.org (full text, mbox):
> From: Sc Sg <tuug <at> gmx.us>
> Cc: 76525 <at> debbugs.gnu.org
> Date: Tue, 25 Feb 2025 19:03:55 +0100
>
> Setting the codepage to 1252 via chcp does not work; the same error shows. Unsetting UTF-8 as my
> system's codepage
> shows a different error: emacs: could not load dump file
> "C:\Users\????\scoop\apps\emacs\current\bin\emacs.pdmp": Invalid argument
I asked you what is the real name of that directory. Can you tell me
what is its name as shown by the Windows File Explorer? Codepage 1252
supports only Western European scripts, so if the name of the above
directory needs other characters, 1252 will not work.
An alternative is to install Emacs 31, if you can find a Windows build
of it somewhere. (Or build it yourself, if you can.) I believe this
problem should be solved there.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#76525
; Package
emacs
.
(Tue, 25 Feb 2025 23:23:01 GMT)
Full text and
rfc822 format available.
Message #22 received at 76525 <at> debbugs.gnu.org (full text, mbox):
The real directory shows in explorer is C:\Users\שזדס\scoop\apps\emacs\current\bin
I tried the following:
* Setting the codepage to 1255; did nothing
* Changing the locale to Hebrew within Control Panel: here's the console output after I changed it:
C:\Users\שזדס>chcp
Active code page: 862
C:\Users\שזדס>emacs
Loading loadup.el (source)...
Dump mode: nil
Using load-path (c:/Users/\327\251\327\226\327\223\327\241/scoop/apps/emacs/current/share/emacs/30.1/site-lisp c:/Users/\327\251\327\226\327\223\327\241/scoop/apps/emacs/current/share/emacs/site-lisp c:/Users/\327\251\327\226\327\223\327\241/scoop/apps/emacs/current/share/emacs/30.1/lisp c:/Users/\327\251\327\226\327\223\327\241/scoop/apps/emacs/current/share/emacs/30.1/lisp/emacs-lisp c:/Users/\327\251\327\226\327\223\327\241/scoop/apps/emacs/current/share/emacs/30.1/lisp/progmodes c:/Users/\327\251\327\226\327\223\327\241/scoop/apps/emacs/current/share/emacs/30.1/lisp/language c:/Users/\327\251\327\226\327\223\327\241/scoop/apps/emacs/current/share/emacs/30.1/lisp/international c:/Users/\327\251\327\226\327\223\327\241/scoop/apps/emacs/current/share/emacs/30.1/lisp/textmodes c:/Users/\327\251\327\226\327\223\327\241/scoop/apps/emacs/current/share/emacs/30.1/lisp/vc)
Wrong type argument: stringp, nil
> Sent: Tuesday, February 25, 2025 at 8:36 PM
> From: "Eli Zaretskii" <eliz <at> gnu.org>
> To: "Sc Sg" <tuug <at> gmx.us>
> Cc: 76525 <at> debbugs.gnu.org
> Subject: Re: bug#76525: Warnings given when emacs is installed in a directory containing non-ASCII characters on Windows
>
> > From: Sc Sg <tuug <at> gmx.us>
> > Cc: 76525 <at> debbugs.gnu.org
> > Date: Tue, 25 Feb 2025 19:03:55 +0100
> >
> > Setting the codepage to 1252 via chcp does not work; the same error shows. Unsetting UTF-8 as my
> > system's codepage
> > shows a different error: emacs: could not load dump file
> > "C:\Users\????\scoop\apps\emacs\current\bin\emacs.pdmp": Invalid argument
>
> I asked you what is the real name of that directory. Can you tell me
> what is its name as shown by the Windows File Explorer? Codepage 1252
> supports only Western European scripts, so if the name of the above
> directory needs other characters, 1252 will not work.
>
> An alternative is to install Emacs 31, if you can find a Windows build
> of it somewhere. (Or build it yourself, if you can.) I believe this
> problem should be solved there.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#76525
; Package
emacs
.
(Wed, 26 Feb 2025 13:15:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 76525 <at> debbugs.gnu.org (full text, mbox):
> Cc: 76525 <at> debbugs.gnu.org
> Date: Tue, 25 Feb 2025 17:51:55 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
>
> > Also, my current codepage obtained through chcp shows "Active code page: 65001"
>
> Ah, that explains everything: you have turned on the experimental
> Windows feature of using UTF-8 as the system codepage. This triggers
> a known bug (bug#75207), which is currently only fixed in what will
> become Emacs 31. Maybe we should backport it to the Emacs 30 branch,
> so that Emacs 30.2 will have it.
Now done.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#76525
; Package
emacs
.
(Wed, 26 Feb 2025 13:38:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 76525 <at> debbugs.gnu.org (full text, mbox):
> From: Sc Sg <tuug <at> gmx.us>
> Cc: 76525 <at> debbugs.gnu.org
> Date: Wed, 26 Feb 2025 00:22:12 +0100
>
> The real directory shows in explorer is C:\Users\שזדס\scoop\apps\emacs\current\bin
>
> I tried the following:
> * Setting the codepage to 1255; did nothing
> * Changing the locale to Hebrew within Control Panel: here's the console output after I changed it:
OK. So then the only way to avoid this problem is to find a build of
Emacs 31 from the master branch, where this problem is supposed to be
fixed. Or build Emacs yourself. Or wait for Emacs 30.2, since I've
now backported the fix from the master branch.
Sorry.
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Sun, 09 Mar 2025 09:37:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
tuug <at> gmx.us
:
bug acknowledged by developer.
(Sun, 09 Mar 2025 09:37:02 GMT)
Full text and
rfc822 format available.
Message #33 received at 76525-done <at> debbugs.gnu.org (full text, mbox):
> Cc: 76525 <at> debbugs.gnu.org
> Date: Wed, 26 Feb 2025 15:36:54 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
>
> > From: Sc Sg <tuug <at> gmx.us>
> > Cc: 76525 <at> debbugs.gnu.org
> > Date: Wed, 26 Feb 2025 00:22:12 +0100
> >
> > The real directory shows in explorer is C:\Users\שזדס\scoop\apps\emacs\current\bin
> >
> > I tried the following:
> > * Setting the codepage to 1255; did nothing
> > * Changing the locale to Hebrew within Control Panel: here's the console output after I changed it:
>
> OK. So then the only way to avoid this problem is to find a build of
> Emacs 31 from the master branch, where this problem is supposed to be
> fixed. Or build Emacs yourself. Or wait for Emacs 30.2, since I've
> now backported the fix from the master branch.
>
> Sorry.
No further comments, so I'm now closing this bug.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 06 Apr 2025 11:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 73 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.