unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Error when installing libnode
@ 2021-01-13  8:59 Pierre-Antoine Bouttier
  2021-01-14  8:14 ` Wiktor Żelazny
  2021-01-14 14:34 ` Regression in libnode zimoun
  0 siblings, 2 replies; 8+ messages in thread
From: Pierre-Antoine Bouttier @ 2021-01-13  8:59 UTC (permalink / raw)
  To: help-guix

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-01-21 13:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-13  8:59 Error when installing libnode Pierre-Antoine Bouttier
2021-01-14  8:14 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).