[MacPorts] #36190: nodejs 0.8.9 Install Errors
#36190: nodejs 0.8.9 Install Errors --------------------+-------------------------------- Reporter: msy@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: nodejs | Port: nodejs --------------------+-------------------------------- :info:build Warning: targets not executed for nodejs: org.macports.install org.macports.build org.macports.destroot :notice:build Please see the log file for port nodejs for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs/nodejs/main.log Full log attached. -- Ticket URL: <https://trac.macports.org/ticket/36190> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36190: nodejs 0.8.9 Install Errors ---------------------+------------------------- Reporter: msy@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: nodejs | ---------------------+------------------------- Changes (by ciserlohn@…): * cc: msy@… (removed) * keywords: nodejs => * owner: macports-tickets@… => ciserlohn@… Comment: This was not clean attempt. Please try again and attach the log file if it fails: {{{ $ sudo port clean nodejs $ sudo port selfupdate $ sudo port install -d nodejs }}} In the future please remember to Cc the maintainer. If you are the ticket creator there is no need to Cc yourself. And don't add arbitrary keywords (see [wiki:DraftKeywordGuidelines]). -- Ticket URL: <https://trac.macports.org/ticket/36190#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36190: nodejs 0.8.9 Install Errors ---------------------+------------------------- Reporter: msy@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: nodejs | ---------------------+------------------------- Comment (by msy@…): Same result. Attached debug log. Thanks! ---- '''[~]$ sudo port clean nodejs''' ---> Cleaning nodejs '''[~]$ sudo port selfupdate''' ---> Updating MacPorts base sources using rsync MacPorts base version 2.1.2 installed, MacPorts base version 2.1.2 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated '''[~]$ sudo port install -d nodejs''' ---> Computing dependencies for nodejs ---> Fetching archive for nodejs ---> Attempting to fetch nodejs-0.8.9_0+python27+ssl.darwin_11.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/nodejs ---> Attempting to fetch nodejs-0.8.9_0+python27+ssl.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/nodejs ---> Attempting to fetch nodejs-0.8.9_0+python27+ssl.darwin_11.x86_64.tbz2 from http://packages.macports.org/nodejs ---> Fetching distfiles for nodejs ---> Verifying checksum(s) for nodejs ---> Extracting nodejs ---> Configuring nodejs ---> Building nodejs Error: org.macports.build for port nodejs returned: command execution failed Please see the log file for port nodejs for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs/nodejs/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port nodejs failed -- Ticket URL: <https://trac.macports.org/ticket/36190#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36190: nodejs 0.8.9 Install Errors ---------------------+------------------------- Reporter: msy@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: nodejs | ---------------------+------------------------- Comment (by ciserlohn@…): I assume you've got a python > version 3 installed. What does {{{ python --version }}} print? The gyp build system used in node.js doesn't work with python 3.x but only with 2.6/2.7. Although the portfile sets $PYTHON to python 2.6/2.7 (depending on the choosen variant) and the Makefile will use $PYTHON, its ignored by gyp. Instead it simply uses the 'python' command. I'll fix that. If you like to install node,js before the fix is available just install python 2.7, install node.js and switch back to your python 3.x: {{{ $ sudo port install python27 $ sudo port select --set python python27 $ sudo port clean nodejs $ sudo port install nodejs $ sudo port select --set python python32 }}} -- Ticket URL: <https://trac.macports.org/ticket/36190#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36190: nodejs 0.8.9 Install Errors ---------------------+------------------------- Reporter: msy@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: nodejs | ---------------------+------------------------- Comment (by msy@…): Replying to [comment:5 ciserlohn@…]:
I assume you've got a python > version 3 installed.
Yep, that was it. Temporarily went back to 2.7, did the nodejs install, it went OK, then I went back to 3.2. Many thanks to you... -- Ticket URL: <https://trac.macports.org/ticket/36190#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36190: nodejs (0.8.9), nodejs-devel (0.9.1): build fails when the default python version is 3.x ---------------------+------------------------- Reporter: msy@… | Owner: ciserlohn@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: nodejs | ---------------------+------------------------- Changes (by ciserlohn@…): * status: new => closed * resolution: => fixed Comment: Fixed in r97880. -- Ticket URL: <https://trac.macports.org/ticket/36190#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts