Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 865387 - dev-cpp/sdbus-c++-1.2.0 installs more files with FEATURES=test
Summary: dev-cpp/sdbus-c++-1.2.0 installs more files with FEATURES=test
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-16 13:27 UTC by Agostino Sarubbo
Modified: 2024-01-31 21:26 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-08-16 13:27:54 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-cpp/sdbus-c++-1.2.0 installs more files with FEATURES=test.
Discovered on: amd64 (internal ref: ci)

NOTE:
This is an experimental tinderbox feature.
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 33
- the installed files without FEATURES=test are 32
Comment 1 Agostino Sarubbo gentoo-dev 2022-08-16 13:28:10 UTC
DIFF:
--- /dev/fd/63  2022-08-16 14:38:50.034541629 +0200
+++ /dev/fd/62  2022-08-16 14:38:50.034541629 +0200
@@ -1,3 +1,4 @@
+/etc/dbus-1/system.d/org.sdbuscpp.integrationtests.conf
 /usr/include/sdbus-c++/AdaptorInterfaces.h
 /usr/include/sdbus-c++/ConvenienceApiClasses.h
 /usr/include/sdbus-c++/ConvenienceApiClasses.inl
Comment 2 James Le Cuirot gentoo-dev 2022-08-16 14:31:12 UTC
That is deliberate. The file needs to be installed for the tests to pass. As such, we have to skip them the first time around. I believe this is a D-Bus limitation rather than one specific to this package.
Comment 3 Agostino Sarubbo gentoo-dev 2024-01-31 13:24:00 UTC
(In reply to James Le Cuirot from comment #2)
> That is deliberate. The file needs to be installed for the tests to pass. As
> such, we have to skip them the first time around. I believe this is a D-Bus
> limitation rather than one specific to this package.

I understand but why do not remove it in src_install for example?
Comment 4 James Le Cuirot gentoo-dev 2024-01-31 21:26:59 UTC
(In reply to Agostino Sarubbo from comment #3)
> (In reply to James Le Cuirot from comment #2)
> > That is deliberate. The file needs to be installed for the tests to pass. As
> > such, we have to skip them the first time around. I believe this is a D-Bus
> > limitation rather than one specific to this package.
> 
> I understand but why do not remove it in src_install for example?

No, it needs to be installed to the live filesystem. You can't tell D-Bus to look anywhere else.