Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libxml2 not found on latest macos-12 #7128

Closed
3 of 10 tasks
jcamiel opened this issue Feb 16, 2023 · 5 comments
Closed
3 of 10 tasks

libxml2 not found on latest macos-12 #7128

jcamiel opened this issue Feb 16, 2023 · 5 comments
Assignees
Labels
Area: Packages awaiting-deployment Code complete; awaiting deployment and/or deployment in progress bug report OS: macOS

Comments

@jcamiel
Copy link

jcamiel commented Feb 16, 2023

Description

A simple Rust sample using libxml is not building anymore on latest macos-12.

The sample build is KO with:

  Image: macos-12
  Version: 20230214.2
  Included Software: https://github.com/actions/runner-images/blob/macOS-12/20230214.2/images/macos/macos-12-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/macOS-12%2F20230214.2 

The sample build is OK with

  Image: macos-12
  Version: 20230205.1
  Included Software: https://github.com/actions/runner-images/blob/macOS-12/20230205.1/images/macos/macos-12-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/macOS-12%2F20230205.1

A reproductible sample is available at https://github.com/jcamiel/testxml2.git with a build action. The build is failing for latest macos-12.

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 11
  • macOS 12
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

Image: macos-12
Version: 20230214.2
Included Software: https://github.com/actions/runner-images/blob/macOS-12/20230214.2/images/macos/macos-12-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macOS-12%2F20230214.2

Is it regression?

Yes, OK with 20230205.1, KO with 20230214.2

Expected behavior

The sample should build without error message.

Actual behavior

The sample fails to build with the following error message:

thread 'main' panicked at 'Could not find libxml2.', /Users/runner/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/libxml-0.3.1/build.rs:38:5

Repro steps

  1. Run the build action of https://github.com/jcamiel/testxml2.git
@jcamiel
Copy link
Author

jcamiel commented Feb 16, 2023

Maybe related to #7125

@Blacksmoke16
Copy link

Confirmed #7125 fixes things. Was getting a similar error but for libssl. Manually installing pkg-config via brew allowed my program to correctly resolve that lib.

@erik-bershel
Copy link
Contributor

Hey @jcamiel and @Blacksmoke16. We working on that issue already. Should be fixed in the next release. Before it you may avoid that error with manual install of dependencies or pkg-config package in runtime with any of available methods.

@erik-bershel erik-bershel self-assigned this Feb 17, 2023
rjnienaber added a commit to rjnienaber/amazonite that referenced this issue Feb 17, 2023
@sblondon
Copy link

Was getting a similar error but for libssl.

For a job failure with ssl missing : https://github.com/python/cpython/actions/runs/4201522041/jobs/7289697590

The Runner Image Version is 20230214.2.
The working job executed few day before : https://github.com/python/cpython/actions/runs/4179085476/jobs/7238623120 (Runner Image Version is 20230205.1).

@mikhailkoliada
Copy link
Contributor

Deployed :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Packages awaiting-deployment Code complete; awaiting deployment and/or deployment in progress bug report OS: macOS
Projects
None yet
Development

No branches or pull requests

6 participants
@sblondon @Blacksmoke16 @jcamiel @mikhailkoliada @erik-bershel and others