Originally reported in https://bugzilla.redhat.com/show_bug.cgi?id=2242833:

> 
> During a recent test build of bout++ I got the following error:
> 
> ```
> ERROR   0002: file '/usr/lib64/openmpi/lib/libpvpre.so.1.0.0' contains an 
> invalid runpath '///usr/lib64/openmpi/lib' in 
> [///usr/lib64/openmpi/lib:/usr/lib64/openmpi/lib]
> ERROR   0002: file '/usr/lib64/openmpi/lib/libpvode.so.1.0.0' contains an 
> invalid runpath '///usr/lib64/openmpi/lib' in 
> [///usr/lib64/openmpi/lib:/usr/lib64/openmpi/lib]
> ```
> 
> Certainly, this is not a nice RPATH, and it should be just 
> `/usr/lib64/openmpi/lib` - however, it is not wrong. Multiple `/` should be 
> treated the same as a single `/`[1]
> 
> [1] https://unix.stackexchange.com/a/1919
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. set valid rpath `///usr/lib64/openmpi/lib`
> 2. run /usr/lib/rpm/check-rpaths on file
> 
> Actual Results:  
> Error, see above
> 
> Expected Results:  
> No error is reported, validation passes

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2777
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/2...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to