Malcolm Purvis <malcolmp(a)xemacs.org> さんは書きました:
>>>>> "Malcolm" == Malcolm Purvis
<malcolmp(a)xemacs.org> writes:
Malcolm> Should mule-lisp-directory appear in the load-path?
Indeed, the package build system (in package-compile.el) reconstructs
the load-path using the code:
(setq load-path (paths-find-recursive-load-path (list lisp-directory)
depth))
'depth' is defined to be paths-core-load-path-depth, which is 0, so it
doesn't look in lisp/mule.
In fact the following patch to XEmacs seems to cure the problem:
diff -u -r1.23 setup-paths.el
--- lisp/setup-paths.el 2007/02/05 15:19:18 1.23
+++ lisp/setup-paths.el 2007/07/31 12:53:47
@@ -46,7 +46,7 @@
;(setq debug-paths t)
-(defvar paths-core-load-path-depth 0
+(defvar paths-core-load-path-depth 1
"Depth of load-path searches in core Lisp paths.")
(defvar paths-site-load-path-depth 1
I see the same problem when building the packages with a recent CVS
snapshot of XEmacs.
The above patch avoids the problem 'Cannot open load file: "ccl"'
in pccl-20.el but then the build fails with a segmentation fault
later:
xemacs -no-autoloads -vanilla -batch -eval '(setq stack-trace-on-error t
load-always-display-messages t load-ignore-out-of-date-elc-files t
load-show-full-path-in-messages t)' -eval '(setq load-path (list (expand-file-name
"mule" lisp-directory) lisp-directory))' -l
/usr/src/packages/BUILD/xemacs-packages/packages/package-compile.el -- ispell fsf-compat
xemacs-base -- -f batch-byte-compile tpum.el
Loading /usr/src/packages/BUILD/xemacs-packages/packages/package-compile.el...
Loading /usr/share/xemacs/21.5.28.20070730/lisp/auto-autoloads.el...
Requiring /usr/share/xemacs/21.5.28.20070730/lisp/bytecomp.elc...
Requiring /usr/share/xemacs/21.5.28.20070730/lisp/byte-optimize.elc...
Loading
/usr/src/packages/BUILD/xemacs-packages/packages/xemacs-packages/xemacs-base/auto-autoloads.elc...
Loading
/usr/src/packages/BUILD/xemacs-packages/packages/xemacs-packages/fsf-compat/auto-autoloads.elc...
Loading
/usr/src/packages/BUILD/xemacs-packages/packages/xemacs-packages/ispell/auto-autoloads.elc...
Compiling
/usr/src/packages/BUILD/xemacs-packages/packages/xemacs-packages/text-modes/tpum.el...
Loading
/usr/src/packages/BUILD/xemacs-packages/packages/xemacs-packages/xemacs-base/edmacro.elc...
Loading
/usr/src/packages/BUILD/xemacs-packages/packages/xemacs-packages/xemacs-base/advice.elc...make[2]:
*** [tpum.elc] Segmentation fault (core dumped)
gdb backtrace:
(gdb) bt
#0 0x00000000005c85b1 in bytecount_to_charcount_fun (ptr=<value optimized out>,
len=251)
at text.c:2238
#1 0x0000000000573e5d in print_string (obj=13821826, printcharfun=35859728,
escapeflag=1)
at text.h:603
#2 0x000000000057272f in print_internal (obj=13821848, printcharfun=35859728,
escapeflag=1)
at print.c:1795
#3 0x0000000000573372 in print_cons (obj=13821872, printcharfun=35859728, escapeflag=1)
at print.c:1391
#4 0x000000000057272f in print_internal (obj=13821872, printcharfun=35859728,
escapeflag=1)
at print.c:1795
#5 0x0000000000573372 in print_cons (obj=13821896, printcharfun=35859728, escapeflag=1)
at print.c:1391
#6 0x000000000057272f in print_internal (obj=13821896, printcharfun=35859728,
escapeflag=1)
at print.c:1795
#7 0x0000000000573372 in print_cons (obj=13821920, printcharfun=35859728, escapeflag=1)
at print.c:1391
#8 0x000000000057272f in print_internal (obj=13821920, printcharfun=35859728,
escapeflag=1)
at print.c:1795
#9 0x0000000000573372 in print_cons (obj=13821944, printcharfun=35859728, escapeflag=1)
at print.c:1391
#10 0x000000000057272f in print_internal (obj=13821944, printcharfun=35859728,
escapeflag=1)
at print.c:1795
#11 0x0000000000573372 in print_cons (obj=13821968, printcharfun=35859728, escapeflag=1)
at print.c:1391
#12 0x000000000057272f in print_internal (obj=13821968, printcharfun=35859728,
escapeflag=1)
at print.c:1795
#13 0x0000000000573372 in print_cons (obj=13821992, printcharfun=35859728, escapeflag=1)
at print.c:1391
#14 0x000000000057272f in print_internal (obj=13821992, printcharfun=35859728,
escapeflag=1)
at print.c:1795
#15 0x0000000000573372 in print_cons (obj=13822016, printcharfun=35859728, escapeflag=1)
at print.c:1391
#16 0x000000000057272f in print_internal (obj=13822016, printcharfun=35859728,
escapeflag=1)
at print.c:1795
#17 0x0000000000573372 in print_cons (obj=13822040, printcharfun=35859728, escapeflag=1)
at print.c:1391
#18 0x000000000057272f in print_internal (obj=13822040, printcharfun=35859728,
escapeflag=1)
at print.c:1795
#19 0x0000000000573372 in print_cons (obj=13822064, printcharfun=35859728, escapeflag=1)
at print.c:1391
#20 0x000000000057272f in print_internal (obj=13822064, printcharfun=35859728,
escapeflag=1)
at print.c:1795
#21 0x0000000000573372 in print_cons (obj=13822088, printcharfun=35859728, escapeflag=1)
at print.c:1391
#22 0x000000000057272f in print_internal (obj=13822088, printcharfun=35859728,
escapeflag=1)
at print.c:1795
#23 0x0000000000573372 in print_cons (obj=13822112, printcharfun=35859728, escapeflag=1)
at print.c:1391
#24 0x000000000057272f in print_internal (obj=13822112, printcharfun=35859728,
escapeflag=1)
at print.c:1795
#25 0x0000000000573372 in print_cons (obj=13822136, printcharfun=35859728, escapeflag=1)
at print.c:1391
#26 0x000000000057272f in print_internal (obj=13822136, printcharfun=35859728,
escapeflag=1)
at print.c:1795
#27 0x0000000000573372 in print_cons (obj=13822160, printcharfun=35859728, escapeflag=1)
at print.c:1391
#28 0x000000000057272f in print_internal (obj=13822160, printcharfun=35859728,
escapeflag=1)
at print.c:1795
#29 0x0000000000573372 in print_cons (obj=13822184, printcharfun=35859728, escapeflag=1)
at print.c:1391
#30 0x000000000057272f in print_internal (obj=13822184, printcharfun=35859728,
escapeflag=1)
at print.c:1795
#31 0x0000000000573372 in print_cons (obj=13822208, printcharfun=35859728, escapeflag=1)
at print.c:1391
#32 0x000000000057272f in print_internal (obj=13822208, printcharfun=35859728,
escapeflag=1)
at print.c:1795
#33 0x0000000000573372 in print_cons (obj=13822232, printcharfun=35859728, escapeflag=1)
at print.c:1391
#34 0x000000000057272f in print_internal (obj=13822232, printcharfun=35859728,
escapeflag=1)
at print.c:1795
#35 0x0000000000573372 in print_cons (obj=13822256, printcharfun=35859728, escapeflag=1)
at print.c:1391
#36 0x000000000057272f in print_internal (obj=13822256, printcharfun=35859728,
escapeflag=1)
at print.c:1795
#37 0x0000000000573372 in print_cons (obj=13822280, printcharfun=35859728, escapeflag=1)
at print.c:1391
#38 0x000000000057272f in print_internal (obj=13822280, printcharfun=35859728,
escapeflag=1)
at print.c:1795
#39 0x0000000000573372 in print_cons (obj=13822304, printcharfun=35859728, escapeflag=1)
at print.c:1391
#40 0x000000000057272f in print_internal (obj=13822304, printcharfun=35859728,
escapeflag=1)
at print.c:1795
#41 0x0000000000573372 in print_cons (obj=13822328, printcharfun=35859728, escapeflag=1)
at print.c:1391
#42 0x000000000057272f in print_internal (obj=13822328, printcharfun=35859728,
escapeflag=1)
at print.c:1795
#43 0x0000000000573193 in Fprin1_to_string (object=13822328, noescape=27214928) at
print.c:887
#44 0x00000000004aba79 in Ffuncall (nargs=2, args=0x7fff4a383d78) at eval.c:3924
#45 0x000000000046fabe in execute_optimized_program (program=0x16 <Address 0x16 out of
bounds>,
stack_depth=<value optimized out>, constants_data=0x1b587f0) at bytecode.c:862
#46 0x00000000004ab8cd in Ffuncall (nargs=3, args=0x7fff4a383f38) at eval.c:3518
#47 0x000000000046fabe in execute_optimized_program (
program=0x2260b08
"Ɯr\n\"\025ǜ211\034\033\r:«D\r@9«?\n«\t\r@Ȏ\211\023¬\t\r@Ɏ\211\023«,\r\v\r!\211\024a¬#\t«\030\bʳ«\023ˌ\211\036\021\036\022\036\023͎Ϝr\f#!\210+Мf\n\"\211\024ª\002\r*\207",
stack_depth=<value optimized out>, constants_data=0x1e6aa60) at bytecode.c:862
#48 0x00000000004ab8cd in Ffuncall (nargs=3, args=0x7fff4a384108) at eval.c:3518
#49 0x000000000046fabe in execute_optimized_program (
program=0x2306a30
"\tų«\006Ɯfǜ"\024\v«\036ǜ032\f¢ȳ«\tɜb\233«\004ʠ\210\v\f!\210\n«\004ˠ\210)ª\006̜fǜ"\210͜207",
stack_depth=<value optimized out>, constants_data=0x2221110)
at bytecode.c:862
#50 0x00000000004ab8cd in Ffuncall (nargs=2, args=0x7fff4a3842b8) at eval.c:3518
#51 0x000000000046fabe in execute_optimized_program (program=0x18 <Address 0x18 out of
bounds>,
stack_depth=<value optimized out>, constants_data=0x1e49c40) at bytecode.c:862
#52 0x00000000004ab8cd in Ffuncall (nargs=2, args=0x7fff4a384478) at eval.c:3518
#53 0x000000000046fabe in execute_optimized_program (program=0x6 <Address 0x6 out of
bounds>,
stack_depth=<value optimized out>, constants_data=0x1e49c40) at bytecode.c:862
#54 0x00000000004ab8cd in Ffuncall (nargs=2, args=0x7fff4a384638) at eval.c:3518
#55 0x000000000046fabe in execute_optimized_program (program=0x6 <Address 0x6 out of
bounds>,
stack_depth=<value optimized out>, constants_data=0x1e49bd8) at bytecode.c:862
#56 0x00000000004ab8cd in Ffuncall (nargs=1, args=0x7fff4a384928) at eval.c:3518
#57 0x00000000004b1643 in Fcall_with_condition_handler (nargs=2, args=0x7fff4a384920) at
eval.c:2124
#58 0x00000000004abb7e in Ffuncall (nargs=3, args=0x7fff4a384918) at eval.c:3947
#59 0x000000000046fabe in execute_optimized_program (program=0x5 <Address 0x5 out of
bounds>,
stack_depth=<value optimized out>, constants_data=0x2162598) at bytecode.c:862
#60 0x00000000004ab8cd in Ffuncall (nargs=3, args=0x7fff4a384b28) at eval.c:3518
#61 0x000000000046fabe in execute_optimized_program (program=0x5 <Address 0x5 out of
bounds>,
stack_depth=<value optimized out>, constants_data=0x1b46c18) at bytecode.c:862
#62 0x00000000004ab8cd in Ffuncall (nargs=2, args=0x7fff4a384cf8) at eval.c:3518
#63 0x000000000046fabe in execute_optimized_program (program=0x7fff4a384da0
"\b!\210207",
stack_depth=<value optimized out>, constants_data=0x2262f60) at bytecode.c:862
#64 0x00000000004714d6 in Fbyte_code (instructions=36168664, constants=36056912,
stack_depth=<value optimized out>) at bytecode.c:2620
#65 0x00000000004aadc6 in Feval (form=36168640) at eval.c:3677
#66 0x00000000004adc58 in condition_case_1 (handlers=<value optimized out>,
bfun=0x4a9ef0 <Feval>,
barg=36168640, hfun=0x4b1680 <run_condition_case_handlers>, harg=27011904) at
eval.c:1947
#67 0x000000000046ecdb in execute_rare_opcode (stack_ptr=0x7fff4a385198,
unused_program_ptr=<value optimized out>, opcode=<value optimized out>) at
bytecode.c:1438
#68 0x00000000004701fd in execute_optimized_program (program=0x228b730
"217\207",
stack_depth=<value optimized out>, constants_data=0x2262f88) at bytecode.c:754
#69 0x00000000004ab8cd in Ffuncall (nargs=2, args=0x7fff4a385348) at eval.c:3518
#70 0x000000000046fabe in execute_optimized_program (program=0x47 <Address 0x47 out of
bounds>,
stack_depth=<value optimized out>, constants_data=0x1e6a850) at bytecode.c:862
#71 0x00000000004ab8cd in Ffuncall (nargs=1, args=0x7fff4a385508) at eval.c:3518
#72 0x000000000046fabe in execute_optimized_program (program=0x5 <Address 0x5 out of
bounds>,
stack_depth=<value optimized out>, constants_data=0x2048cc0) at bytecode.c:862
#73 0x00000000004ab8cd in Ffuncall (nargs=1, args=0x7fff4a3856b8) at eval.c:3518
#74 0x000000000046fabe in execute_optimized_program (program=0x223cf90 "\b\211A\020@!
\207",
stack_depth=<value optimized out>, constants_data=0x1b8fe50) at bytecode.c:862
#75 0x00000000004ab8cd in Ffuncall (nargs=2, args=0x7fff4a385868) at eval.c:3518
#76 0x000000000046fabe in execute_optimized_program (program=0x9 <Address 0x9 out of
bounds>,
stack_depth=<value optimized out>, constants_data=0x1b5a530) at bytecode.c:862
#77 0x00000000004ab8cd in Ffuncall (nargs=1, args=0x7fff4a385a38) at eval.c:3518
#78 0x000000000046fabe in execute_optimized_program (program=0x8 <Address 0x8 out of
bounds>,
stack_depth=<value optimized out>, constants_data=0x1b83198) at bytecode.c:862
#79 0x00000000004ab8cd in Ffuncall (nargs=1, args=0x7fff4a385bf8) at eval.c:3518
#80 0x000000000046fabe in execute_optimized_program (program=0x4 <Address 0x4 out of
bounds>,
stack_depth=<value optimized out>, constants_data=0x1b682f0) at bytecode.c:862
#81 0x00000000004aa913 in Feval (form=27411680) at eval.c:3518
#82 0x00000000004adc58 in condition_case_1 (handlers=<value optimized out>,
bfun=0x4a9ef0 <Feval>,
barg=27411680, hfun=0x47c290 <cmd_error>, harg=27214928) at eval.c:1947
#83 0x000000000047c520 in top_level_1 (unused_dummy=<value optimized out>) at
cmdloop.c:223
#84 0x00000000004a9ea0 in internal_catch (tag=<value optimized out>, func=0x47c4f0
<top_level_1>,
arg=27214928, threw=0x0, thrown_tag=0x0, backtrace_before_throw=0x0) at eval.c:1553
#85 0x000000000047c463 in initial_command_loop (load_me=<value optimized out>) at
cmdloop.c:293
#86 0x00000000004a4219 in xemacs_21_5_b28_x86_64_suse_linux (argc=18, argv=0x7fff4a386348,
unused_envp=<value optimized out>, restart=0) at emacs.c:2797
#87 0x00000000004a4ebc in main (argc=<value optimized out>, argv=<value optimized
out>,
unused_envp=<value optimized out>) at emacs.c:3241
(gdb)
--
Mike FABIAN <mfabian(a)suse.de>
http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。
I � Unicode
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta