pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/33028: cfengine2 on Solaris needs flex, not lex



>Number:         33028
>Category:       pkg
>Synopsis:       cfengine2 on Solaris needs flex, not lex
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 08 02:20:00 +0000 2006
>Originator:     Lloyd Parkes
>Release:        Solaris 9
>Organization:
Inland Revenue
>Environment:
SunOS XXX.ird.govt.nz 5.9 Generic sun4u sparc SUNW,UltraAX-i2

>Description:
lex(1) cannot cope with cflex.l 

/bin/bash ../ylwrap cflex.l lex.yy.c cflex.c -- lex  
got /home/lloyd/pkgsrc/sysutils/cfengine2/work/cfengine-2\.1\.10/src/
"/home/lloyd/pkgsrc/sysutils/cfengine2/work/cfengine-2.1.10/src/cflex.l":line 
513: Error: Too many transitions 
636/1000 nodes(%e), 11077/12000 positions(%p), 990/2000 (%n), 178207 
transitions,
227/10000 packed char classes(%k),  16032/16000 packed transitions(%a),  
0/30000 output slots(%o)
*** Error code 1

Stop.
bmake: stopped in /home/lloyd/pkgsrc/sysutils/cfengine2/work/cfengine-2.1.10/src
*** Error code 1


>How-To-Repeat:
Try building cfengine2 on Solaris without flex installed.
>Fix:
Add the following three lines to sysutils/cfengine2/Makefile

.if ${OPSYS} == "SunOS"
.include "../../devel/flex/buildlink3.mk"
.endif





Home | Main Index | Thread Index | Old Index