Message ID | 20200828080845.28287-1-kraxel@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, 28 Aug 2020 at 09:13, Gerd Hoffmann <kraxel@redhat.com> wrote: > > The following changes since commit 19591e9e0938ea5066984553c256a043bd5d822f: > > Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (= > 2020-08-27 16:59:02 +0100) > > are available in the Git repository at: > > git://git.kraxel.org/qemu tags/usb-20200828-pull-request > > for you to fetch changes up to 51a3da5b6398dcad7655e9cd6052eb52e6c31d21: > > usb: fix setup_len init (CVE-2020-14364) (2020-08-28 07:20:21 +0200) > > ---------------------------------------------------------------- > usb: usb_packet_map fixes for ehci and xhci. > usb: u2f key support (GSoC), 32bit build fixed. > usb: setup_len fix (CVE-2020-14364). This causes Meson to complain on one of my build systems: Has header "sasl/sasl.h" : YES (cached) Library sasl2 found: YES Found CMake: /usr/bin/cmake (2.8.12.2) WARNING: The version of CMake /usr/bin/cmake is 2.8.12.2 but version >=3.4 is required Run-time dependency u2f-emu found: NO (tried pkgconfig and cmake) Why is Meson trying to use CMake here? I don't think we want to bring in another build tool dependency... thanks -- PMM
Il ven 28 ago 2020, 16:14 Peter Maydell <peter.maydell@linaro.org> ha scritto: > Why is Meson trying to use CMake here? I don't think we want > to bring in another build tool dependency... > It's asking cmake if it knows about the package, if pkg-config fails. This is because cmake has its own incompatible mechanism to tell users about compilation and linking flags, and the "dependency" line doesn't tell Meson if u2f-emu has a pkg-config or a cmake description. We can ask to use pkg-config only since none of our dependencies are cmake-only; see https://mesonbuild.com/Dependencies.html#dependency-method. Paolo > thanks > -- PMM > >
On Fri, Aug 28, 2020 at 04:33:04PM +0200, Paolo Bonzini wrote: > Il ven 28 ago 2020, 16:14 Peter Maydell <peter.maydell@linaro.org> ha > scritto: > > > Why is Meson trying to use CMake here? I don't think we want > > to bring in another build tool dependency... > > > > It's asking cmake if it knows about the package, if pkg-config fails. This > is because cmake has its own incompatible mechanism to tell users about > compilation and linking flags, and the "dependency" line doesn't tell Meson > if u2f-emu has a pkg-config or a cmake description. It uses pkg-config, so we can explicitly say so. > We can ask to use pkg-config only since none of our dependencies are > cmake-only; see https://mesonbuild.com/Dependencies.html#dependency-method. I'll send a new pull with that addressed (also the other 11/18 comments). thanks, Gerd