commit | 90be42abe136fea060e43a42067b4e4c66e4fefa | [log] [tgz] |
---|---|---|
author | Robert Kolchmeyer <rkolchmeyer@google.com> | Fri Feb 25 10:29:03 2022 -0800 |
committer | Robert Kolchmeyer <rkolchmeyer@google.com> | Mon Feb 28 19:08:12 2022 +0000 |
tree | d67e2a605439e80810be3975c409df65e832e8a6 | |
parent | 93f3783aafc722b8aea681dfa74ea17801051285 [diff] |
qemu: fix a build race condition qemu will depend on pam if libpam is present. However, there is a time-of-check to time-of-use issue in meson, qemu's build system. Meson will hardcode the exact location and version of libpam at configure time. If libpam is reinstalled sometime after configure and before build, the recorded location and version of libpam may be invalid at build time and the qemu build will fail. We can address this by listing pam as a dependency of qemu, meaning that pam will be installed before qemu if they appear in the same depgraph. This change is already upstream: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4da484b352e21676d7e0b13c5aa54db2a69c8271 so we will not regress when we upgrade qemu. BUG=b/177367546 TEST=presubmit RELEASE_NOTE=None Change-Id: Ic5931c666cb0e5f00bb6f91632c1dd55857db4a9 Reviewed-on: https://cos-review.googlesource.com/c/third_party/overlays/portage-stable/+/29881 Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com> Reviewed-by: Dexter Rivera <riverade@google.com>