Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300646 - x11-libs/libdrm builds programs only used in src_test in src_compile
Summary: x11-libs/libdrm builds programs only used in src_test in src_compile
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: http://bugs.freedesktop.org/show_bug....
Whiteboard:
Keywords:
: 412907 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-12 00:19 UTC by Jonathan Callen (RETIRED)
Modified: 2017-01-29 01:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to only build tests in make check (libdrm-2.4.15-fix-tests.patch,512 bytes, patch)
2010-01-12 00:20 UTC, Jonathan Callen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.