NetBSD Problem Report #31321

From lkundrak@elvraba.edu.sk  Thu Sep 15 09:31:45 2005
Return-Path: <lkundrak@elvraba.edu.sk>
Received: from vole.elvraba.edu.sk (v0le.elvraba.edu.sk [213.81.186.66])
	by narn.netbsd.org (Postfix) with ESMTP id 0A41F63B877
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 15 Sep 2005 09:31:43 +0000 (UTC)
Message-Id: <200509150932.j8F9WB9r025853@elvraba.edu.sk>
Date: Thu, 15 Sep 2005 11:32:11 +0200 (CEST)
From: lkundrak@elvraba.edu.sk
Reply-To: lkundrak@skosi.org
To: gnats-bugs@netbsd.org
Subject: devel/cscope doesn't build with bison (GNU Bison) 2.0
X-Send-Pr-Version: 3.95

>Number:         31321
>Category:       pkg
>Synopsis:       devel/cscope doesn't build with bison (GNU Bison) 2.0
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 15 09:32:00 +0000 2005
>Closed-Date:    Tue Sep 20 03:54:32 +0000 2005
>Last-Modified:  Tue Sep 20 03:54:32 +0000 2005
>Originator:     Lubomir Kundrak
>Release:        NetBSD 3.99.7
>Organization:
>Environment:
$ bison --version
bison (GNU Bison) 2.0
Written by Robert Corbett and Richard Stallman.
System: NetBSD elvraba.edu.sk 3.99.7 NetBSD 3.99.7 (GENERIC) #0: Mon Jul 18 13:24:15 CEST 2005 lkundrak@vole.elyceum:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
Cscope build tries to use bison, bud fails to build when it uses it.
>How-To-Repeat:
Install bison
Try to build cscope from pkgsrc
>Fix:
# (it's not a fix, rather a quick hack. gnu platforms use only gnu bison if i recall correctly)
Use native yacc
@@ -11,7 +11,7 @@ HOMEPAGE=     http://cscope.sourceforge.net/
COMMENT=       Interactive C program browser

GNU_CONFIGURE=         YES
-USE_TOOLS+=            lex
+USE_TOOLS+=            lex yacc

CONFIGURE_ARGS+=       --with-ncurses=${BUILDLINK_PREFIX.ncurses}
CONFIGURE_ARGS+=       --with-flex

>Release-Note:

>Audit-Trail:
From: "Johnny C. Lam" <jlam@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/31321 CVS commit: pkgsrc/devel/cscope
Date: Tue, 20 Sep 2005 03:52:01 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	jlam
 Date:		Tue Sep 20 03:52:01 UTC 2005

 Modified Files:
 	pkgsrc/devel/cscope: Makefile

 Log Message:
 Do previous in a better way by asking for "byacc" instead of "yacc",
 as this will avoid using bison completely.  This fixes PR pkg/31321.


 To generate a diff of this commit:
 cvs rdiff -r1.40 -r1.41 pkgsrc/devel/cscope/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: jlam@netbsd.org
State-Changed-When: Tue, 20 Sep 2005 03:54:32 +0000
State-Changed-Why:
This is fixed on pkgsrc HEAD as of Tue Sep 20 03:52:01 UTC 2005 by teaching
cscope to use "byacc" to compile the .y file in the cscope sources.  Thanks
for the PR!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.