j. van den hoff <veedeeh...@gmail.com> writes: > On Wed, 16 Mar 2016 19:41:39 +0100, Sean Farley <s...@macports.org> wrote: > >> >> j. van den hoff <veedeeh...@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 ...
It must be picking up some python path because that error was introduced in aa73d6a5d9ea in hg: https://bitbucket.org/seanfarley/hg/commits/aa73d6a5d9ea But that commit was after the 3.7.2 release. Certainly strange. I wonder which path it's picking up. _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users