#49549: Port nodejs fails to upgrade from v0.12.7 to v4.2.1 -------------------------+-------------------------------- Reporter: m74z00219@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: nodejs -------------------------+-------------------------------- Hi all, I've been trying to upgrade node the past few days to no avail. I've tried doing so with and without tracemode. I've tried using `sudo port select --set clang mp-clang-3.8'. Each time, I made sure to clean the port and re-source my bash_profile. Still, the upgrade fails. These seem to be the relevant bits: Syntax error on line 2383: {{{ :info:configure import sys; print sys.byteorder :info:configure ^ :info:configure SyntaxError: invalid syntax }}} Line 2434: {{{ :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs/nodejs/work/node-v4.2.1" && ./configure --prefix=/opt/local --without-npm --with-intl=system-icu --dest-cpu=x64 --shared-openssl --shared-openssl- includes=/opt/local/include/openssl --shared-openssl- libpath=/opt/local/lib }}} Not sure what it all means though. Another thought...perhaps the wrong compiler is being used? According to the log, Apple's clang is being used even though I've set $CC and $CXX accordingly to match `/opt/bin/local/clang{++}'. I also `sudo port select --set clang mp- clang-3.8'. Please let me know if there's any more info I could provide. -Chris -- Ticket URL: <https://trac.macports.org/ticket/49549> MacPorts <https://www.macports.org/> Ports system for OS X