Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 935147

Summary: media-libs/osl-1.13.10.0 installs more files with FEATURES=test
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Paul Zander <negril.nx+gentoo>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2024-06-29 17:47:44 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/osl-1.13.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 92
- the installed files without FEATURES=test are 86

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-06-29 19:03:27.131188459 +0200
+++ /dev/fd/62  2024-06-29 19:03:27.131188459 +0200
@@ -1,5 +1,8 @@
 /usr/bin/oslc
 /usr/bin/oslinfo
+/usr/bin/testrender
+/usr/bin/testshade
+/usr/bin/testshade_dso
 /usr/include/OSL/accum.h
 /usr/include/OSL/batched_rendererservices.h
 /usr/include/OSL/batched_shaderglobals.h
@@ -58,6 +61,9 @@
 /usr/lib64/liboslquery.so
 /usr/lib64/liboslquery.so.1.13
 /usr/lib64/liboslquery.so.1.13.10
+/usr/lib64/libtestshade.so
+/usr/lib64/libtestshade.so.1.13
+/usr/lib64/libtestshade.so.1.13.10
 /usr/lib64/osl.imageio.so
 /usr/lib64/pkgconfig/oslcomp.pc
 /usr/lib64/pkgconfig/oslexec.pc
Comment 1 Paul Zander 2025-01-10 00:56:59 UTC
The bug has been closed via the following commit(s):

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

commit 515ec0fefd3bd3a182d0943bda2d186c2f794efc
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: Thu Jan 9 22:17:31 2025 +0100
Commit:     Sam James <sam@gentoo.org>
CommitDate: Thu Jan 9 23:04:02 2025 +0000

    media-libs/osl: remove test files for install #935147
    
    We need the files for src_test so we remove them during src_install.
    
    Close: https://bugs.gentoo.org/935147
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/osl/osl-1.12.14.0-r2.ebuild | 7 +++++++
 media-libs/osl/osl-1.13.10.0.ebuild    | 7 +++++++
 media-libs/osl/osl-1.13.12.0.ebuild    | 7 +++++++
 media-libs/osl/osl-9999.ebuild         | 7 +++++++
 4 files changed, 28 insertions(+)