qemu-e2k/tests/docker
Philippe Mathieu-Daudé 327910dea1 tests/docker: Use --arch-only when building Debian cross image
When building a Docker image based on debian10.docker on
a non-x86 host, we get:

 [2/4] RUN apt update &&     DEBIAN_FRONTEND=noninteractive eatmydata     apt build-dep -yy qemu
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 Some packages could not be installed. This may mean that you have
 requested an impossible situation or if you are using the unstable
 distribution that some required packages have not yet been created
 or been moved out of Incoming.
 The following information may help to resolve the situation:

 The following packages have unmet dependencies:
  builddeps:qemu : Depends: gcc-s390x-linux-gnu but it is not installable
                   Depends: gcc-alpha-linux-gnu but it is not installable
 E: Unable to correct problems, you have held broken packages.

Fix by using the --arch-only option suggested here:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1866032/comments/1

Suggested-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210223211115.2971565-1-f4bug@amsat.org>
Message-Id: <20210305092328.31792-10-alex.bennee@linaro.org>
2021-03-10 15:34:11 +00:00
..
dockerfiles tests/docker: Use --arch-only when building Debian cross image 2021-03-10 15:34:11 +00:00
common.rc tests/docker: check for an parameters not empty string 2020-07-11 15:53:00 +01:00
docker.py tests/docker: add a docker-exec-copy-test 2021-02-08 09:41:00 +00:00
Makefile.include tests/docker: remove travis container 2021-02-15 09:38:33 +00:00
run tests/docker: avoid $SHELL invoke bash directly 2019-09-10 14:14:31 +01:00
test-block docker: test-block: Don't continue if build fails 2017-09-29 11:14:15 +08:00
test-build tests/docker: move DEF_TARGET_LIST setting to common.rc 2019-09-10 14:14:31 +01:00
test-clang tests/docker: only enable ubsan for test-clang 2019-10-04 18:49:19 +02:00
test-debug docker: test-debug: disable LeakSanitizer 2019-10-04 18:49:17 +02:00
test-full docker: move make check into check_qemu helper 2018-07-24 11:45:25 +01:00
test-mingw tests/docker: move DEF_TARGET_LIST setting to common.rc 2019-09-10 14:14:31 +01:00
test-misc tests/docker: add docs FEATURE flag and use for test-misc 2020-04-15 11:38:23 +01:00
test-quick tests/docker: move DEF_TARGET_LIST setting to common.rc 2019-09-10 14:14:31 +01:00
test-static tests/docker: add test script for static linux-user builds 2020-08-21 06:18:35 -04:00
test-tcg tests/docker: add a test-tcg for building then running check-tcg 2021-03-10 12:13:59 +00:00
test-tsan tests/docker: Added docker build support for TSan. 2020-06-16 14:49:05 +01:00
test-unit docker: add test-unit runner 2018-07-24 11:45:25 +01:00