From: Vaibhav Jain Date: Mon, 17 Apr 2023 16:23:54 +0000 (+0530) Subject: travis.yml: Add missing 'flex', 'bison' packages to 'GCC (user)' job X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e23130f916b07d5a41dba9e06327d1e76713e85f;p=qemu.git travis.yml: Add missing 'flex', 'bison' packages to 'GCC (user)' job Since commit fd8171fe52b5e("target/hexagon: import lexer for idef-parser") the hexagon target uses 'flex', 'bison' to generate idef-parser. However default travis builder image for 'focal' may not have these pre-installed, consequently following error is seen with travis when trying to execute the 'GCC (user)' job that also tries to build hexagon user binary: export CONFIG="--disable-containers --disable-system" Program flex found: NO ../target/hexagon/meson.build:179:4: ERROR: Program 'flex' not found or not executable Fix this by explicitly add 'flex' and 'bison' to the list of addon apt-packages for the 'GCC (user)' job. Signed-off-by: Vaibhav Jain Message-Id: <20230417162354.186678-1-vaibhav@linux.ibm.com> Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Thomas Huth --- diff --git a/.travis.yml b/.travis.yml index 11894eb810..b958eca5de 100644 --- a/.travis.yml +++ b/.travis.yml @@ -237,6 +237,8 @@ jobs: - libglib2.0-dev - libgnutls28-dev - ninja-build + - flex + - bison env: - CONFIG="--disable-containers --disable-system"