Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 855368 - dev-libs/libxmlb-0.3.9 installs more files with FEATURES=test
Summary: dev-libs/libxmlb-0.3.9 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: Marek Szuba (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-30 15:15 UTC by Agostino Sarubbo
Modified: 2022-09-07 14:30 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-06-30 15:15:04 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/libxmlb-0.3.9 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 31
- the installed files without FEATURES=test are 28
Comment 1 Agostino Sarubbo gentoo-dev 2022-06-30 15:15:28 UTC
DIFF:
--- /dev/fd/63  2022-06-30 14:56:35.610957059 +0200
+++ /dev/fd/62  2022-06-30 14:56:35.610957059 +0200
@@ -23,6 +23,9 @@
 /usr/lib64/libxmlb.so.2
 /usr/lib64/libxmlb.so.2.0.0
 /usr/lib64/pkgconfig/xmlb.pc
+/usr/libexec/installed-tests/libxmlb/test.xml.gz.gz.gz
+/usr/libexec/installed-tests/libxmlb/xb-self-test
 /usr/share/doc/libxmlb-0.3.9/NEWS.bz2
 /usr/share/doc/libxmlb-0.3.9/README.md.bz2
+/usr/share/installed-tests/libxmlb/libxmlb.test
 /usr/share/man/man1/xb-tool.1.bz2
Comment 2 Larry the Git Cow gentoo-dev 2022-09-07 14:30:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99b6095b7c555b61132861c3d9baf3f07204771a

commit 99b6095b7c555b61132861c3d9baf3f07204771a
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2022-09-07 13:37:01 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2022-09-07 14:30:08 +0000

    dev-libs/libxmlb: suppress installation of test files
    
    Closes: https://bugs.gentoo.org/855368
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 .../files/libxmlb-0.3.9-no_installed_tests.patch   | 26 ++++++++++++++++++++++
 dev-libs/libxmlb/libxmlb-0.3.9.ebuild              |  4 ++++
 2 files changed, 30 insertions(+)