]> git.proxmox.com Git - mirror_qemu.git/commit
travis.yml: Add missing 'flex', 'bison' packages to 'GCC (user)' job
authorVaibhav Jain <vaibhav@linux.ibm.com>
Mon, 17 Apr 2023 16:23:54 +0000 (21:53 +0530)
committerThomas Huth <thuth@redhat.com>
Thu, 20 Apr 2023 09:24:50 +0000 (11:24 +0200)
commite23130f916b07d5a41dba9e06327d1e76713e85f
treeeaf4d657b7c2ffbe0bde835d9e6d0f60ac2bf62a
parenta53be6665905a2eb9c56f3e3d8a167a2d2113d31
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:

<snip>
export CONFIG="--disable-containers --disable-system"
<snip>
 Program flex found: NO

../target/hexagon/meson.build:179:4: ERROR: Program 'flex' not found or not
executable
<snip>

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 <vaibhav@linux.ibm.com>
Message-Id: <20230417162354.186678-1-vaibhav@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
.travis.yml