Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 434320 - dev-util/pkgconfig: prefix: fix for "cflags" test failure
Summary: dev-util/pkgconfig: prefix: fix for "cflags" test failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: Normal trivial
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-08 11:07 UTC by Greg Turner
Modified: 2012-10-30 16:25 UTC (History)
2 users (show)

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


Attachments
Fix cflags test on prefix - patch against pkgconfig-0.27.1.ebuild (pkgconfig-prefix-cflags-test-fix.patch,373 bytes, patch)
2012-09-08 11:09 UTC, Greg Turner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Turner 2012-09-08 11:07:30 UTC
Right now, on prefix, pkgconfig fails one test.  I'm pretty sure this is because it assumes /usr is the canonical prefix in the test-suite but goes with gcc's built-in CFLAGS at runtime... anyhow, whatever the etiology, the enclosed patch seems correct enough and allows all the tests to pass.

Reproducible: Always

Steps to Reproduce:
1. Be in a prefix gentoo
2. USE=test emerge -1 dev-util/pkgconfig
Actual Results:  
11/12 tests pass

Expected Results:  
12/12 tests pass

pretty anal but that's how I roll :)
Comment 1 Greg Turner 2012-09-08 11:09:11 UTC
Created attachment 323208 [details, diff]
Fix cflags test on prefix - patch against pkgconfig-0.27.1.ebuild
Comment 2 Fabian Groffen gentoo-dev 2012-09-09 07:36:13 UTC
makes sense to me
Comment 3 Sergey Popov (RETIRED) gentoo-dev 2012-10-30 16:25:03 UTC
+  30 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> pkgconfig-0.27.1.ebuild,
+  pkgconfig-9999.ebuild:
+  Fix for tests under Prefix, wrt bug #434320. Thanks to Greg Turner for
+  discovering and resolving this issue