You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "B (Jira)" <ji...@apache.org> on 2020/11/23 18:43:00 UTC

[jira] [Created] (AVRO-2987) pkg-config has a broken `Requires:` section

B created AVRO-2987:
-----------------------

             Summary: 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


 
{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.3.4#803005)