Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2024 12:15:03 +0100
From:      Idwer Vollering <vidwer@gmail.com>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: How does one actually update ACPICA?
Message-ID:  <CAPp9OrndDq3ysaVTxBNzmqmvmnqmNfcZuqNb72KYKGRv=7muzQ@mail.gmail.com>
In-Reply-To: <CAPp9OrkYTxuWd_EG38x=k42atYC-0xvLcK3XsWWnvDjfWMWg9Q@mail.gmail.com>
References:  <CAPp9OrkYTxuWd_EG38x=k42atYC-0xvLcK3XsWWnvDjfWMWg9Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Op wo 17 jan 2024 om 10:53 schreef Idwer Vollering <vidwer@gmail.com>:
>
> 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/

Since I have checked out code in the homedir, this should have been:

cd /path/to/dev/git.freebsd.org//contrib/dev/acpica/

> ./acpica_prep.sh /tmp/acpica-unix-20230628.tar.gz
>
> rsync -aPv acpi_ca_destination/* .
>
> make -C /usr/src buildworld

Same adjustment as above:

make -C /path/to/dev/git.freebsd.org//subdir/contrib/dev/acpica/ 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?CAPp9OrndDq3ysaVTxBNzmqmvmnqmNfcZuqNb72KYKGRv=7muzQ>