Skip to content

Fix: Set correct make targets for multi-arch tests#148

Merged
tykeal merged 1 commit intolfreleng-actions:mainfrom
modeseven-lfreleng-actions:fix/multi-arch-make-args
Mar 4, 2026
Merged

Fix: Set correct make targets for multi-arch tests#148
tykeal merged 1 commit intolfreleng-actions:mainfrom
modeseven-lfreleng-actions:fix/multi-arch-make-args

Conversation

@ModeSevenIndustrialSolutions
Copy link
Contributor

Summary

The test-multi-arch-projects job in the testing workflow was failing because NSS/NSPR dependencies were not being installed before the Python build.

Problem

The make_args was set to "-j$(nproc)" which ran the Makefile's default help target — printing usage info but not installing anything. The meson build then failed because the nss dependency could not be found:

Run-time dependency nss found: NO (tried pkgconfig and cmake)
../meson.build:23:10: ERROR: Dependency "nss" not found, tried pkgconfig and cmake

Fix

Update make_args to "deps-nss env-github-actions" which:

  1. deps-nss — Builds and installs NSS/NSPR from source
  2. env-github-actions — Exports PKG_CONFIG_PATH and LD_LIBRARY_PATH to GITHUB_ENV

This matches how the python-nss-ng project's own CI invokes the build action.

Related

Copilot AI review requested due to automatic review settings March 4, 2026 11:03
@github-actions github-actions bot added the bug Something isn't working label Mar 4, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the test workflow’s multi-arch job to run the correct Makefile targets so NSS/NSPR dependencies are installed and environment variables are exported before building projects that require NSS (e.g., python-nss-ng).

Changes:

  • Adjust make_args in the test-multi-arch-projects job to invoke deps-nss env-github-actions instead of passing a -j$(nproc) flag.
  • Update the adjacent workflow comment to be less specific about the number of projects.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ModeSevenIndustrialSolutions ModeSevenIndustrialSolutions changed the title fix: update make_args to install NSS deps for multi-arch builds Fix: Set correct make targets for multi-arch tests Mar 4, 2026
Default make target was 'help', not 'deps-nss'. The NSS/NSPR
dependencies were never installed before the Python build ran.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
Copilot AI review requested due to automatic review settings March 4, 2026 11:10
@ModeSevenIndustrialSolutions
Copy link
Contributor Author

ModeSevenIndustrialSolutions commented Mar 4, 2026

Fixes failure on pull request: #145

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tykeal tykeal merged commit 7ff456c into lfreleng-actions:main Mar 4, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants