pkg-config 0.29.1 check fails when building in mingw32+msys1
Submitted by Elio Blanca
Assigned to pkg..@..op.org
Description
I'm trying to get a simple, clean build of pkg-config in a windows xp environment using mingw32 (not the newest mingw-W64) and msys1, with gcc-4.9.3 and binutils-2.25.1. I enabled the '--with-internal-glib' option in order not to ship the final executable with huge several dll files. Build went ok, then when I launched 'make check' two tests failed:
[cut] make[2]: Entering directory `/home/David/pkg-config-0.29.1/check' PASS: check-cflags PASS: check-libs PASS: check-mixed-flags PASS: check-non-l-flags PASS: check-define-variable PASS: check-libs-private PASS: check-requires-private PASS: check-circular-requires PASS: check-includedir PASS: check-conflicts PASS: check-missing PASS: check-special-flags PASS: check-sort-order PASS: check-duplicate-flags PASS: check-whitespace PASS: check-cmd-options PASS: check-version PASS: check-requires-version PASS: check-print-options ../pkg-config.exe --variable=pc_path pkg-config : 'C:\MSYS_1\msys\1.0\home\David\pkg-config-0.29.1\lib\pkgconfig;C:\MSYS_1\msys\1.0\home\David\pkg-config-0.29.1\share\pkgconfig' != 'C:\MSYS_1\msys\1.0\home\David\pkg-config-0.29.1.libs\lib\pkgconfig;C:\MSYS_1\msys\1.0\home\David\pkg-config-0.29.1.libs\share\pkgconfig' FAIL: check-path PASS: check-sysroot PASS: check-uninstalled PASS: check-debug PASS: check-gtk PASS: check-tilde PASS: check-relocatable ../pkg-config.exe --variable=prefix simple : 'C:/MSYS_1/msys/1.0/foo' != '/foo' FAIL: check-variable-override PASS: check-variables [cut]
The code is from the vanilla tarball, maybe the git master has some latest useful fix? Can anybody help me fixing this? Thank you Elio