[MacPorts] #38502: py32-uritemplate installation problems

MacPorts noreply at macports.org
Fri Mar 22 20:32:12 PDT 2013


#38502: py32-uritemplate installation problems
-------------------------+--------------------------------
 Reporter:  vishketan@…  |      Owner:  macports-tickets@…
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.1.3
 Keywords:               |       Port:
-------------------------+--------------------------------
 {{{
 sudo port install py32-uritemplate
 Password:
 --->  Computing dependencies for py32-uritemplate
 --->  Building py32-uritemplate
 Error: org.macports.build for port py32-uritemplate returned: command
 execution failed
 Please see the log file for port py32-uritemplate for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 uritemplate/py32-uritemplate/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port py32-uritemplate failed
 }}}

 and the relevant portion from the log file is


 {{{
 notice:build --->  Building py32-uritemplate
 :debug:build Executing proc-pre-org.macports.build-build-0
 :debug:build Executing org.macports.build (py32-uritemplate)
 :debug:build Environment: CPATH='/opt/local/include' CFLAGS='' CXXFLAGS=''
 LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.8'
 CXX='/usr/bin/clang++'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 uritemplate/py32-uritemplate/work/.CC_PRINT_OPTIONS' F90FLAGS=''
 LDFLAGS='' FCFLAGS='' OBJC='/usr/bin/clang' OBJCFLAGS='' FFLAGS=''
 CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang'
 :debug:build Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-uritemplate/py32-uritemplate/work
 /uritemplate-py-0.5.1" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.2/bin/python3.2
 setup.py --no-user-cfg build'
 :debug:build Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-uritemplate/py32-uritemplate/work
 /uritemplate-py-0.5.1" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.2/bin/python3.2
 setup.py --no-user-cfg build
 :info:build Traceback (most recent call last):
 :info:build   File "setup.py", line 4, in <module>
 :info:build     import uritemplate
 :info:build   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-uritemplate/py32-uritemplate/work
 /uritemplate-py-0.5.1/uritemplate/__init__.py", line 2, in <module>
 :info:build     from uritemplate import expand
 :info:build ImportError: cannot import name expand
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-uritemplate/py32-uritemplate/work
 /uritemplate-py-0.5.1" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.2/bin/python3.2
 setup.py --no-user-cfg build
 :info:build Exit code: 1
 }}}

 I think that uritemplate is not compatible with python 3.0.

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


More information about the macports-tickets mailing list