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

Bug 300646

Summary: x11-libs/libdrm builds programs only used in src_test in src_compile
Product: Gentoo Linux Reporter: Jonathan Callen (RETIRED) <jcallen>
Component: [OLD] UnspecifiedAssignee: Gentoo X packagers <x11>
Status: RESOLVED WONTFIX    
Severity: normal CC: daiderek
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugs.freedesktop.org/show_bug.cgi?id=25997
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to only build tests in make check

Description Jonathan Callen (RETIRED) gentoo-dev 2010-01-12 00:19:17 UTC
Currently, all the tests for x11-libs/libdrm are built during src_compile, even if the tests will never be run.  Attached is a patch (suitable for upstreaming).
Comment 1 Jonathan Callen (RETIRED) gentoo-dev 2010-01-12 00:20:37 UTC
Created attachment 216146 [details, diff]
patch to only build tests in make check
Comment 2 RĂ©mi Cardona (RETIRED) gentoo-dev 2010-01-12 12:33:10 UTC
libdrm does need a little work wrt to tests. Let's track all those issues in the duped bug.

Thanks

*** This bug has been marked as a duplicate of bug 299008 ***
Comment 3 SpanKY gentoo-dev 2015-03-20 08:11:37 UTC
this one isn't really a dupe ... this is about some of the various tests unconditional, not deps that get detected at configure time
Comment 4 SpanKY gentoo-dev 2015-03-20 08:11:45 UTC
*** Bug 412907 has been marked as a duplicate of this bug. ***
Comment 5 Matt Turner gentoo-dev 2015-08-30 20:44:27 UTC
Since Jonathan's patch was accepted into the 2.4.21 release, I was pretty confused why this bug was reopened.

Upon further investigation, libdrm still builds modeprint, modetest, vbltest, proptest, intel/test_decode, and probably some other binaries that aren't installed.

Given that patching things to avoid building them probably means an autoreconf, I doubt it's worth it.
Comment 6 Matt Turner gentoo-dev 2017-01-29 01:08:09 UTC
(In reply to Matt Turner from comment #5)
> Given that patching things to avoid building them probably means an
> autoreconf, I doubt it's worth it.