Skip to content

fix(qnx_aarch64): correct stale score_persistency target path causing build failure - #352

Closed
akshaylg0314 wants to merge 1 commit into
eclipse-score:mainfrom
akshaylg0314:main
Closed

akshaylg0314 wants to merge 1 commit into
eclipse-score:mainfrom
akshaylg0314:main

Conversation

@akshaylg0314

@akshaylg0314 akshaylg0314 commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Building //images/qnx_aarch64:run fails with:

ERROR: no such package '@@score_persistency+//tests/test_scenarios/cpp':
BUILD file not found in directory 'tests/test_scenarios/cpp' of external
repository @@score_persistency+.

Root Cause

images/qnx_aarch64/build/BUILD
 (line 54) references:

python
"@score_persistency//tests/test_scenarios/cpp:test_scenarios",
In score_persistency v0.9, the test scenarios directory was moved under score/kvs/tests/. The qnx_x86_64 BUILD was already updated to the new path, but qnx_aarch64 was not.

Fix

Update the stale path to match the correct v0.9 layout (consistent with images/qnx_x86_64/build/BUILD):

diff
- "@score_persistency//tests/test_scenarios/cpp:test_scenarios",
+ "@score_persistency//score/kvs/tests/test_scenarios/cpp:test_scenarios",

Testing
bazel --output_base=build/qnx-aarch64 run --config qnx-aarch64 //images/qnx_aarch64:run — analysis phase passes ✅

Notes
This is a copy-paste inconsistency between the two image BUILD files introduced when score_persistency reorganized its directory structure in v0.9. The qnx_x86_64 target was updated but qnx_aarch64 was missed.

Closes Issue: #351

…get path[eclipse-score#351]

The qnx_aarch64 image BUILD file referenced an incorrect Bazel target path
for the score_persistency test scenarios:

  @score_persistency//tests/test_scenarios/cpp:test_scenarios

The correct path (matching the layout in score_persistency v0.9 and already
used by the qnx_x86_64 image) is:

  @score_persistency//score/kvs/tests/test_scenarios/cpp:test_scenarios

This caused `//images/qnx_aarch64:run` to fail at analysis time with:
  "no such package '@@score_persistency+//tests/test_scenarios/cpp'"

Fixes: images/qnx_aarch64/build/BUILD line 54
@akshaylg0314

Copy link
Copy Markdown
Contributor Author

Hey @FScholPer @AlexanderLanin Please review the change
Thanks!!

@PiotrKorkus

Copy link
Copy Markdown
Contributor

Fixed also in #349

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 this pull request may close these issues.

3 participants