diff options
author | David Kalnischkies <david@kalnischkies.de> | 2020-07-07 19:55:58 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2020-07-07 19:55:58 +0200 |
commit | 3fe1419433f195d57b948b100b218cf14a2841d0 (patch) | |
tree | fe45e0384378b91e1245943433ed2ecdf7747ee9 /po | |
parent | d9b9484b4af2a21c3f5dea6ec10a3128e7304d07 (diff) |
Detect pkg-config-dpkghook failure in tests to avoid fallback
dpkg (>= 1.20.3) has better support for its own DPKG_ROOT resulting in
architectures for the root being reported rather than the host system.
Sadly the hookscript from pkg-config is not prepared for this resulting
in our `dpkg --add-architecture` calls failing in the hook after dpkg
has successfully added the architecture internally. The failure
triggered fallback handling in the tests to work with an older version
of dpkg with a different multi-arch implementation.
So instead of doing the fallback, we ignore the failure if it seems like
pkg-config-dpkghook is involved only producing a bunch of warnings
to hint at this problem, but otherwise make the tests work again as it
is a post-invoke script.
References: #824774
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions