[MacPorts] #30617: nodejs fails to build if python3x is the currently selected python

MacPorts noreply at macports.org
Sat Aug 6 06:19:01 PDT 2011


#30617: nodejs fails to build if python3x is the currently selected python
-----------------------------------------+----------------------------------
 Reporter:  linhares.mauricio@…          |       Owner:  macports-tickets@…                   
     Type:  defect                       |      Status:  new                                  
 Priority:  Normal                       |   Milestone:                                       
Component:  ports                        |     Version:  2.0.1                                
 Keywords:                               |        Port:  nodejs                               
-----------------------------------------+----------------------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/30617>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list