How does one actually update ACPICA?
- Reply: Idwer Vollering : "Re: How does one actually update ACPICA?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 Jan 2024 09:53:45 UTC
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