Debian Bug report logs - #877021
breathe: python3-sphinx warning building breathe

version graph

Package: src:breathe; Maintainer for src:breathe is Debian Python Team <team+python@tracker.debian.org>;

Reported by: Adrian Bunk <bunk@debian.org>

Date: Wed, 27 Sep 2017 18:57:02 UTC

Severity: normal

Tags: fixed-upstream, patch

Found in version breathe/4.7.2-1

Fixed in version breathe/4.7.3-1

Done: Sebastian Ramacher <sramacher@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://github.com/michaeljones/breathe/pull/353

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#877014; Package python3-sphinx. (Wed, 27 Sep 2017 18:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Adrian Bunk <bunk@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Wed, 27 Sep 2017 18:57:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Adrian Bunk <bunk@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: python3-sphinx exception building breathe
Date: Wed, 27 Sep 2017 21:51:49 +0300
Package: python3-sphinx
Version: 1.6.4-1
Severity: serious
Control: affects -1 src:breathe

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/breathe.html

...
writing output... [ 25%] differences
writing output... [ 27%] directives
writing output... [ 30%] domains
Exception occurred while building, starting debugger:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sphinx/cmdline.py", line 306, in main
    app.build(opts.force_all, filenames)
  File "/usr/lib/python3/dist-packages/sphinx/application.py", line 339, in build
    self.builder.build_update()
  File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 331, in build_update
    'out of date' % len(to_build))
  File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 397, in build
    self.write(docnames, list(updated_docnames), method)
  File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 434, in write
    self._write_serial(sorted(docnames))
  File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 441, in _write_serial
    doctree = self.env.get_and_resolve_doctree(docname, self)
  File "/usr/lib/python3/dist-packages/sphinx/environment/__init__.py", line 910, in get_and_resolve_doctree
    self.apply_post_transforms(doctree, docname)
  File "/usr/lib/python3/dist-packages/sphinx/environment/__init__.py", line 957, in apply_post_transforms
    transformer.apply_transforms()
  File "/usr/lib/python3/dist-packages/sphinx/transforms/__init__.py", line 92, in apply_transforms
    Transformer.apply_transforms(self)
  File "/usr/lib/python3/dist-packages/docutils/transforms/__init__.py", line 171, in apply_transforms
    transform.apply(**kwargs)
  File "/usr/lib/python3/dist-packages/sphinx/transforms/post_transforms/__init__.py", line 89, in apply
    typ, target, node, contnode)
  File "/usr/lib/python3/dist-packages/sphinx/domains/cpp.py", line 5008, in resolve_xref
    target, node, contnode)[0]
  File "/usr/lib/python3/dist-packages/sphinx/domains/cpp.py", line 4970, in _resolve_xref_inner
    if not checkType():
  File "/usr/lib/python3/dist-packages/sphinx/domains/cpp.py", line 4969, in checkType
    assert False
AssertionError
Type is member, declType is class
> /usr/lib/python3/dist-packages/sphinx/domains/cpp.py(4969)checkType()
-> assert False
(Pdb) 
Makefile:54: recipe for target 'html' failed
make[3]: *** [html] Error 1
make[3]: Leaving directory '/build/1st/breathe-4.7.2/documentation'
Makefile:5: recipe for target 'html' failed
make[2]: *** [html] Error 2
make[2]: Leaving directory '/build/1st/breathe-4.7.2'
E: pybuild pybuild:283: build: plugin custom failed with: exit code=2: env PYTHONPATH=/build/1st/breathe-4.7.2/.pybuild/pythonX.Y_3.5/build /usr/bin/make SPHINXBUILD=/usr/share/sphinx/scripts/python3/sphinx-build
debian/rules:21: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 13


I can reproduce the problem and that downgrading Sphinx
to 1.6.3-2 fixes it.



Added indication that 877014 affects src:breathe Request was from Adrian Bunk <bunk@debian.org> to submit@bugs.debian.org. (Wed, 27 Sep 2017 18:57:04 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#877014; Package python3-sphinx. (Wed, 27 Sep 2017 20:27:04 GMT) (full text, mbox, link).


Acknowledgement sent to Dmitry Shachnev <mitya57@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Wed, 27 Sep 2017 20:27:04 GMT) (full text, mbox, link).


Message #12 received at 877014@bugs.debian.org (full text, mbox, reply):

From: Dmitry Shachnev <mitya57@debian.org>
To: Adrian Bunk <bunk@debian.org>, 877014@bugs.debian.org
Subject: Re: Bug#877014: python3-sphinx exception building breathe
Date: Wed, 27 Sep 2017 23:21:58 +0300
[Message part 1 (text/plain, inline)]
Control: clone -1 -2
Control: reassign -2 src:breathe
Control: forwarded -2 https://github.com/michaeljones/breathe/pull/353
Control: tags -2 +patch
Control: severity -1 important

Hi Adrian and Sebastian!

On Wed, Sep 27, 2017 at 09:51:49PM +0300, Adrian Bunk wrote:
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/breathe.html
>
> [...]
>   File "/usr/lib/python3/dist-packages/sphinx/domains/cpp.py", line 4969, in checkType
>     assert False
> AssertionError
> Type is member, declType is class

I agree that there is a breaking change in Sphinx 1.6.4: instead of printing
a warning about type mismatch, it raises AssertionError.

However in my opinion the real issue here is in breathe, and it should be
fixed in the first place. I have just created an upstream pull request about
this, and with that change applied breathe builds fine.

I will also create a pull request to sphinx fixing the regression, but unless
there are other affected packages I will not backport it to Debian before new
upstream release.

--
Dmitry Shachnev
[signature.asc (application/pgp-signature, inline)]

Bug 877014 cloned as bug 877021 Request was from Dmitry Shachnev <mitya57@debian.org> to 877014-submit@bugs.debian.org. (Wed, 27 Sep 2017 20:27:04 GMT) (full text, mbox, link).


Bug reassigned from package 'python3-sphinx' to 'src:breathe'. Request was from Dmitry Shachnev <mitya57@debian.org> to 877014-submit@bugs.debian.org. (Wed, 27 Sep 2017 20:27:05 GMT) (full text, mbox, link).


No longer marked as found in versions sphinx/1.6.4-1. Request was from Dmitry Shachnev <mitya57@debian.org> to 877014-submit@bugs.debian.org. (Wed, 27 Sep 2017 20:27:06 GMT) (full text, mbox, link).


Set Bug forwarded-to-address to 'https://github.com/michaeljones/breathe/pull/353'. Request was from Dmitry Shachnev <mitya57@debian.org> to 877014-submit@bugs.debian.org. (Wed, 27 Sep 2017 20:27:06 GMT) (full text, mbox, link).


Added tag(s) patch. Request was from Dmitry Shachnev <mitya57@debian.org> to 877014-submit@bugs.debian.org. (Wed, 27 Sep 2017 20:27:07 GMT) (full text, mbox, link).


Marked as found in versions breathe/4.7.2-1. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Thu, 28 Sep 2017 06:33:08 GMT) (full text, mbox, link).


Added tag(s) fixed-upstream. Request was from bts-link-upstream@lists.alioth.debian.org to control@bugs.debian.org. (Mon, 02 Oct 2017 18:03:21 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Sebastian Ramacher <sramacher@debian.org>:
Bug#877021; Package src:breathe. (Wed, 04 Oct 2017 07:51:06 GMT) (full text, mbox, link).


Acknowledgement sent to Dmitry Shachnev <mitya57@debian.org>:
Extra info received and forwarded to list. Copy sent to Sebastian Ramacher <sramacher@debian.org>. (Wed, 04 Oct 2017 07:51:06 GMT) (full text, mbox, link).


Message #31 received at 877021@bugs.debian.org (full text, mbox, reply):

From: Dmitry Shachnev <mitya57@debian.org>
To: 877021@bugs.debian.org
Subject: Re: Bug#877021: python3-sphinx exception building breathe
Date: Wed, 4 Oct 2017 14:49:14 +0700
Control: severity -1 normal
Control: retitle -1 breathe: python3-sphinx warning building breathe
Control: affects -1 - src:breathe

On Wed, Sep 27, 2017 at 11:21:58PM +0300, Dmitry Shachnev wrote:
> However in my opinion the real issue here is in breathe, and it should be
> fixed in the first place. I have just created an upstream pull request about
> this, and with that change applied breathe builds fine.
>
> I will also create a pull request to sphinx fixing the regression, but unless
> there are other affected packages I will not backport it to Debian before new
> upstream release.

I have uploaded Sphinx with this change today, it now raises a warning
instead of AssertionError on types mismatch.

So downgrading the bug severity.

(I first replied to the wrong bug, sorry for that.)

--
Dmitry Shachnev



Severity set to 'normal' from 'serious' Request was from Dmitry Shachnev <mitya57@debian.org> to 877021-submit@bugs.debian.org. (Wed, 04 Oct 2017 07:51:06 GMT) (full text, mbox, link).


Changed Bug title to 'breathe: python3-sphinx warning building breathe' from 'python3-sphinx exception building breathe'. Request was from Dmitry Shachnev <mitya57@debian.org> to 877021-submit@bugs.debian.org. (Wed, 04 Oct 2017 07:51:07 GMT) (full text, mbox, link).


Removed indication that 877021 affects src:breathe Request was from Dmitry Shachnev <mitya57@debian.org> to 877021-submit@bugs.debian.org. (Wed, 04 Oct 2017 07:51:08 GMT) (full text, mbox, link).


Reply sent to Sebastian Ramacher <sramacher@debian.org>:
You have taken responsibility. (Mon, 09 Oct 2017 19:51:03 GMT) (full text, mbox, link).


Notification sent to Adrian Bunk <bunk@debian.org>:
Bug acknowledged by developer. (Mon, 09 Oct 2017 19:51:03 GMT) (full text, mbox, link).


Message #42 received at 877021-close@bugs.debian.org (full text, mbox, reply):

From: Sebastian Ramacher <sramacher@debian.org>
To: 877021-close@bugs.debian.org
Subject: Bug#877021: fixed in breathe 4.7.3-1
Date: Mon, 09 Oct 2017 19:48:43 +0000
Source: breathe
Source-Version: 4.7.3-1

We believe that the bug you reported is fixed in the latest version of
breathe, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 877021@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastian Ramacher <sramacher@debian.org> (supplier of updated breathe package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 09 Oct 2017 21:36:05 +0200
Source: breathe
Binary: python-breathe python3-breathe breathe-doc
Architecture: source
Version: 4.7.3-1
Distribution: unstable
Urgency: medium
Maintainer: Sebastian Ramacher <sramacher@debian.org>
Changed-By: Sebastian Ramacher <sramacher@debian.org>
Description:
 breathe-doc - Sphinx autodox support for languages with doxygen support (docume
 python-breathe - Sphinx autodox support for languages with doxygen support (Python
 python3-breathe - Sphinx autodox support for languages with doxygen support (Python
Closes: 877021
Changes:
 breathe (4.7.3-1) unstable; urgency=medium
 .
   * New upstream release.
     - Use CPPEnumeratorObject provided by Sphinx. (Closes: #877021)
   * debian/control: Bump Standards-Version.
Checksums-Sha1:
 51559cbbe19696585164e45f16e2b31ff3a0bad9 2409 breathe_4.7.3-1.dsc
 d170b4e1f870b5a585837e88b1d64c9b264e022a 168007 breathe_4.7.3.orig.tar.gz
 f7e21809f43eaa9dc88735f51b8f9d73e1ad59ed 5620 breathe_4.7.3-1.debian.tar.xz
Checksums-Sha256:
 70ccac6da6b9463a500636187ee3c3f88bc536f0bcf7160882541de83a60694a 2409 breathe_4.7.3-1.dsc
 4ff9e0ddc9896c591758679cd4af567ac5d3598adbf93d70c08e3820eb994a20 168007 breathe_4.7.3.orig.tar.gz
 2c5ca3476ef0a04a3157a4e889ecabfa5860b020beda62496e4a58aa0de6d7c7 5620 breathe_4.7.3-1.debian.tar.xz
Files:
 2830e551e4bbcd6be5194a5cdd0d68c5 2409 python optional breathe_4.7.3-1.dsc
 22963e0884ce0be8af8f8384f1deea7a 168007 python optional breathe_4.7.3.orig.tar.gz
 25ee2d0e5646d67216cf85efbaf40b99 5620 python optional breathe_4.7.3-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE94y6B4F7sUmhHTOQafL8UW6nGZMFAlnb0EIACgkQafL8UW6n
GZNlKg//dtorSACaE/Fgns6sy7lDL/ApffCHg/rPNoky+r0jSFUw0OgAUaZAJ/+F
1SmzTaXatofIrTL/g6TMWWlwdPVL1Y4FBnrES6c7iL++vgohzfiOUOa5l/Lh+UIT
r4NLm0DIFAMvrX33ACqbDLvgNLUtahFOlADpikJwYmnFoYsNE3bqe+yeLT7a0++L
GX4ypwQdiRL3ABUPl64MXbB7jT0i1nx9oD8nFQoWvuxqLDDiCmOmVl23cI92JAA2
FKgSP6MDNh3uHqGWnvL3CefNbgeJvdDxHHIkVl1kowsxVV5X6xIktg2LqjM8B4En
vegY3xcXMbj2PjS6XRYumCgFIA0+blaCVRBUVzYfwyaAYmprmCMp6xbxRqz2eHJX
ofN5xFtSkD+mXH2U+uy44XNe6knOvC5ovJ+tUT8Zv9x+uptBC7iQKKopGcyvsU4L
E22tUYgq5hIAmHeCRA9qHAc0mtxUUeH+G5yLUp3NPYRDlCYX7JHIwdVEHJbApePF
TlQBnGn+xGQcJwlmMTIGx5mpoqL/I4MILAtvc9S7qo6ecf1ph+14Lb7RerxPZv1y
KyPB9oF6GOM93ZG6NPTroBpITN2F+0wGUN0UA4eR8FaO2XsWfHcISUx5XThKlN1f
rnLZBglt+FD8HrCl3/MvTBdKm2AfVq9xKB4Qcn/65R0oV93k04A=
=euEi
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 12 Nov 2017 07:26:07 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 13:44:29 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.