From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Newsgroups: gmane.lisp.guile.user Subject: Re: Cross-compiling Guile 3.0.4 Date: Tue, 15 Dec 2020 21:32:01 +0100 Message-ID: <87o8iulsji.fsf@gnu.org> References: <87lfe2lj45.fsf@ya.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37249"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) To: guile-user@gnu.org Cancel-Lock: sha1:fEIr/qdzgUaL8UQajmB7bBCseY4= Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Dec 15 21:32:40 2020 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kpGzw-0009c8-Gu for guile-user@m.gmane-mx.org; Tue, 15 Dec 2020 21:32:40 +0100 Original-Received: from localhost ([::1]:51034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kpGzv-0007XL-GN for guile-user@m.gmane-mx.org; Tue, 15 Dec 2020 15:32:39 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpGzS-0007X1-OK for guile-user@gnu.org; Tue, 15 Dec 2020 15:32:10 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]:47788) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpGzR-0005Fx-A7 for guile-user@gnu.org; Tue, 15 Dec 2020 15:32:10 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kpGzN-0008rj-UO for guile-user@gnu.org; Tue, 15 Dec 2020 21:32:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 Frimaire an 229 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Received-SPF: pass client-ip=116.202.254.214; envelope-from=guile-user@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17084 Archived-At: Hi Ivan, Ivan Sokolov skribis: > GUILEC language/elisp/boot.go > Backtrace: > In ice-9/boot-9.scm: > 1736:10 17 (with-exception-handler _ _ #:unwind? _ # _) > In unknown file: > 16 (apply-smob/0 #) > In ice-9/boot-9.scm: > 718:2 15 (call-with-prompt _ _ #) > In ice-9/eval.scm: > 619:8 14 (_ #(#(#))) > 155:9 13 (_ #(#(# ("comp?" ?)) #)) > In scripts/compile.scm: > 258:4 12 (compile . _) > In system/base/compile.scm: > 84:6 11 (compute-compiler elisp bytecode 2 1 (#:warnings (#))) > In system/base/language.scm: > 63:11 10 (lookup-language elisp) > In ice-9/threads.scm: > 390:8 9 (_ _) > In ice-9/boot-9.scm: > 3223:13 8 (_) > In ice-9/threads.scm: > 390:8 7 (_ _) > In ice-9/boot-9.scm: > 3507:20 6 (_) > 2806:4 5 (save-module-excursion #) > 3527:26 4 (_) > In unknown file: > 3 (primitive-load-path "language/elisp/spec" #) > In system/base/target.scm: > 71:4 2 (with-native-target _) > In system/base/compile.scm: > 206:22 1 (compile-and-load #f #:from _ #:to _ #:env _ # _ # _ # _ ?) > In unknown file: > 0 (open-file #f "r" #:encoding #f #:guess-encoding #f) > > ERROR: In procedure open-file: > Wrong type (expecting string): #f > make[2]: *** [Makefile:2287: language/elisp/boot.go] Error 1 > make[2]: Leaving directory '/builddir/guile-3.0.4/module' This corresponds to these lines in ‘modules/language/elisp/spec.scm’: --8<---------------cut here---------------start------------->8--- (with-native-target (lambda () (compile-and-load (%search-load-path "language/elisp/boot.el") #:from 'elisp))) --8<---------------cut here---------------end--------------->8--- The #f passed to ‘compile-and-load’ suggests that ‘boot.el’ was not found in the search path. Could it be that it’s been stripped from your source? (FWIW Guile 3.0.4 cross-builds fine on Guix.) HTH, Ludo’.