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

Backport new-style 'PKG_PROG_PKG_CONFIG' macro from pkg-config 0.29.2. #199

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

besser82
Copy link
Owner

Since the definition of this macro has been changed to error-out if a new introduced second parameter is ommited and the pkg-conf executable is not found on the system, the configure script from the release tarballs will fail in certain minimal bootstrap environments, that do not include a pkg-config executable (or the provided version is too old).

The backport of a compatibility is needed to be able to regenerate the build-system on older systems, which do not offer a variant of the macro definition with an optional second parameter.

Fixes #198.

@besser82 besser82 requested a review from zackw December 31, 2024 12:37
@besser82 besser82 self-assigned this Dec 31, 2024
@besser82
Copy link
Owner Author

@zackw Do you agree with my workaround?

@besser82 besser82 force-pushed the topic/besser82/issue_198 branch 3 times, most recently from ae27956 to 500e2be Compare January 1, 2025 13:34
Since the definition of this macro has been changed to error-out if a new
introduced second parameter is ommited and the pkg-conf executable is not
found on the system, the configure script from the release tarballs will
fail in certain minimal bootstrap environments, that do not include a
pkg-config executable (or the provided version is too old).

The backport of a compatibility is needed to be able to regenerate the
build-system on older systems, which do not offer a variant of the macro
definition with an optional second parameter.

Fixes #198.
@besser82 besser82 force-pushed the topic/besser82/issue_198 branch from 500e2be to 85a7b3d Compare January 14, 2025 13:34
Copy link

codecov bot commented Jan 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.12%. Comparing base (e65f297) to head (85a7b3d).
Report is 3 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #199   +/-   ##
========================================
  Coverage    90.12%   90.12%           
========================================
  Files           32       32           
  Lines         3627     3627           
  Branches       690      690           
========================================
  Hits          3269     3269           
  Misses         227      227           
  Partials       131      131           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@besser82 besser82 merged commit 85a7b3d into develop Jan 14, 2025
96 checks passed
@besser82 besser82 deleted the topic/besser82/issue_198 branch January 14, 2025 14:22
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.

release tarballs of libxcrypt-4.4.37 now require pkg-config binary, complicate the bootstrap
1 participant