Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Dec 2002 15:55:04 +0300 (MSK)
From:      "Lev A. Serebryakov" <lev@serebryakov.spb.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/46007: Ports conflict: devel/cscope & devel/bison conflict
Message-ID:  <200212051255.gB5Ct4TH059530@ftp.translate.ru>

next in thread | raw e-mail | index | archive | help

>Number:         46007
>Category:       ports
>Synopsis:       Ports conflict: devel/cscope & devel/bison conflict
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 05 05:00:09 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lev A. Serebryakov <lev@serebryakov.spb.ru>
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD freebsd.sereb.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Aug 8 20:06:13 MSD 2002 root@freebsd.sereb.net:/usr/obj/usr/src/sys/LEVMAIL i386
Ports collection: 5 Dec 2002

>Description:

  If here is installed `devel/bison' port (version 1.75), `configure' script
  of cscope uses it, and bison fails to produce proper parser. Here is log:
===8<=========================================================================
freebsd# make
===>  Extracting for cscope-15.4
>How-To-Repeat:

  Try to install cscope when bison is installed

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
 >> Checksum OK for cscope-15.4.tar.gz.
 ===>  Patching for cscope-15.4
 ===>  Applying FreeBSD patches for cscope-15.4
 ===>  Configuring for cscope-15.4
 configure: WARNING: you should use --build, --host, --target
 checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
 [SKIPPED]
 checking lex output file root... lex.yy
 checking whether yytext is a pointer... no
 checking for bison... bison -y
 [SKIPPED]
 config.status: creating config.h
 ===>  Building for cscope-15.4
 make  all-recursive
 Making all in doc
 Making all in src
 /bin/sh ./ylwrap "flex" fscanner.l lex.yy.c fscanner.c --  
 cc -DHAVE_CONFIG_H -I. -I. -I..     -O -pipe -march=pentium -c fscanner.c
 bison -y  -d egrep.y && mv y.tab.c egrep.c
 egrep.y:106.3: parse error, unexpected "=", expecting ";" or "|"
 egrep.y:111.3: parse error, unexpected "=", expecting ";" or "|"
 egrep.y:113.4-26: invalid $ value
 egrep.y:115.4-26: invalid $ value
 egrep.y:120.3: parse error, unexpected "=", expecting ";" or "|"
 egrep.y:124.3: parse error, unexpected "=", expecting ";" or "|"
 egrep.y:134.3: parse error, unexpected "=", expecting ";" or "|"
 *** Error code 1
 ===8<=========================================================================
 
   But if here is NO bison installed, `configure' uses `byacc' from base system
   and it works Ok:
 ===8<=========================================================================
 Stop in /usr/ports/devel/cscope/work/cscope-15.4.
 *** Error code 1
 
 Stop in /usr/ports/devel/cscope.
 freebsd# rm -rf work
 freebsd# mv /usr/local/bin/bison /usr/local/bin/bison.hide
 freebsd# make
 ===>  Extracting for cscope-15.4
 >> Checksum OK for cscope-15.4.tar.gz.
 ===>  Patching for cscope-15.4
 ===>  Applying FreeBSD patches for cscope-15.4
 ===>  Configuring for cscope-15.4
 configure: WARNING: you should use --build, --host, --target
 checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
 [SKIPPED]
 checking whether yytext is a pointer... no
 checking for bison... no
 checking for byacc... byacc
 configure: checking "location of ncurses.h file"...
 [SKIPPED]
 config.status: creating config.h
 ===>  Building for cscope-15.4
 make  all-recursive
 Making all in doc
 Making all in src
 /bin/sh ./ylwrap "flex" fscanner.l lex.yy.c fscanner.c --  
 cc -DHAVE_CONFIG_H -I. -I. -I..     -O -pipe -march=pentium -c fscanner.c
 byacc  -d egrep.y && mv y.tab.c egrep.c
 byacc: 2 shift/reduce conflicts
 if test -f y.tab.h; then  if cmp -s y.tab.h egrep.h; then rm -f y.tab.h; else mv y.tab.h egrep.h; fi;  else :; fi
 cc -DHAVE_CONFIG_H -I. -I. -I..     -O -pipe -march=pentium -c egrep.c
 egrep.y:616: warning: conflicting types for built-in function `memset'
 cc -DHAVE_CONFIG_H -I. -I. -I..     -O -pipe -march=pentium -c alloc.c
 [SKIPPED]
 ===8<=========================================================================
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212051255.gB5Ct4TH059530>