Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 861575 - sys-apps/fwupd-1.8.3 installs more files with FEATURES=test
Summary: sys-apps/fwupd-1.8.3 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-07-28 06:44 UTC by Agostino Sarubbo
Modified: 2024-02-29 11:33 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-07-28 06:44:46 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-apps/fwupd-1.8.3 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 314
- the installed files without FEATURES=test are 237
Comment 1 Agostino Sarubbo gentoo-dev 2022-07-28 06:45:08 UTC
DIFF:
--- /dev/fd/63  2022-07-28 00:58:39.471630958 +0200
+++ /dev/fd/62  2022-07-28 00:58:39.471630958 +0200
@@ -1,6 +1,7 @@
 /etc/fwupd/daemon.conf
 /etc/fwupd/msr.conf
 /etc/fwupd/redfish.conf
+/etc/fwupd/remotes.d/fwupd-tests.conf
 /etc/fwupd/remotes.d/lvfs.conf
 /etc/fwupd/remotes.d/lvfs-testing.conf
 /etc/fwupd/remotes.d/vendor.conf
@@ -148,6 +149,20 @@
 /usr/lib64/pkgconfig/fwupdplugin.pc
 /usr/libexec/fwupd/fwupd
 /usr/libexec/fwupd/fwupd-detect-cet
+/usr/libexec/installed-tests/fwupd/acpi-dmar-self-test
+/usr/libexec/installed-tests/fwupd/acpi-facp-self-test
+/usr/libexec/installed-tests/fwupd/acpi-ivrs-self-test
+/usr/libexec/installed-tests/fwupd/acpi-phat-self-test
+/usr/libexec/installed-tests/fwupd/ata-self-test
+/usr/libexec/installed-tests/fwupd/bcm57xx-self-test
+/usr/libexec/installed-tests/fwupd/ccgx-self-test
+/usr/libexec/installed-tests/fwupd/elantp-self-test
+/usr/libexec/installed-tests/fwupd/fwupd.sh
+/usr/libexec/installed-tests/fwupd/linux-swap-self-test
+/usr/libexec/installed-tests/fwupd/mtd-self-test
+/usr/libexec/installed-tests/fwupd/nitrokey-self-test
+/usr/libexec/installed-tests/fwupd/pxi-self-test
+/usr/libexec/installed-tests/fwupd/redfish-self-test
 /usr/share/dbus-1/interfaces/org.freedesktop.fwupd.xml
 /usr/share/dbus-1/system.d/org.freedesktop.fwupd.conf
 /usr/share/dbus-1/system-services/org.freedesktop.fwupd.service
@@ -156,7 +171,52 @@
 /usr/share/doc/fwupd-1.8.3/README.md.bz2
 /usr/share/fish/vendor_completions.d/fwupdmgr.fish
 /usr/share/fwupd/add_capsule_header.py
+/usr/share/fwupd/device-tests/8bitdo-nes30pro.json
+/usr/share/fwupd/device-tests/8bitdo-sf30pro.json
+/usr/share/fwupd/device-tests/8bitdo-sfc30.json
+/usr/share/fwupd/device-tests/aiaiai-h05.json
+/usr/share/fwupd/device-tests/bizlink-no-sku-vli.json
+/usr/share/fwupd/device-tests/corsair-harpoon-rgb-wireless.json
+/usr/share/fwupd/device-tests/corsair-katar-pro-wireless.json
+/usr/share/fwupd/device-tests/corsair-katar-pro-xt.json
+/usr/share/fwupd/device-tests/corsair-sabre-pro.json
+/usr/share/fwupd/device-tests/dell-kh08p.json
+/usr/share/fwupd/device-tests/dell-wd19tb.json
+/usr/share/fwupd/device-tests/fwupd-a3bu-xplained.json
+/usr/share/fwupd/device-tests/fwupd-at90usbkey.json
+/usr/share/fwupd/device-tests/hp-dock-g5.json
+/usr/share/fwupd/device-tests/hughski-colorhug2.json
+/usr/share/fwupd/device-tests/hughski-colorhug.json
+/usr/share/fwupd/device-tests/hughski-colorhug-plus.json
+/usr/share/fwupd/device-tests/hyper-no-sku-vli.json
+/usr/share/fwupd/device-tests/jabra-speak-410.json
+/usr/share/fwupd/device-tests/jabra-speak-510.json
+/usr/share/fwupd/device-tests/jabra-speak-710.json
+/usr/share/fwupd/device-tests/lenovo-03x7168.json
+/usr/share/fwupd/device-tests/lenovo-03x7605.json
+/usr/share/fwupd/device-tests/lenovo-03x7608-vli.json
+/usr/share/fwupd/device-tests/lenovo-03x7609-cxaudio.json
+/usr/share/fwupd/device-tests/lenovo-40au0065-vli.json
+/usr/share/fwupd/device-tests/lenovo-GX90T33021-vli.json
+/usr/share/fwupd/device-tests/logitech-bolt-receiver.json
+/usr/share/fwupd/device-tests/logitech-k780.json
+/usr/share/fwupd/device-tests/logitech-m650.json
+/usr/share/fwupd/device-tests/logitech-m750.json
+/usr/share/fwupd/device-tests/logitech-mr0077.json
+/usr/share/fwupd/device-tests/logitech-rqr12.json
+/usr/share/fwupd/device-tests/logitech-rqr12-signed.json
+/usr/share/fwupd/device-tests/logitech-rqr24.json
+/usr/share/fwupd/device-tests/logitech-rqr24-signed.json
+/usr/share/fwupd/device-tests/nordic-hid-nrf52840-mcuboot.json
+/usr/share/fwupd/device-tests/realtek-rts5423.json
+/usr/share/fwupd/device-tests/realtek-rts5855.json
+/usr/share/fwupd/device-tests/synaptics-prometheus.json
+/usr/share/fwupd/device-tests/system76-thelio.json
+/usr/share/fwupd/device-tests/ugreen-cm260.json
+/usr/share/fwupd/device-tests/wacom-intuos-bt-m.json
+/usr/share/fwupd/device-tests/wacom-intuos-bt-s.json
 /usr/share/fwupd/firmware_packager.py
