Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 849023 - 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
Summary: dev-libs/mongo-c-driver-1.18.0: build failure with dev-python/sphinx-5.0.2: m...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
URL:
Whiteboard:
Keywords:
: 854465 (view as bug list)
Depends on:
Blocks: 849212
  Show dependency tree
 
Reported: 2022-06-01 16:37 UTC by Toralf Förster
Modified: 2022-07-09 14:44 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.62 KB, text/plain)
2022-06-01 16:37 UTC, Toralf Förster
Details
dev-libs:mongo-c-driver-1.18.0:20220601-112803.log.bz2 (dev-libs:mongo-c-driver-1.18.0:20220601-112803.log.bz2,10.32 KB, application/x-bzip)
2022-06-01 16:37 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,64.07 KB, application/x-bzip)
2022-06-01 16:37 UTC, Toralf Förster
Details
environment (environment,95.79 KB, text/plain)
2022-06-01 16:37 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,19.30 KB, application/x-bzip)
2022-06-01 16:37 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.08 KB, application/x-bzip)
2022-06-01 16:37 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,33.15 KB, application/x-bzip)
2022-06-01 16:37 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-06-01 16:37:09 UTC
Not creating man page for index
Not creating man page for lifecycle
Not creating man page for using_client_side_encryption
Not creating man page for visual-studio-guide
ninja: build stopped: subcommand failed.
 * ERROR: dev-libs/mongo-c-driver-1.18.0::gentoo failed (compile phase):
 *   ninja -v -j4 -l0 failed

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4-20220529-111158

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.4
Python 3.9.13
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.61.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php8.1 *

  HEAD of ::gentoo
commit 9dac9cd8b0102b593e9f22ae069d004a97487c46
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jun 1 11:08:58 2022 +0000

    2022-06-01 11:08:57 UTC

emerge -qpvO dev-libs/mongo-c-driver
[ebuild  N    ] dev-libs/mongo-c-driver-1.18.0  USE="icu ssl -debug -examples -sasl -static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2022-06-01 16:37:10 UTC
Created attachment 781997 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-06-01 16:37:11 UTC
Created attachment 782000 [details]
dev-libs:mongo-c-driver-1.18.0:20220601-112803.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-06-01 16:37:13 UTC
Created attachment 782003 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-06-01 16:37:14 UTC
Created attachment 782006 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-06-01 16:37:15 UTC
Created attachment 782009 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-06-01 16:37:16 UTC
Created attachment 782012 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-06-01 16:37:17 UTC
Created attachment 782015 [details]
temp.tar.bz2
Comment 8 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2022-07-04 20:24:16 UTC

*** This bug has been marked as a duplicate of bug 854465 ***
Comment 9 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2022-07-04 20:29:46 UTC
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 :(
Comment 10 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2022-07-04 20:30:13 UTC
*** Bug 854465 has been marked as a duplicate of this bug. ***
Comment 11 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2022-07-04 20:33:52 UTC
By the way, error persists even on 1.19.0 (not in gentoo repo yet) tarball.
Comment 12 Arthur Zamarin archtester gentoo-dev 2022-07-09 14:41:53 UTC
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).
Comment 13 Larry the Git Cow gentoo-dev 2022-07-09 14:44:12 UTC
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(-)