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

Invalid RPATH to sources directories

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: 1.17.6
    • Component/s: libbson, libmongoc
    • None

      ERROR 0002: file '/usr/bin/mongoc-stat' contains an invalid rpath '/dev/shm/extras/BUILD/mongo-c-driver-1.17.6/x86_64-redhat-linux-gnu/src/libmongoc' in [/dev/shm/extras/BUILD/mongo-c-driver-1.17.6/x86_64-redhat-linux-gnu/src/libmongoc:/dev/shm/extras/BUILD/mongo-c-driver-1.17.6/x86_64-redhat-linux-gnu/src/libbson]
      ERROR 0002: file '/usr/bin/mongoc-stat' contains an invalid rpath '/dev/shm/extras/BUILD/mongo-c-driver-1.17.6/x86_64-redhat-linux-gnu/src/libbson' in [/dev/shm/extras/BUILD/mongo-c-driver-1.17.6/x86_64-redhat-linux-gnu/src/libmongoc:/dev/shm/extras/BUILD/mongo-c-driver-1.17.6/x86_64-redhat-linux-gnu/src/libbson]
      erreur : Mauvais statut de sortie pour /var/tmp/rpm-tmp.D3ZF6I (%install) 

      Notice: starting with Fedora 35, invalid RPATH are blocker for build
      https://fedoraproject.org/wiki/Changes/Broken_RPATH_will_fail_rpmbuild

      Changing CMAKE_SKIP_BUILD_RPATH to ON seems a working workaround, but a better fix probably exists (RPATH mays be needed to run the test suite), but are unwanted in installed binaries

            Assignee:
            roberto.sanchez@mongodb.com Roberto Sanchez
            Reporter:
            remi Remi Collet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: