|
From: Sam S. <sd...@gn...> - 2011-06-24 20:20:09
|
Hi,
> * Jerry James <ybt...@tz...> [2011-06-23 16:58:59 -0600]:
>
> A few months ago, I assumed maintainership of the clisp package in
> Fedora (not that I'm any kind of expert, but because I didn't want it
> to be dropped from the Fedora repository).
thanks!
> The immediate build problem is that Rawhide moved from libsvm 3.0 to
> 3.1, which dropped the deprecated svm_destroy_model function entirely.
> I'm attaching the patch I came up with to address this problem. I am
> not confident that it is correct. I'd appreciate somebody looking it
> over for me.
Thanks for the nice patch. However, I committed a different one because
I want to preserve support for libsvm 2.*.
Please try hg tip.
> (LET ((LIST NIL)) (DO-EXTERNAL-SYMBOLS (SYM (FIND-PACKAGE "CHARSET"))
> (PUSH (LIST SYM (ASH (LENGTH (SYSTEM::GET-CHARSET-RANGE
> (ENCODING-CHARSET (SYMBOL-VALUE SYM)))) -1)) LIST)) (SETQ LIST (SORT
> LIST #'< :KEY #'SECOND)) (FORMAT T "~& ~:D encoding~:P:~%~:{~25@A:
> ~5:D~%~}" (LENGTH LIST) LIST))
>
> *** - handle_fault error2 ! address = 0x0 not in [0x333de6000,0x3340cd7d0) !
> SIGSEGV cannot be cured. Fault address = 0x0.
> GC count: 136
> Space collected by GC: 127282680
> Run time: 16 312519
> Real time: 17 295187
> GC time: 1 294797
> Permanently allocated: 158312 bytes.
> Currently in use: 6606296 bytes.
> Free space: 485928 bytes.
> make[1]: *** [tests] Segmentation fault (core dumped)
> make[1]: Leaving directory
> `/home/jamesjer/rpmbuild/BUILD/clisp-2.49/build/tests'
> make: *** [check-tests] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.Hve8lV (%build)
please paste the failing form into clisp and see what happens.
I see this:
$ ./build/clisp -q -norc
[1]> (let ((list ()))
(do-external-symbols (sym (find-package "CHARSET"))
(push (list sym (ash (length (sys::get-charset-range
(encoding-charset (symbol-value sym))))
-1))
list))
(setq list (sort list #'< :key #'second))
(format t "~& ~:D encoding~:P:~%~:{~25@A: ~5:D~%~}" (length list) list))
117 encodings:
UCS-2: 1
UCS-4: 1
JAVA: 1
UNICODE-32-BIG-ENDIAN: 1
UNICODE-16-LITTLE-ENDIAN: 1
UNICODE-16: 1
UNICODE-32-LITTLE-ENDIAN: 1
UNICODE-32: 1
UNICODE-16-BIG-ENDIAN: 1
ISO-8859-1: 1
UTF-8: 1
UTF-7: 1
ASCII: 1
GB18030: 2
UTF-16: 2
BASE64: 4
TIS-620: 4
JIS_X0201: 6
ISO-8859-9: 8
ISO-8859-5: 8
ISO-8859-6: 8
ISO-8859-8: 9
CP874-IBM: 9
CP874: 10
ARMSCII-8: 10
ISO-8859-15: 12
HP-ROMAN8: 17
CP1252: 18
ISO-8859-7: 18
WINDOWS-1252: 18
MAC-THAI: 18
GEORGIAN-ACADEMY: 21
GEORGIAN-PS: 21
CP1254: 23
CP1133: 23
CP1253: 23
WINDOWS-1253: 23
WINDOWS-1254: 23
CP1251: 24
WINDOWS-1251: 24
MAC-HEBREW: 25
ISO-8859-14: 25
VISCII: 26
ISO-8859-3: 29
MAC-DINGBAT: 30
MAC-CYRILLIC: 31
MAC-UKRAINE: 31
CP850: 31
KOI8-R: 32
CP1255: 34
CP737: 34
ISO-8859-16: 34
WINDOWS-1255: 34
CP866: 34
CP857: 35
MAC-ICELAND: 35
ISO-8859-10: 36
MAC-ARABIC: 37
CP855: 38
MAC-GREEK: 39
CP869-IBM: 40
ISO-8859-4: 40
ISO-8859-13: 40
MAC-ROMAN: 41
MACINTOSH: 41
MAC-TURKISH: 41
CP869: 42
KOI8-U: 43
CP1256: 44
WINDOWS-1256: 44
ISO-8859-2: 45
MAC-CROATIAN: 45
MAC-ROMANIA: 46
CP1257: 47
WINDOWS-1257: 47
TCVN: 52
CP1250: 55
WINDOWS-1250: 55
CP860-IBM: 57
CP862-IBM: 57
CP862: 57
CP860: 57
MAC-CENTRAL-EUROPE: 59
CP437-IBM: 59
CP437: 59
CP865: 60
CP865-IBM: 60
CP863: 60
CP1258: 61
WINDOWS-1258: 61
CP863-IBM: 62
MAC-SYMBOL: 64
CP861-IBM: 64
CP861: 64
CP775: 69
CP852: 73
CP852-IBM: 74
CP864: 82
CP864-IBM: 82
GBK: 140
CP936: 140
CP949: 3,389
JOHAB: 3,391
EUC-CN: 3,632
CP950: 3,806
BIG5: 3,806
ISO-2022-CN: 3,906
ISO-2022-JP: 4,125
SHIFT-JIS: 4,127
CP932: 4,253
EUC-JP: 4,315
BIG5-HKSCS: 4,800
ISO-2022-KR: 5,001
EUC-KR: 5,002
ISO-2022-JP-2: 5,847
ISO-2022-CN-EXT: 6,450
EUC-TW: 6,690
NIL
[2]>
this test counts gaps in the range of different encodings.
if you get a crash, please rebuild --with-debug
(http://www.clisp.org/impnotes/faq.html#faq-debug)
and run under gdb and see what crashes, why and were and on which
encoding.
> Also, in that build log, I see a number of messages of this form, all
> for symbols in either libreadline or libdbus. Do these indicate that
> those two modules have failed to build properly?
>
> WARNING: FFI::FIND-FOREIGN-FUNCTION: foreign function "rl_set_prompt" does not
> exist
> Skip foreign function creation
this means that rl_set_prompt is not available in your libreadline.
what does
$ grep rl_set_prompt /usr/include/readline/readline.h
say?
--
Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031
http://dhimmi.com http://openvotingconsortium.org http://ffii.org
http://camera.org http://honestreporting.com http://iris.org.il
Things that cannot be programmed in assembler have to be soldered.
|