Summary: | dev-libs/mongo-c-driver-1.18.0: build failure with dev-python/sphinx-5.0.2: mongoc_apm_command_failed_get_error.rst:21:unknown document: bson_error_t | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Ultrabug <ultrabug> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | arthurzam, leonchik1976, michiel, mva, tk.alexander |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 849212 | ||
Attachments: |
emerge-info.txt
dev-libs:mongo-c-driver-1.18.0:20220601-112803.log.bz2 emerge-history.txt.bz2 environment etc.portage.tar.bz2 logs.tar.bz2 temp.tar.bz2 |
Description
Toralf Förster
2022-06-01 16:37:09 UTC
Created attachment 781997 [details]
emerge-info.txt
Created attachment 782000 [details]
dev-libs:mongo-c-driver-1.18.0:20220601-112803.log.bz2
Created attachment 782003 [details]
emerge-history.txt.bz2
Created attachment 782006 [details]
environment
Created attachment 782009 [details]
etc.portage.tar.bz2
Created attachment 782012 [details]
logs.tar.bz2
Created attachment 782015 [details]
temp.tar.bz2
*** This bug has been marked as a duplicate of bug 854465 *** Well, that bug had a bit more correct (imho) title and was seen by bug-wranglers, although it was reported after this, so I inititially decided to mark *this* bug as duplicate of *that*. Although, after more thinking I decided to revert it and mark in chronological order. Sorry for flood :( *** Bug 854465 has been marked as a duplicate of this bug. *** By the way, error persists even on 1.19.0 (not in gentoo repo yet) tarball. I was trying to fix this. This occurs because the docs are depending on libbson's docs, which aren't created here (as those are part of dev-libs/libbson). AS a result we get an unknown bson module in doc generation. I was managing to advance weirdly by changing the usage to straight "verbatim" view of those links, but ultimately this was staring to grow with more weird seds, so I stopped. This was my code, if it helps you. sed -e 's/:symbol:`bson:\(.*\)`/``\1``/' \ -e 's/:symbol:`\(bson_.*\)`/``\1``/' \ -i src/libmongoc/doc/*.rst || die sed -e 's/:symbol:`\(bson_.*\)`/``\1``/' \ -i src/libmongoc/doc/includes/*.txt || die ========================================= As a result I decided to just cap to <dev-python/sphinx-5 for now. I also think this dep should be a BDEPEND only, but I might be mistaken here! As this cap might inconvenience our users, I suggest to hide it behind a IUSE="doc" flag, which affects "ENABLE_MAN_PAGES" Cmake flag. This flag still confirms to the QA policy for man/doc USE flags, as this add "problematic" dependency. But since this isn't my package, I leave the decision to @ultrabug (an ACK for me to do it myself is also fine). The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac5bcae60e4c8838e8b3e9568765873426842a77 commit ac5bcae60e4c8838e8b3e9568765873426842a77 Author: Arthur Zamarin <arthurzam@gentoo.org> AuthorDate: 2022-07-09 14:42:52 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2022-07-09 14:44:05 +0000 dev-libs/mongo-c-driver: cap to <dev-python/sphinx-5 Bug: https://bugs.gentoo.org/849023 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> .../{mongo-c-driver-1.18.0.ebuild => mongo-c-driver-1.18.0-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (there is sphinx-7.2.6 stable (and the only available) and both mongo-c-driver 1.24.4 (~) and 1.18.0-r1 (stable) compile just fine with it (at least, here) |