Opened 8 months ago

Closed 7 months ago

#1603 closed defect (fixed)

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

Reported by: wasamasa 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 8 months ago by wasamasa

Component: unknownextensions
Estimated difficulty: trivial
Keywords: compiler removed

comment:2 Changed 8 months ago by sjamaan

Owner: set to sjamaan
Status: newaccepted

comment:3 Changed 7 months 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.