* [r6rs] misc problems with the cache of precompiled files
@ 2010-06-11 6:04 Marco Maggi
2010-06-11 6:11 ` Marco Maggi
2010-06-14 21:46 ` Andy Wingo
0 siblings, 2 replies; 8+ messages in thread
From: Marco Maggi @ 2010-06-11 6:04 UTC (permalink / raw)
To: guile-user
I just noticed that my cache has this file in it:
/home/marco/.cache/guile/ccache/2.0-0.Q-LE-4/home/marco/.cache/guile/ccache/2.0-0.Q-LE-4/home/marco/var/tmp/proof.sps.go.go
should I expect this or is something wrong with pathname
construction? I have not found a way to reproduce it for
now.
Anyway, I have this script "proof.sps":
(import (rnrs))
(display "ciao\n")
first I do:
$ rm -fr ~/.cache/guile/ccache/2.0-0.Q-LE-4/home/marco
to start from a clean state, then:
$ guile -s proof.sps
;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-autocompile argument to disable.
;;; compiling proof.sps
WARNING: (rnrs): `i/o-error-port' imported from both (rnrs files) and (rnrs io simple)
WARNING: (rnrs): `i/o-port-error?' imported from both (rnrs files) and (rnrs io simple)
... <many more like this>
;;; compiled /home/marco/.cache/guile/ccache/2.0-0.Q-LE-4/home/marco/var/tmp/proof.sps.go
ciao
$ guile -s proof.sps
;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-autocompile argument to disable.
;;; compiling /usr/local/share/guile/2.0/srfi//srfi-11.scm
;;; WARNING: compilation of /usr/local/share/guile/2.0/srfi//srfi-11.scm failed:
;;; key misc-error, throw_args (#f "~A ~S" ("no code for module" (srfi srfi-11)) #f)
;;; compiling /usr/local/share/guile/2.0/rnrs/io//ports.scm
;;; WARNING: compilation of /usr/local/share/guile/2.0/rnrs/io//ports.scm failed:
;;; key misc-error, throw_args (#f "~A ~S" ("no such language" scheme) #f)
ERROR: Unbound variable: define-module
--
Marco Maggi
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [r6rs] misc problems with the cache of precompiled files
2010-06-11 6:04 [r6rs] misc problems with the cache of precompiled files Marco Maggi
@ 2010-06-11 6:11 ` Marco Maggi
2010-06-14 21:46 ` Andy Wingo
1 sibling, 0 replies; 8+ messages in thread
From: Marco Maggi @ 2010-06-11 6:11 UTC (permalink / raw)
To: guile-user
"Marco Maggi" wrote:
> I just noticed that my cache has this file in it:
Sorry, I forgot: i686-pc-linux-gnu, guile 1.9.11.
--
Marco Maggi
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [r6rs] misc problems with the cache of precompiled files
2010-06-11 6:04 [r6rs] misc problems with the cache of precompiled files Marco Maggi
2010-06-11 6:11 ` Marco Maggi
@ 2010-06-14 21:46 ` Andy Wingo
2010-06-14 21:56 ` No Itisnt
1 sibling, 1 reply; 8+ messages in thread
From: Andy Wingo @ 2010-06-14 21:46 UTC (permalink / raw)
To: Marco Maggi; +Cc: guile-user
Hello Marco,
On Fri 11 Jun 2010 08:04, Marco Maggi <marco.maggi-ipsu@poste.it> writes:
> I just noticed that my cache has this file in it:
>
> /home/marco/.cache/guile/ccache/2.0-0.Q-LE-4/home/marco/.cache/guile/ccache/2.0-0.Q-LE-4/home/marco/var/tmp/proof.sps.go.go
>
> should I expect this or is something wrong with pathname
> construction?
It doesn't look right. Let us know if you can reproduce it.
By the way, thank you for your bug reports, they have been good. I
haven't been able to get around to them all yet. You should build from
git, though, as there have been a number of bugs fixed since the
release.
> Anyway, I have this script "proof.sps":
>
> (import (rnrs))
> (display "ciao\n")
There are some bugs still around regarding the compilation cache and
r6rs modules -- or specifically, with versioned modules, which r6rs
modules are. We're still working that one out and hpe to have something
in a couple days.
> WARNING: (rnrs): `i/o-error-port' imported from both (rnrs files) and (rnrs io simple)
> WARNING: (rnrs): `i/o-port-error?' imported from both (rnrs files) and (rnrs io simple)
> ... <many more like this>
These warnings will be fixed soon.
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [r6rs] misc problems with the cache of precompiled files
2010-06-14 21:46 ` Andy Wingo
@ 2010-06-14 21:56 ` No Itisnt
2010-06-14 23:00 ` Andy Wingo
0 siblings, 1 reply; 8+ messages in thread
From: No Itisnt @ 2010-06-14 21:56 UTC (permalink / raw)
To: Andy Wingo; +Cc: guile-user
> There are some bugs still around regarding the compilation cache and
> r6rs modules -- or specifically, with versioned modules, which r6rs
> modules are. We're still working that one out and hpe to have something
> in a couple days.
Is that the issue I bumped into with (rnrs control)?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [r6rs] misc problems with the cache of precompiled files
2010-06-14 21:56 ` No Itisnt
@ 2010-06-14 23:00 ` Andy Wingo
2010-06-15 21:41 ` No Itisnt
0 siblings, 1 reply; 8+ messages in thread
From: Andy Wingo @ 2010-06-14 23:00 UTC (permalink / raw)
To: No Itisnt; +Cc: guile-user
On Mon 14 Jun 2010 23:56, No Itisnt <theseaisinhere@gmail.com> writes:
>> There are some bugs still around regarding the compilation cache and
>> r6rs modules -- or specifically, with versioned modules, which r6rs
>> modules are. We're still working that one out and hpe to have something
>> in a couple days.
>
> Is that the issue I bumped into with (rnrs control)?
Can you refresh my memory? :)
A
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [r6rs] misc problems with the cache of precompiled files
2010-06-14 23:00 ` Andy Wingo
@ 2010-06-15 21:41 ` No Itisnt
2010-06-15 22:10 ` Andy Wingo
0 siblings, 1 reply; 8+ messages in thread
From: No Itisnt @ 2010-06-15 21:41 UTC (permalink / raw)
To: Andy Wingo; +Cc: guile-user
[-- Attachment #1: Type: text/plain, Size: 698 bytes --]
On Mon, Jun 14, 2010 at 6:00 PM, Andy Wingo <wingo@pobox.com> wrote:
> On Mon 14 Jun 2010 23:56, No Itisnt <theseaisinhere@gmail.com> writes:
>
>>> There are some bugs still around regarding the compilation cache and
>>> r6rs modules -- or specifically, with versioned modules, which r6rs
>>> modules are. We're still working that one out and hpe to have something
>>> in a couple days.
>>
>> Is that the issue I bumped into with (rnrs control)?
>
> Can you refresh my memory? :)
We talked about it in the Lua thread but I don't think you were able
to duplicate it.
Test case attached. (running it directly twice from the command line
causes an unresolved variable error that doesn't make sense)
[-- Attachment #2: test.scm --]
[-- Type: application/octet-stream, Size: 151 bytes --]
(define-module (module)
#:use-module ((rnrs control) #:version (6))
#:use-module (language tree-il))
(make-const #f 2)
(display 'done)
(newline)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [r6rs] misc problems with the cache of precompiled files
2010-06-15 21:41 ` No Itisnt
@ 2010-06-15 22:10 ` Andy Wingo
2010-06-15 23:01 ` No Itisnt
0 siblings, 1 reply; 8+ messages in thread
From: Andy Wingo @ 2010-06-15 22:10 UTC (permalink / raw)
To: No Itisnt; +Cc: guile-user
On Tue 15 Jun 2010 23:41, No Itisnt <theseaisinhere@gmail.com> writes:
> On Mon, Jun 14, 2010 at 6:00 PM, Andy Wingo <wingo@pobox.com> wrote:
>> On Mon 14 Jun 2010 23:56, No Itisnt <theseaisinhere@gmail.com> writes:
>>
>>>> There are some bugs still around regarding the compilation cache and
>>>> r6rs modules -- or specifically, with versioned modules, which r6rs
>>>> modules are. We're still working that one out and hpe to have something
>>>> in a couple days.
>>>
>>> Is that the issue I bumped into with (rnrs control)?
>>
>> Can you refresh my memory? :)
>
> We talked about it in the Lua thread but I don't think you were able
> to duplicate it.
>
> Test case attached. (running it directly twice from the command line
> causes an unresolved variable error that doesn't make sense)
I can reproduce this now, for whatever reason:
$ meta/guile test.scm
;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-autocompile argument to disable.
;;; compiling /home/wingo/src/guile/module/srfi/srfi-11.scm
;;; WARNING: compilation of /home/wingo/src/guile/module/srfi/srfi-11.scm failed:
;;; key misc-error, throw_args (#f "~A ~S" ("no code for module" (srfi srfi-11)) #f)
ERROR: In procedure module-lookup:
ERROR: Unbound variable: make-const
Bleah.
A
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [r6rs] misc problems with the cache of precompiled files
2010-06-15 22:10 ` Andy Wingo
@ 2010-06-15 23:01 ` No Itisnt
0 siblings, 0 replies; 8+ messages in thread
From: No Itisnt @ 2010-06-15 23:01 UTC (permalink / raw)
To: Andy Wingo; +Cc: guile-user
On Tue, Jun 15, 2010 at 5:10 PM, Andy Wingo <wingo@pobox.com> wrote:
> On Tue 15 Jun 2010 23:41, No Itisnt <theseaisinhere@gmail.com> writes:
>
>> On Mon, Jun 14, 2010 at 6:00 PM, Andy Wingo <wingo@pobox.com> wrote:
>>> On Mon 14 Jun 2010 23:56, No Itisnt <theseaisinhere@gmail.com> writes:
>>>
>>>>> There are some bugs still around regarding the compilation cache and
>>>>> r6rs modules -- or specifically, with versioned modules, which r6rs
>>>>> modules are. We're still working that one out and hpe to have something
>>>>> in a couple days.
>>>>
>>>> Is that the issue I bumped into with (rnrs control)?
>>>
>>> Can you refresh my memory? :)
>>
>> We talked about it in the Lua thread but I don't think you were able
>> to duplicate it.
>>
>> Test case attached. (running it directly twice from the command line
>> causes an unresolved variable error that doesn't make sense)
>
> I can reproduce this now, for whatever reason:
>
> $ meta/guile test.scm
> ;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0
> ;;; or pass the --no-autocompile argument to disable.
> ;;; compiling /home/wingo/src/guile/module/srfi/srfi-11.scm
> ;;; WARNING: compilation of /home/wingo/src/guile/module/srfi/srfi-11.scm failed:
> ;;; key misc-error, throw_args (#f "~A ~S" ("no code for module" (srfi srfi-11)) #f)
> ERROR: In procedure module-lookup:
> ERROR: Unbound variable: make-const
>
> Bleah.
>
> A
> --
> http://wingolog.org/
You couldn't get it before because it doesn't happen when you load it
with (use-modules), even on successive REPL sessions. Which just adds
confusion...
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-06-15 23:01 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-11 6:04 [r6rs] misc problems with the cache of precompiled files Marco Maggi
2010-06-11 6:11 ` Marco Maggi
2010-06-14 21:46 ` Andy Wingo
2010-06-14 21:56 ` No Itisnt
2010-06-14 23:00 ` Andy Wingo
2010-06-15 21:41 ` No Itisnt
2010-06-15 22:10 ` Andy Wingo
2010-06-15 23:01 ` No Itisnt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).