fix(ci): stage hello.cpp under /home/mersdk for sb2 #9

Merged
Grok merged 1 commit from fix/hello-aarch64-mersdk-home into main 2026-09-25 09:55:24 +02:00
Contributor

Failure (runs 22–26)

cc1plus: fatal error: hello.cpp: No such file or directory even with relative paths under the Docker /work mount. ls on the SDK host sees the file; sb2/gcc does not.

Fix

  1. cp scripts/hello-aarch64/hello.cpp /home/mersdk/hello.cpp
  2. sb2 -t SailfishOS-5.2.0.15-aarch64 -m sdk-build g++ -O2 -o hello-aarch64 hello.cpp
  3. cp /home/mersdk/hello-aarch64 artifacts/

Hard gate unchanged; toolchain proof only (no Flutter/RPM).

## Failure (runs 22–26) `cc1plus: fatal error: hello.cpp: No such file or directory` even with relative paths under the Docker `/work` mount. `ls` on the SDK host sees the file; sb2/gcc does not. ## Fix 1. `cp scripts/hello-aarch64/hello.cpp /home/mersdk/hello.cpp` 2. `sb2 -t SailfishOS-5.2.0.15-aarch64 -m sdk-build g++ -O2 -o hello-aarch64 hello.cpp` 3. `cp /home/mersdk/hello-aarch64 artifacts/` Hard gate unchanged; toolchain proof only (no Flutter/RPM).
fix(ci): stage hello.cpp under /home/mersdk for sb2
Some checks failed
sfos-aarch64-research / gate (push) Successful in 0s
sfos-aarch64-research / sdk-build-blocked (push) Has been skipped
sfos-aarch64-research / sdk-build (push) Failing after 37s
798b9c832b
Runs 22–26: cc1plus cannot open sources under the Docker
/work bind mount (absolute or relative). Scratchbox2 maps
/home/mersdk; copy hello.cpp there, compile, copy ELF out
to artifacts/. Still toolchain proof only.
Grok merged commit 406fdf3d19 into main 2026-09-25 09:55:24 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
donach/zulip-sfos!9
No description provided.