[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Can't build emacs with non-ascii chars in build path
From: |
Jan Djärv |
Subject: |
Can't build emacs with non-ascii chars in build path |
Date: |
Sun, 20 May 2007 15:01:30 +0200 |
User-agent: |
Thunderbird 1.5.0.10 (X11/20070403) |
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the address@hidden mailing list.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
If the path to the emacs sources contains non-ascii, it seems the build fails.
I did (UTF-8 character in the directory):
% mkdir /home/jhd/src/ämacs-å
% cvs co emacs
% ./configure ...
% make bootstrap
...
./temacs --batch --load loadup bootstrap
Loading loadup.el (source)...
Invalid character: 2243, #o4303, #x8c3
make[2]: *** [bootstrap-emacs] Fel 255
make[2]: Leaving directory `/home/jhd/src/ämacs-å/src'
make[1]: *** [bootstrap-build] Fel 2
make[1]: Leaving directory `/home/jhd/src/ämacs-å'
make: *** [bootstrap] Fel 2
% gdb temacs
(gdb) b invalid_character
(gdb) r --batch --load loadup bootstrap
Starting program: /home/jhd/src/ämacs-å/src/temacs --batch --load loadup
bootstrap
[Thread debugging using libthread_db enabled]
[New Thread 47279993216624 (LWP 19325)]
[Switching to Thread 47279993216624 (LWP 19325)]
Loading loadup.el (source)...
Breakpoint 2, invalid_character (c=2243) at charset.c:121
121 error ("Invalid character: %d, #o%o, #x%x", c, c, c);
(gdb) up
#1 0x00000000004825a7 in char_to_string (c=2243,
str=0x7fff751344c0 "/D\023u\377\177") at charset.c:277
277 invalid_character (c);
(gdb) up
#2 0x000000000043ac8e in message_dolog (
m=0x7fff75134550 "Using load-path
(/home/jhd/src/\303\244macs-\303\245/lisp
/home/jhd/src/\303\244macs-\303\245/lisp/emacs-lisp
/home/jhd/src/\303\244macs-\303\245/lisp/language
/home/jhd/src/\303\244macs-\303\245/lisp/international
/home/jhd/src/\303\244macs-\303\245/lisp/text"..., nbytes=206, nlflag=1,
multibyte=0) at xdisp.c:7321
7321 char_bytes = CHAR_STRING (c, str);
(gdb) bt
#0 invalid_character (c=2243) at charset.c:121
#1 0x00000000004825a7 in char_to_string (c=2243,
str=0x7fff751344c0 "/D\023u\377\177") at charset.c:277
#2 0x000000000043ac8e in message_dolog (
m=0x7fff75134550 "Using load-path
(/home/jhd/src/\303\244macs-\303\245/lisp
/home/jhd/src/\303\244macs-\303\245/lisp/emacs-lisp
/home/jhd/src/\303\244macs-\303\245/lisp/language
/home/jhd/src/\303\244macs-\303\245/lisp/international
/home/jhd/src/\303\244macs-\303\245/lisp/text"..., nbytes=206, nlflag=1,
multibyte=0) at xdisp.c:7321
#3 0x000000000043b782 in message3 (m=11590275, nbytes=206, multibyte=0)
at xdisp.c:7561
#4 0x00000000005a012b in Fmessage (nargs=2, args=0x7fff751346e0)
at editfns.c:3242
#5 0x00000000005aa502 in Feval (form=11455429) at eval.c:2301
#6 0x00000000005ca421 in readevalloop (readcharfun=11277313, stream=0xb0d6a0,
sourcename=11588163, evalfun=0x5aa08e <Feval>, printflag=0,
unibyte=11163329, readfun=11163329, start=11163329, end=11163329)
at lread.c:1543
#7 0x00000000005c8e21 in Fload (file=11587907, noerror=11163329,
nomessage=11163329, nosuffix=11163329, must_suffix=11163329)
at lread.c:1009
#8 0x00000000005aa6db in Feval (form=11456277) at eval.c:2342
#9 0x000000000050dc19 in top_level_2 () at keyboard.c:1338
#10 0x00000000005a8bd9 in internal_condition_case (
bfun=0x50dc09 <top_level_2>, handlers=11259169, hfun=0x50d7ab <cmd_error>)
at eval.c:1481
#11 0x000000000050dc48 in top_level_1 () at keyboard.c:1346
#12 0x00000000005a85b0 in internal_catch (tag=11236657,
func=0x50dc1b <top_level_1>, arg=11163329) at eval.c:1222
#13 0x000000000050db8e in command_loop () at keyboard.c:1303
#14 0x000000000050d4c0 in recursive_edit_1 () at keyboard.c:1006
#15 0x000000000050d61d in Frecursive_edit () at keyboard.c:1067
#16 0x000000000050bbca in main (argc=5, argv=0x7fff75135638) at emacs.c:1762
Lisp Backtrace:
"message" (0xb0da43)
"load" (0xb0d143)
Are we not supporting this case? Should we be?
My file-name-coding-system is nil.
default-file-name-coding-system is mule-utf-8.
The unicode2 branch gets further, but has an error later:
/home/jhd/src/ämacs-å/src/temacs -batch -f batch-byte-compile unidata-gen.el
Loading loadup.el (source)...
Using load-path (/home/jhd/src/ämacs-å/lisp
/home/jhd/src/ämacs-å/lisp/emacs-lisp /home/jhd/src/ämacs-å/lisp/language
/home/jhd/src/ämacs-å/lisp/international /home/jhd/src/ämacs-å/lisp/textmodes)
Loading emacs-lisp/byte-run (source)...
Loading emacs-lisp/backquote (source)...
Loading subr (source)...
Loading version.el (source)...
Loading widget (source)...
Loading custom (source)...
Loading emacs-lisp/map-ynp (source)...
Loading env (source)...
Loading cus-start (source)...
Loading international/mule (source)...
Loading international/mule-conf.el (source)...
Loading format (source)...
Loading bindings (source)...
Loading /home/jhd/src/ämacs-å/lisp/files.el (source)...
Loading /home/jhd/src/ämacs-å/lisp/cus-face.el (source)...
Loading /home/jhd/src/ämacs-å/lisp/faces.el (source)...
Lists of integers (garbage collection statistics) are normal output
while building Emacs; they do not indicate a problem.
((96626 . 36519) (5815 . 60) (590 . 59) 370783 1034530 (23 . 1) (18 . 0) (7630
. 740))
Loading /home/jhd/src/ämacs-å/lisp/loaddefs.el (source)...
((118061 . 14526) (8528 . 0) (598 . 51) 1260502 1034530 (49 . 33) (18 . 0)
(15781 . 60))
Loading /home/jhd/src/ämacs-å/lisp/simple.el (source)...
Loading /home/jhd/src/ämacs-å/lisp/help.el (source)...
Loading /home/jhd/src/ämacs-å/lisp/jka-cmpr-hook.el (source)...
Loading /home/jhd/src/ämacs-å/lisp/international/mule-cmds.el (source)...
Cannot open load file: case-table
make[3]: *** [unidata-gen.elc] Fel 255
make[3]: Leaving directory `/home/jhd/src/ämacs-å/admin/unidata'
make[2]: *** [/home/jhd/src/ämacs-å/src/../lisp/international/charprop.el] Fel 2
make[2]: Leaving directory `/home/jhd/src/ämacs-å/src'
make[1]: *** [bootstrap-build] Fel 2
make[1]: Leaving directory `/home/jhd/src/ämacs-å'
make: *** [bootstrap] Fel 2
Jan D.
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/opt/emacs-cvs/share/emacs/22.1.50/etc/DEBUG for instructions.
In GNU Emacs 22.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.11)
of 2007-05-20 on gaffa
Windowing system distributor `The X.Org Foundation', version 11.0.70200000
configured using `configure '--prefix=/opt/emacs-cvs' '--verbose'
'--enable-asserts' '--with-x-toolkit=gtk' 'CFLAGS=-g''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: C
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: sv_SE.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<menu-bar> <help-menu> <report-emacs-bug>
Recent messages:
("emacs" "-Q")
For information about the GNU Project and its goals, type C-h C-p.
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Can't build emacs with non-ascii chars in build path,
Jan Djärv <=