Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 895494

Summary: sys-devel/flex: fatal internal error, exec of gm4 failed
Product: Gentoo/Alt Reporter: Tom Li <biergaizi2009>
Component: Prefix SupportAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: ARM64   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 886491    

Description Tom Li 2023-02-20 04:00:40 UTC
In a Gentoo Prefix running on macOS 13, flex crashes at runtime with "flex: fatal internal error, exec of /Users/ec2-user/gentoo/usr/bin/gm4 failed"

ec2-user@ip-10-0-4-85 ~ $ flex
<stdin>:1: premature EOF
flex: fatal internal error, exec of /Users/ec2-user/gentoo/usr/bin/gm4 failed

During Gentoo Prefix bootstrapping, sometimes (but not always) flex must be invoked to build a package. This problem prevents the bootstrap process.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-20 04:21:28 UTC
Duplicate of bug 871324 (which I'll now retitle).

*** This bug has been marked as a duplicate of bug 871324 ***