Bug 1823536

Summary: libmypaint2 fails to build with Sphinx 3.0.0
Product: [Fedora] Fedora Reporter: Charalampos Stratakis <cstratak>
Component: libmypaint2Assignee: Sergey Avseyev <sergey.avseyev>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cstratak, mhroncok, sergey.avseyev
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-17 00:56:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1783776    

Description Charalampos Stratakis 2020-04-13 21:14:25 UTC
libmypaint2 fails to build with Sphinx 3.0.0.

Running Sphinx v3.0.1
/builddir/build/BUILD/libmypaint-2.0.0-beta.1/doc/source/../doxygen
making output directory... done
loading intersphinx inventory from http://docs.python.org/objects.inv...
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 1 source files that are out of date
updating environment: [new config] 1 added, 0 changed, 0 removed
reading sources... [100%] index
make[2]: Leaving directory '/builddir/build/BUILD/libmypaint-2.0.0-beta.1/doc'
WARNING: html_static_path entry '_static' does not exist
WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory 'http://docs.python.org/objects.inv' not fetchable due to <class 'requests.exceptions.ConnectionError'>: HTTPConnectionPool(host='docs.python.org', port=80): Max retries exceeded with url: /objects.inv (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff7e6b07640>: Failed to establish a new connection: [Errno -2] Name or service not known'))
/builddir/build/BUILD/libmypaint-2.0.0-beta.1/doc/source/index.rst:17: WARNING: Invalid C++ declaration: Expected end of definition. [error at 21]
  typedefG_BEGIN_DECLS struct MyPaintGeglTiledSurface MyPaintGeglTiledSurface
  ---------------------^

Exception occurred:
  File "/usr/lib/python3.8/site-packages/sphinx/domains/c.py", line 3053, in object_type
    raise NotImplementedError()
NotImplementedError

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/cstratak/sphinx_3.0.0/fedora-rawhide-x86_64/01335485-libmypaint2/

For all our attempts to build libmypaint2 with Sphinx 3.0.0, see:
https://copr.fedorainfracloud.org/coprs/cstratak/sphinx_3.0.0/package/libmypaint2/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Sphinx 3:
https://copr.fedorainfracloud.org/coprs/cstratak/sphinx_3.0.0/

Let us know here if you have any questions.

Sphinx 3 will be included in Fedora 33. To make that update smoother, we're building the dependent packages in Copr.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Charalampos Stratakis 2020-04-17 00:56:00 UTC
The next builds succeeded so it was probably an issue with a different package and sphinx.