Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3022

mongo-c-driver-1.14.0: wrong version in pkg-config files

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Works as Designed
    • 1.14.0
    • None
    • libbson
    • None
    • Linux Gentoo

    Description

      PHP's pecl-mongodb fails to build with libbson 1.14.0:
      checking for pkg-config... /usr/bin/pkg-config
      checking for libbson... configure: error: system libbson must be upgraded to version >= 1.13.0

       

      It's because the pkg-config files of libbson report version 0.0.0 being installed.

       

      — mongo-c-driver-1.13.1/src/libbson/libbson-1.0-config.cmake 2019-03-18 08:13:11.245695549 +0100
      +++ mongo-c-driver-1.14.0/src/libbson/libbson-1.0-config.cmake 2019-03-18 08:35:53.204418839 +0100
      -set (BSON_MAJOR_VERSION 1)
      -set (BSON_MINOR_VERSION 13)
      -set (BSON_MICRO_VERSION 1)
      -set (BSON_VERSION 1.13.1)
      +set (BSON_MAJOR_VERSION 0)
      +set (BSON_MINOR_VERSION 0)
      +set (BSON_MICRO_VERSION 0)
      +set (BSON_VERSION 0.0.0)

       

      Also tried the master branch, same version 0.0.0.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hydrapolic hydrapolic
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: