NetBSD Problem Report #39970

From kre@munnari.OZ.AU  Thu Nov 20 09:22:31 2008
Return-Path: <kre@munnari.OZ.AU>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 6784C63B874
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 20 Nov 2008 09:22:31 +0000 (UTC)
Message-Id: <200811200922.mAK9MDx0006045@jade.coe.psu.ac.th>
Date: Thu, 20 Nov 2008 16:22:13 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@gnats.NetBSD.org
Subject: sysutils/acpica-utils generates bison "compilation" errors
X-Send-Pr-Version: 3.95

>Number:         39970
>Category:       pkg
>Synopsis:       sysutils/acpica-utils generates bison "compilation" errors
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    uebayasi
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 20 09:25:00 +0000 2008
>Closed-Date:    Wed Mar 24 15:37:46 +0000 2010
>Last-Modified:  Wed Mar 24 15:37:46 +0000 2010
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE (pkgsrc current within past few hours).
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE (JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 kre@jade.coe.psu.ac.th:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
	Building sysutils/acpica-utils fails with many errors from bison
	when (compiling (generating the C code for) aslcompiler.y

>How-To-Repeat:
	I used pkg_comp with netbsd 4.0 (release) sets installed for
	this build - without and of the X sets (no X11R6) but with
	X11_TYPE=modular in the (sandbox) mk.conf.  I have libkver
	installed and configured to simulate a NetBSD 4.0 (release) environ.
	Most likely none of that is relevant for this problem.

	pkg_comp build sysutils/acpica-utils starting in an empty
	(almost empty, pkg_install, digest, libkver lintpkgsrc & perl5
	would have all been installed) ends with ...

bison -v -d -y -pAslCompiler aslcompiler.y
aslcompiler.y:797.42-43: $$ for the midrule at $3 of `DefinitionBlockTerm' has no declared type
aslcompiler.y:1114.50-51: $$ for the midrule at $3 of `IncludeTerm' has no declared type
aslcompiler.y:1150.50-51: $$ for the midrule at $3 of `BankFieldTerm' has no declared type
aslcompiler.y:1201.42-43: $$ for the midrule at $3 of `CreateBitFieldTerm' has no declared type
aslcompiler.y:1211.42-43: $$ for the midrule at $3 of `CreateByteFieldTerm' has no declared type
aslcompiler.y:1221.42-43: $$ for the midrule at $3 of `CreateDWordFieldTerm' has no declared type
aslcompiler.y:1231.42-43: $$ for the midrule at $3 of `CreateFieldTerm' has no declared type
aslcompiler.y:1242.42-43: $$ for the midrule at $3 of `CreateQWordFieldTerm' has no declared type

	And many more similar errors.

>Fix:
	???   (Missing include file ??)

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->uebayasi
Responsible-Changed-By: reed@NetBSD.org
Responsible-Changed-When: Fri, 21 Nov 2008 02:36:06 +0000
Responsible-Changed-Why:
assign to maintainer


From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/39970: sysutils/acpica-utils generates bison "compilation" errors
Date: Wed, 24 Mar 2010 11:44:35 +0700

 I think this problem was fixed a long time ago (I seem to have
 a successful compilation from June 2009, anyway...), this PR
 should probably be closed...

 kre

State-Changed-From-To: open->closed
State-Changed-By: snj@NetBSD.org
State-Changed-When: Wed, 24 Mar 2010 15:37:46 +0000
State-Changed-Why:
Closed at originator's request.


>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.