Opened 12 years ago
Closed 12 years ago
#35259 closed defect (worksforme)
npm: destroot is failing
Reported by: | jithin1987@… | Owned by: | ci42 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.1 |
Keywords: | Cc: | ||
Port: | npm |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
sudo port install npm Password: ---> Computing dependencies for npm ---> Fetching archive for npm ---> Attempting to fetch npm-1.1.44_0.darwin_11.noarch.tbz2 from http://packages.macports.org/npm ---> Fetching distfiles for npm ---> Verifying checksum(s) for npm ---> Extracting npm ---> Applying patches to npm ---> Configuring npm ---> Building npm ---> Staging npm into destroot Error: org.macports.destroot for port npm returned: command execution failed Please see the log file for port npm for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_npm/npm/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port npm failed
Attaching full log file
Attachments (2)
Change History (10)
Changed 12 years ago by jithin1987@…
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to ciserlohn@… |
Summary: | Installing npm is failing → npm: destroot is failing |
comment:2 Changed 12 years ago by ci42
comment:3 Changed 12 years ago by jithin1987@…
uninstalling and reinstalling nodejs fixed the issue.
comment:4 Changed 12 years ago by ci42
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 follow-ups: 6 7 Changed 12 years ago by gthb (Gunnlaugur Thor Briem)
Resolution: | fixed |
---|---|
Status: | closed → reopened |
As far as I can tell this is not fixed — there's no commit on either npm or nodejs, and the npm upgrade is still failing for me, also after manually running port uninstall -f nodejs
and then port upgrade npm
.
Attaching full main.log
; the problem looks like the same as originally reported:
:info:destroot sh: line 1: 2881 Segmentation fault: 11 /opt/local/bin/node ./cli.js install --global . --prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_npm/npm/work/destroot/opt/local
Changed 12 years ago by gthb (Gunnlaugur Thor Briem)
Attachment: | main.2.log added |
---|
main.log from gthb
comment:6 Changed 12 years ago by ci42
Replying to gunnlaugur@…:
As far as I can tell this is not fixed — there's no commit on either npm or nodejs, and the npm upgrade is still failing for me, also after manually running
port uninstall -f nodejs
and thenport upgrade npm
.
I updated npm to 1.1.44_1 between the original bug repot and my first comment (and just now to 1.1.45).
Please try a clean install (one can see from the attached log shows that it wasn't a clean install):
sudo port uninstall npm sudo port clean npm sudo port uninstall nodejs sudo port clean nodejs sudo port install npm
comment:7 Changed 12 years ago by ci42
Replying to gunnlaugur@…:
As far as I can tell this is not fixed — there's no commit on either npm or nodejs, and the npm upgrade is still failing for me, also after manually running
port uninstall -f nodejs
and thenport upgrade npm
.
Both npm and nodejs have been updated several times since you reopened the ticket. Do you still experience the problem?
comment:8 Changed 12 years ago by ci42
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
It looks like node crashed:
Does node works for you in other respects?
Have you already tried the update to 1.1.44_1?