bug#21613: Include messes up when compiling file in load path

2015-10-04 Thread Taylan Ulrich Bayırlı/Kammer
When a file to be compiled, A.scm, contains (include "B.scm"), the compiler fails to find B.scm if the directory containing A and B are in Guile's load path. Here's a shell transcript showcasing the bug: --- snip --- $ mkdir test $ echo '(include "test2.scm")' > test/test1.scm $ echo '(display "f

bug#21614: add-to-load-path compilation fails with compile-cps error

2015-10-04 Thread tantalum
hi, i am getting a compilation error which seems odd to me, with guile version 2.1.0.455-73f61, compiled from the commit from 2015-09-18. here are several scenarios i tried: # code in a file ## file contents (add-to-load-path "test") ## compilation guile t.scm ;;; note: auto-compilation

bug#21613: Include messes up when compiling file in load path

2015-10-04 Thread Taylan Ulrich Bayırlı/Kammer
taylanbayi...@gmail.com (Taylan Ulrich "Bayırlı/Kammer") writes: > This seems to be related to 'compile-file' setting > '%file-port-name-canonicalization' to 'relative', but I don't know > what the correct fix is. With the following trivial patch changing 'relative' to 'absolute', Guile's test su