Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] It's not possible to list targets if "SYSROOT_AARCH64" is not defined #22867

Closed
arkq opened this issue Sep 26, 2022 · 0 comments · Fixed by #22868
Closed

[BUG] It's not possible to list targets if "SYSROOT_AARCH64" is not defined #22867

arkq opened this issue Sep 26, 2022 · 0 comments · Fixed by #22868

Comments

@arkq
Copy link
Contributor

arkq commented Sep 26, 2022

Reproduction steps

1. unset SYSROOT_AARCH64 (if defined)
2. ./scripts/build/build_examples.py targets
...
  File "/home/a.bokowy/connectedhomeip/scripts/build/build/targets.py", line 76, in Create
    builder = self.builder_class(
  File "/home/a.bokowy/connectedhomeip/scripts/build/builders/host.py", line 230, in __init__
    self.build_env['PKG_CONFIG_PATH'] = os.path.join(self.SysRootPath('SYSROOT_AARCH64'), 'lib/aarch64-linux-gnu/pkgconfig')
  File "/home/a.bokowy/connectedhomeip/scripts/build/builders/host.py", line 355, in SysRootPath
    raise Exception('Missing environment variable "%s"' % name)
Exception: Missing environment variable "SYSROOT_AARCH64"

Bug prevalence

always

GitHub hash of the SDK that was being used

n/a

Platform

core

Platform Version(s)

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant