Summary
Bogus module resolution error for fx+ when using scsh-process
Metadata
- Id: 605c49586d89378f723b37cccb08bac9a79c9ab9
- Trac id: 1603
- Type: defect
- Reporter: wasamasa
- Owner: sjamaan
- Cc:
- Status: closed
- Component: extensions
- Estimated difficulty: trivial
- Resolution: fixed
- Priority: minor
- Milestone: someday
- Version: 5.0.0
- Changetime: 2019-05-18 14:50:23 UTC
- Created: 2019-04-10 10:45:37 UTC
- Keywords: modules scsh-process
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.
Changes and comments
[2019-04-10 10:57:05 UTC] wasamasa changed keywords from modules compiler scsh-process to modules scsh-process
[2019-04-10 10:57:05 UTC] wasamasa set difficulty to trivial
[2019-04-10 10:57:05 UTC] wasamasa changed component from unknown to extensions
[2019-04-10 10:57:23 UTC] sjamaan changed status from new to accepted
[2019-04-10 10:57:23 UTC] sjamaan set owner to sjamaan
[2019-05-18 14:50:23 UTC] sjamaan changed status from accepted to closed
[2019-05-18 14:50:23 UTC] sjamaan set resolution to fixed
[2019-05-18 14:50:23 UTC] sjamaan wrote:
This was fixed in scsh-process 1.5.2 (thanks to Evan, who discovered it also and sent me a patch)