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

Issue: dev-libs/libjcat-0.1.11 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 21
- the installed files without FEATURES=test are 19
Comment 1 Agostino Sarubbo gentoo-dev 2022-06-30 09:22:41 UTC
DIFF:
--- /dev/fd/63  2022-06-30 11:12:04.631573846 +0200
+++ /dev/fd/62  2022-06-30 11:12:04.631573846 +0200
@@ -13,6 +13,8 @@
 /usr/lib64/libjcat.so.1
 /usr/lib64/libjcat.so.1.0.0
 /usr/lib64/pkgconfig/jcat.pc
+/usr/libexec/installed-tests/libjcat/pki/GPG-KEY-Linux-Vendor-Firmware-Service
+/usr/libexec/installed-tests/libjcat/pki/LVFS-CA.pem
 /usr/share/doc/libjcat-0.1.11/NEWS.bz2
 /usr/share/doc/libjcat-0.1.11/README.md.bz2
 /usr/share/gir-1.0/Jcat-1.0.gir
Comment 2 Larry the Git Cow gentoo-dev 2022-06-30 09:37:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8073e979e38e4104f9243893755054a9f9e80928

commit 8073e979e38e4104f9243893755054a9f9e80928
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2022-06-30 09:31:20 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2022-06-30 09:31:20 +0000

    dev-libs/libjcat: expand non-installation of test data
    
    No revbump because this bug only affected users who have had tests
    enabled on this package, and in any case the spurious files ARE known to
    the package manager so they'll be gone come next release anyway.
    
    Closes: https://bugs.gentoo.org/855302
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 ...atch => libjcat-0.1.11-disable_installed_tests.patch} | 16 +++++++++++++++-
 dev-libs/libjcat/libjcat-0.1.11.ebuild                   |  2 +-
 2 files changed, 16 insertions(+), 2 deletions(-)