From owner-freebsd-ports Thu Dec 5 5: 0:15 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 006E037B404 for ; Thu, 5 Dec 2002 05:00:12 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2692C43ECF for ; Thu, 5 Dec 2002 05:00:11 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gB5D0Bx3028457 for ; Thu, 5 Dec 2002 05:00:11 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gB5D0AA0028456; Thu, 5 Dec 2002 05:00:10 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 744C337B401 for ; Thu, 5 Dec 2002 04:55:27 -0800 (PST) Received: from ftp.translate.ru (ftp.translate.ru [195.131.4.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73F1343EC2 for ; Thu, 5 Dec 2002 04:55:26 -0800 (PST) (envelope-from lev@ftp.translate.ru) Received: from ftp.translate.ru (localhost [127.0.0.1]) by ftp.translate.ru (8.12.6/8.12.5) with ESMTP id gB5Ct9CE059531 for ; Thu, 5 Dec 2002 15:55:09 +0300 (MSK) (envelope-from lev@ftp.translate.ru) Received: (from lev@localhost) by ftp.translate.ru (8.12.6/8.12.6/Submit) id gB5Ct4TH059530; Thu, 5 Dec 2002 15:55:04 +0300 (MSK) Message-Id: <200212051255.gB5Ct4TH059530@ftp.translate.ru> Date: Thu, 5 Dec 2002 15:55:04 +0300 (MSK) From: "Lev A. Serebryakov" Reply-To: "Lev A. Serebryakov" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/46007: Ports conflict: devel/cscope & devel/bison conflict Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 >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