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