Subject: bug#13848: Statically linking guile-2.0.

From: [email-masked]
Date: Mon, 11 Mar 2013 10:30:25 +0100

You're right, that wasn't a very efficient work process. So I attached two complete build logs with make -k. One with posix and threads, and one without.

Both have some slight differences, but the major hiccups happen at the same places: one is the autofrisk from be fore, the other is with the scan-api.

I'm definitely too tired now though to do anything productive. Good night.

Jan Schukat

On 11.03.2013, at 09:26, Andy Wingo <[email-masked]> wrote:

> On Mon 11 Mar 2013 02:43, [email-masked] writes:
> 
>>  GUILEC scripts/autofrisk.go
>> Backtrace:
>> In ice-9/psyntax.scm:
>> 1101: 19 [expand-top-sequence ((define (unglob pattern) (let # #))) () ...]
>> 1259: 18 [#<procedure 2205150 at ice-9/psyntax.scm:1067:36 ()>]
>> 1605: 17 [expand-simple-lambda (# . #) () (()) ...]
>> 1509: 16 [parse (((# #) . #(syntax-object # # #))) () () () () () ()]
>> In ice-9/boot-9.scm:
>> 627: 15 [map #<procedure 223e8d0 at ice-9/psyntax.scm:1510:50 (x)> ((# . #))]
>> In ice-9/psyntax.scm:
>> 2114: 14 [expand-let (let # #) (# #) (# # #) ...]
>> In ice-9/boot-9.scm:
>> 627: 13 [map #<procedure 223ab20 at ice-9/psyntax.scm:2114:49 (x)> (#)]
>> In ice-9/psyntax.scm:
>> 1257: 12 [#<procedure 223ab20 at ice-9/psyntax.scm:2114:49 (x)> (open-input-pipe #)]
>> 1186: 11 [syntax-type (open-input-pipe #) (# #) (# # #) ...]
>> 579: 10 [syntax-type open-input-pipe (# #) (# # #) ...]
>> 292: 9 [get-global-definition-hook open-input-pipe (hygiene scripts autofrisk)]
>> In unknown file:
>>   ?: 8 [module-variable #<directory (scripts autofrisk) 2184d80> open-input-pipe]
>> In ice-9/boot-9.scm:
>> 2790: 7 [b #<autoload (ice-9 popen) 2216d80> open-input-pipe #f]
>> 2579: 6 [#<procedure 1d05530 at ice-9/boot-9.scm:2567:4 (name #:optional autoload version #:key ensure)> # ...]
>> 2850: 5 [try-module-autoload (ice-9 popen) #f]
>> 2191: 4 [save-module-excursion #<procedure 223e7e0 at ice-9/boot-9.scm:2851:17 ()>]
>> 2870: 3 [#<procedure 223e7e0 at ice-9/boot-9.scm:2851:17 ()>]
>> In unknown file:
>>   ?: 2 [primitive-load-path "ice-9\\popen" ...]
>>   ?: 1 [load-extension "libguile-2.0" "scm_init_popen"]
>> In ice-9/boot-9.scm:
>> 106: 0 [#<procedure 200ace0 at ice-9/boot-9.scm:97:6 (thrown-k . args)> misc-error ...]
>> 
>> ice-9/boot-9.scm:106:20: In procedure #<procedure 200ace0 at ice-9/boot-9.scm:97:6 (thrown-k . args)>:
>> ice-9/boot-9.scm:106:20: In procedure dynamic-link: file: "libguile-2.0", message: "The specified module could not be found."
>> make[3]: *** [scripts/autofrisk.go] Error 1
>> make[3]: Leaving directory `/c/Users/shookie/guiletest/lib/guile-2.0/module'
>> make[2]: *** [install-recursive] Error 1
>> make[2]: Leaving directory `/c/Users/shookie/guiletest/lib/guile-2.0'
>> make[1]: *** [install] Error 2
>> make[1]: Leaving directory `/c/Users/shookie/guiletest/lib/guile-2.0'
>> make: *** [lib/lib/libguile-2.0.a] Error 2
> 
> Interesting; seems to be an instance of
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12202.
> 
> Can you try "make -k" and see what other errors you uncover?  At this
> point it has compiled pretty much all of the needed code, using the
> built guile, so we're really close.
> 
> Andy
> -- 
> http://wingolog.org/