Skip to contentSkip to conversation

configure.ac: More descriptive NUMA error message

PATCH Superseded Petr Vorel 3 participants 3 messages Jan 21, 2021

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH 1/1 configure.ac: More descriptive NUMA error message

Some people were confused and searched for libnuma.so.2, which does not exist.

Required is libnuma.so.1, but with LIBNUMA_API_VERSION >= 2. The API version is tighten to libnuma version in git, but that has nothing to do with library soname version, which is still 1.0.0.

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
index e44e25cc6..521a2e835 100644
@@ -347,7 +347,7 @@ LTP_CHECK_SYSCALL_FCNTL
 
 if test "x$with_numa" = xyes; then
 	LTP_CHECK_SYSCALL_NUMA
-	numa_error_msg="test requires libnuma >= 2 and it's development packages"
+	numa_error_msg="test requires libnuma1 with LIBNUMA_API_VERSION >= 2 and it's development packages"
 else
 	numa_error_msg="NUMA support was disabled during build"
 fi
Signature · 1 line
2.30.0
#1 lore raw

PATCH 1/1 configure.ac: More descriptive NUMA error message

Typo: ?it?s? should be ?its?. Otherwise, ship it!

Quoted 33 lines · Petr Vorel

?Some people were confused and searched for libnuma.so.2, which does not exist.

Required is libnuma.so.1, but with LIBNUMA_API_VERSION >= 2. The API version is tighten to libnuma version in git, but that has nothing to do with library soname version, which is still 1.0.0.

---
configure.ac | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +0 -0
index e44e25cc6..521a2e835 100644
@@ -347,7 +347,7 @@ LTP_CHECK_SYSCALL_FCNTL
 

if test "x$with_numa" = xyes; then
LTP_CHECK_SYSCALL_NUMA

configure.ac +1 -1
-    numa_error_msg="test requires libnuma >= 2 and it's development packages"
+    numa_error_msg="test requires libnuma1 with LIBNUMA_API_VERSION >= 2 and it's development packages"

else
numa_error_msg="NUMA support was disabled during build"
fi

Signature · 5 lines
2.30.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp