Bug 13530

Summary: pkg-config-0.22 build / make check: FAIL on check-requires-private
Product: pkg-config Reporter: acni <anirkko>
Component: srcAssignee: Tollef Fog Heen <tfheen>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium CC: dmacks
Version: unspecified   
Hardware: SPARC   
OS: Solaris   
Whiteboard:
i915 platform: i915 features:

Description acni 2007-12-04 23:53:08 UTC
Possibly related to or duplicating bugs 3809 and 7698
(but at least extending them to other configuration options
and another platform):

Building pkgconfig-0.22 on sparc/Solaris using
    configure --enable-static --disable-shared \
        --disable-nls --prefix=...
    gmake
    gmake check
results in this failure:
...
...
PASS: type-test
===================
All 11 tests passed
===================
gmake[4]: Leaving directory ...
...
...
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
===================
gmake[2]: *** [check-TESTS] Error 1
gmake[2]: Leaving directory ...
...
...

Still, the built pkg-config can be installed and
appears to work correctly.
Comment 1 Dan Nicholson 2012-05-21 21:14:23 UTC
This was actually a bug in the test suite and you're getting the right thing for Cflags with Requires.private. It was fixed in commit 9e5bcc26.

*** This bug has been marked as a duplicate of bug 9135 ***

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.