[
https://issues.apache.org/jira/browse/AVRO-2987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Tzvetanov Grigorov resolved AVRO-2987.
---------------------------------------------
Fix Version/s: 1.12.0
1.11.4
Assignee: Martin Tzvetanov Grigorov
Resolution: Fixed
Fixed with AVRO-3932
> pkg-config has a broken `Requires:` section
> -------------------------------------------
>
> Key: AVRO-2987
> URL: https://issues.apache.org/jira/browse/AVRO-2987
> Project: Apache Avro
> Issue Type: Bug
> Components: c
> Reporter: B
> Assignee: Martin Tzvetanov Grigorov
> Priority: Minor
> Fix For: 1.12.0, 1.11.4
>
>
>
> {code:java}
> ; grep Requires src/avro-c.pc.in
> Requires: @CODEC_PKG@
> {code}
> CODEC_PKG is defined in CMakeLists.txt as
> {code:java}
> grep CODEC_PKG CMakeLists.txt
> set(CODEC_PKG "@ZLIB_PKG@ @LZMA_PKG@ @SNAPPY_PKG@")
> {code}
> Which leaves the final `avro-c.pc` with `Requires: @ZLIB_PKG@` and so on;
> this then causes every use of `pkg-config --exists avro-c` to fail, since it
> can never resolve the required dependencies.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)