This repository was archived by the owner on Jun 28, 2024. It is now read-only.
  
  
  - 
                Notifications
    
You must be signed in to change notification settings  - Fork 194
 
install_rom_aarch64.sh failing #5817
Copy link
Copy link
Open
Labels
bugIncorrect behaviourIncorrect behaviourneeds-reviewNeeds to be assessed by the team.Needs to be assessed by the team.
Description
Description of problem
The install_rom_aarch64.sh is failing for multiple reasons:
- The script tries to install 
python.aptwill fail and, therefore, the script will terminate aspythonis no longer available. It seemspythoncan be removed aspython3is getting installed anyway. acpiexeccompilation failure:
make[1]: Entering directory '/tmp/tmp.xKw73XBZTB/acpica/generate/unix/acpiexec'
obj/acpiexec ../../../source/common/acgetline.c
...
obj/acpiexec ../../../source/components/dispatcher/dsinit.c
obj/acpiexec ../../../source/components/utilities/utdebug.c
../../../source/components/utilities/utdebug.c: In function ‘AcpiUtInitStackPtrTrace’:
../../../source/components/utilities/utdebug.c:188:31: error: storing the address of local variable ‘CurrentSp’ in ‘AcpiGbl_EntryStackPointer’ [-Werror=dangling-pointer=]
  188 |     AcpiGbl_EntryStackPointer = &CurrentSp;
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
../../../source/components/utilities/utdebug.c:185:29: note: ‘CurrentSp’ declared here
  185 |     ACPI_SIZE               CurrentSp;
      |                             ^~~~~~~~~
In file included from ../../../source/include/acpi.h:173,
                 from ../../../source/components/utilities/utdebug.c:154:
../../../source/include/acglobal.h:334:41: note: ‘AcpiGbl_EntryStackPointer’ declared here
  334 | ACPI_GLOBAL (ACPI_SIZE *,               AcpiGbl_EntryStackPointer);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~
../../../source/include/acpixf.h:188:17: note: in definition of macro ‘ACPI_GLOBAL’
  188 |     extern type name
      |                 ^~~~
../../../source/components/utilities/utdebug.c: In function ‘AcpiUtTrackStackPtr’:
../../../source/components/utilities/utdebug.c:213:36: error: storing the address of local variable ‘CurrentSp’ in ‘AcpiGbl_LowestStackPointer’ [-Werror=dangling-pointer=]
  213 |         AcpiGbl_LowestStackPointer = &CurrentSp;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
../../../source/components/utilities/utdebug.c:208:29: note: ‘CurrentSp’ declared here
  208 |     ACPI_SIZE               CurrentSp;
      |                             ^~~~~~~~~
../../../source/include/acglobal.h:335:41: note: ‘AcpiGbl_LowestStackPointer’ declared here
  335 | ACPI_GLOBAL (ACPI_SIZE *,               AcpiGbl_LowestStackPointer);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../source/include/acpixf.h:188:17: note: in definition of macro ‘ACPI_GLOBAL’
  188 |     extern type name
      |                 ^~~~
cc1: all warnings being treated as errors
make[1]: *** [../Makefile.rules:20: obj/utdebug.o] Error 1
make[1]: Leaving directory '/tmp/tmp.xKw73XBZTB/acpica/generate/unix/acpiexec'
make: *** [generate/unix/Makefile.common:7: acpiexec] Error 2
make: Leaving directory '/tmp/tmp.xKw73XBZTB/acpica'Expected result
It produces the two UEFI ROM image files as promised.
Actual result
The process fails at multiple stages. (See description)
Environment
Linux node1 6.5.0-1014-raspi #17-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 21 11:24:03 UTC 2024 aarch64 aarch64 aarch64 
Ubuntu 23.10
gcc version 13.2.0 (Ubuntu 13.2.0-4ubuntu3) 
Metadata
Metadata
Assignees
Labels
bugIncorrect behaviourIncorrect behaviourneeds-reviewNeeds to be assessed by the team.Needs to be assessed by the team.