From: Willem Jan Withagen Subject: Re: Assertion failed while buildign manpages Date: Tue, 5 Dec 2017 10:14:20 +0100 Message-ID: References: <6899bf17-d2cd-8088-97fe-0a23d001b6dc@digiware.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from smtp.digiware.nl ([176.74.240.9]:34143 "EHLO smtp.digiware.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752482AbdLEJOW (ORCPT ); Tue, 5 Dec 2017 04:14:22 -0500 In-Reply-To: Content-Language: en-GB Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Alfredo Deza Cc: Ceph Development On 04/12/2017 21:31, Alfredo Deza wrote: > On Mon, Dec 4, 2017 at 3:22 PM, Willem Jan Withagen 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 >> . 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 "", line 1, in >> File "conf.py", line 56, in >> 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@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html