Summary: | dev-libs/libbson-1.15.1 : ninja: build stopped: subcommand failed. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Ultrabug <ultrabug> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hlein, hydrapolic, phobosk, vmatare+gbug, whissi |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-libs:libbson-1.15.1:20200409-004220.log emerge-history.txt environment etc.portage.tbz2 logs.tbz2 temp.tbz2 Fix dev-libs/libbson build with recent dev-python/sphinx |
Description
Toralf Förster
![]() Created attachment 631510 [details]
emerge-info.txt
Created attachment 631512 [details]
dev-libs:libbson-1.15.1:20200409-004220.log
Created attachment 631514 [details]
emerge-history.txt
Created attachment 631516 [details]
environment
Created attachment 631518 [details]
etc.portage.tbz2
Created attachment 631520 [details]
logs.tbz2
Created attachment 631522 [details]
temp.tbz2
Same error and build log for =dev-libs/libbson-1.16.2 I think this is because recent sphinx does not have environment.NoUri: $ equery l sphinx * Searching for sphinx ... [IP-] [ ] dev-python/sphinx-2.0.1-r1:0 $ python3 Python 3.6.10 (default, Jan 15 2020, 22:54:37) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from sphinx.environment import NoUri >>> Vs: $ equery l sphinx * Searching for sphinx ... [IP-] [ ] dev-python/sphinx-3.0.1:0 $ python3 Python 3.6.10 (default, Apr 9 2020, 11:29:16) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from sphinx.environment import NoUri Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: cannot import name 'NoUri' >>> According to /usr/share/doc/sphinx-3.0.1/CHANGES.bz2, sphinx.environment.NoUri is deprecated; it is now at sphinx.errors.NoUri. A simple patch to build/sphinx/taglist.py allows the build to succeed; I will attach it. Created attachment 633780 [details, diff]
Fix dev-libs/libbson build with recent dev-python/sphinx
Note also, it seems that dev-libs/mongo-c-driver needs the exact same patch (really the same, it builds from the same source tree as dev-ibs/libbson). The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09f8e9f297b0ab0451db26d4cc52caee06cfee46 commit 09f8e9f297b0ab0451db26d4cc52caee06cfee46 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-04-21 17:26:26 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-04-21 17:26:35 +0000 dev-libs/mongo-c-driver: fix building against >=sphinx-3 Closes: https://bugs.gentoo.org/716774 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> .../files/mongo-c-driver-1.16.2-sphinx.patch | 19 +++++++++++++++++++ dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild | 1 + 2 files changed, 20 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee4d32392fd1c0b32eef9c0b6d72baaadfa0de08 commit ee4d32392fd1c0b32eef9c0b6d72baaadfa0de08 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-04-21 17:23:18 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-04-21 17:26:34 +0000 dev-libs/libbson: fix building against >=sphinx-3 Closes: https://bugs.gentoo.org/716774 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> dev-libs/libbson/files/libbson-1.16.2-sphinx.patch | 19 +++++++++++++++++++ dev-libs/libbson/libbson-1.16.2.ebuild | 1 + 2 files changed, 20 insertions(+) |