errors with Industria

18 views
Skip to first unread message

marcomaggi

unread,
Nov 22, 2012, 7:23:16 AM11/22/12
to Mosh Developer Disscus
Ciao,

I am trying to repackage Goran Weinholt's Industria package with GNU
Autotools and verified support for R6RS implementations; there is a
development release at:

<http://github.com/marcomaggi/auto-industria/downloads>

Unfortunately I cannot make Mosh work with it; after configuring the
package with the options --without-vicare --with-mosh, and running
"make all", the command:

$ make mfasl

will cause the script "compile-all.sps" to be executed: it will just
load all the libraries in the package. With the executable "mosh" I
get the error:

...serialize-library /home/marco/src/devel/scheme/auto-industria/
=build/../weinholt/compression/huffman.sls
... Condition components:
1. &assertion
2. &who who: "car"
3. &message message: "pair required"
4. &irritants irritants: ((e26ff@lp))
error error in raise: returned from non-continuable exception


Exception:
error in raise: returned from non-continuable exception

Stack trace:
1. throw: <subr>
2. (raise c): baselib.scm:943
3. (pass1/sexp->iform sexp lvars tail?): baselib.scm:5634
4. (pass1/sexp->iform sexp lvars tail?): baselib.scm:5634
5. (pass1/letrec* vars vals body source-info lvars tail?):
baselib.scm:5461
6. (pass1/letrec* vars vals body source-info lvars tail?):
baselib.scm:5461
7. ($map1-with-tail f l): baselib.scm:3966
8. (pass1/body->iform body lvars tail?): baselib.scm:5093
9. (pass1/lambda->iform name sexp lvars): baselib.scm:5117
10. (pass1/lambda->iform name sexp lvars): baselib.scm:5117
11. (pass1/assign symbol val lvars tail?): baselib.scm:5076
12. ($map1-with-tail f l): baselib.scm:3966
13. ($map1-with-tail f l): baselib.scm:3966
14. ($map1-with-tail f l): baselib.scm:3966
15. ($map1-with-tail f l): baselib.scm:3966
16. ($map1-with-tail f l): baselib.scm:3966
17. ($map1-with-tail f l): baselib.scm:3966
18. ($map1-with-tail f l): baselib.scm:3966
19. ($map1-with-tail f l): baselib.scm:3966
20. ($map1-with-tail f l): baselib.scm:3966
... (more stack dump truncated)

while with the executable "nmosh":

$ make mfasl MOSH_PROGRAM=nmosh

library precompilation looks fine; but then running the tests:

$ make mtest MOSH_PROGRAM=nmosh

I get errors with the test files: "irc", "x86disasm", "zlib". It
looks to me that all the tests succeed under Vicare. I run everything
on a i686-pc-linux-gnu and Mosh version 0.2.7.

higepon

unread,
Nov 23, 2012, 12:30:06 AM11/23/12
to mosh-develo...@googlegroups.com
Hi,

I'm a little bit busy right now, will investigate when I get a moment.

Thanks for the report.




--
You received this message because you are subscribed to the Google Groups "Mosh Developer Disscus" group.
To post to this group, send email to mosh-develo...@googlegroups.com.
To unsubscribe from this group, send email to mosh-developer-di...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mosh-developer-discuss?hl=en.


okuoku

unread,
Nov 22, 2012, 3:55:33 PM11/22/12
to mosh-develo...@googlegroups.com
2012/11/22 marcomaggi <mrc...@gmail.com>:
- snip -
> while with the executable "nmosh":
>
> $ make mfasl MOSH_PROGRAM=nmosh
>
> library precompilation looks fine; but then running the tests:
>
> $ make mtest MOSH_PROGRAM=nmosh
>
> I get errors with the test files: "irc", "x86disasm", "zlib". It
> looks to me that all the tests succeed under Vicare. I run everything
> on a i686-pc-linux-gnu and Mosh version 0.2.7.

Thanks for the report. I did quick-scan for nmosh and found problems as below:

- General: mosh/nmosh lacks SRFI-25 implementation.
- irc: Textual port does unexpected \n => \r\n conversion
- x86disasm: Something wrong with Record RTD implementation which
backs our R6RS enum set
- zlib: Mysterious!!

I have no idea why zlib test fails.. Anyway, i will fix others soon.
-- oku

marcomaggi

unread,
Nov 23, 2012, 9:22:08 AM11/23/12
to Mosh Developer Disscus
Sorry, I forgot to say that to run Industria with Mosh I ported the
missing SRFI from Derick Eddington's distribution. I will file an
issue with the archive attached.

On Nov 22, 9:55 pm, okuoku <oku...@gmail.com> wrote:
> 2012/11/22 marcomaggi <mrc....@gmail.com>:
Reply all
Reply to author
Forward
0 new messages