Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 759523 - sci-libs/gdal-3.2.0 USE=doc Extension error: Could not import extension breathe (exception: No module named 'breathe')
Summary: sci-libs/gdal-3.2.0 USE=doc Extension error: Could not import extension breat...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard: USE=doc is package.use.masked for now
Keywords:
Depends on: 752129
Blocks:
  Show dependency tree
 
Reported: 2020-12-11 21:17 UTC by Bernd
Modified: 2021-02-07 00:59 UTC (History)
3 users (show)

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


Attachments
emerge-info-gdal-3.2.0.txt (emerge-info-gdal-3.2.0.txt,14.54 KB, text/plain)
2020-12-11 21:19 UTC, Bernd
Details
gdal-3.2.0:20201211-195737.log.bz2 (gdal-3.2.0:20201211-195737.log.bz2,50.13 KB, application/octet-stream)
2020-12-11 21:20 UTC, Bernd
Details

Note You need to log in before you can comment on or make changes to this bug.
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(+)