From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roel Janssen Subject: Re: RPC pipelining Date: Wed, 12 Jul 2017 12:32:09 +0200 Message-ID: References: <87y3rw1eb9.fsf@gnu.org> <87a84bxcif.fsf@inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVEwV-00021r-Fl for guix-devel@gnu.org; Wed, 12 Jul 2017 06:32:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVEwQ-0007SO-EV for guix-devel@gnu.org; Wed, 12 Jul 2017 06:32:27 -0400 In-reply-to: <87a84bxcif.fsf@inria.fr> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel Ludovic Courtès writes: > Hi Roel, > > Roel Janssen skribis: > >> substitute: guix substitute: warning: ACL for archive imports seems to be uninitialized, substitutes may be unavailable >> substitute: ;;; Failed to autoload make-session in (gnutls): >> substitute: ;;; ERROR: missing interface for module (gnutls) >> substitute: Backtrace: >> substitute: 1 (primitive-load "/gnu/repositories/guix/scripts/guix") >> substitute: In guix/ui.scm: >> substitute: 1352:12 0 (run-guix-command _ . _) >> substitute: >> substitute: guix/ui.scm:1352:12: In procedure run-guix-command: >> substitute: guix/ui.scm:1352:12: In procedure module-lookup: Unbound variable: make-session >> guix environment: error: build failed: writing to file: Broken pipe > > This is because ‘guix substitute’, called by ‘guix-daemon’, doesn’t find > (gnutls) in its GUILE_LOAD_PATH. > > Use either “sudo -E ./pre-inst-env guix-daemon …” so that guix-daemon > inherits GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH, or > --no-substitutes. > > Thanks for testing! > > Ludo’. Thanks for the pointer. I think it was a bad idea to try it with the pre-inst-env, because before it even got to this point I had to modify the location of guile in the header of scripts/guix. So, maybe I shouldn't be using the pre-inst-env at all and just properly install the patched version. I can always --roll-back anyway. So I applied the patch, and ran: make dist Which produced a tarball. I then modified the guix recipe to use the tarball instead of a git checkout. But unfortunately, building it is again troublesome: ... GUILEC guix/scripts/import/gem.go GUILEC guix/scripts/import/pypi.go GUILEC guix/scripts/import/stackage.go GUILEC guix/ssh.go GUILEC guix/scripts/copy.go GUILEC guix/store/ssh.go GUILEC guix/scripts/offload.go GUILEC guix/config.go GUILEC guix/tests.go GUILEC guix/tests/http.go ;;; Failed to autoload make-page-map in (charting): ;;; ERROR: missing interface for module (charting) ;;; Failed to autoload make-page-map in (charting): ;;; ERROR: missing interface for module (charting) ;;; Failed to autoload read-pid-file in (shepherd service): ;;; ERROR: missing interface for module (shepherd service) ;;; Failed to autoload read-pid-file in (shepherd service): ;;; ERROR: missing interface for module (shepherd service) ;;; Failed to autoload exec-command in (shepherd service): ;;; ERROR: missing interface for module (shepherd service) ;;; Failed to autoload read-pid-file in (shepherd service): ;;; ERROR: missing interface for module (shepherd service) random seed for tests: 1499856249 ;;; Failed to autoload make-page-map in (charting): ;;; ERROR: missing interface for module (charting) ;;; Failed to autoload make-page-map in (charting): ;;; ERROR: missing interface for module (charting) ;;; Failed to autoload make-page-map in (charting): ;;; ERROR: missing interface for module (charting) guix/scripts/size.scm:211:2: warning: possibly unbound variable `make-page-map' ;;; Failed to autoload make-page-map in (charting): ;;; ERROR: missing interface for module (charting) ;;; Failed to autoload make-page-map in (charting): ;;; ERROR: missing interface for module (charting) ;;; Failed to autoload read-pid-file in (shepherd service): ;;; ERROR: missing interface for module (shepherd service) ;;; Failed to autoload read-pid-file in (shepherd service): ;;; ERROR: missing interface for module (shepherd service) ;;; Failed to autoload exec-command in (shepherd service): ;;; ERROR: missing interface for module (shepherd service) ;;; Failed to autoload read-pid-file in (shepherd service): ;;; ERROR: missing interface for module (shepherd service) ;;; Failed to autoload read-pid-file in (shepherd service): ;;; ERROR: missing interface for module (shepherd service) ;;; Failed to autoload exec-command in (shepherd service): ;;; ERROR: missing interface for module (shepherd service) ;;; Failed to autoload read-pid-file in (shepherd service): ;;; ERROR: missing interface for module (shepherd service) gnu/build/shepherd.scm:98:13: warning: possibly unbound variable `read-pid-file' gnu/build/shepherd.scm:159:32: warning: possibly unbound variable `exec-command' gnu/build/shepherd.scm:170:14: warning: possibly unbound variable `read-pid-file' ;;; Failed to autoload read-pid-file in (shepherd service): ;;; ERROR: missing interface for module (shepherd service) ;;; Failed to autoload exec-command in (shepherd service): ;;; ERROR: missing interface for module (shepherd service) ;;; Failed to autoload read-pid-file in (shepherd service): ;;; ERROR: missing interface for module (shepherd service) ;;; Failed to autoload read-pid-file in (shepherd service): ;;; ERROR: missing interface for module (shepherd service) ;;; Failed to autoload exec-command in (shepherd service): ;;; ERROR: missing interface for module (shepherd service) ;;; Failed to autoload read-pid-file in (shepherd service): ;;; ERROR: missing interface for module (shepherd service) Some deprecated features have been used. Set the environment variable GUILE_WARN_DEPRECATED to "detailed" and rerun the program to get more information. Set it to "no" to suppress this message. ... Why does Guix need Shepherd? And if it needs the (charting) module, why isn't guile-charting already an input? If I could get this to work, then I could use this mechanism in the future too, to test patches on our cluster before they end up in upstream. Kind regards, Roel Janssen