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

pkg-config has a broken `Requires:` section

    XMLWordPrintableJSON

Details

    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

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              Fraser B
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m