hg-2.3 build fails with python-docutils ~0.10 snapshot rev 7490

Mads Kiilerich mads at kiilerich.com
Mon Aug 13 10:43:18 CDT 2012


On 13/08/12 15:40, Neal Becker wrote:
> http://kojipkgs.fedoraproject.org//work/tasks/4091/4384091/build.log
>
> relevant part is here:
>
> make -C doc
> make[1]: Entering directory `/builddir/build/BUILD/mercurial-2.3/doc'
> python gendoc.py > hg.1.gendoc.txt.tmp
> mv hg.1.gendoc.txt.tmp hg.1.gendoc.txt
> touch hg.1.txt
> python runrst hgmanpage  --halt warning \
>    --strip-elements-with-class htmlonly hg.1.txt hg.1
> Traceback (most recent call last):
>    File "runrst", line 49, in <module>
>      publish_cmdline(writer_name=writer)
>    File "/usr/lib/python2.7/site-packages/docutils/core.py", line 349, in
> publish_cmdline
>      pub.set_components(reader_name, parser_name, writer_name)
>    File "/usr/lib/python2.7/site-packages/docutils/core.py", line 99, in
> set_components
>      self.set_writer(writer_name)
>    File "/usr/lib/python2.7/site-packages/docutils/core.py", line 88, in
> set_writer
>      writer_class = writers.get_writer_class(writer_name)
>    File "/usr/lib/python2.7/site-packages/docutils/writers/__init__.py", line
> 136, in get_writer_class
>      module = __import__(writer_name, globals(), locals(), level=1)
> ImportError: No module named hgmanpage
> make[1]: *** [hg.1] Error 1

The 2.3-rc announced at 
http://www.selenic.com/pipermail/mercurial-devel/2012-July/042890.html 
bullet a) should have allowed everybody to test run their full release 
process and thus prevented this kind of issues ... but it doesn't help 
much when it only is announced on the -devel list where we assume people 
build from source anyway. I guess it should have been announced on the 
mercurial and mercurial-packaging lists too.

"hg-2.3 build fails on fedora" is not correct. It builds fine on Fedora 17.

The problem is that Fedora 18 currently ships with 
python-docutils-0.10-0.2.20120730svn7490.fc18. It works when downgrading 
to python-docutils-0.8.1-3.fc17. I guess the problem will show up on on 
all platforms and all distros when they update docutils.

/Mads



More information about the Mercurial-devel mailing list