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

Invalid RPATH to sources directories

    XMLWordPrintable

    Details

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

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: