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.
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.