pkgsrc-Bugs archive

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

pkg/25090: wm/ctwm has bison vs yacc problems on Solaris2.8



>Number:         25090
>Category:       pkg
>Synopsis:       wm/ctwm has bison vs yacc problems on Solaris2.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 07 14:59:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Rob Quinn
>Release:        pkgsrc-current
>Organization:
>Environment:
SunOS dodecahedron 5.8 Generic_108528-23 sun4u sparc SUNW,Ultra-5_10

>Description:
gram.y line 422 (the same line patched in patches/patch-aa) bombs out with yacc:

dodecahedron:/usr/pkgsrc/wm/ctwm #bmake
===> Checking for vulnerabilities in ctwm-3.6
=> Checksum OK for ctwm-3.6.tar.gz.
=> Checksum OK for ctwm-3.6-xpm.tar.gz.
===> Extracting for ctwm-3.6
===> Required installed package xpm>=3.4k: xpm-3.4knb1 found
===> Required installed package xpkgwedge>=1.5: xpkgwedge-1.9 found
===> Required installed package x11-links>=0.23: x11-links-0.23 found
===> Required installed package gcc3-c>=3.3.3: gcc3-c-3.3.3 found
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
===> Patching for ctwm-3.6
===> Applying pkgsrc patches for ctwm-3.6
===> Overriding tools for ctwm-3.6
===> Buildlinking for ctwm-3.6
===> Configuring for ctwm-3.6
imake -DUseInstalled -I/usr/pkg/lib/X11/config -I/usr/openwin/lib/X11/config
make Makefiles
make includes
make depend
/usr/ccs/bin/lex  lex.l
mv lex.yy.c lex.c
/usr/ccs/bin/yacc -d gram.y
"gram.y", line 422: fatal: illegal rule: missing semicolon or | ?
*** Error code 1


>How-To-Repeat:

>Fix:
bmake YACC="bison -y"   will let me get past this error and on to the generic
gcc/pkgsrc/Solaris problem described in pkg/21943.  I haven't yet used the 
binary to see
if it works.  I'm not sure about the gram.y file itself.  Looking at the 
ctwm3.7 alpha4 tarball
it seems like they just removed the ';' or '{}' near line 422.  It's been too 
long since I
programmed in yacc to know what difference that makes.

>Release-Note:
>Audit-Trail:
>Unformatted:



Home | Main Index | Thread Index | Old Index