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
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
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.
(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?
(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.