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

Bug 346867

Summary: sys-devel/flex-2.5.35_p10 compile error
Product: Gentoo Linux Reporter: Kolan Sh. <backbone>
Component: [OLD] DevelopmentAssignee: Gentoo's Team for Core System packages <base-system>
Status: VERIFIED INVALID    
Severity: normal CC: backbone
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
config.log

Description Kolan Sh. 2010-11-26 18:17:43 UTC
compile error: "INT_MAX undefined in scanopt.c"

Reproducible: Always

Steps to Reproduce:
1.emerge =sys-devel/flex-2.5.35_p10

Actual Results:  
compile error: "INT_MAX undefined in scanopt.c"

Expected Results:  
build successful

resolved by:
echo HAVE_LIMITS 1 >> config.h
Comment 1 Rafał Mużyło 2010-11-26 22:51:37 UTC
Attach full build log and probably config.log too.
Comment 2 Kolan Sh. 2010-11-26 23:56:26 UTC
Created attachment 255533 [details]
build.log
Comment 3 Kolan Sh. 2010-11-26 23:56:45 UTC
Created attachment 255535 [details]
config.log
Comment 4 SpanKY gentoo-dev 2010-11-27 10:26:12 UTC
your sed is screwed up.  presumably due to your ridiculous CFLAGS.

./configure: line 7541:  9967 Illegal instruction     sed 'y%*+%pp%;s%[^_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]%_%g'
Comment 5 Kolan Sh. 2010-11-27 10:40:28 UTC
My favourite sed??  = (
Oh, sh...
Thanks a lot!
Comment 6 Kolan Sh. 2010-11-27 11:11:38 UTC
The -ftree-vectorize option has broken the sed after my recent updating to gcc-4.5.1-r1.
All is now excellent, Thanks!