Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 759523

Summary: sci-libs/gdal-3.2.0 USE=doc Extension error: Could not import extension breathe (exception: No module named 'breathe')
Product: Gentoo Linux Reporter: Bernd <waebbl-gentoo>
Component: Current packagesAssignee: Sci-geo Project <sci-geosciences>
Status: CONFIRMED ---    
Severity: normal CC: jstein, kripton, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: USE=doc is package.use.masked for now
Package list:
Runtime testing required: ---
Bug Depends on: 752129    
Bug Blocks:    
Attachments: emerge-info-gdal-3.2.0.txt
gdal-3.2.0:20201211-195737.log.bz2

Description Bernd 2020-12-11 21:17:47 UTC
Updating to 3.2.0 with USE=doc enables fails with

touch .doxygen_up_to_date
python3 "source/build_driver_summary.py" "source/drivers/raster" raster_driver_summary "source/drivers/raster/driver_summary.rst"
python3 "source/build_driver_summary.py" "source/drivers/vector" vector_driver_summary "source/drivers/vector/driver_summary.rst"
python3 "source/build_configoptions_index.py"  "source" "source/user/configoptions_index_generated.rst"
sphinx-build -M html "source" "build" --keep-going -j auto -W 
Running Sphinx v2.4.4

Extension error:
Could not import extension breathe (exception: No module named 'breathe')
make[1]: *** [Makefile:35: html] Error 2
make[1]: Leaving directory '/var/tmp/portage/sci-libs/gdal-3.2.0/work/gdal-3.2.0/doc'
make: *** [GNUmakefile:173: docs] Error 2
 * ERROR: sci-libs/gdal-3.2.0::gentoo failed (compile phase):
 *   emake failed

Omitting the doc USE flag builds successfully.

Reproducible: Always

Steps to Reproduce:
1. USE=doc emerge =sci-libs/gdal-3.2.0
2.
3.



emerge --info and build.log as attachments
Comment 1 Bernd 2020-12-11 21:19:20 UTC
Created attachment 678040 [details]
emerge-info-gdal-3.2.0.txt

emerge --info =sci-libs/gdal-3.2.0
Comment 2 Bernd 2020-12-11 21:20:11 UTC
Created attachment 678043 [details]
gdal-3.2.0:20201211-195737.log.bz2

build log, compressed due to size
Comment 3 Larry the Git Cow gentoo-dev 2021-02-07 00:59:07 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06c1a63abcc1fb35faeba4a11397193dc1073c84

commit 06c1a63abcc1fb35faeba4a11397193dc1073c84
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-02-07 00:58:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-02-07 00:59:04 +0000

    profiles/base/package.use.mask: mask sci-libs/gdal[doc]
    
    Missing doc dependencies which need to be added carefully
    using the right Python eclass primitives.
    
    Bug: https://bugs.gentoo.org/759523
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/base/package.use.mask | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 4 Alessandro Barbieri 2021-07-31 06:54:41 UTC
I have the same issue in guru with sys-cluster/fti