Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2024 10:53:45 +0100
From:      Idwer Vollering <vidwer@gmail.com>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   How does one actually update ACPICA?
Message-ID:  <CAPp9OrkYTxuWd_EG38x=k42atYC-0xvLcK3XsWWnvDjfWMWg9Q@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,

When attempting to build a newer release of ACPICA, it seems some
documentation is missing, or some steps are missing. I have consulted
the wiki whether updating instructions exist.

The copyright header in sys/contrib/dev/acpica/common/acfileio.c hints
I need the file acpica-unix-*.tar.gz

What I ran to update ACPICA so far is:
cd /tmp
fetch https://downloadmirror.intel.com/783534/acpica-unix-20230628.tar.gz

cd /usr/src/sys/contrib/dev/acpica/
./acpica_prep.sh /tmp/acpica-unix-20230628.tar.gz

rsync -aPv acpi_ca_destination/* .

make -C /usr/src buildworld

The 'buildworld' target stops with the following message:
Building /usr/obj/path/to/git.freebsd.org/src/amd64.amd64/usr.sbin/acpi/acpidb/dsfield.o
/path/to/dev/git.freebsd.org/src/sys/contrib/dev/acpica/components/dispatcher/dsfield.c:161:10:
fatal error: 'aecommon.h' file not found
  161 | #include "aecommon.h"
      |          ^~~~~~~~~~~~
1 error generated.
*** Error code 1

Stop.
make[5]: stopped in /path/to/dev/git.freebsd.org/src/usr.sbin/acpi/acpidb


Now, when I repeat running acpica_prep.sh with
acpica-unix-20221020.tar_0.gz [1] to re-integrate the release of
ACPICA which is currently in the tree, buildworld stops with the same
message as well.


[1] https://downloadmirror.intel.com/774880/acpica-unix-20221020.tar_0.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPp9OrkYTxuWd_EG38x=k42atYC-0xvLcK3XsWWnvDjfWMWg9Q>