|
|
b4bffb |
From 27fd326938dbedc1f254caeb8cd087117e1f7cd7 Mon Sep 17 00:00:00 2001
|
|
|
b4bffb |
From: Jason Gunthorpe <jgg@mellanox.com>
|
|
|
b4bffb |
Date: Tue, 5 May 2020 20:16:14 -0300
|
|
|
b4bffb |
Subject: [PATCH 4/8] buildlib: Fix a warning from newer pythons
|
|
|
b4bffb |
|
|
|
b4bffb |
[ Upstream commit 7ba12afad433c1ee29877fc51662a203935e6c78 ]
|
|
|
b4bffb |
|
|
|
b4bffb |
The % is typod into the string in check-build
|
|
|
b4bffb |
|
|
|
b4bffb |
Fixes: 7cff8245374c ("Have travis check shared library filenames")
|
|
|
b4bffb |
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
|
|
|
b4bffb |
Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
|
|
|
b4bffb |
---
|
|
|
b4bffb |
buildlib/check-build | 2 +-
|
|
|
b4bffb |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
b4bffb |
|
|
|
b4bffb |
diff --git a/buildlib/check-build b/buildlib/check-build
|
|
|
b4bffb |
index ab8524e5b98f..4e52d0d4785a 100755
|
|
|
b4bffb |
--- a/buildlib/check-build
|
|
|
b4bffb |
+++ b/buildlib/check-build
|
|
|
b4bffb |
@@ -84,7 +84,7 @@ def get_symbol_vers(fn,exported=True):
|
|
|
b4bffb |
def check_lib_symver(args,fn):
|
|
|
b4bffb |
g = re.match(r"lib([^.]+)\.so\.(\d+)\.(\d+)\.(.*)",fn);
|
|
|
b4bffb |
if g.group(4) != args.PACKAGE_VERSION:
|
|
|
b4bffb |
- raise ValueError("Shared Library filename %r does not have the package version %r (%r)%"(
|
|
|
b4bffb |
+ raise ValueError("Shared Library filename %r does not have the package version %r (%r)"%(
|
|
|
b4bffb |
fn,args.PACKAGE_VERSION,g.groups()));
|
|
|
b4bffb |
|
|
|
b4bffb |
# umad/etc used the wrong symbol version name when they moved to soname 3.0
|
|
|
b4bffb |
--
|
|
|
b4bffb |
2.25.4
|
|
|
b4bffb |
|