Philippe Mathieu-Daudé <phi...@redhat.com> writes:
> Hi Alex, > > On 9/10/19 10:43 AM, Alex Bennée wrote: >> This prevents us trying to do builds which we can't complete. >> >> Signed-off-by: Alex Bennée <alex.ben...@linaro.org> >> >> diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include >> index 7df8dbe1a17..50a400b573a 100644 >> --- a/tests/docker/Makefile.include >> +++ b/tests/docker/Makefile.include >> @@ -106,6 +106,15 @@ docker-image-debian-s390x-cross: docker-image-debian9 >> docker-image-debian-win32-cross: docker-image-debian9-mxe >> docker-image-debian-win64-cross: docker-image-debian9-mxe >> >> +# For non-x86 hosts not all cross-compilers have been packaged >> +ifneq ($(ARCH),x86_64) >> +DOCKER_PARTIAL_IMAGES += debian-mips-cross debian-mipsel-cross >> debian-mips64el-cross >> +DOCKER_PARTIAL_IMAGES += debian-ppc64el-cross >> +DOCKER_PARTIAL_IMAGES += debian-s390x-cross >> +DOCKER_PARTIAL_IMAGES += debian-win32-cross debian-win64-cross >> +DOCKER_PARTIAL_IMAGES += fedora travis >> +endif >> + >> docker-image-debian-alpha-cross: docker-image-debian10 >> docker-image-debian-arm64-cross: docker-image-debian10 >> docker-image-debian-hppa-cross: docker-image-debian10 >> > > I wanted to run the Travis tests locally (per > docs/devel/testing.rst:364) but I got: > > $ make docker-travis@travis > LD docker-tra...@travis.mo > cc: fatal error: no input files > compilation terminated. > make: *** [rules.mak:118: docker-tra...@travis.mo] Error 1 > > Bisected to this patch: > > e5389e44147e4c8d652006ed086c48f74684726a is the first bad commit > commit e5389e44147e4c8d652006ed086c48f74684726a > Author: Alex Bennée <alex.ben...@linaro.org> > Date: Thu Aug 15 19:40:48 2019 +0000 > > tests/docker: add more images to PARTIAL_IMAGES when not on x86_64 > > This prevents us trying to do builds which we can't complete. > > Removing 'travis' from this list we get it working again. Have you run configure? I had to work around this in shippable: # usually host ARCH is set by configure - echo "ARCH=$(uname -m)" > config-host.mak I guess more logic could be put in if the ARCH is empty > > Regards, > > Phil. -- Alex Bennée