OSDN Git Service

docker: include bison in debian-tricore-cross
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 5 Jan 2022 13:50:08 +0000 (13:50 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 18 Jan 2022 16:44:16 +0000 (16:44 +0000)
commit3265d1fc77eb5da522accb37e50053dfdfda7e8f
treecce31e9955a4483a267d93402b3f30a4d8cac0d1
parente850897e67026fa235bd34c56adf1c26e6aa1110
docker: include bison in debian-tricore-cross

Binutils sometimes fail to build if bison is not installed:

  /bin/sh ./ylwrap `test -f arparse.y || echo ./`arparse.y y.tab.c arparse.c y.tab.h arparse.h y.output arparse.output --  -d
  ./ylwrap: 109: ./ylwrap: -d: not found

(the correct invocation of ylwrap would have "bison -d" after the double
dash).  Work around by installing it in the container.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/596
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211221111624.352804-1-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220105135009.1584676-34-alex.bennee@linaro.org>
tests/docker/dockerfiles/debian-tricore-cross.docker