Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 856085 - app-forensics/yara-4.2.2 installs more files with FEATURES=test
Summary: app-forensics/yara-4.2.2 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: mario.haustein
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-07-03 07:36 UTC by Agostino Sarubbo
Modified: 2022-07-04 23:24 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-03 07:36:04 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-forensics/yara-4.2.2 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 44
- the installed files without FEATURES=test are 43
Comment 1 Agostino Sarubbo gentoo-dev 2022-07-03 07:36:28 UTC
DIFF:
--- /dev/fd/63  2022-07-03 02:29:10.304903707 +0200
+++ /dev/fd/62  2022-07-03 02:29:10.304903707 +0200
@@ -33,6 +33,7 @@
 /usr/include/yara/threading.h
 /usr/include/yara/types.h
 /usr/include/yara/utils.h
+/usr/lib64/libyara.a
 /usr/lib64/libyara.so
 /usr/lib64/libyara.so.9
 /usr/lib64/libyara.so.9.0.1
Comment 2 Larry the Git Cow gentoo-dev 2022-07-04 23:24:13 UTC
The bug has been closed via the following commit(s):

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

commit 400298c4db1d19f1d1bdcdfdcbca688563c29a02
Author:     Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
AuthorDate: 2022-07-04 19:44:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-04 23:23:39 +0000

    app-forensics/yara: don't install static libraries with FEATURES=test
    
    Closes: https://bugs.gentoo.org/856085
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
    Closes: https://github.com/gentoo/gentoo/pull/26224
    Signed-off-by: Sam James <sam@gentoo.org>

 app-forensics/yara/yara-4.2.0-r1.ebuild | 2 +-
 app-forensics/yara/yara-4.2.1.ebuild    | 2 +-
 app-forensics/yara/yara-4.2.2.ebuild    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)