On 04/12/2017 21:31, Alfredo Deza wrote:
On Mon, Dec 4, 2017 at 3:22 PM, Willem Jan Withagen <wjw@xxxxxxxxxxx> wrote:
Hi
My FreeBSD-Jenkins complains about a failed assertion, but I'm blissfully
ignorant in this matter.
So perhaps somebody has hints to fix this.
This looks pretty obscure, but the one thing I see different is that
you are using a version of Sphinx that we don't
We are pinned to 1.6.3 currently.
The ceph-syn man page hasn't changed in a while, so maybe try bumping Sphinx?
I pinged the port-owner, and he is working on an update. But since lots
of packages depend on sphinx for the man-pages, other things need to be
fixed as well since it breaks building lots of other stuff.
But it is the works, so for now I'll run Jenkins without building the
manpages.
--WjW
--WjW
Build output:
Running Sphinx v1.4.8
Exception occurred:
File "conf.py", line 27, in _get_description
AssertionError
The full traceback has been saved in /tmp/sphinx-err-_Gk2q9.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.
A bug report can be filed in the tracker at
<https://github.com/sphinx-doc/sphinx/issues>. Thanks!
gmake[2]: *** [doc/man/CMakeFiles/manpages.dir/build.make:137:
doc/man/ceph-syn.8] Error 1
The log file looks like:
# Sphinx version: 1.4.8
# Python version: 2.7.14 (CPython)
# Docutils version: 0.14
# Jinja2 version: 2.10
# Last messages:
# Loaded extensions:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/sphinx/cmdline.py", line 243,
in main
opts.warningiserror, opts.tags, opts.verbosity, opts.jobs)
File "/usr/local/lib/python2.7/site-packages/sphinx/application.py", line
137, in __init__
confoverrides or {}, self.tags)
File "/usr/local/lib/python2.7/site-packages/sphinx/config.py", line 287,
in __init__
execfile_(filename, config)
File "/usr/local/lib/python2.7/site-packages/sphinx/util/pycompat.py",
line 130, in execfile_
exec_(code, _globals)
File "/usr/local/lib/python2.7/site-packages/six.py", line 709, in exec_
exec("""exec _code_ in _globs_, _locs_""")
File "<string>", line 1, in <module>
File "conf.py", line 56, in <module>
File "conf.py", line 47, in _get_manpages
File "conf.py", line 27, in _get_description
AssertionError
And the relevant piece of code:
def _get_description(fname, base):
with open(fname) as f:
one = None
while True:
line = f.readline().rstrip('\n')
if not line:
continue
if line.startswith(':') and line.endswith(':'):
continue
one = line
break
two = f.readline().rstrip('\n')
three = f.readline().rstrip('\n')
assert one == three
assert all(c=='=' for c in one)
name, description = two.split('--', 1)
line 27: assert name.strip() == base
return description.strip()
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html