Source: dballe
Version: 8.6-1
Severity: important
Tags: ftbfs
User: [email protected]
Usertags: sphinx2.4
Hi,
dballe fails to build with Sphinx 2.4, currently available in
experimental.
Relevant part (hopefully):
> make[3]: Entering directory '/<<PKGBUILDDIR>>/doc'
> ../doc/mksnippet alias dox < ../dballe/core/aliases.gperf > aliases.dox || rm
> aliases.dox
> ../doc/mksnippet levels dox < ../dballe/msg/ltypes.txt > ltypes.dox || rm
> ltypes.dox
> ../doc/mksnippet tranges dox > tranges.dox || rm tranges.dox
> if test x.gz = x.gz ; then \
> zcat /usr/share/doc/libwreport-doc/libwreport.doxytags.gz >
> libwreport.doxytags ; \
> else \
> cat /usr/share/doc/libwreport-doc/libwreport.doxytags.gz >
> libwreport.doxytags ; \
> fi
> ../doc/mksnippet alias rst < ../dballe/core/aliases.gperf > src/aliases.rst
> || rm src/aliases.rst
> ../doc/mksnippet levels rst < ../dballe/msg/ltypes.txt > src/ltypes.rst || rm
> src/ltypes.rst
> ../doc/mksnippet tranges rst > src/tranges.rst || rm src/tranges.rst
> ../doc/mksnippet btable rst < ../tables/dballe.txt > src/btable.rst || rm
> src/btable.rst
> rm -rf html
> mkdir html
> doxygen libdballe.dox
> warning: Tag 'PERL_PATH' at line 2121 of file 'libdballe.dox' has become
> obsolete.
> To avoid this warning please remove this line from your
> configuration file or upgrade it using "doxygen -u"
> warning: Tag 'MSCGEN_PATH' at line 2143 of file 'libdballe.dox' has become
> obsolete.
> To avoid this warning please remove this line from your
> configuration file or upgrade it using "doxygen -u"
> /<<PKGBUILDDIR>>/dballe/msg/msg.h:341: warning: include file
> dballe/msg/msg-extravars.h not found, perhaps you forgot to add its directory
> to INCLUDE_PATH?
> /<<PKGBUILDDIR>>/dballe/importer.h:99: warning: argument 'dest' of command
> @param is not found in the argument list of
> dballe::Importer::foreach_decoded(const BinaryMessage &msg, std::function<
> bool(std::unique_ptr< Message >) const=0
> /<<PKGBUILDDIR>>/dballe/db/db.h:337: warning: argument 'dest' of command
> @param is not found in the argument list of
> dballe::db::DB::attr_query_data(int data_id, std::function<
> void(std::unique_ptr< wreport::Var >) &&
> /<<PKGBUILDDIR>>/dballe/db/db.h:327: warning: argument 'dest' of command
> @param is not found in the argument list of
> dballe::db::DB::attr_query_station(int data_id, std::function<
> void(std::unique_ptr< wreport::Var >) &&
> /<<PKGBUILDDIR>>/dballe/db/db.h:175: warning: argument 'dest' of command
> @param is not found in the argument list of
> dballe::db::Transaction::attr_query_data(int data_id, std::function<
> void(std::unique_ptr< wreport::Var >)=0
> /<<PKGBUILDDIR>>/dballe/db/db.h:165: warning: argument 'dest' of command
> @param is not found in the argument list of
> dballe::db::Transaction::attr_query_station(int data_id, std::function<
> void(std::unique_ptr< wreport::Var >)=0
> /<<PKGBUILDDIR>>/dballe/db/db.h:244: warning: The following parameters of
> dballe::db::Transaction::update_repinfo(const char *repinfo_file, int *added,
> int *deleted, int *updated)=0 are not documented:
> parameter 'added'
> parameter 'deleted'
> parameter 'updated'
> /<<PKGBUILDDIR>>/dballe/db/v7/data.h:56: warning: argument 'dest' of command
> @param is not found in the argument list of dballe::db::v7::DataCommon<
> Traits >::read_attrs(Tracer<> &trc, int id_data, std::function<
> void(std::unique_ptr< wreport::Var >)=0
> /<<PKGBUILDDIR>>/dballe/db/v7/repinfo.h:104: warning: The following
> parameters of dballe::db::v7::Repinfo::update(const char *deffile, int
> *added, int *deleted, int *updated) are not documented:
> parameter 'added'
> parameter 'deleted'
> parameter 'updated'
> /<<PKGBUILDDIR>>/dballe/db/v7/transaction.h:73: warning: argument 'dest' of
> command @param is not found in the argument list of
> dballe::db::v7::Transaction::attr_query_data(int data_id, std::function<
> void(std::unique_ptr< wreport::Var >) inherited from member attr_query_data
> at line 175 in file /<<PKGBUILDDIR>>/dballe/db/db.h
> /<<PKGBUILDDIR>>/dballe/db/v7/transaction.h:72: warning: argument 'dest' of
> command @param is not found in the argument list of
> dballe::db::v7::Transaction::attr_query_station(int data_id, std::function<
> void(std::unique_ptr< wreport::Var >) inherited from member
> attr_query_station at line 165 in file /<<PKGBUILDDIR>>/dballe/db/db.h
> /<<PKGBUILDDIR>>/dballe/db/v7/transaction.h:89: warning: The following
> parameters of dballe::db::v7::Transaction::update_repinfo(const char
> *repinfo_file, int *added, int *deleted, int *updated) are not documented:
> parameter 'added'
> parameter 'deleted'
> parameter 'updated'
> /<<PKGBUILDDIR>>/dballe/db/v7/data.h:56: warning: argument 'dest' of command
> @param is not found in the argument list of dballe::db::v7::DataCommon<
> Traits >::read_attrs(Tracer<> &trc, int id_data, std::function<
> void(std::unique_ptr< wreport::Var >)=0
> /<<PKGBUILDDIR>>/dballe/db/db.h:327: warning: argument 'dest' of command
> @param is not found in the argument list of
> dballe::db::DB::attr_query_station(int data_id, std::function<
> void(std::unique_ptr< wreport::Var >) &&
> /<<PKGBUILDDIR>>/dballe/db/db.h:337: warning: argument 'dest' of command
> @param is not found in the argument list of
> dballe::db::DB::attr_query_data(int data_id, std::function<
> void(std::unique_ptr< wreport::Var >) &&
> /<<PKGBUILDDIR>>/dballe/importer.h:99: warning: argument 'dest' of command
> @param is not found in the argument list of
> dballe::Importer::foreach_decoded(const BinaryMessage &msg, std::function<
> bool(std::unique_ptr< Message >) const=0
> /<<PKGBUILDDIR>>/dballe/db/v7/repinfo.h:104: warning: The following
> parameters of dballe::db::v7::Repinfo::update(const char *deffile, int
> *added, int *deleted, int *updated) are not documented:
> parameter 'added'
> parameter 'deleted'
> parameter 'updated'
> /<<PKGBUILDDIR>>/dballe/db/db.h:165: warning: argument 'dest' of command
> @param is not found in the argument list of
> dballe::db::Transaction::attr_query_station(int data_id, std::function<
> void(std::unique_ptr< wreport::Var >)=0
> /<<PKGBUILDDIR>>/dballe/db/db.h:175: warning: argument 'dest' of command
> @param is not found in the argument list of
> dballe::db::Transaction::attr_query_data(int data_id, std::function<
> void(std::unique_ptr< wreport::Var >)=0
> /<<PKGBUILDDIR>>/dballe/db/db.h:244: warning: The following parameters of
> dballe::db::Transaction::update_repinfo(const char *repinfo_file, int *added,
> int *deleted, int *updated)=0 are not documented:
> parameter 'added'
> parameter 'deleted'
> parameter 'updated'
> /<<PKGBUILDDIR>>/dballe/db/v7/transaction.h:72: warning: argument 'dest' of
> command @param is not found in the argument list of
> dballe::db::v7::Transaction::attr_query_station(int data_id, std::function<
> void(std::unique_ptr< wreport::Var >) inherited from member
> attr_query_station at line 165 in file /<<PKGBUILDDIR>>/dballe/db/db.h
> /<<PKGBUILDDIR>>/dballe/db/v7/transaction.h:73: warning: argument 'dest' of
> command @param is not found in the argument list of
> dballe::db::v7::Transaction::attr_query_data(int data_id, std::function<
> void(std::unique_ptr< wreport::Var >) inherited from member attr_query_data
> at line 175 in file /<<PKGBUILDDIR>>/dballe/db/db.h
> /<<PKGBUILDDIR>>/dballe/db/v7/transaction.h:89: warning: The following
> parameters of dballe::db::v7::Transaction::update_repinfo(const char
> *repinfo_file, int *added, int *deleted, int *updated) are not documented:
> parameter 'added'
> parameter 'deleted'
> parameter 'updated'
> ../run-local sphinx-build -b html src html/
> Running Sphinx v2.4.3
> /usr/lib/python3/dist-packages/sphinx/util/docutils.py:285:
> RemovedInSphinx30Warning: function based directive support is now deprecated.
> Use class based directive instead.
> warnings.warn('function based directive support is now deprecated. '
> WARNING: html_static_path entry '_static' does not exist
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 28 source files that are out of date
> updating environment: [new config] 28 added, 0 changed, 0 removed
> reading sources... [ 3%] aliases
> reading sources... [ 7%] btable
> reading sources... [ 10%] connect
> reading sources... [ 14%] cpp/cursors
>
> Exception occurred:
> File "/usr/lib/python3/dist-packages/breathe/renderer/sphinxrenderer.py",
> line 38, in parse_definition
> ast = parser.parse_declaration("class")
> TypeError: parse_declaration() missing 1 required positional argument:
> 'directiveType'
> The full traceback has been saved in /tmp/sphinx-err-co3yd19v.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!
> make[3]: *** [Makefile:617: build-docs] Error 2
The full build log is available from:
http://qa-logs.debian.net/2020/03/26/dballe_8.6-1_unstable_sphinx243.log
Please see [1] for Sphinx changelog, which may give a hint of what changes in
Sphinx caused this error.
Also see [2] for the list of deprecated/removed APIs and possible alternatives
to them.
Sphinx 2.4 is going to be uploaded to unstable in a couple of weeks. When that
happens, the severity of this bug will be bumped to serious.
In case you have questions, please Cc [email protected] on reply.
[1]: https://www.sphinx-doc.org/en/2.0/changes.html
[2]:
https://www.sphinx-doc.org/en/2.0/extdev/deprecated.html#dev-deprecated-apis
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.