[MacPorts] #35259: Installing npm is failing
#35259: Installing npm is failing ----------------------------------+----------------------------------------- Reporter: jithin1987@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: npm ----------------------------------+----------------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/35259> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35259: npm: destroot is failing ----------------------------------+----------------------------------------- Reporter: jithin1987@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: npm ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ciserlohn@… Old description:
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
New description: {{{ 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 -- -- Ticket URL: <https://trac.macports.org/ticket/35259#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35259: npm: destroot is failing ----------------------------------+----------------------------------------- Reporter: jithin1987@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: npm ----------------------------------+----------------------------------------- Comment(by ciserlohn@…): It looks like node crashed: {{{ :info:destroot sh: line 1: 10957 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 }}} Does node works for you in other respects? Have you already tried the update to 1.1.44_1? -- Ticket URL: <https://trac.macports.org/ticket/35259#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35259: npm: destroot is failing ----------------------------------+----------------------------------------- Reporter: jithin1987@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: npm ----------------------------------+----------------------------------------- Comment(by jithin1987@…): uninstalling and reinstalling nodejs fixed the issue. -- Ticket URL: <https://trac.macports.org/ticket/35259#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35259: npm: destroot is failing -----------------------------------+---------------------------------------- Reporter: jithin1987@… | Owner: ciserlohn@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: Port: npm | -----------------------------------+---------------------------------------- Changes (by ciserlohn@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/35259#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35259: npm: destroot is failing -----------------------------------+---------------------------------------- Reporter: jithin1987@… | Owner: ciserlohn@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: npm | -----------------------------------+---------------------------------------- Changes (by gunnlaugur@…): * status: closed => reopened * resolution: fixed => Comment: 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 -- Ticket URL: <https://trac.macports.org/ticket/35259#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35259: npm: destroot is failing -----------------------------------+---------------------------------------- Reporter: jithin1987@… | Owner: ciserlohn@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: npm | -----------------------------------+---------------------------------------- Comment(by ciserlohn@…): Replying to [comment:5 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 then `port 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 }}} -- Ticket URL: <https://trac.macports.org/ticket/35259#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35259: npm: destroot is failing ---------------------------+------------------------- Reporter: jithin1987@… | Owner: ciserlohn@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: npm | ---------------------------+------------------------- Comment (by ciserlohn@…): Replying to [comment:5 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 then `port upgrade npm`.
Both npm and nodejs have been updated several times since you reopened the ticket. Do you still experience the problem? -- Ticket URL: <https://trac.macports.org/ticket/35259#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35259: npm: destroot is failing ---------------------------+------------------------- Reporter: jithin1987@… | Owner: ciserlohn@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: worksforme | Keywords: Port: npm | ---------------------------+------------------------- Changes (by ciserlohn@…): * status: reopened => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/35259#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts