Created attachment 464020 [details, diff] Patch to provide compatibility with flex-2.6 OpenFOAM-2.4.0 fails to compile executables with the current stable version of flex (sys-devel/flex-2.6.1). Note that the compilation failure is silent - the ebuild appears to complete successfully but fails to install any executables and errors can be seen in the build.log file This problem has been found & corrected upstream for later versions of OpenFOAM: https://bugs.openfoam.org/view.php?id=1974 Attached is a patch to implement the fix for OpenFOAM-2.4.0 and a revised ebuild which I have tested.
Created attachment 464024 [details] Revised ebuild incorporating patch
Is this still an issue with =sys-devel/flex-2.6.4 package?
(In reply to Lars Wendler (Polynomial-C) from comment #2) > Is this still an issue with =sys-devel/flex-2.6.4 package? Yes. The patch improves an incomplete version check. Without it only the subminor version is checked (so anything with a subminor version < x.x.34 is interpreted as 'old'), causing ongoing problems from the numbering rollover from 2.5.39 to 2.6.0. The patch adds a minor version check so that the current releases are correctly handled.
Package removed.