Re: nightly build error fixed

[email protected] (Don Cohen)
Newsgroups gmane.lisp.clisp.devel
Message-ID <[email protected]>
Sam Steingold writes:
 > > * Don Cohen <[email protected]> [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

------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.