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

Bug 911310

Summary: sys-libs/ldb-2.7.2: automagically installs libcmocka-ldb.so sometimes
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo's SAMBA Team <samba>
Status: CONFIRMED ---    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2023-07-27 11:57:22 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-libs/ldb-2.7.2 installs more files (docs) in presence of available programs.
Discovered on: amd64 (internal ref: ci)

NOTE:
To reproduce this issue:
1) Install the package with USE=-doc
2) Put the list of the installed files into a file ( qlist -e PACKAGE:SLOT | sort | uniq > /tmp/qlist1 )
3) Install the package with USE=doc
4) Install (again) the package with USE=-doc
5) Put the list of the installed files into a file ( qlist -e PACKAGE:SLOT | sort | uniq > /tmp/qlist2 )
6) Both files should have the same content because they come from a 'USE=-doc' build
7) See the diff between the two files ( diff -ru /tmp/qlist_1 /tmp/qlist_2 )

This type of report comes from a check that is a bit outside of the tinderbox, that's the reason because build.log was not provided (however in cases like these the build.log doesn't help much) but if you need further help to diagnose this issue feel free to ask.

In any case I'm providing a diff.
Comment 1 Agostino Sarubbo gentoo-dev 2023-07-27 11:57:41 UTC
DIFF:
--- /dev/fd/63  2023-07-27 12:45:39.826781742 +0200
+++ /dev/fd/62  2023-07-27 12:45:39.826781742 +0200
@@ -9,7 +9,6 @@
 /usr/include/ldb_handlers.h
 /usr/include/ldb_module.h
 /usr/include/ldb_version.h
-/usr/lib64/ldb/libcmocka-ldb.so
 /usr/lib64/ldb/libldb-cmdline.so
 /usr/lib64/ldb/libldb-key-value.so
 /usr/lib64/ldb/libldb-mdb-int.so