Skip to content

Detect and prevent multiple providers (branch yem/fix-virt-pkg)

Peter Korsgaard buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest0 of 3 patches 0 repliesNew

Patches in v2 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Buildroot] [PATCH 0/3 v2] Detect and prevent multiple providers (branch yem/fix-virt-pkg)
Quoted 25 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

From: "Yann E. MORIN" <[email protected]>
Hello All!

Following a weird report about a cairo build failure, we came to the conclusion that the problem was due to multiple providers of the same virtual package were selected in the failing configuration. See the thread starting there:

    http://lists.busybox.net/pipermail/buildroot/2014-May/096379.html

The matter was discussed on the list, and we came up to the conclusion we would not implement anything in the menuconfig to prevent this situation, but that we would just detect it prior to running the build. See the thread starting there:

    http://lists.busybox.net/pipermail/buildroot/2014-May/096517.html

So, what this series does is just that: detect that more than one provider for a virtual package are selected.

The way it does that is fully described in patch 1/3, but basically:

- providers must now declare the virtual packages they are an

    implementation of, in their .mk file;
Quoted 8 lines

- the generic package infrastructure checks that for each such declared virtual package, the current provider is indeed the selected implmenetation. If not, then it means two or more providers for that virtual package are selected, and it bails out very early in the build.

Changes v1 -> v2:
- fix providers for luainterpreter (Thomas P.)

Committed series, thanks.

Signature · 1 line
Bye, Peter Korsgaard