-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Description
When running any bitbake version >= 2.0 within a pyrex container, bitbake will throw a fatal error during recipe parsing and return code 1.
[0] usr0:build$ bitbake -e glibc
ERROR: Variable BB_ENV_EXTRAWHITE has been renamed to BB_ENV_PASSTHROUGH_ADDITIONS
ERROR: Variable BB_ENV_EXTRAWHITE from the shell environment has been renamed to BB_ENV_PASSTHROUGH_ADDITIONS
ERROR: Exiting to allow enviroment variables to be corrected
The error source is here, and it was added to enforce restrictions on insufficiently inclusive variables being defined in the environment. Bitbake will error whenever BB_ENV_EXTRAWHITE is defined in the execution environment, and it is unconditionally defined by pyrex.
Lines 554 to 557 in bebe3f9
| # Pass along BB_ENV_EXTRAWHITE and anything it has whitelisted | |
| if "BB_ENV_EXTRAWHITE" in os.environ: | |
| engine_args.extend(["-e", "BB_ENV_EXTRAWHITE"]) | |
| container_envvars.extend(os.environ["BB_ENV_EXTRAWHITE"].split()) |
Lines 100 to 103 in bebe3f9
| "export": { | |
| "BB_ENV_EXTRAWHITE": "$BB_ENV_EXTRAWHITE", | |
| "BUILDDIR": "$BUILDDIR" | |
| } |
Bitbake 2.0 support is needed for pyrex users to build the OE kirkstone release and beyond.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels