qemu build failure - RSB pkg-config failure

Joel Sherrill joel at rtems.org
Sat Nov 10 13:24:54 UTC 2018


Hi

On CentOS 7, qemu and couverture variant fail to build. They end with this
which I think indicates that pkg-config is invoked incorrectly.

checking for LIBFFI... no
configure: error: Package requirements (libffi >= 3.0.0) were not met:

usage: pkg-config [-h] [--modversion MODVERSION] [--print-errors]
                  [--short-errors] [--silence-errors] [--errors-to-stdout]
                  [--cflags] [--libs] [--libs-only-L] [--libs-only-l]
                  [--variable VARIABLE] [--define-variable DEFINE_VARIABLE]
                  [--uninstalled]
                  [--atleast-pkgconfig-version ATLEAST_PKGCONFIG_VERSION]
                  [--exists] [--atleast-version ATLEAST_VERSION]
                  [--exact-version EXACT_VERSION] [--max-version
MAX_VERSION]
                  [--msvc-syntax] [--dont-define-prefix]
                  [--prefix-variable PREFIX] [--static] [--dump]
                  [lib [lib ...]]
pkg-config: error: unrecognized arguments: libffi >= 3.0.0

=====================================
Looking back in the build output, I see that it is using the pkg-config
from the rtems-source-builder.

checking for pkg-config...
/home/joel/rtems-work/rtems-source-builder/source-builder/pkg-config

Digging into the config.log after setting "sh -x", I see this:

configure:7692: $PKG_CONFIG --exists --print-errors "zlib"
+ /home/joel/rtems-work/rtems-source-builder/source-builder/pkg-config
--exists --print-errors zlib
usage: pkg-config [-h] [--modversion MODVERSION] [--print-errors]
                  [--short-errors] [--silence-errors] [--errors-to-stdout]
                  [--cflags] [--libs] [--libs-only-L] [--libs-only-l]
                  [--variable VARIABLE] [--define-variable DEFINE_VARIABLE]
                  [--uninstalled]
                  [--atleast-pkgconfig-version ATLEAST_PKGCONFIG_VERSION]
                  [--exists] [--atleast-version ATLEAST_VERSION]
                  [--exact-version EXACT_VERSION] [--max-version
MAX_VERSION]
                  [--msvc-syntax] [--dont-define-prefix]
                  [--prefix-variable PREFIX] [--static] [--dump]
                  [lib [lib ...]]
pkg-config: error: unrecognized arguments: zlib

My RSB clone is up to date.

Thanks.

--joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20181110/acb08e61/attachment.html>


More information about the devel mailing list