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

Invalid pkgconfig file when compiling without optional codecs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.1
    • 1.6.2
    • c
    • None

    Description

      The codecs that were added in AVRO-957 (zlib and lzma) are optional. However, if you compile the C library with the required libraries being present, you get an invalid pkgconfig file:

      $ cat src/avro-c.pc
      Name: avro-c
      Description: C library for parsing Avro data
      Version: 1.6.2-SNAPSHOT
      URL: http://avro.apache.org/
      Libs: -L/usr/local/Cellar/avro-c/HEAD/lib -lavro
      Cflags: -I/usr/local/Cellar/avro-c/HEAD/include
      Requires: zlib @LZMA_PKG@
      

      (The @LZMA_PKG@ part is a substitution variable that wasn't substituted.)

      Attachments

        Activity

          People

            dcreager Douglas Creager
            dcreager Douglas Creager
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: