Bug 9135

Summary: 0.21 fails make check
Product: pkg-config Reporter: J. Scott Berg <jsberg>
Component: srcAssignee: Tollef Fog Heen <tfheen>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: low CC: anirkko
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Fix for incorrect tests

Description J. Scott Berg 2006-11-22 22:33:30 UTC
The relevant bit:

make[2]: Entering directory `/home/jsberg/pkg-config-0.21/check'
PASS: check-cflags
PASS: check-libs
PASS: check-define-variable
PASS: check-libs-private
../pkg-config --cflags requires-test :
'-I/requires-test/include -I/private-dep/include -I/public-dep/include' !=
'-I/requires-test/include -I/public-dep/include'
FAIL: check-requires-private
PASS: check-includedir
===================
1 of 6 tests failed
===================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/home/jsberg/pkg-config-0.21/check'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/jsberg/pkg-config-0.21/check'
make: *** [check-recursive] Error 1
Comment 1 Matthew Burgess 2006-11-25 14:47:42 UTC
Created attachment 7899 [details] [review]
Fix for incorrect tests

FWIW, I'm hitting the same bug too.  The attached patch fixes the problem for
me, though I've assumed that it's the tests that are incorrect, rather than the
output from pkg-config itself.
Comment 2 Dan Nicholson 2012-05-19 07:25:10 UTC
The results with -I/private-dep/include are indeed correct. I think this was fixed back in commit 9e5bcc26. The test suite has been passing on check-requires-private for some time now.
Comment 3 Dan Nicholson 2012-05-21 21:14:23 UTC
*** Bug 13530 has been marked as a duplicate of this bug. ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.