Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944925 - app-crypt/swtpm-0.10.0 installs more files with FEATURES=test
Summary: app-crypt/swtpm-0.10.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: Christopher Byrne
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-11-25 12:13 UTC by Agostino Sarubbo
Modified: 2024-12-11 01:53 UTC (History)
2 users (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 2024-11-25 12:13:48 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-crypt/swtpm-0.10.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 220
- the installed files without FEATURES=test are 144

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.

DIFF:
--- /dev/fd/63  2024-11-23 21:53:53.649791790 +0100
+++ /dev/fd/62  2024-11-23 21:53:53.649791790 +0100
@@ -75,54 +75,130 @@
 /usr/libexec/installed-tests/swtpm/softhsm_setup
 /usr/libexec/installed-tests/swtpm/swtpm_setup.conf
 /usr/libexec/installed-tests/swtpm/test_clientfds.py
+/usr/libexec/installed-tests/swtpm/test_commandline
 /usr/libexec/installed-tests/swtpm/test_common
 /usr/libexec/installed-tests/swtpm/test_config
+/usr/libexec/installed-tests/swtpm/test_ctrlchannel
+/usr/libexec/installed-tests/swtpm/test_ctrlchannel2
+/usr/libexec/installed-tests/swtpm/test_ctrlchannel3
+/usr/libexec/installed-tests/swtpm/test_ctrlchannel4
 /usr/libexec/installed-tests/swtpm/test_cuse
 /usr/libexec/installed-tests/swtpm/_test_encrypted_state
+/usr/libexec/installed-tests/swtpm/test_encrypted_state
 /usr/libexec/installed-tests/swtpm/_test_getcap
+/usr/libexec/installed-tests/swtpm/test_getcap
 /usr/libexec/installed-tests/swtpm/_test_hashing
+/usr/libexec/installed-tests/swtpm/test_hashing
 /usr/libexec/installed-tests/swtpm/_test_hashing2
+/usr/libexec/installed-tests/swtpm/test_hashing2
 /usr/libexec/installed-tests/swtpm/_test_init
+/usr/libexec/installed-tests/swtpm/test_init
 /usr/libexec/installed-tests/swtpm/_test_locality
+/usr/libexec/installed-tests/swtpm/test_locality
 /usr/libexec/installed-tests/swtpm/_test_migration_key
+/usr/libexec/installed-tests/swtpm/test_migration_key
 /usr/libexec/installed-tests/swtpm/_test_migration_key_2
+/usr/libexec/installed-tests/swtpm/test_parameters
 /usr/libexec/installed-tests/swtpm/_test_print_capabilities
+/usr/libexec/installed-tests/swtpm/test_print_capabilities
 /usr/libexec/installed-tests/swtpm/_test_print_states
+/usr/libexec/installed-tests/swtpm/test_print_states
 /usr/libexec/installed-tests/swtpm/_test_resume_volatile
+/usr/libexec/installed-tests/swtpm/test_resume_volatile
 /usr/libexec/installed-tests/swtpm/tests
+/usr/libexec/installed-tests/swtpm/test_samples_create_tpmca
 /usr/libexec/installed-tests/swtpm/_test_save_load_encrypted_state
+/usr/libexec/installed-tests/swtpm/test_save_load_encrypted_state
 /usr/libexec/installed-tests/swtpm/_test_save_load_state
+/usr/libexec/installed-tests/swtpm/test_save_load_state
 /usr/libexec/installed-tests/swtpm/_test_setbuffersize
+/usr/libexec/installed-tests/swtpm/test_setbuffersize
 /usr/libexec/installed-tests/swtpm/test_setdatafd.py
 /usr/libexec/installed-tests/swtpm/_test_swtpm_bios
+/usr/libexec/installed-tests/swtpm/test_swtpm_bios
 /usr/libexec/installed-tests/swtpm/test_swtpm_cert
+/usr/libexec/installed-tests/swtpm/test_swtpm_setup_create_cert
+/usr/libexec/installed-tests/swtpm/test_swtpm_setup_file_backend
+/usr/libexec/installed-tests/swtpm/test_swtpm_setup_misc
+/usr/libexec/installed-tests/swtpm/test_swtpm_setup_overwrite
+/usr/libexec/installed-tests/swtpm/test_tpm12
 /usr/libexec/installed-tests/swtpm/_test_tpm2_avoid_da_lockout
+/usr/libexec/installed-tests/swtpm/test_tpm2_avoid_da_lockout
+/usr/libexec/installed-tests/swtpm/test_tpm2_chroot_chardev
+/usr/libexec/installed-tests/swtpm/test_tpm2_chroot_cuse
+/usr/libexec/installed-tests/swtpm/test_tpm2_chroot_socket
+/usr/libexec/installed-tests/swtpm/test_tpm2_ctrlchannel2
+/usr/libexec/installed-tests/swtpm/test_tpm2_ctrlchannel3
 /usr/libexec/installed-tests/swtpm/_test_tpm2_derived_keys
+/usr/libexec/installed-tests/swtpm/test_tpm2_derived_keys
 /usr/libexec/installed-tests/swtpm/_test_tpm2_encrypted_state
+/usr/libexec/installed-tests/swtpm/test_tpm2_encrypted_state
 /usr/libexec/installed-tests/swtpm/_test_tpm2_file_permissions
+/usr/libexec/installed-tests/swtpm/test_tpm2_file_permissions
 /usr/libexec/installed-tests/swtpm/_test_tpm2_getcap
+/usr/libexec/installed-tests/swtpm/test_tpm2_getcap
 /usr/libexec/installed-tests/swtpm/_test_tpm2_hashing
+/usr/libexec/installed-tests/swtpm/test_tpm2_hashing
 /usr/libexec/installed-tests/swtpm/_test_tpm2_hashing2
+/usr/libexec/installed-tests/swtpm/test_tpm2_hashing2
 /usr/libexec/installed-tests/swtpm/_test_tpm2_hashing3
+/usr/libexec/installed-tests/swtpm/test_tpm2_hashing3
+/usr/libexec/installed-tests/swtpm/test_tpm2_ibmtss2
 /usr/libexec/installed-tests/swtpm/_test_tpm2_init
+/usr/libexec/installed-tests/swtpm/test_tpm2_init
+/usr/libexec/installed-tests/swtpm/test_tpm2_libtpms_versions_profiles
 /usr/libexec/installed-tests/swtpm/_test_tpm2_locality
+/usr/libexec/installed-tests/swtpm/test_tpm2_locality
 /usr/libexec/installed-tests/swtpm/_test_tpm2_migration_key
+/usr/libexec/installed-tests/swtpm/test_tpm2_migration_key
+/usr/libexec/installed-tests/swtpm/test_tpm2_parameters
+/usr/libexec/installed-tests/swtpm/test_tpm2_partial_reads
 /usr/libexec/installed-tests/swtpm/_test_tpm2_print_capabilities
+/usr/libexec/installed-tests/swtpm/test_tpm2_print_capabilities
 /usr/libexec/installed-tests/swtpm/_test_tpm2_print_states
+/usr/libexec/installed-tests/swtpm/test_tpm2_print_states
 /usr/libexec/installed-tests/swtpm/_test_tpm2_probe
+/usr/libexec/installed-tests/swtpm/test_tpm2_probe
 /usr/libexec/installed-tests/swtpm/_test_tpm2_resume_volatile
+/usr/libexec/installed-tests/swtpm/test_tpm2_resume_volatile
 /usr/libexec/installed-tests/swtpm/_test_tpm2_save_load_encrypted_state
+/usr/libexec/installed-tests/swtpm/test_tpm2_save_load_encrypted_state
 /usr/libexec/installed-tests/swtpm/_test_tpm2_save_load_state
+/usr/libexec/installed-tests/swtpm/test_tpm2_save_load_state
+/usr/libexec/installed-tests/swtpm/test_tpm2_save_load_state_2
+/usr/libexec/installed-tests/swtpm/test_tpm2_save_load_state_2_block
+/usr/libexec/installed-tests/swtpm/test_tpm2_save_load_state_2_linear
+/usr/libexec/installed-tests/swtpm/test_tpm2_save_load_state_3
 /usr/libexec/installed-tests/swtpm/_test_tpm2_save_load_state_da_timeout
+/usr/libexec/installed-tests/swtpm/test_tpm2_save_load_state_da_timeout
 /usr/libexec/installed-tests/swtpm/_test_tpm2_save_load_state_locking
+/usr/libexec/installed-tests/swtpm/test_tpm2_save_load_state_locking
 /usr/libexec/installed-tests/swtpm/_test_tpm2_savestate
+/usr/libexec/installed-tests/swtpm/test_tpm2_savestate
 /usr/libexec/installed-tests/swtpm/_test_tpm2_setbuffersize
+/usr/libexec/installed-tests/swtpm/test_tpm2_setbuffersize
 /usr/libexec/installed-tests/swtpm/_test_tpm2_swtpm_bios
+/usr/libexec/installed-tests/swtpm/test_tpm2_swtpm_bios
+/usr/libexec/installed-tests/swtpm/test_tpm2_swtpm_cert
+/usr/libexec/installed-tests/swtpm/test_tpm2_swtpm_cert_ecc
+/usr/libexec/installed-tests/swtpm/test_tpm2_swtpm_localca
+/usr/libexec/installed-tests/swtpm/test_tpm2_swtpm_localca_pkcs11.test
+/usr/libexec/installed-tests/swtpm/test_tpm2_swtpm_setup_create_cert
+/usr/libexec/installed-tests/swtpm/test_tpm2_swtpm_setup_overwrite
+/usr/libexec/installed-tests/swtpm/test_tpm2_swtpm_setup_profile
+/usr/libexec/installed-tests/swtpm/test_tpm2_swtpm_setup_profile_name
 /usr/libexec/installed-tests/swtpm/_test_tpm2_volatilestate
+/usr/libexec/installed-tests/swtpm/test_tpm2_volatilestate
+/usr/libexec/installed-tests/swtpm/test_tpm2_vtpm_proxy
 /usr/libexec/installed-tests/swtpm/_test_tpm2_wrongorder
+/usr/libexec/installed-tests/swtpm/test_tpm2_wrongorder
 /usr/libexec/installed-tests/swtpm/_test_tpm_probe
+/usr/libexec/installed-tests/swtpm/test_tpm_probe
 /usr/libexec/installed-tests/swtpm/_test_volatilestate
+/usr/libexec/installed-tests/swtpm/test_volatilestate
+/usr/libexec/installed-tests/swtpm/test_vtpm_proxy
 /usr/libexec/installed-tests/swtpm/_test_wrongorder
+/usr/libexec/installed-tests/swtpm/test_wrongorder
 /usr/share/doc/swtpm-0.10.0/CHANGES.bz2
 /usr/share/doc/swtpm-0.10.0/README.bz2
 /usr/share/doc/swtpm-0.10.0/TODO.bz2
Comment 1 Larry the Git Cow gentoo-dev 2024-12-11 01:53:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c2c4eb6864954d217e8b207bc76ba757d23d540

commit 9c2c4eb6864954d217e8b207bc76ba757d23d540
Author:     Christopher Byrne <salah.coronya@gmail.com>
AuthorDate: 2024-12-04 00:53:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-11 01:52:02 +0000

    app-crypt/swtpm: Don't install tests when USE="test"
    
    The build system doesn't install the tests otherwise. They were never
    intended to be installed into the system anyway.
    
    Closes: https://bugs.gentoo.org/944925
    Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-crypt/swtpm/swtpm-0.10.0.ebuild | 1 +
 1 file changed, 1 insertion(+)