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

* Re: Error when installing libnode
  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
  1 sibling, 1 reply; 8+ messages in thread
From: Wiktor Żelazny @ 2021-01-14  8:14 UTC (permalink / raw)
  To: help-guix; +Cc: Pierre-Antoine Bouttier

[-- 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 --]

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

* Re: Error when installing libnode
  2021-01-14  8:14 ` Wiktor Żelazny
@ 2021-01-14  8:17   ` Pierre-Antoine Bouttier
  0 siblings, 0 replies; 8+ messages in thread
From: Pierre-Antoine Bouttier @ 2021-01-14  8:17 UTC (permalink / raw)
  To: Wiktor Żelazny; +Cc: help-guix

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



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

* Regression in libnode
  2021-01-13  8:59 Error when installing libnode Pierre-Antoine Bouttier
  2021-01-14  8:14 ` Wiktor Żelazny
@ 2021-01-14 14:34 ` zimoun
  2021-01-15  8:10   ` Pierre-Antoine Bouttier
  1 sibling, 1 reply; 8+ messages in thread
From: zimoun @ 2021-01-14 14:34 UTC (permalink / raw)
  To: Pierre-Antoine Bouttier, Ricardo Wurmus; +Cc: help-guix

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


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

* Re: Regression in libnode
  2021-01-14 14:34 ` Regression in libnode zimoun
@ 2021-01-15  8:10   ` Pierre-Antoine Bouttier
  2021-01-15  8:37     ` zimoun
  0 siblings, 1 reply; 8+ messages in thread
From: Pierre-Antoine Bouttier @ 2021-01-15  8:10 UTC (permalink / raw)
  To: zimoun; +Cc: help-guix

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


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

* Re: Regression in libnode
  2021-01-15  8:10   ` Pierre-Antoine Bouttier
@ 2021-01-15  8:37     ` zimoun
  2021-01-15  8:40       ` Pierre-Antoine Bouttier
  0 siblings, 1 reply; 8+ messages in thread
From: zimoun @ 2021-01-15  8:37 UTC (permalink / raw)
  To: Pierre-Antoine Bouttier; +Cc: help-guix

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


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

* Re: Regression in libnode
  2021-01-15  8:37     ` zimoun
@ 2021-01-15  8:40       ` Pierre-Antoine Bouttier
  2021-01-21 13:16         ` Pierre-Antoine Bouttier
  0 siblings, 1 reply; 8+ messages in thread
From: Pierre-Antoine Bouttier @ 2021-01-15  8:40 UTC (permalink / raw)
  To: zimoun; +Cc: help-guix

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


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

* Re: Regression in libnode
  2021-01-15  8:40       ` Pierre-Antoine Bouttier
@ 2021-01-21 13:16         ` Pierre-Antoine Bouttier
  0 siblings, 0 replies; 8+ messages in thread
From: Pierre-Antoine Bouttier @ 2021-01-21 13:16 UTC (permalink / raw)
  To: zimoun; +Cc: help-guix

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
> 


^ 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).