+/usr/share/fwupd/host-emulate.d/thinkpad-p1-iommu.json.gz
 /usr/share/fwupd/install_dell_bios_exe.py
 /usr/share/fwupd/metainfo/org.freedesktop.fwupd.remotes.lvfs.metainfo.xml
 /usr/share/fwupd/metainfo/org.freedesktop.fwupd.remotes.lvfs-testing.metainfo.xml
@@ -190,6 +250,23 @@
 /usr/share/fwupd/remotes.d/vendor/firmware/README.md
 /usr/share/fwupd/simple_client.py
 /usr/share/icons/hicolor/scalable/apps/org.freedesktop.fwupd.svg
+/usr/share/installed-tests/fwupd/fakedevice123.cab
+/usr/share/installed-tests/fwupd/fakedevice124.cab
+/usr/share/installed-tests/fwupd/fwupdmgr-p2p.sh
+/usr/share/installed-tests/fwupd/fwupdmgr-p2p.test
+/usr/share/installed-tests/fwupd/fwupdmgr.sh
+/usr/share/installed-tests/fwupd/fwupdmgr.test
+/usr/share/installed-tests/fwupd/fwupd.test
+/usr/share/installed-tests/fwupd/fwupd-tests.xml
+/usr/share/installed-tests/fwupd/tests/bcm57xx.builder.xml
+/usr/share/installed-tests/fwupd/tests/ccgx.builder.xml
+/usr/share/installed-tests/fwupd/tests/ccgx-dmc.builder.xml
+/usr/share/installed-tests/fwupd/tests/efi/efivars/RedfishIndications-16faa37e-4b6a-4891-9028-242de65a3b70
+/usr/share/installed-tests/fwupd/tests/efi/efivars/RedfishOSCredentials-16faa37e-4b6a-4891-9028-242de65a3b70
+/usr/share/installed-tests/fwupd/tests/elantp.builder.xml
+/usr/share/installed-tests/fwupd/tests/pixart.builder.xml
+/usr/share/installed-tests/fwupd/tests/redfish.conf
+/usr/share/installed-tests/fwupd/tests/redfish-smbios.bin
 /usr/share/locale/af/LC_MESSAGES/fwupd.mo
 /usr/share/locale/ast/LC_MESSAGES/fwupd.mo
 /usr/share/locale/ca/LC_MESSAGES/fwupd.mo
Comment 2 Larry the Git Cow gentoo-dev 2022-08-21 01:16:51 UTC
The bug has been closed via the following commit(s):

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

commit ed19582b41068c8f0ee42d2e65ff0e3961cf3a47
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2022-08-21 00:13:55 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2022-08-21 01:16:43 +0000

    sys-apps/fwupd: do not install tests and their support files
    
    Closes: https://bugs.gentoo.org/861575
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 .../fwupd/files/fwupd-1.8.3-installed_tests.patch  | 215 +++++++++++++++++++++
 sys-apps/fwupd/fwupd-1.8.3.ebuild                  |   1 +
 2 files changed, 216 insertions(+)