Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 737812

Summary: dev-libs/mongo-c-driver dev-libs/libbson - add USE=doc for dev-python/sphinx dependency
Product: Gentoo Linux Reporter: C. Wijtmans <cj.wijtmans>
Component: Current packagesAssignee: Ultrabug <ultrabug>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: de-libs/libbson/libbson-1.17.0.ebuild.patch
dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild.patch
dev-libs/libbson/libbson-1.17.0.ebuild.patch
dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild.patch

Description C. Wijtmans 2020-08-18 09:04:42 UTC
dev-libs/mongo-c-driver and dev-libs/libbson are the only packages pulling in sphinx without having a doc useflag.
Comment 1 C. Wijtmans 2020-08-22 15:08:28 UTC
In CMake: 
   if (ENABLE_MAN_PAGES STREQUAL ON OR ENABLE_HTML_DOCS STREQUAL ON)
      find_package (Sphinx REQUIRED)

So USE=-doc should disable ENABLE_MAN_PAGES and ENABLE_HTML_DOCS and compile without sphinx.
Comment 2 C. Wijtmans 2020-08-22 16:35:43 UTC
and this is worse than i thought: 

 dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild: line 6: please migrate from 'cmake-utils' to 'cmake'
Comment 3 C. Wijtmans 2020-08-22 17:28:03 UTC
Created attachment 656212 [details, diff]
de-libs/libbson/libbson-1.17.0.ebuild.patch
Comment 4 C. Wijtmans 2020-08-22 17:29:51 UTC
Created attachment 656214 [details, diff]
dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild.patch
Comment 5 C. Wijtmans 2020-08-22 17:33:29 UTC
Further clean up can still be made however this allowed me to compile the packages and clean up sphinx from my system, saving 18! packages.
Comment 6 C. Wijtmans 2020-08-22 17:41:00 UTC
USE=pic could be added.
Comment 7 C. Wijtmans 2020-08-23 09:29:30 UTC
Created attachment 656324 [details, diff]
dev-libs/libbson/libbson-1.17.0.ebuild.patch
Comment 8 C. Wijtmans 2020-08-23 09:33:31 UTC
Created attachment 656326 [details, diff]
dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild.patch