pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/52732: sysutils/xentools48 fails build with the system-provided iasl



>Number:         52732
>Category:       pkg
>Synopsis:       sysutils/xentools48 fails build with the system-provided iasl
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 17 19:05:00 +0000 2017
>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.



Home | Main Index | Thread Index | Old Index