Error in streams.erg during make check on macosSierra
Karsten Poeck <[email protected]>
| Newsgroups | gmane.lisp.clisp.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello,
after the recent activity I tried to rebuild clisp on darwin 10.12.3.
build works fine, but during make check I have 1 error in streams.erg
for the form
(STRINGP (WITH-OUTPUT-TO-STRING (S) (DESCRIBE NIL S)))
Reproducing in the repl in a new clisp session I get the same error:
[1]> (STRINGP (WITH-OUTPUT-TO-STRING (S) (DESCRIBE NIL S)))
;; connecting to
"http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/Data/Map_Sym.txt"...connected...HTTP/1.1
404 Not Found
;; "Date: Tue, 28 Feb 2017 18:29:01 GMT"
;; "Server: Apache/2.4.7 (Ubuntu)"
;; "Content-Length: 253"
;; "Connection: close"
;; "Content-Type: text/html; charset=iso-8859-1"
;; ""
;; "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">"
;; "<html><head>"
;; "<title>404 Not Found</title>"
;; "</head><body>"
;; "<h1>Not Found</h1>"
;; "<p>The requested URL
/projects/iiip/doc/CommonLISP/HyperSpec/Data/Map_Sym.txt was not found
on this server.</p>"
;; "</body></html>"
;; connecting to
"http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/Data/Symbol-Table.text"...connected...HTTP/1.1
200 OK...45,322 bytes
;; SYSTEM::GET-CLHS-MAP(#<IO INPUT-BUFFERED SOCKET-STREAM CHARACTER
www.ai.mit.edu:80>)...978/978 symbols
;; connecting to
"http://clisp.cons.org/impnotes/id-href.map"...connected...HTTP/1.1 302
Found --> "https://clisp.cons.org:80/impnotes/id-href.map"
;; connecting to
"http://clisp.cons.orghttps://clisp.cons.org:80/impnotes/id-href.map"...
*** - PARSE-INTEGER: substring "" does not have integer syntax at position 0
The following restarts are available:
ABORT :R1 Abort main loop
Backtrace shows:
..
<10/173> #<SYSTEM-FUNCTION INVOKE-DEBUGGER> 1
<11/167> #<SYSTEM-FUNCTION PARSE-INTEGER>
<12/150> #<COMPILED-FUNCTION OPEN-HTTP>
<13/127> #<COMPILED-FUNCTION OPEN-HTTP>
<14/121> #<COMPILED-FUNCTION SYSTEM::OPEN-URL>
<15/116> #<COMPILED-FUNCTION SYSTEM::ENSURE-IMPNOTES-MAP>
...
Funny enough the second call in the same session works fine.
Break 1 [2]> (WITH-OUTPUT-TO-STRING (S) (DESCRIBE NIL S))
"
NIL is the empty list, the symbol NIL, lies in #<PACKAGE COMMON-LISP>,
is accessible in 11 packages CLOS, COMMON-LISP, COMMON-LISP-USER,
EXPORTING, EXT, FFI, POSIX, READLINE, REGEXP, SCREEN, SYSTEM, a
constant, value: NIL, names a type, names
a built-in foreign type, has 3 properties SYSTEM::DOC,
SYSTEM::INSTRUCTION, SYSTEM::TYPE-SYMBOL.
ANSI-CL Documentation is at
\"http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/Body/any_nil.html\"
For more information, evaluate (SYMBOL-PLIST 'NIL).
#<PACKAGE COMMON-LISP> is the package named COMMON-LISP. It has 2
nicknames LISP, CL.
It imports the external symbols of 1 package CLOS and exports 978
symbols to 10 packages READLINE, REGEXP, POSIX, EXPORTING, FFI, SCREEN,
CLOS, COMMON-LISP-USER, EXT, SYSTEM.
NIL [see above]
Documentation:
CLHS:
\"Body/any_nil.html\"
"
The following does not look good, I assume the redirect to
https://clisp.cons.org:80/impnotes/id-href.map does not work properly
;; connecting to
"http://clisp.cons.org/impnotes/id-href.map"...connected...HTTP/1.1 302
Found --> "https://clisp.cons.org:80/impnotes/id-href.map"
;; connecting to
"http://clisp.cons.orghttps://clisp.cons.org:80/impnotes/id-href.map"...
In open-http there is the following in the redirect part
(setq new-url (string-concat #1# host new-url)))
(return-from open-http (open-http new-url))))
if #1# is "http....." and new url is "https://" this might lead to the
wrong call with
"http://clisp.cons.orghttps://clisp.cons.org:80/impnotes/id-href.map"
any hints?
regards
Karsten
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel