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