Yup, good spot. I think the right thing to do would be build bison like we do cmake. (Well the "right" thing to do would be update the Steam runtime, but that's a big ask.)
Maybe there's also an option of running bison outside of steam runtime/docker images - in Vagrant or on host, just like fontforge is being run right now? (same applies to cmake)
Using the host's binaries might be an option, yeah. It doesn't strike me as obviously easier/better than just building it.
I can at least confirm that the debian vagrant image used for proton has bison 3.0.4, might be an easy workaround to remove bison from steamrt-bootstrap.sh and add it to Vagrantfile instead based on dreamer's suggestion
edit: needs to be added to make file, initial comment didnt work
(tfw a debian base package is newer than your runtime, lol)
Hopefully saves some time. Added bison 3.0.4 to my build (both debian and ubuntu 18.04 use 3.0.4).
Made a PR for you: https://github.com/ValveSoftware/Proton/pull/2754
Changes to makefile_base.mak
https://github.com/ValveSoftware/Proton/pull/2754/commits/11697cd9a312e432f50662a36e6093ef67220402
Bison 3.0.4 downloaded from http://ftp.gnu.org/gnu/bison/bison-3.0.4.tar.xz:
https://github.com/ValveSoftware/Proton/pull/2754/commits/4831b8924ccc5bd038a35b2579f2ba0da97010cd
Removed bison from steamrt-bootstrap.sh:
https://github.com/ValveSoftware/Proton/pull/2754/commits/129202ae6f0423b0abd41c56a72cbceba75136ab
Fixed by d7819c7bc5489b4e30c3b0782ccde78c5cd41cd8.
As I regularly make custom builds of proton, I came across this today while attempting to compile 4.9:
configure: error: Your bison version is too old. Please install bison version 3.0 or newer. ../proton/build/makefile_base.mak:755: recipe for target 'obj-wine32/Makefile' failed make[1]: *** [obj-wine32/Makefile] Error 1So this was apparently a change between wine 4.6 and 4.7:
https://github.com/wine-mirror/wine/commit/a4c93936c9493f7619e1877b522eeb809a390dfe
And when we check the steam runtime version:
Further investigation after reverting the commit mentioned above also shows this error when compiling:
and later also:
So... I figured already there may be more files affected by this change:
Caused by these commits:
https://github.com/wine-mirror/wine/commit/5ea4d5971bff3430c29f1da31166b0a2565347ab
https://github.com/wine-mirror/wine/commit/2d27c13d5ea76ec80e2a67272c8eafe8527e6af0
https://github.com/wine-mirror/wine/commit/6d4cdeb658e1cfd7c73643f674a0043006970b44
So for future proofing, you'll either have to revert the commits, or update the steam runtime, or add bison to the build process.
Just lookin' out for future proofing.