configure: error: dynsysbfd: invalid feature name
Applying sys-devel/flex/files/flex-configure-LANG.patch before econf in src_compile fixes this.
gcl-2.6.7 and gcl-2.6.6 are also affected and can probably be patched in the same manner.
Both available versions (2.6.7 and 2.6.7-r1) of dev-lisp/gcl fail on my system, caused by a failed epatch (sys-devel/flex/files/flex-configure-LANG.patch):
* Applying flex-configure-LANG.patch ...
* Failed Patch: flex-configure-LANG.patch !
* ( /usr/portage/dev-lisp/gcl/files/flex-configure-LANG.patch )
* Include in your bugreport the contents of:
!!! ERROR: dev-lisp/gcl-2.6.7-r1 failed.
ebuild.sh, line 1568: Called dyn_compile
ebuild.sh, line 937: Called src_compile
gcl-2.6.7-r1.ebuild, line 36: Called epatch '/usr/portage/dev-lisp/gcl/files/flex-configure-LANG.patch'
eutils.eclass, line 341: Called die
!!! Failed Patch: flex-configure-LANG.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.
Created attachment 101554 [details]
debug output of the failed patch
Duplicate bug 155900
*** Bug 155900 has been marked as a duplicate of this bug. ***
in Bug 155900, there is a patch that let that ebuild compile.
*** Bug 156967 has been marked as a duplicate of this bug. ***
should be all set now
*** Bug 164589 has been marked as a duplicate of this bug. ***