py-hgsubversion install fails

Sean Farley sean at macports.org
Wed Mar 16 11:41:39 PDT 2016


j. van den hoff <veedeehjay at gmail.com> writes:

> on one of two machines (both running 10.10.5 and current `port')  
> installation of py-hgsubversion fails with (end of logfile):
>
> 8<----------------------------------------------------------------------------------------------
> ...
> CC='/usr/bin/clang'
> CC_PRINT_OPTIONS='YES'
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-hgsubversion/py27-hgsubversion/work/.CC_PRINT_OPTIONS'
> CFLAGS=''
> CPATH='/opt/local/include'
> CXX='/usr/bin/clang++'
> CXXFLAGS=''
> F90FLAGS=''
> FCFLAGS=''
> FFLAGS=''
> LDFLAGS=''
> LIBRARY_PATH='/opt/local/lib'
> MACOSX_DEPLOYMENT_TARGET='10.10'
> OBJC='/usr/bin/clang'
> OBJCFLAGS=''
> :debug:build Assembled command: 'cd  
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-hgsubversion/py27-hgsubversion/work/1.8.5"  
> &&  
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7  
> 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-hgsubversion/py27-hgsubversion/work/1.8.5"  
> &&  
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7  
> setup.py --no-user-cfg build
> :info:build Traceback (most recent call last):
> :info:build   File "setup.py", line 106, in <module>
> :info:build     from hgsubversion.svnwrap import svn_swig_wrapper
> :info:build   File  
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-hgsubversion/py27-hgsubversion/work/1.8.5/hgsubversion/__init__.py",  
> line 198, in <module>
> :info:build     commands.optionalrepo += ' svn'
> :info:build AttributeError: 'module' object has no attribute 'optionalrepo'

This seems like a mismatch with Mercurial. Which version do you have
installed? Do you have Mercurial installed into /usr/local or something
like that?


More information about the macports-users mailing list