Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721170 - dev-libs/libbson-1.13.0 fails to build: /usr/lib64/python3.6/importlib/__init__.py:126: RemovedInSphinx30Warning: sphinx.environment.NoUri is deprecated. Check CHANGES for Sphinx API modifications.
Summary: dev-libs/libbson-1.13.0 fails to build: /usr/lib64/python3.6/importlib/__init...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ultrabug
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-06 02:14 UTC by Michael Hofmann
Modified: 2025-04-10 08:37 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,6.11 KB, text/plain)
2020-05-06 02:22 UTC, Michael Hofmann
Details
build.log (build.log,35.37 KB, text/plain)
2020-05-06 02:24 UTC, Michael Hofmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hofmann 2020-05-06 02:14:04 UTC
dev-libs/libbson-1.13.0 (stable) fails to build:

cd /var/tmp/portage/dev-libs/libbson-1.13.0/work/libbson-1.13.0_build/src/libbson/doc && /usr/bin/cmake -E env PYTHONDONTWRITEBYTECODE=1 /usr/bin/sphinx-build -j 8 -qEW -b man -c /var/tmp/portage/dev-libs/libbson-1.13.0/work/mongo-c-driver-1.13.0/src/libbson/doc /var/tmp/portage/dev-libs/libbson-1.13.0/work/mongo-c-driver-1.13.0/src/libbson/doc /var/tmp/portage/dev-libs/libbson-1.13.0/work/libbson-1.13.0_build/src/libbson/doc/man && rm -rf /var/tmp/portage/dev-libs/libbson-1.13.0/work/libbson-1.13.0_build/src/libbson/doc/man/.doctrees /var/tmp/portage/dev-libs/libbson-1.13.0/work/libbson-1.13.0_build/src/libbson/doc/man/.buildinfo
/usr/lib64/python3.6/importlib/__init__.py:126: RemovedInSphinx30Warning: sphinx.environment.NoUri is deprecated. Check CHANGES for Sphinx API modifications.
  return _bootstrap._gcd_import(name[level:], package, level)
/var/tmp/portage/dev-libs/libbson-1.13.0/work/mongo-c-driver-1.13.0/build/sphinx/mongoc_common.py:76: FutureWarning:
   The iterable returned by Node.traverse()
   will become an iterator instead of a list in Docutils > 0.16.
  return matches[0]

Warning, treated as error:
the taglist extension is not safe for parallel reading
Not creating man page for api
Not creating man page for index
ninja: build stopped: subcommand failed.

See: https://forums.gentoo.org/viewtopic-p-8453900.html

The problem seems to be fixed in version 1.16.2

Reproducible: Always
Comment 1 Michael Hofmann 2020-05-06 02:22:05 UTC
Created attachment 636300 [details]
emerge-info.txt
Comment 2 Michael Hofmann 2020-05-06 02:24:57 UTC
Created attachment 636302 [details]
build.log
Comment 3 Larry the Git Cow gentoo-dev 2025-04-10 08:37:51 UTC
The bug has been closed via the following commit(s):

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

commit e4010a3464c1b2de50164fb7bc551903f10016b3
Author:     Robert Förster <Dessa@gmake.de>
AuthorDate: 2025-04-07 19:45:29 +0000
Commit:     Alexys Jacob <ultrabug@gentoo.org>
CommitDate: 2025-04-10 08:37:40 +0000

    dev-libs/libbson: add fix for CVE-2023-0437, add proper python dep for sphinx
    
    Closes: https://bugs.gentoo.org/639540
    Closes: https://bugs.gentoo.org/721170
    Closes: https://bugs.gentoo.org/921953
    Bug: https://bugs.gentoo.org/936109
    Signed-off-by: Robert Förster <Dessa@gmake.de>
    Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>

 dev-libs/libbson/Manifest                          |  1 +
 .../files/libbson-1.24.4-CVE-2023-0437.patch       | 25 +++++++++
 dev-libs/libbson/libbson-1.24.4-r1.ebuild          | 64 ++++++++++++++++++++++
 dev-libs/libbson/metadata.xml                      |  1 +
 4 files changed, 91 insertions(+)