Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905655 - dev-libs/qcoro5-0.9.0 installs more files with FEATURES=test
Summary: dev-libs/qcoro5-0.9.0 installs more files with FEATURES=test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-03 13:40 UTC by Agostino Sarubbo
Modified: 2023-05-03 17:20 UTC (History)
0 users

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 2023-05-03 13:40:12 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/qcoro5-0.9.0 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 73
- the installed files without FEATURES=test are 67

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-05-03 13:40:45 UTC
DIFF:
--- /dev/fd/63  2023-05-03 14:45:50.994367594 +0200
+++ /dev/fd/62  2023-05-03 14:45:50.994367594 +0200
@@ -34,6 +34,8 @@
 /usr/include/qcoro5/qcoro/qcorotask.h
 /usr/include/qcoro5/QCoro/QCoroTcpServer
 /usr/include/qcoro5/qcoro/qcorotcpserver.h
+/usr/include/qcoro5/QCoro/QCoroTest
+/usr/include/qcoro5/qcoro/qcorotest.h
 /usr/include/qcoro5/QCoro/QCoroThread
 /usr/include/qcoro5/qcoro/qcorothread.h
 /usr/include/qcoro5/QCoro/QCoroTimer
@@ -55,6 +57,9 @@
 /usr/lib64/cmake/QCoro5Network/QCoro5NetworkTargets-relwithdebinfo.cmake
 /usr/lib64/cmake/QCoro5/QCoro5Config.cmake
 /usr/lib64/cmake/QCoro5/QCoro5ConfigVersion.cmake
+/usr/lib64/cmake/QCoro5Test/QCoro5TestConfig.cmake
+/usr/lib64/cmake/QCoro5Test/QCoro5TestConfigVersion.cmake
+/usr/lib64/cmake/QCoro5Test/QCoro5TestTargets.cmake
 /usr/lib64/libQCoro5Core.so
 /usr/lib64/libQCoro5Core.so.0
 /usr/lib64/libQCoro5Core.so.0.9.0
@@ -64,4 +69,5 @@
 /usr/lib64/qt5/mkspecs/modules/qt_QCoroCore.pri
 /usr/lib64/qt5/mkspecs/modules/qt_QCoroCoro.pri
 /usr/lib64/qt5/mkspecs/modules/qt_QCoroNetwork.pri
+/usr/lib64/qt5/mkspecs/modules/qt_QCoroTest.pri
 /usr/share/doc/qcoro5-0.9.0/README.md.bz2
Comment 2 Larry the Git Cow gentoo-dev 2023-05-03 17:20:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e8312199c3edf9d44dbf56846289814d9e4d869

commit 1e8312199c3edf9d44dbf56846289814d9e4d869
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-05-03 17:10:25 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-05-03 17:18:12 +0000

    dev-libs/qcoro5: Move QCORO_WITH_QTTEST option to IUSE testlib
    
    Closes: https://bugs.gentoo.org/905655
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-libs/qcoro5/metadata.xml        | 2 +-
 dev-libs/qcoro5/qcoro5-0.9.0.ebuild | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)