I tried the 10.7 package description on my 10.5 machine and sphinx-py27 appears to work there.
On 11/11/11 3:43 PM, Kurt Schwehr wrote: > Hi Greg, > > There was an internal bug in sphinx with that version. I've switched it to > 1.1.2 and it appears to be working. It's best to keep dependencies like that > in the packages so that documentation is built correctly. The solution is to > fix the broken package, rather than rip it out. > > I've taken over maintainership for sphinx, but had only updated 10.7. I've > not fixed that for 10.6. > > Thanks very much for the bug report!!! > > -kurt > goatbar > http://schwehr.org > > On Nov 11, 2011, at 2:59 PM, Gregory Dougherty wrote: > >> Is it possible to change teh tortoiseHG build so it doesn't rely upon Sphinx? >> >> ----- Original Message ----- >> From: "Alexander Hansen"<alexanderk.han...@gmail.com> >> Cc: "Greg Dougherty"<gr...@soe.ucsc.edu>, l...@columbia.edu, "fink-users >> mailing list"<Fink-users@lists.sourceforge.net>, >> goat...@users.sourceforge.net >> Sent: Friday, November 11, 2011 1:33:55 PM >> Subject: Re: build error in sphinx-py27 on 10.6/i386/Xcode4.2 was Re: >> [Fink-users] Problems installing tortoisehg-py27 >> >> On 11/6/11 9:17 AM, Alexander Hansen wrote: >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> On 11/6/11 2:19 AM, Greg Dougherty wrote: >>>> I'm attempting to install tortoisehg-py27 on my Mac, using fink. >>>> When I do, I get the following report. Any suggestions re: what >>>> went wrong, and how to get it working, would be greatly >>>> appreciated. (Log file output at the end) >>>> >>>> Copying Sphinx.egg-info to >>>> /sw/src/fink.build/root-sphinx-py27-1.0.5-1/sw/lib/python2.7/site-packages/Sphinx-1.0.5-py2.7.egg-info >>>> >>>> >>> running install_scripts >>>> Installing sphinx-build script to >>>> /sw/src/fink.build/root-sphinx-py27-1.0.5-1/sw/bin Installing >>>> sphinx-quickstart script to >>>> /sw/src/fink.build/root-sphinx-py27-1.0.5-1/sw/bin Installing >>>> sphinx-autogen script to >>>> /sw/src/fink.build/root-sphinx-py27-1.0.5-1/sw/bin mkdir -p >>>> /sw/src/fink.build/root-sphinx-py27-1.0.5-1/sw/share/doc/sphinx-py27 >>>> >>>> >>> cp -R doc >>>> /sw/src/fink.build/root-sphinx-py27-1.0.5-1/sw/share/doc/sphinx-py27/doc >>>> >>>> >>> make -C doc latex PYTHON=python2.7 SPHINXBUILD="python2.7 >>>> ../sphinx-build.py" python2.7 ../sphinx-build.py -b latex -d >>>> _build/doctrees . _build/latex Making output directory... >>>> Running Sphinx v1.0.5 >>>> >>>> Exception occurred: File >>>> "/sw/src/fink.build/sphinx-py27-1.0.5-1/Sphinx-1.0.5/sphinx/writers/latex.py", >>>> >>>> >>> line 105, in ExtBabel >>>> _ISO639_TO_BABEL = Babel._ISO639_TO_BABEL.copy() AttributeError: >>>> type object 'Babel' has no attribute '_ISO639_TO_BABEL' The full >>>> traceback has been saved in /tmp/sphinx-err-GFiH3F.log, if you want >>>> to report the issue to the developers. Please also report this if >>>> it was a user error, so that a better error message can be provided >>>> next time. Either send bugs to the mailing list at >>>> <http://groups.google.com/group/sphinx-dev/>, or report them in the >>>> tracker at<http://bitbucket.org/birkenfeld/sphinx/issues/>. >>>> Thanks! make: *** [latex] Error 1 ### execution of make failed, >>>> exit code 2 Removing runtime build-lock... Removing build-lock >>>> package... /sw/bin/dpkg-lockwait -r >>>> fink-buildlock-sphinx-py27-1.0.5-1 (Reading database ... 48405 >>>> files and directories currently installed.) Removing >>>> fink-buildlock-sphinx-py27-1.0.5-1 ... >>> >>> <snipping _successful_ packages that got scanned> >>> >>>> Failed: phase installing: sphinx-py27-1.0.5-1 failed >>>> >>>> >>>> Also include the following system information: Package manager >>>> version: 0.31.4 Distribution version: selfupdate-rsync Sun Nov 6 >>>> 01:54:14 2011, 10.6, i386 Trees: local/main stable/main >>>> stable/crypto unstable/crypto unstable/main Xcode: 4.2 >>>> >>>> >>>> /tmp/sphinx-err-GFiH3F.log: >>>> >>>> # Sphinx version: 1.0.5 # Python version: 2.7.2 # Docutils version: >>>> 0.8 release # Jinja2 version: 2.5.5 Traceback (most recent call >>>> last): File >>>> "/sw/src/fink.build/sphinx-py27-1.0.5-1/Sphinx-1.0.5/sphinx/cmdline.py", >>>> >>>> >>> line 172, in main >>>> warningiserror, tags) File >>>> "/sw/src/fink.build/sphinx-py27-1.0.5-1/Sphinx-1.0.5/sphinx/application.py", >>>> >>>> >>> line 116, in __init__ >>>> self.setup_extension(extension) File >>>> "/sw/src/fink.build/sphinx-py27-1.0.5-1/Sphinx-1.0.5/sphinx/application.py", >>>> >>>> >>> line 259, in setup_extension >>>> mod.setup(self) File >>>> "/sw/src/fink.build/sphinx-py27-1.0.5-1/Sphinx-1.0.5/sphinx/ext/todo.py", >>>> line 162, in setup man=(visit_todo_node, depart_todo_node)) File >>>> "/sw/src/fink.build/sphinx-py27-1.0.5-1/Sphinx-1.0.5/sphinx/application.py", >>>> >>>> >>> line 365, in add_node >>>> from sphinx.writers.latex import LaTeXTranslator as translator >>>> File >>>> "/sw/src/fink.build/sphinx-py27-1.0.5-1/Sphinx-1.0.5/sphinx/writers/latex.py", >>>> >>>> >>> line 98, in<module> >>>> class ExtBabel(Babel): File >>>> "/sw/src/fink.build/sphinx-py27-1.0.5-1/Sphinx-1.0.5/sphinx/writers/latex.py", >>>> >>>> >>> line 105, in ExtBabel >>>> _ISO639_TO_BABEL = Babel._ISO639_TO_BABEL.copy() AttributeError: >>>> type object 'Babel' has no attribute '_ISO639_TO_BABEL' >>>> >>> >>> Your problem is sphinx, not tortoisehg. The latter is utterly >>> irrelevant to the issue. >>> >>> I can confirm this issue. None of the sphinx-py variants currently build. >> >> I'd better qualify this a bit more precisely: none of the sphinx-py >> build on< 10.7 . >> >> I'll cc the last person who updated the package as well. >> -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users