Skip to content

VPAAMP-242 l1test build failures after osx updates#1395

Open
pstroffolino wants to merge 6 commits intodev_sprint_25_2from
feature/VPAAMP-242
Open

VPAAMP-242 l1test build failures after osx updates#1395
pstroffolino wants to merge 6 commits intodev_sprint_25_2from
feature/VPAAMP-242

Conversation

@pstroffolino
Copy link
Copy Markdown
Contributor

Reason for Change: Added OPENSSL_PKG=$(brew --prefix openssl)/lib/pkgconfig to the macOS cmake line in run.sh so that pkg_check_modules(OPENSSL REQUIRED openssl) in the L1 test CMake finds the Homebrew OpenSSL regardless of which patch version is installed. Using brew --prefix openssl (a stable symlink) means it won't break again on the next Homebrew OpenSSL upgrade.

Risk: Low

Test Guidance: l1 tests working on all platforms

jameslofthouse-RED and others added 4 commits May 1, 2026 16:27
Reason for change: If tuning before a fake tune has completed, the player can be left with
                   stale encrypted player pointers, potentially leading to a crash
Test Procedure: See ticket
Risks: low

Signed-off-by: James Lofthouse <james_lofthouse@comcast.com>
- Use g_autoptr(GstPad) in gstcdmidecryptor so all exit paths release sinkpad
- Initialize aamp, mEncryptedAamp, mEncryptedAampId via member-initializer list in FakeAampGstPlayer ctor
- Guard SetEncryptedHeaders to reject calls from non-active players in single-pipeline mode
Reason for Change: Added OPENSSL_PKG=$(brew --prefix openssl)/lib/pkgconfig to the macOS cmake line in run.sh so that pkg_check_modules(OPENSSL REQUIRED openssl) in the L1 test CMake finds the Homebrew OpenSSL regardless of which patch version is installed. Using brew --prefix openssl (a stable symlink) means it won't break again on the next Homebrew OpenSSL upgrade.

Risk: Low

Signed-off-by: Philip Stroffolino <philip_stroffolino@cable.comcast.com>
@pstroffolino pstroffolino requested a review from a team as a code owner May 1, 2026 18:58
@pstroffolino pstroffolino requested a review from Copilot May 1, 2026 19:15
Copy link
Copy Markdown
Contributor

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 L1 unit test runner script on macOS to ensure CMake’s pkg_check_modules(OPENSSL REQUIRED openssl) can reliably locate the Homebrew OpenSSL pkg-config metadata after Homebrew OpenSSL upgrades.

Changes:

  • Add a Homebrew-derived OpenSSL pkg-config directory to PKG_CONFIG_PATH for macOS builds in test/utests/run.sh.

Comment thread test/utests/run.sh Outdated
- Replace bare 'brew --prefix openssl' with 'brew --prefix openssl@3'
  to match the repo's documented dependency and avoid ambiguity
- Guard against formula not being installed: check for openssl.pc
  before appending to PKG_CONFIG_PATH, and emit a clear error with
  the install command if it is missing
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