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

Please provide a usable archive

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • 1.26.0, 1.25.3, 1.25.4
    • Affects Version/s: 1.25.0
    • Component/s: Build
    • Labels:
      None

      Until version 1.24.4 provided archive was usable.

      Since version 1.25.0 changelog states:

      The constructed source-distribution archive is no longer available as a
      release artifact. Please instead use the per-release repository archive
      attached to a GitHub release, or clone the repository at the desired release
      tag.

       

      But this one is NOT usable

      -- Computing the current release version...
      fatal: not a git repository (or any parent up to mount point /dev)
      Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
      Traceback (most recent call last):
        File "/dev/shm/extras/BUILD/mongo-c-driver-1.25.0/build/cmake/../calc_release_version.py", line 400, in <module>
          RELEASE_VER = previous(main()) if PREVIOUS else main()
                                                          ^^^^^^
        File "/dev/shm/extras/BUILD/mongo-c-driver-1.25.0/build/cmake/../calc_release_version.py", line 320, in main
          head_commit_short = check_output(['git', 'rev-parse', '--revs-only',
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/dev/shm/extras/BUILD/mongo-c-driver-1.25.0/build/cmake/../calc_release_version.py", line 136, in check_output
          raise subprocess.CalledProcessError(ret, args[0])
      subprocess.CalledProcessError: Command 'git' returned non-zero exit status 128.
      CMake Error at build/cmake/BuildVersion.cmake:43 (message):
        Computing the build version failed! [1]:Call Stack (most recent call first):
        build/cmake/BuildVersion.cmake:50 (compute_build_version)
        CMakeLists.txt:5 (include)

       

      Adding the VERSION_CURRENT is a workaround, but build fails later

       

      Configuration error:
      There is a programmable error in your configuration file:Traceback (most recent call last):
        File "/usr/lib/python3.11/site-packages/sphinx/config.py", line 343, in eval_config_file
          exec(code, namespace)
        File "/dev/shm/extras/BUILD/mongo-c-driver-1.25.0/src/libmongoc/doc/conf.py", line 13, in <module>
          from sphinx_design.dropdown import DropdownDirective
      ModuleNotFoundError: No module named 'sphinx_design'

            Assignee:
            rishabh.bisht@mongodb.com Rishabh Bisht
            Reporter:
            remi Remi Collet
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: