Bug#963653: libgpuarray: FTBFS with Sphinx 3.1: File "/usr/lib/python3/dist-packages/sphinx/domains/c.py", line 3093, in object_type / raise NotImplementedError()

Lucas Nussbaum lucas at debian.org
Wed Jun 24 21:53:50 BST 2020


Source: libgpuarray
Version: 0.7.6-5
Severity: important
Tags: ftbfs
User: python-modules-team at lists.alioth.debian.org
Usertags: sphinx3.1

Hi,

libgpuarray fails to build with Sphinx 3.1, currently available in
experimental.

Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
> (doxygen Doxyfile || /Applications/Doxygen.app/Contents/Resources/doxygen Doxyfile)
> warning: Tag 'PERL_PATH' at line 1619 of file 'Doxyfile' 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 1640 of file 'Doxyfile' has become obsolete.
>          To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
> /<<PKGBUILDDIR>>/src/gpuarray/buffer.h:124: warning: missing title after \defgroup sched_modes
> Notice: Output directory '_doxybuild' does not exist. I have created it for you.
> Searching for include files...
> Searching for example files...
> Searching for images...
> Searching for dot files...
> Searching for msc files...
> Searching for dia files...
> Searching for files to exclude
> Searching for files in directory /<<PKGBUILDDIR>>/src/gpuarray/wincompat
> Searching INPUT for files to process...
> Searching for files in directory /<<PKGBUILDDIR>>/src
> Searching for files in directory /<<PKGBUILDDIR>>/src/cache
> Searching for files in directory /<<PKGBUILDDIR>>/src/gpuarray
> Searching for files in directory /<<PKGBUILDDIR>>/src/gpuarray/wincompat
> Searching for files in directory /<<PKGBUILDDIR>>/src/loaders
> Searching for files in directory /<<PKGBUILDDIR>>/src/util
> Reading and parsing tag files
> Parsing files
> Preprocessing /<<PKGBUILDDIR>>/src/cache.h...
> Parsing file /<<PKGBUILDDIR>>/src/cache.h...
> Preprocessing /<<PKGBUILDDIR>>/src/cluda_cuda.h...
> Parsing file /<<PKGBUILDDIR>>/src/cluda_cuda.h...
> Preprocessing /<<PKGBUILDDIR>>/src/cluda_opencl.h...
> Parsing file /<<PKGBUILDDIR>>/src/cluda_opencl.h...
> Preprocessing /<<PKGBUILDDIR>>/src/gpuarray/abi_version.h...
> Parsing file /<<PKGBUILDDIR>>/src/gpuarray/abi_version.h...
> Preprocessing /<<PKGBUILDDIR>>/src/gpuarray/array.h...
> Parsing file /<<PKGBUILDDIR>>/src/gpuarray/array.h...
> Preprocessing /<<PKGBUILDDIR>>/src/gpuarray/blas.h...
> Parsing file /<<PKGBUILDDIR>>/src/gpuarray/blas.h...
> Preprocessing /<<PKGBUILDDIR>>/src/gpuarray/buffer.h...
> Parsing file /<<PKGBUILDDIR>>/src/gpuarray/buffer.h...
> Preprocessing /<<PKGBUILDDIR>>/src/gpuarray/buffer_blas.h...
> Parsing file /<<PKGBUILDDIR>>/src/gpuarray/buffer_blas.h...
> Preprocessing /<<PKGBUILDDIR>>/src/gpuarray/buffer_collectives.h...
> Parsing file /<<PKGBUILDDIR>>/src/gpuarray/buffer_collectives.h...
> Preprocessing /<<PKGBUILDDIR>>/src/gpuarray/collectives.h...
> Parsing file /<<PKGBUILDDIR>>/src/gpuarray/collectives.h...
> Preprocessing /<<PKGBUILDDIR>>/src/gpuarray/config.h...
> Parsing file /<<PKGBUILDDIR>>/src/gpuarray/config.h...
> Preprocessing /<<PKGBUILDDIR>>/src/gpuarray/elemwise.h...
> Parsing file /<<PKGBUILDDIR>>/src/gpuarray/elemwise.h...
> Preprocessing /<<PKGBUILDDIR>>/src/gpuarray/error.h...
> Parsing file /<<PKGBUILDDIR>>/src/gpuarray/error.h...
> Preprocessing /<<PKGBUILDDIR>>/src/gpuarray/ext_cuda.h...
> Parsing file /<<PKGBUILDDIR>>/src/gpuarray/ext_cuda.h...
> Preprocessing /<<PKGBUILDDIR>>/src/gpuarray/extension.h...
> Parsing file /<<PKGBUILDDIR>>/src/gpuarray/extension.h...
> Preprocessing /<<PKGBUILDDIR>>/src/gpuarray/kernel.h...
> Parsing file /<<PKGBUILDDIR>>/src/gpuarray/kernel.h...
> Preprocessing /<<PKGBUILDDIR>>/src/gpuarray/types.h...
> Parsing file /<<PKGBUILDDIR>>/src/gpuarray/types.h...
> Preprocessing /<<PKGBUILDDIR>>/src/gpuarray/util.h...
> Parsing file /<<PKGBUILDDIR>>/src/gpuarray/util.h...
> Preprocessing /<<PKGBUILDDIR>>/src/loaders/dyn_load.h...
> Parsing file /<<PKGBUILDDIR>>/src/loaders/dyn_load.h...
> Preprocessing /<<PKGBUILDDIR>>/src/loaders/libclblas.h...
> Parsing file /<<PKGBUILDDIR>>/src/loaders/libclblas.h...
> Preprocessing /<<PKGBUILDDIR>>/src/loaders/libclblast.h...
> Parsing file /<<PKGBUILDDIR>>/src/loaders/libclblast.h...
> Preprocessing /<<PKGBUILDDIR>>/src/loaders/libcublas.h...
> Parsing file /<<PKGBUILDDIR>>/src/loaders/libcublas.h...
> Preprocessing /<<PKGBUILDDIR>>/src/loaders/libcuda.h...
> Parsing file /<<PKGBUILDDIR>>/src/loaders/libcuda.h...
> Preprocessing /<<PKGBUILDDIR>>/src/loaders/libnccl.h...
> Parsing file /<<PKGBUILDDIR>>/src/loaders/libnccl.h...
> Preprocessing /<<PKGBUILDDIR>>/src/loaders/libnvrtc.h...
> Parsing file /<<PKGBUILDDIR>>/src/loaders/libnvrtc.h...
> Preprocessing /<<PKGBUILDDIR>>/src/loaders/libopencl.h...
> Parsing file /<<PKGBUILDDIR>>/src/loaders/libopencl.h...
> Preprocessing /<<PKGBUILDDIR>>/src/private.h...
> Parsing file /<<PKGBUILDDIR>>/src/private.h...
> Preprocessing /<<PKGBUILDDIR>>/src/private_cuda.h...
> Parsing file /<<PKGBUILDDIR>>/src/private_cuda.h...
> Preprocessing /<<PKGBUILDDIR>>/src/private_opencl.h...
> Parsing file /<<PKGBUILDDIR>>/src/private_opencl.h...
> Preprocessing /<<PKGBUILDDIR>>/src/util/error.h...
> Parsing file /<<PKGBUILDDIR>>/src/util/error.h...
> Preprocessing /<<PKGBUILDDIR>>/src/util/integerfactoring.h...
> Parsing file /<<PKGBUILDDIR>>/src/util/integerfactoring.h...
> Preprocessing /<<PKGBUILDDIR>>/src/util/skein.h...
> Parsing file /<<PKGBUILDDIR>>/src/util/skein.h...
> Preprocessing /<<PKGBUILDDIR>>/src/util/strb.h...
> Parsing file /<<PKGBUILDDIR>>/src/util/strb.h...
> Preprocessing /<<PKGBUILDDIR>>/src/util/xxhash.h...
> Parsing file /<<PKGBUILDDIR>>/src/util/xxhash.h...
> Building group list...
> Building directory list...
> Building namespace list...
> Building file list...
> Building class list...
> Computing nesting relations for classes...
> Associating documentation with classes...
> Building example list...
> Searching for enumerations...
> Searching for documented typedefs...
> Searching for members imported via using declarations...
> Searching for included using directives...
> Searching for documented variables...
> Building interface member list...
> Building member list...
> Searching for friends...
> Searching for documented defines...
> Computing class inheritance relations...
> Computing class usage relations...
> Flushing cached template relations that have become invalid...
> Computing class relations...
> Add enum values to enums...
> Searching for member function documentation...
> Creating members for template instances...
> Building page list...
> Search for main page...
> Computing page relations...
> Determining the scope of groups...
> Sorting lists...
> Determining which enums are documented
> Computing member relations...
> Building full member lists recursively...
> Adding members to member groups.
> Computing member references...
> Inheriting documentation...
> Generating disk names...
> Adding source references...
> Adding xrefitems...
> Sorting member lists...
> Setting anonymous enum type...
> Computing dependencies between directories...
> Generating citations page...
> Counting members...
> Counting data structures...
> Resolving user defined references...
> Finding anchors and sections in the documentation...
> Transferring function references...
> Combining using relations...
> Adding members to ind/<<PKGBUILDDIR>>/src/gpuarray/buffer.h:511: warning: explicit link request to 'ga_usefl' could not be resolved
> /<<PKGBUILDDIR>>/src/gpuarray/kernel.h:45: warning: unable to resolve reference to 'ga_usefl' for \ref command
> ex pages...
> Correcting members for VHDL...
> Generating style sheet...
> Generating search indices...
> Generating example documentation...
> Generating file sources...
> Generating code for file cache.h...
> Generating code for file cluda_cuda.h...
> Generating code for file cluda_opencl.h...
> Generating code for file gpuarray/abi_version.h...
> Generating code for file gpuarray/array.h...
> Generating code for file gpuarray/blas.h...
> Generating code for file gpuarray/buffer.h...
> Generating code for file gpuarray/buffer_blas.h...
> Generating code for file gpuarray/buffer_collectives.h...
> Generating code for file gpuarray/collectives.h...
> Generating code for file gpuarray/config.h...
> Generating code for file gpuarray/elemwise.h...
> Generating code for file gpuarray/error.h...
> Generating code for file util/error.h...
> Generating code for file gpuarray/ext_cuda.h...
> Generating code for file gpuarray/extension.h...
> Generating code for file gpuarray/kernel.h...
> Generating code for file gpuarray/types.h...
> Generating code for file gpuarray/util.h...
> Generating code for file loaders/dyn_load.h...
> Generating code for file loaders/libclblas.h...
> Generating code for file loaders/libclblast.h...
> Generating code for file loaders/libcublas.h...
> Generating code for file loaders/libcuda.h...
> Generating code for file loaders/libnccl.h...
> Generating code for file loaders/libnvrtc.h...
> Generating code for file loaders/libopencl.h...
> Generating code for file private.h...
> Generating code for file private_cuda.h...
> Generating code for file private_opencl.h...
> Generating code for file util/integerfactoring.h...
> Generating code for file util/skein.h...
> Generating code for file util/strb.h...
> Generating code for file util/xxhash.h...
> Generating file documentation...
> Generating docs for file cache.h...
> Generating docs for file cluda_cuda.h...
> Generating docs for file cluda_opencl.h...
> Generating docs for file gpuarray/abi_version.h...
> Generating docs for file gpuarray/array.h...
> Generating docs for file gpuarray/blas.h...
> Generating docs for file gpuarray/buffer.h...
> Generating docs for file gpuarray/buffer_blas.h...
> Generating docs for file gpuarray/buffer_collectives.h...
> Generating docs for file gpuarray/collectives.h...
> Generating docs for file gpuarray/config.h...
> Generating docs for file gpuarray/elemwise.h...
> Generating docs for file gpuarray/error.h...
> Generating docs for file util/error.h...
> Generating docs for file gpuarray/ext_cuda.h...
> Generating docs for file gpuarray/extension.h...
> Generating docs for file gpuarray/kernel.h...
> Generating docs for file gpuarray/types.h...
> Generating docs for file gpuarray/util.h...
> Generating docs for file loaders/dyn_load.h...
> Generating docs for file loaders/libclblas.h...
> Generating docs for file loaders/libclblast.h...
> Generating docs for file loaders/libcublas.h...
> Generating docs for file loaders/libcuda.h...
> Generating docs for file loaders/libnccl.h...
> Generating docs for file loaders/libnvrtc.h...
> Generating docs for file loaders/libopencl.h...
> Generating docs for file private.h...
> Generating docs for file private_cuda.h...
> Generating docs for file private_opencl.h...
> Generating docs for file util/integerfactoring.h...
> Generating docs for file util/skein.h...
> Generating docs for file util/strb.h...
> Generating docs for file util/xxhash.h...
> Generating page documentation...
> Generating group documentation...
> Generating class documentation...
> Generating docs for compound __half...
> Generating docs for compound _cl_ctx...
> Generating docs for compound _cuda_context...
> Generating docs for compound _error...
> Generating docs for compound _ga_half...
> Generating docs for compound _ga_half_t...
> Generating docs for compound _GpuArray...
> Generating docs for compound _gpuarray_type...
> Generating docs for compound _GpuArrayIpcMemHandle...
> Generating docs for compound _gpucommCliqueId...
> Generating docs for compound _gpuelemwise_arg...
> Generating docs for compound _GpuKernel...
> Generating docs for compound _strb...
> Generating docs for compound _cache...
> Generating docs for compound ga_factor_list_...
> Generating docs for compound/<<PKGBUILDDIR>>/src/gpuarray/buffer.h:511: warning: explicit link request to 'ga_usefl' could not be resolved
> /<<PKGBUILDDIR>>/src/gpuarray/kernel.h:45: warning: unable to resolve reference to 'ga_usefl' for \ref command
>  ga_half...
> Generating docs for compound _gpudata...
> Generating docs for compound _gpukernel...
> Generating docs for compound Skein_512_Ctxt_t...
> Generating docs for nested compound Skein_512_Ctxt_t::Skein_512_Ctxt_b_u...
> Generating docs for compound Skein_Ctxt_Hdr_t...
> Generating docs for compound XXH32_state_t...
> Generating namespace index...
> Generating graph info page...
> Generating directory documentation...
> finalizing index lists...
> writing tag file...
> Generating XML output...
> Generating XML output for class __half
> Generating XML output for class _cl_ctx
> Generating XML output for class _cuda_context
> Generating XML output for class _error
> Generating XML output for class _ga_half
> Generating XML output for class _ga_half_t
> Generating XML output for class _GpuArray
> Generating XML output for class _gpuarray_type
> Generating XML output for class _GpuArrayIpcMemHandle
> Generating XML output for class _gpucommCliqueId
> Generating XML output for class _gpuelemwise_arg
> Generating XML output for class _GpuKernel
> Generating XML output for class _strb
> Generating XML output for class _cache
> Generating XML output for class ga_factor_list_
> Generating XML output for class ga_half
> Generating XML output for class _gpudata
> Generating XML output for class _gpukernel
> Generating XML output for class Skein_512_Ctxt_t::Skein_512_Ctxt_b_u
> Generating XML output for class Skein_512_Ctxt_t
> Generating XML output for class Skein_Ctxt_Hdr_t
> Generating XML output for class XXH32_state_t
> Generating XML output for file cache.h
> Generating XML output for file cluda_cuda.h
> Generating XML output for file cluda_opencl.h
> Generating XML output for file abi_version.h
> Generating XML output for file array.h
> Generating XML output for file blas.h
> Generating XML output for file buffer.h
> Generating XML output for file buffer_blas.h
> Generating XML output for file buffer_collectives.h
> Generating XML output for file collectives.h
> Generating XML output for file config.h
> Generating XML output for file elemwise.h
> Generating XML output for file error.h
> Generating XML output for file error.h
> Generating XML output for file ext_cuda.h
> Generating XML output for file extension.h
> Generating XML output for file kernel.h
> Generating XML output for file types.h
> Generating XML output for file util.h
> Generating XML output for file dyn_load.h
> Generating XML output for file libclblas.h
> Generating XML output for file libclblast.h
> Generating XML output for file libcublas.h
> Generating XML output for file libcuda.h
> Generating XML output for file libnccl.h
> Generating XML output for file libnvrtc.h
> Generating XML output for file libopencl.h
> Generating XML output for file private.h
> Generating XML output for file private_cuda.h
> Generating XML output for file private_opencl.h
> Generating XML output for file integerfactoring.h
> Generating XML output for file skein.h
> Generating XML output for file strb.h
> Generating XML output for file xxhash.h
> Generating XML output for group aflags
> Generating XML output for group sched_modes
> Generating XML output for group alloc_flags
> Generating XML output for group props
> Generating XML output for group eflags
> Generating XML output for group elem_flags
> Generating XML output for group elem_call_flags
> Generate XML output for dir /<<PKGBUILDDIR>>/src/gpuarray/
> Generate XML output for dir /<<PKGBUILDDIR>>/src/loaders/
> Generate XML output for dir /<<PKGBUILDDIR>>/src/util/
> Running plantuml with JAVA...
> lookup cache used 753/65536 hits=4264 misses=759
> finished...
> sphinx-build -b html -d _build/doctrees   . _build/html
> Running Sphinx v3.1.1
> making output directory... done
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 43 source files that are out of date
> updating environment: [new config] 43 added, 0 changed, 0 removed
> reading sources... [  2%] c_api
> reading sources... [  4%] c_api/file/abi__version_8h
> /<<PKGBUILDDIR>>/doc/conf.py:119: RemovedInSphinx40Warning: The app.add_stylesheet() is deprecated. Please use app.add_css_file() instead.
>   app.add_stylesheet('fix_rtd.css')
> 
> Exception occurred:
>   File "/usr/lib/python3/dist-packages/sphinx/domains/c.py", line 3093, in object_type
>     raise NotImplementedError()
> NotImplementedError
> The full traceback has been saved in /tmp/sphinx-err-q8qd3ae8.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[2]: *** [Makefile:50: html] Error 2

The full build log is available from:
   http://qa-logs.debian.net/2020/06/23/libgpuarray_0.7.6-5_unstable_sphinx-exp.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 3.1 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 sphinx at packages.debian.org on reply.

[1]: https://www.sphinx-doc.org/en/3.x/changes.html
[2]: https://www.sphinx-doc.org/en/3.x/extdev/deprecated.html

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.



More information about the debian-science-maintainers mailing list