Opened 13 years ago

Last modified 13 years ago

#30617 closed defect

nodejs fails to build if python3x is the currently selected python — at Initial Version

Reported by: linhares.mauricio@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc:
Port: nodejs

Description

When trying to build nodejs, if any of the python3x versions is available the build is going to fail with the following trace:

:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/Developer/usr/bin/llvm-g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_nodejs/nodejs/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' OBJC='/Developer/usr/bin/llvm-gcc-4.2' FCFLAGS='-pipe -O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS='-pipe -O2 -m64' CC_PRINT_OPTIONS='YES' CC='/Developer/usr/bin/llvm-gcc-4.2' :debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_nodejs/nodejs/work/node-v0.4.10" && ./configure --prefix=/opt/local' :debug:configure Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_nodejs/nodejs/work/node-v0.4.10" && ./configure --prefix=/opt/local :info:configure Traceback (most recent call last): :info:configure File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_nodejs/nodejs/work/node-v0.4.10/tools/waf-light", line 157, in <module> :info:configure import Scripting :info:configure File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_nodejs/nodejs/work/node-v0.4.10/tools/wafadmin/Scripting.py", line 146 :info:configure except Utils.WafError, e: :info:configure :info:configure SyntaxError: invalid syntax :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_nodejs/nodejs/work/node-v0.4.10" && ./configure --prefix=/opt/local " returned error 1

The solution might be ask for the user to select a previous version (like python27) or select an older python if available instead of using the currently selected python.

Change History (1)

Changed 13 years ago by linhares.mauricio@…

Attachment: nodejs-port-fail.log added

Full port build log

Note: See TracTickets for help on using tickets.