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
[-- Attachment #1: Type: text/plain, Size: 390 bytes --] On Wed, Jan 13, 2021 at 09:59:58AM +0100, Pierre-Antoine Bouttier wrote: > I try to install libnode through guix and I have this error : > > ice-9/boot-9.scm:1669:16: In procedure raise-exception: > In procedure readlink: No such file or directory Hi, Is your guix up-to-date? I encountered the same issue, but from what I remember it disappeared after upgrading guix. WŻ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 963 bytes --]
Hi, > Hi, > > Is your guix up-to-date? I encountered the same issue, but from what I > remember it disappeared after upgrading guix. > > WŻ thank you very much for your answer. I had this error just after running guix pull. So I think my guix is up-to-date. Regards --- 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
Hi, On Wed, 13 Jan 2021 at 21:27, Pierre-Antoine Bouttier <Pierre-Antoine.Bouttier@univ-grenoble-alpes.fr> wrote: > \ 'patch-node-shebang' phasebuilder for `/gnu/store/a22nqd33fk2dp0zrm7jsqp50ncibw2ip-libnode-10.20.0.drv' failed with exit code 1 Thanks for the report. The regression is introduced by 1d77141f6d. The patch #45862 fixes it, I hope. <http://issues.guix.gnu.org/issue/45862> All the best, simon
Dear Simon, after a guix pull, I have exactly the same exact error. What am i missing? Thank you a lot PA --- 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 > Le 14 janv. 2021 à 15:34, zimoun <zimon.toutoune@gmail.com> a écrit : > > Hi, > > On Wed, 13 Jan 2021 at 21:27, Pierre-Antoine Bouttier > <Pierre-Antoine.Bouttier@univ-grenoble-alpes.fr> wrote: > >> \ 'patch-node-shebang' phasebuilder for `/gnu/store/a22nqd33fk2dp0zrm7jsqp50ncibw2ip-libnode-10.20.0.drv' failed with exit code 1 > > Thanks for the report. The regression is introduced by 1d77141f6d. > The patch #45862 fixes it, I hope. > > <http://issues.guix.gnu.org/issue/45862> > > All the best, > simon
Hi Pierre-Antoine,
On Fri, 15 Jan 2021 at 09:10, Pierre-Antoine Bouttier
<Pierre-Antoine.Bouttier@univ-grenoble-alpes.fr> wrote:
> after a guix pull, I have exactly the same exact error. What am i missing?
The merge of the patch. ;-)
Waiting for reviews... Couple of days I guess.
Otherwise, you can test the patch on your own local checkout: apply
the patch, compile Guix from source and use ./pre-inst-env guix
install libnode. And then report if something does not work as
expected.
Cheers,
simon
Ah ok, I was too impatient :) I will try to test with the patch. 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 > Le 15 janv. 2021 à 09:37, zimoun <zimon.toutoune@gmail.com> a écrit : > > Hi Pierre-Antoine, > > On Fri, 15 Jan 2021 at 09:10, Pierre-Antoine Bouttier > <Pierre-Antoine.Bouttier@univ-grenoble-alpes.fr> wrote: > >> after a guix pull, I have exactly the same exact error. What am i missing? > > The merge of the patch. ;-) > Waiting for reviews... Couple of days I guess. > > Otherwise, you can test the patch on your own local checkout: apply > the patch, compile Guix from source and use ./pre-inst-env guix > install libnode. And then report if something does not work as > expected. > > Cheers, > simon
Hello, Since this morning, I can install libnode perfectly! Many thanks --- 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 > Le 15 janv. 2021 à 09:40, Pierre-Antoine Bouttier <Pierre-Antoine.Bouttier@univ-grenoble-alpes.fr> a écrit : > > Ah ok, I was too impatient :) > I will try to test with the patch. > > Thank you > --- > Pierre-Antoine Bouttier > GriCAD Research Engineer > > GriCAD - https://gricad.univ-grenoble-alpes.fr/ <https://gricad.univ-grenoble-alpes.fr/> > Batiment IMAG > CS 40700 > 38058 Grenoble CEDEX 9 > > +33 4 57 42 18 66 > >> Le 15 janv. 2021 à 09:37, zimoun <zimon.toutoune@gmail.com <mailto:zimon.toutoune@gmail.com>> a écrit : >> >> Hi Pierre-Antoine, >> >> On Fri, 15 Jan 2021 at 09:10, Pierre-Antoine Bouttier >> <Pierre-Antoine.Bouttier@univ-grenoble-alpes.fr <mailto:Pierre-Antoine.Bouttier@univ-grenoble-alpes.fr>> wrote: >> >>> after a guix pull, I have exactly the same exact error. What am i missing? >> >> The merge of the patch. ;-) >> Waiting for reviews... Couple of days I guess. >> >> Otherwise, you can test the patch on your own local checkout: apply >> the patch, compile Guix from source and use ./pre-inst-env guix >> install libnode. And then report if something does not work as >> expected. >> >> Cheers, >> simon >