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

Bug 923222

Summary: app-admin/conky-1.19.6-r2 installs more files with FEATURES=test
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Daniel Pielmeier <billie>
Status: CONFIRMED ---    
Severity: normal CC: billie
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2024-01-29 07:47:25 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-admin/conky-1.19.6-r2 installs more files with FEATURES=test.
Discovered on: amd64 (internal ref: ci)

NOTE:
To reproduce this issue:
1) Install the package with FEATURES=test
2) Put the list of the installed files into a file ( qlist -e PACKAGE:SLOT | sort | uniq > /tmp/qlist_test )
3) Install the package without FEATURES=test
4) Put the list of the installed files into a file ( qlist -e PACKAGE:SLOT | sort | uniq > /tmp/qlist_notest )
5) See the diff between the two files ( diff -ru /tmp/qlist_test /tmp/qlist_notest )

On this machine:
- the installed files with FEATURES=test are 11
- the installed files without FEATURES=test are 10

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 2024-01-29 07:47:55 UTC
DIFF:
--- /dev/fd/63  2024-01-28 23:21:58.088608487 +0100
+++ /dev/fd/62  2024-01-28 23:21:58.088608487 +0100
@@ -1,4 +1,5 @@
 /usr/bin/conky
+/usr/lib64/libconky_core.so
 /usr/lib64/libtcp-portmon.so
 /usr/share/applications/conky.desktop
 /usr/share/doc/conky-1.19.6-r2/AUTHORS.bz2
Comment 2 Daniel Pielmeier gentoo-dev 2024-01-29 19:33:53 UTC
This is perfectly fine. This library is only built if tests are enabled [1]. Is there any problem with such a behaviour?

https://github.com/brndnmtthws/conky/blob/6921d6adb5b7330acd148ccc9890cfc242e538b1/src/CMakeLists.txt#L341