On 2025-12-02 10:10 AM, Cristian Le via devel wrote:
Something weird is going on, so try to confirm that `|%{_libdir}/cmake/aws-c-common/aws-c-common-config.cmake` is indeed present and try to compile with `--debug-find-pkg=aws-c-common` or equivalent.|


I can try some things later this evening. I'm curious to know why cmake reports the failure the way it does, too. But I am certain that %{_libdir}/cmake/aws-c-common/aws-c-common-config.cmake is present. The only change between a successful build and a failed build is the '-DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations"' argument to %cmake.

(Or, alternatively, not setting LDFLAGS. If LDFLAGS is not set, then the build also succeeds. I knew the problem had to be an environment variable because the rpm build would fail, but running the command in a "mock --shell" in the same filesystem worked. I tracked the problem down by capturing the environment, setting up the same variables in a "mock --shell", confirming that the build failed, and then unsetting environment variables one at a time until the build worked.)
-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to