From: <don...@is...> - 2017-12-10 23:50:19
|
Sam Steingold writes: > > * Don Cohen <qba...@vf...3-vap.pbz> [2017-12-10 05:22:15 +0000]: > > > > > ./lisp.run -B . -N locale -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc -q > > > -M lispinit.mem -x '(truename (make-stream :output))' > > > *** - TRUENAME: File #P"/dev/pts/3" does not exist > > > > > > make: *** [Makefile:2237: check-script] Error 1 > > > admin [ /sources/gnu/clisp-clisp/build-2017-12-09-15:28:18-Saturday > > > ]$ ls /dev/pts/ptmx > > what is your platform and setup? > (linux? cron as root? configure options?) note that the above problem was reported by Jean Louis and did not happen to me -- so I think you're asking for HIS platform, etc. the stuff below, however, is mine > > Form: (HANDLER-CASE (LETF ((*CURRENT-LANGUAGE* 'FRENCH)) (LIST (STRING= > > "À bientôt!" (SYSTEM::TEXT "Bye.")) (STRING= *CURRENT-LANGUAGE* > > "FRANÇAIS"))) (ERROR (E) (PRINC-ERROR E) '(T T))) > > CORRECT: (T T) > > CLISP : (NIL T) > > Differ at position 0: T vs NIL > > CORRECT: (T T) > > CLISP : (NIL T) > > are you building --without-unicode ? I don't think so, and in fact :UNICODE does appear in *features*, and for that matter FRANCAIS (with the extra mark on the C) does appear in the *CURRENT-LANGUAGE* test. > > Form: (WITH-OPEN-FILE (COPY S) (STREAMP COPY)) > > CORRECT: T > > CLISP : ERROR > > OS-FILE-ERROR(13): Permission denied > > OUT: > > "[OS-FILE-ERROR]: OS-FILE-ERROR(13): Permission denied > > " > > > > > > Form: (LET ((*REOPEN-OPEN-FILE* NIL)) (WITH-OPEN-FILE (COPY S > > :DIRECTION :OUTPUT) (STREAMP COPY))) > > CORRECT: T > > CLISP : ERROR > > OS-FILE-ERROR(13): Permission denied > > OUT: > > "[OS-FILE-ERROR]: OS-FILE-ERROR(13): Permission denied > > " > > I think this is the same failure as the TRUENAME above. Even though the truename above did not fail for me. So maybe you do want my platform and setup... yes linux, fedora, fc24.x86_64 make check run by user don, not even from cron Configure and make were done from cron but also as user don. ./configure CC='gcc -m64' --disable-maintainer-mode --with-debug --with-module=rawsock build-dir Note that if I run clisp as root then: [1]> (WITH-OPEN-FILE (COPY (make-stream :INPUT)) (STREAMP COPY)) T There are some things that are expected to work as root but not as other users (rawsock I think has some). It was not clear to me how you wanted to test such things. I don't know why this should or should not be such a thing. There are probably legitimate choices made by different OS versions on things like permission of users to access /dev/pts/9 Break 1 [12]> (truename (make-stream :OUTPUT)) #P"/dev/pts/9" $ ls -l /dev/pts/9 crw--w----. 1 root tty 136, 9 Dec 10 15:48 /dev/pts/9 |