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

Bug 663006

Summary: dev-libs/capstone-3.0.5_rc2-r1: builds (useless) tests with FEATURES=-test
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Sergei Trofimovich (RETIRED) <slyfox>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-libs:capstone-3.0.5_rc2-r1:20180807-084443.log

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-08-07 08:49:00 UTC
Created attachment 542662 [details]
dev-libs:capstone-3.0.5_rc2-r1:20180807-084443.log

x86_64-pc-linux-gnu-gcc-7.3.0 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -L..  test.o -lcapstone -o test
x86_64-pc-linux-gnu-gcc-7.3.0 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -L..  test_detail.o -lcapstone -o test_detail
x86_64-pc-linux-gnu-gcc-7.3.0 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -L..  test_skipdata.o -lcapstone -o test_skipdata
[...]


They are neither used nor installed, so there's no reason to build them.
Comment 1 Larry the Git Cow gentoo-dev 2019-09-18 22:12:27 UTC
The bug has been closed via the following commit(s):

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

commit 4af6607f04424cd164e0cd175429c15c4076a4e1
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-09-18 22:11:26 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-09-18 22:12:21 +0000

    dev-libs/capstone:guard tests building behind USE=test, bug #663006
    
    Reported-by: Michał Górny
    Closes: https://bugs.gentoo.org/663006
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 dev-libs/capstone/capstone-4.0.1.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)