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

Invalid pkgconfig file when compiling without optional codecs

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.6.2
    • Component/s: c
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: