Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 769140 - =dev-libs/libcbor-0.8.0 USE=doc fails to build
Summary: =dev-libs/libcbor-0.8.0 USE=doc fails to build
Status: RESOLVED DUPLICATE of bug 752129
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-06 21:49 UTC by Red
Modified: 2021-02-06 22:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (libcbor-build.log,181.67 KB, text/plain)
2021-02-06 21:50 UTC, Red
Details
Sphinx error log (sphinx-err-th55xjg7.log,1.88 KB, text/plain)
2021-02-06 21:50 UTC, Red
Details
emerge --info (libcbor-emerge-info.txt,23.91 KB, text/plain)
2021-02-06 21:56 UTC, Red
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Red 2021-02-06 21:49:48 UTC
=dev-libs/libcbor-0.8.0 fails to build with USE=doc

It fails with the error message:

AttributeError: module 'sphinx.domains.c' has no attribute 'CStructObject'

No problems when building with USE=-doc

Full build log attached.

Reproducible: Always
Comment 1 Red 2021-02-06 21:50:26 UTC
Created attachment 685941 [details]
Build log
Comment 2 Red 2021-02-06 21:50:52 UTC
Created attachment 685944 [details]
Sphinx error log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-06 21:55:25 UTC
Please sync and do a full world update if you haven't already?

I was expecting this to be fixed by dev-python/breathe requiring a newer Sphinx for 

Your log says:
># Sphinx version: 2.4.4

which implies that you may have done a partial upgrade or rebuild of e.g. just libcbor?

*** This bug has been marked as a duplicate of bug 752129 ***
Comment 4 Red 2021-02-06 21:56:05 UTC
Created attachment 685947 [details]
emerge --info
Comment 5 Red 2021-02-06 22:03:51 UTC
That explains it, I cannot upgrade Sphinx on my system because of bug 723468
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-06 22:07:26 UTC
(In reply to Red from comment #5)
> That explains it, I cannot upgrade Sphinx on my system because of bug 723468

Grr. No problem. Okay, let's work there.
Comment 7 Larry the Git Cow gentoo-dev 2021-02-06 22:34:05 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c50d11118861065aabb2d61767cd89832babef2

commit 0c50d11118861065aabb2d61767cd89832babef2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-02-06 22:33:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-02-06 22:33:32 +0000

    dev-python/recommonmark: fix tests with Sphinx 3
    
    Thanks-to: Anon Emuss <abuslbea@centurylink.net>
    Bug: https://bugs.gentoo.org/769140
    Bug: https://bugs.gentoo.org/720014
    Closes: https://bugs.gentoo.org/723468
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/recommonmark-0.6.0-sphinx3-1.patch       | 122 +++++++++++++++++++++
 .../files/recommonmark-0.6.0-sphinx3-2.patch       |  63 +++++++++++
 .../recommonmark/recommonmark-0.6.0-r1.ebuild      |  30 +++++
 3 files changed, 215 insertions(+)