[pkg-s48-maint] Bug#452887: scsh-0.6: Some flags (e.g. open/create) have wrong values on SPARC

Robert Munyer 5082149469 at spambob.net
Sun Nov 25 21:41:07 UTC 2007

Package: scsh-0.6
Version: 0.6.7-3
Severity: normal

Some flags (e.g. open/create) have wrong values on SPARC.
One result of this is that create-temp-file doesn't work.

Transcript below shows correct value used by gcc, and
incorrect value used by scsh.

$ cat flag.c
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>

int main (int argc, char **argv)
{ printf ("O_CREAT = %ld\n", (long) O_CREAT);
  return 0;
$ cc flag.c
$ ./a.out
O_CREAT = 512
$ scsh
Welcome to scsh 0.6.7 (R6RS)
Type ,? for help.
> open/create
> (create-temp-file)

Error: 2
       "No such file or directory"
       #{Procedure 13389 (%open in scsh-level-0)}

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: sparc (sparc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-sparc64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages scsh-0.6 depends on:
ii  libc6                  2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii  libelfg0               0.8.6-3           an ELF object file access library
ii  scsh-common-0.6        0.6.7-3           A `scheme' interpreter designed fo

scsh-0.6 recommends no packages.

-- no debconf information

More information about the pkg-scheme48-maintainers mailing list