Opened 6 years ago

Closed 6 years ago

#1603 closed defect (fixed)

Bogus module resolution error for fx+ when using scsh-process

Reported by: Vasilij Schneidermann Owned by: sjamaan
Priority: minor Milestone: someday
Component: extensions Version: 5.0.0
Keywords: modules scsh-process Cc:
Estimated difficulty: trivial

Description

^_^ cat test.scm 
(import scheme)
(import scsh-process)

(run/string (ls) (> 2 "/dev/null"))
^_^ csc -module test test.scm

Warning: reference to possibly unbound identifier `fx+'
Warning:    suggesting: `(import chicken.fixnum)'

Error: module unresolved: test

Error: shell command terminated with non-zero exit status 256: '/home/wasa/.chickens/master/bin/chicken' 'test.scm' -output-file 'test.c' -module test
¬_¬ csc test.scm
^_^ ./test
^_^ csc -version
CHICKEN
(c) 2008-2018, The CHICKEN Team
(c) 2000-2007, Felix L. Winkelmann
Version 5.0.2 (rev b0762667)
linux-unix-gnu-x86-64 [ 64bit dload ptables ]

The redirection appears to be the problematic bit. I'd expect a missing import to result in an error when compiling scsh-process, not a program using it.

Change History (3)

comment:1 Changed 6 years ago by Vasilij Schneidermann

Component: unknownextensions
Estimated difficulty: trivial
Keywords: compiler removed

comment:2 Changed 6 years ago by sjamaan

Owner: set to sjamaan
Status: newaccepted

comment:3 Changed 6 years ago by sjamaan

Resolution: fixed
Status: acceptedclosed

This was fixed in scsh-process 1.5.2 (thanks to Evan, who discovered it also and sent me a patch)

Note: See TracTickets for help on using tickets.