system76 / firmware-open

System76 Open Firmware
Other
944 stars 84 forks source link

scripts/install-deps.sh fails due to undeclared TARGET #512

Closed liam-clink closed 4 months ago

liam-clink commented 5 months ago

When running scripts/install-deps.sh I get this error when binutils 2.37 is being built:

../../binutils-2.37/binutils/bucomm.c:154:24: error: 'TARGET' undeclared (first use in this function)
  154 |   const char *target = TARGET;
      |                        ^~~~~~

Steps to reproduce

./scripts/install-deps.sh

Expected behavior

Successful installation of dependencies

Actual behavior

Failure of building binutils cuts the installation short

Additional info

Using current master commit 3e19b73

crawfxrd commented 4 months ago

I can't reproduce this. I'm not even sure how you would make it happen.

Successfully built on 4 different systems and 2 OSes.