Skip to content

[glib] Suppress dtrace autodetection #46451

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SchaichAlonso
Copy link
Contributor

Fixes: #46450

  • Changes comply with the maintainer guide.
  • SHA512s are updated for each updated download.
  • The "supports" clause reflects platforms that may be fixed by this new version.
  • Any fixed CI baseline entries are removed from that file.
  • Any patches that are no longer applied are deleted from the port's directory.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Only one version is added to each modified port's versions file.

@vicroms vicroms self-assigned this Jul 17, 2025
@vicroms vicroms added the category:port-bug The issue is with a library, which is something the port should already support label Jul 17, 2025
@SchaichAlonso
Copy link
Contributor Author

SchaichAlonso commented Jul 18, 2025

The unexpected success on x64-linux[selinux] is most likely a consequence of f054aaf .

I've opened Issue #46491 and PR #46492 to resolve the unexpected success, as it should be unrelated to dtrace .

@vicroms
Copy link
Member

vicroms commented Jul 19, 2025

Please pull the changes in the master branch to fix the CI issues in this PR.

GNOME/glib@ed020a6, or glib>=2.81, has introduced autodetection of libdtrace availability at compile time and will implicitly build code that depends on libdtrace if it is present on the build system.

VCPKG doesn't record libdtrace into the binary hash and therefore ends up extracting disfunctional glib binary caches when the caches are shared between environments that have and don't have libdtrace installed, but are otherwise similar.

The error message in case a dtrace enabled artifact is deployed on a system w/o dtrace is

    glib.d: No probe sites found for declared provider
@SchaichAlonso SchaichAlonso force-pushed the 46450-glib-suppress-dtrace-autodetection branch from c02a1ea to 61b6a49 Compare July 19, 2025 23:14
@vicroms vicroms added the info:reviewed Pull Request changes follow basic guidelines label Jul 20, 2025
@vicroms vicroms enabled auto-merge (squash) July 21, 2025 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[glib] Uncovered dependencies
2 participants