Package: plt-scheme
Version: 4.0.1-2
Severity: important

Modules that use the Swindle language module cannot be required with
(require-for-syntax) by other modules. Programs that do so will work
correctly when run with the mzscheme interpreter, but will fail when
compiled with mzc. This is the case with even the simplest possible
example.

To reproduce the problem, create two files: test.scm and test2.scm.

test.scm:
===================================
#lang swindle
(require-for-syntax "test2.scm")

(display "Hello, world!")
(newline)
===================================

test2.scm:
===================================
#lang swindle
(define (foobar x) x)
(provide x)
===================================

Run with: mzscheme -f test.scm
Output:
Hello, world!

Compile with: mzc --exe test test.scm
Run with: ./test
Output:

UNKNOWN::234: read: bad syntax `#?'

 === context ===
loop


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages plt-scheme depends on:
ii  libc6                  2.7-15            GNU C Library: Shared libraries
ii  libcairo2              1.6.4-6           The Cairo 2D vector graphics libra
ii  libfontconfig1         2.6.0-1           generic font configuration library
ii  libfreetype6           2.3.7-2           FreeType 2 font engine, shared lib
ii  libgcc1                1:4.3.2-1         GCC support library
ii  libgl1-mesa-glx [libgl 7.0.3-6           A free implementation of the OpenG
ii  libice6                2:1.0.4-1         X11 Inter-Client Exchange library
ii  libjpeg62              6b-14             The Independent JPEG Group's JPEG 
ii  libpixman-1-0          0.10.0-2          pixel-manipulation library for X a
ii  libpng12-0             1.2.27-2          PNG library - runtime
ii  libsm6                 2:1.0.3-2         X11 Session Management library
ii  libstdc++6             4.3.2-1           The GNU Standard C++ Library v3
ii  libx11-6               2:1.1.5-2         X11 client-side library
ii  libxaw7                2:1.0.4-1         X11 Athena Widget library
ii  libxcb-render-util0    0.2.1+git1-1      utility libraries for X C Binding 
ii  libxcb-render0         1.1-1.1           X C Binding, render extension
ii  libxcb1                1.1-1.1           X C Binding
ii  libxext6               2:1.0.4-1         X11 miscellaneous extension librar
ii  libxft2                2.1.12-3          FreeType-based font drawing librar
ii  libxmu6                2:1.0.4-1         X11 miscellaneous utility library
ii  libxrender1            1:0.9.4-2         X Rendering Extension client libra
ii  libxt6                 1:1.0.5-3         X11 toolkit intrinsics library
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages plt-scheme recommends:
ii  plt-scheme-doc                4.0.1-2    PLT Scheme Documentation

plt-scheme suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to