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

libsnappy has no pkg-config file

    XMLWordPrintableJSON

Details

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

    Description

      Google explicitly is not supporting pkg-config: https://github.com/google/snappy/pull/86

      But CMakeLists.txt does this:

      set(SNAPPY_PKG libsnappy)
      

      And later SNAPPY_PKG is what ends up in the pkg-config `Requires` section.

      The end result is that `pkg-config --exists` will always fail, since the Require'd package is (almost never) around, unless package managers or users went and manually added one.

      Note that this (softly) requires https://issues.apache.org/jira/browse/AVRO-2987 to be fixed first – without that fix, the whole Requires: section isn't really working in the first place.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:

                Time Tracking

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