NetBSD Problem Report #52732

From  Fri Nov 17 19:02:02 2017
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 9919B7A188
	for <>; Fri, 17 Nov 2017 19:02:02 +0000 (UTC)
Message-Id: <>
Date: Fri, 17 Nov 2017 19:02:01 +0000 (UTC)
Subject: sysutils/xentools48 fails build with the system-provided iasl
X-Send-Pr-Version: www-1.0

>Number:         52732
>Category:       pkg
>Synopsis:       sysutils/xentools48 fails build with the system-provided iasl
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 17 19:05:00 +0000 2017
>Closed-Date:    Fri Sep 21 14:02:18 +0000 2018
>Last-Modified:  Fri Sep 21 14:02:18 +0000 2018
>Originator:     Chavdar Ivanov
>Release:        current pkgsrc as of 2017/11/17
CI4 Consulting Ltd
NetBSD ymir 8.99.7 NetBSD 8.99.7 (GENERIC) #2: Fri Nov 17 13:00:13 GMT 2017  sysbuild@nt61p:/home/sysbuild/amd64/obj/home/sysbuild/src/sys/arch/amd64/compile/GENERIC amd64
Intel's ACPI source language compiler is used in the process of building sysutils/xentools48 (and I suspect the other versions, but I haven't tried them). On -current as of today (and the last two-three months at least) one of the files compiled in /usr/pkgsrc/sysutils/xentools48/work/xen-4.8.2/tools/firmware/hvmloader renders:
#  /usr/bin/iasl -vs -p dsdt_anycpu.tmp -tc dsdt_anycpu.asl 
Compiler aborting due to parser-detected syntax error(s)
dsdt_anycpu.asl     36:            Name(_HID, EISAID("PNP0C02"))
Error    6126 -                      syntax error ^
dsdt_anycpu.asl   3929:             Store ( DerefOf(Index(Local0, 1)), Local1 )
Error    6126 -                     syntax error ^
for every instance of EISAID and DerefOf. This is with the system's iasl compiler:
 /usr/bin/iasl -v

Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20171110
Copyright (c) 2000 - 2017 Intel Corporation

On the other hand, acpica-utils-20160930 provides
 /usr/pkg/bin/iasl -v

Intel ACPI Component Architecture
ASL+ Optimizing Compiler version 20160930-64
Copyright (c) 2000 - 2016 Intel Corporation

an earlier version, with which we get:

 /usr/pkg/bin/iasl -vs -p dsdt_anycpu.tmp -tc dsdt_anycpu.asl
ASL Input:     dsdt_anycpu.asl - 10121 lines, 353691 bytes, 7114 keywords
AML Output:    dsdt_anycpu.aml - 59792 bytes, 2599 named objects, 4515 executable opcodes
Hex Dump:      dsdt_anycpu.hex - 560862 bytes

and the build succeeds further. 
Try to build sysutils/xentools48 on recent enough -current.
Establish a dependency from acpica-utils for xentools48 or teach the latter to avoid the problem.


From: "Maya Rashish" <>
Subject: PR/52732 CVS commit: pkgsrc/sysutils/xentools48
Date: Mon, 20 Nov 2017 08:34:17 +0000

 Module Name:	pkgsrc
 Committed By:	maya
 Date:		Mon Nov 20 08:34:17 UTC 2017

 Modified Files:
 	pkgsrc/sysutils/xentools48: Makefile

 Log Message:
 xentools48: use pkgsrc iasl, build is broken with iasl 20171110

 From Chavdar Ivanov in PR pkg/52732

 To generate a diff of this commit:
 cvs rdiff -u -r1.12 -r1.13 pkgsrc/sysutils/xentools48/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->feedback
State-Changed-When: Tue, 20 Feb 2018 09:24:24 +0000
is this fixed?

State-Changed-From-To: feedback->closed
State-Changed-When: Fri, 21 Sep 2018 14:02:18 +0000
fixed system iasl. it was not treating things as case-insensitive due to a makefile cleanup. this was fixed a while back (and IIRC it wasn't relevant for netbsd-8)


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.