You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/01/29 09:10:00 UTC
[jira] [Updated] (AVRO-2987) pkg-config has a broken `Requires:` section
[ https://issues.apache.org/jira/browse/AVRO-2987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated AVRO-2987:
---------------------------------
Labels: pull-request-available (was: )
> 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
> Labels: pull-request-available
> Fix For: 1.12.0, 1.11.4
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
>
> {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)