NetBSD Problem Report #52732
From www@NetBSD.org Fri Nov 17 19:02:02 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 9919B7A188
for <gnats-bugs@gnats.NetBSD.org>; Fri, 17 Nov 2017 19:02:02 +0000 (UTC)
Message-Id: <20171117190201.780C97A1D6@mollari.NetBSD.org>
Date: Fri, 17 Nov 2017 19:02:01 +0000 (UTC)
From: ci4ic4@gmail.com
Reply-To: ci4ic4@gmail.com
To: gnats-bugs@NetBSD.org
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
>Organization:
CI4 Consulting Ltd
>Environment:
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
>Description:
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.
>How-To-Repeat:
Try to build sysutils/xentools48 on recent enough -current.
>Fix:
Establish a dependency from acpica-utils for xentools48 or teach the latter to avoid the problem.
>Release-Note:
>Audit-Trail:
From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
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-By: dholland@NetBSD.org
State-Changed-When: Tue, 20 Feb 2018 09:24:24 +0000
State-Changed-Why:
is this fixed?
State-Changed-From-To: feedback->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Fri, 21 Sep 2018 14:02:18 +0000
State-Changed-Why:
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)
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.