summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2020-07-07 19:55:58 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2020-07-07 19:55:58 +0200
commit3fe1419433f195d57b948b100b218cf14a2841d0 (patch)
treefe45e0384378b91e1245943433ed2ecdf7747ee9 /debian
parentd9b9484b4af2a21c3f5dea6ec10a3128e7304d07 (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 'debian')
0 files changed, 0 insertions, 0 deletions