<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi<div><br></div><div>On CentOS 7, qemu and couverture variant fail to build. They end with this which I think indicates that pkg-config is invoked incorrectly. </div><div><br></div><div><div>checking for LIBFFI... no</div><div>configure: error: Package requirements (libffi >= 3.0.0) were not met:</div><div><br></div><div>usage: pkg-config [-h] [--modversion MODVERSION] [--print-errors]</div><div>                  [--short-errors] [--silence-errors] [--errors-to-stdout]</div><div>                  [--cflags] [--libs] [--libs-only-L] [--libs-only-l]</div><div>                  [--variable VARIABLE] [--define-variable DEFINE_VARIABLE]</div><div>                  [--uninstalled]</div><div>                  [--atleast-pkgconfig-version ATLEAST_PKGCONFIG_VERSION]</div><div>                  [--exists] [--atleast-version ATLEAST_VERSION]</div><div>                  [--exact-version EXACT_VERSION] [--max-version MAX_VERSION]</div><div>                  [--msvc-syntax] [--dont-define-prefix]</div><div>                  [--prefix-variable PREFIX] [--static] [--dump]</div><div>                  [lib [lib ...]]</div><div>pkg-config: error: unrecognized arguments: libffi >= 3.0.0</div><div><br></div><div>=====================================</div><div><div>Looking back in the build output, I see that it is using the pkg-config from the rtems-source-builder.</div><div><br></div><div>checking for pkg-config... /home/joel/rtems-work/rtems-source-builder/source-builder/pkg-config</div></div></div><div><br></div><div>Digging into the config.log after setting "sh -x", I see this:</div><div><br></div><div><div>configure:7692: $PKG_CONFIG --exists --print-errors "zlib"</div><div>+ /home/joel/rtems-work/rtems-source-builder/source-builder/pkg-config --exists --print-errors zlib</div><div>usage: pkg-config [-h] [--modversion MODVERSION] [--print-errors]</div><div>                  [--short-errors] [--silence-errors] [--errors-to-stdout]</div><div>                  [--cflags] [--libs] [--libs-only-L] [--libs-only-l]</div><div>                  [--variable VARIABLE] [--define-variable DEFINE_VARIABLE]</div><div>                  [--uninstalled]</div><div>                  [--atleast-pkgconfig-version ATLEAST_PKGCONFIG_VERSION]</div><div>                  [--exists] [--atleast-version ATLEAST_VERSION]</div><div>                  [--exact-version EXACT_VERSION] [--max-version MAX_VERSION]</div><div>                  [--msvc-syntax] [--dont-define-prefix]</div><div>                  [--prefix-variable PREFIX] [--static] [--dump]</div><div>                  [lib [lib ...]]</div><div>pkg-config: error: unrecognized arguments: zlib</div></div><div><br></div><div>My RSB clone is up to date.</div><div><br></div><div>Thanks.</div><div><br></div><div>--joel</div><div><br></div><div><br></div></div></div></div></div>