Problem
The greengrass hello-world sample component recipes fail to build on master after the aws-greengrass-component-sdk v0.4→v1.0.1 upgrade (#15440).
greengrass-component-helloworld-cpp (x86-64)
fatal error: gg/types.hpp: No such file or directory
The SDK v1.0.1 changed its header layout. The C++ hello-world recipe references gg/types.hpp which no longer exists at that path.
greengrass-component-helloworld-rust (arm64)
error: could not compile `hello-world-rust` (bin "hello-world-rust") due to 1 previous error
Likely the Rust crate API changed between v0.4 and v1.0.1 (e.g. Ipc renamed to Sdk).
Impact
- All greengrass hello-world recipes (C, C++, Rust, possibly Python/Bash) may be affected
- Build failures on all architectures for any PR that triggers ptest builds
- Does not affect the core SDK recipe itself (builds fine)
Fix needed
- Update hello-world recipes to use v1.0.1 API and header paths
- Check all 5 hello-world variants: bash, c, cpp, python, rust
- Verify against upstream SDK examples if available
Related
Problem
The greengrass hello-world sample component recipes fail to build on master after the aws-greengrass-component-sdk v0.4→v1.0.1 upgrade (#15440).
greengrass-component-helloworld-cpp (x86-64)
The SDK v1.0.1 changed its header layout. The C++ hello-world recipe references
gg/types.hppwhich no longer exists at that path.greengrass-component-helloworld-rust (arm64)
Likely the Rust crate API changed between v0.4 and v1.0.1 (e.g.
Ipcrenamed toSdk).Impact
Fix needed
Related