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
- is duplicated by
-
CDRIVER-4012 Invalid RPATH to sources directories
- Closed