Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2987

pkg-config has a broken `Requires:` section

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • c
    • None

    Description

       

      ; grep Requires src/avro-c.pc.in
      Requires: @CODEC_PKG@
      

      CODEC_PKG is defined in CMakeLists.txt as

      grep CODEC_PKG CMakeLists.txt
      set(CODEC_PKG "@ZLIB_PKG@ @LZMA_PKG@ @SNAPPY_PKG@")
      

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Fraser B
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: