all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pierre-Antoine Bouttier <Pierre-Antoine.Bouttier@univ-grenoble-alpes.fr>
To: help-guix@gnu.org
Subject: Error when installing libnode
Date: Wed, 13 Jan 2021 09:59:58 +0100	[thread overview]
Message-ID: <A0B297FC-49B9-4A87-AF6E-74455616B2B6@univ-grenoble-alpes.fr> (raw)

Dear Guix community,

I try to install libnode through guix and I have this error :

---

 $ guix install libnode
The following package will be installed:
   libnode (dependencies or package changed)

substitute: /gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivation will be built:
   /gnu/store/a22nqd33fk2dp0zrm7jsqp50ncibw2ip-libnode-10.20.0.drv

/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
building /gnu/store/a22nqd33fk2dp0zrm7jsqp50ncibw2ip-libnode-10.20.0.drv...
\ 'patch-node-shebang' phasebuilder for `/gnu/store/a22nqd33fk2dp0zrm7jsqp50ncibw2ip-libnode-10.20.0.drv' failed with exit code 1
build of /gnu/store/a22nqd33fk2dp0zrm7jsqp50ncibw2ip-libnode-10.20.0.drv failed
View build log at '/var/log/guix/drvs/a2/2nqd33fk2dp0zrm7jsqp50ncibw2ip-libnode-10.20.0.drv.bz2'.
guix install: error: build of `/gnu/store/a22nqd33fk2dp0zrm7jsqp50ncibw2ip-libnode-10.20.0.drv' failed

$ tail /var/log/guix/drvs/a2/2nqd33fk2dp0zrm7jsqp50ncibw2ip-libnode-10.20.0.drv
phase `install' succeeded after 1.0 seconds
starting phase `patch-node-shebang'
Backtrace:
           8 (primitive-load "/gnu/store/b5kwljjs1x9dqb7j2wi6gwyqpj7…")
In ice-9/eval.scm:
   191:35  7 (_ _)
In guix/build/gnu-build-system.scm:
    838:2  6 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #)
In ice-9/boot-9.scm:
  1736:10  5 (with-exception-handler _ _ #:unwind? _ # _)
In srfi/srfi-1.scm:
   857:16  4 (every1 #<procedure 7ffff4bc35e0 at guix/build/gnu-bui…> …)
In guix/build/gnu-build-system.scm:
   847:30  3 (_ _)
In ice-9/eval.scm:
   293:34  2 (_ #(#(#(#<directory (guile-user) 7ffff5bb8f00>) (#)) #))
In unknown file:
           1 (readlink "/gnu/store/7430qqkrdfy5gy6bhq0vn41ddl0l9jpx-…")
In ice-9/boot-9.scm:
  1669:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1669:16: In procedure raise-exception:
In procedure readlink: No such file or directory
—

When I look the guix expression, it seems to me there is a problem with the line 179 of gnu/packages/node.scm : 
(npx    (readlink (string-append bindir "/npx"))))

Do you have an idea on how can I fix this issue?

Thank you
---
Pierre-Antoine Bouttier
GriCAD Research Engineer

GriCAD - https://gricad.univ-grenoble-alpes.fr/
Batiment IMAG
CS 40700
38058 Grenoble CEDEX 9

+33 4 57 42 18  66


             reply	other threads:[~2021-01-13 20:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-13  8:59 Pierre-Antoine Bouttier [this message]
2021-01-14  8:14 ` Error when installing libnode Wiktor Żelazny
2021-01-14  8:17   ` Pierre-Antoine Bouttier
2021-01-14 14:34 ` Regression in libnode zimoun
2021-01-15  8:10   ` Pierre-Antoine Bouttier
2021-01-15  8:37     ` zimoun
2021-01-15  8:40       ` Pierre-Antoine Bouttier
2021-01-21 13:16         ` Pierre-Antoine Bouttier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A0B297FC-49B9-4A87-AF6E-74455616B2B6@univ-grenoble-alpes.fr \
    --to=pierre-antoine.bouttier@univ-grenoble-alpes.fr \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.