py-hgsubversion install fails
j. van den hoff
veedeehjay at gmail.com
Wed Mar 16 12:01:50 PDT 2016
On Wed, 16 Mar 2016 19:41:39 +0100, Sean Farley <sean at macports.org> wrote:
>
> 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
Mercurial Distributed SCM (version 3.7.2)
$ which hg # ==> /opt/local/bin/hg
> installed? Do you have Mercurial installed into /usr/local or something
> like that?
no, I have not: everything is installed via macports. in fact, the problem
appeared during today's `sudo port selfupdate; sudo port upgrade outdated'
run. maybe the error is related to some other dependency? only guessing,
of course ...
I also just have cloned `hgsubversion' from the bitbucket repo and pointed
`hgrc' to that one: works w/o problems. so the failed install right now is
not really pressing for me but of course I wonder what is going wrong (and
only on this one machine, not the other one with a not-quite-identical
(but very similar) macports setup). so if I can provide any more
information please let me know.
thank you
joerg
--
Using Opera's revolutionary email client: http://www.opera.com/mail/
More information about the macports-users
mailing list