This patch allows libc to be used with the heavily-patched kernel found on CentOS 6, which identifies itself as 2.6.32. See . Patch taken from Nixpkgs. diff --git a/sysdeps/unix/sysv/linux/configure b/sysdeps/unix/sysv/linux/configure index cace758c01..38fe7fe0b0 100644 --- a/sysdeps/unix/sysv/linux/configure +++ b/sysdeps/unix/sysv/linux/configure @@ -69,7 +69,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kernel header at least $minimum_kernel" >&5 $as_echo_n "checking for kernel header at least $minimum_kernel... " >&6; } decnum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/(\1 * 65536 + \2 * 256 + \3)/'`; -abinum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1,\2,\3/'`; +abinum=`echo "2.6.32.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1,\2,\3/'`; cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include diff --git a/sysdeps/unix/sysv/linux/configure.ac b/sysdeps/unix/sysv/linux/configure.ac index 13abda0a51..6abc12eaed 100644 --- a/sysdeps/unix/sysv/linux/configure.ac +++ b/sysdeps/unix/sysv/linux/configure.ac @@ -50,7 +50,7 @@ fi AC_MSG_CHECKING(for kernel header at least $minimum_kernel) changequote(,)dnl decnum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/(\1 * 65536 + \2 * 256 + \3)/'`; -abinum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1,\2,\3/'`; +abinum=`echo "2.6.32.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1,\2,\3/'`; changequote([,])dnl AC_TRY_COMPILE([#include #if LINUX_VERSION_CODE < $decnum diff --git a/sysdeps/unix/sysv/linux/dl-osinfo.h b/sysdeps/unix/sysv/linux/dl-osinfo.h index 823cd8224d..482caaeeec 100644 --- a/sysdeps/unix/sysv/linux/dl-osinfo.h +++ b/sysdeps/unix/sysv/linux/dl-osinfo.h @@ -39,7 +39,7 @@ GLRO(dl_osversion) = version; \ \ /* Now we can test with the required version. */ \ - if (__LINUX_KERNEL_VERSION > 0 && version < __LINUX_KERNEL_VERSION) \ + if (__LINUX_KERNEL_VERSION > 0 && version < __LINUX_KERNEL_VERSION && version != 0x020620) \ /* Not sufficent. */ \ FATAL ("FATAL: kernel too old\n"); \ } \ ='content'>
AgeCommit message (Expand)Author
2024-12-17gnu: python-rdflib: Update to 7.1.1....* gnu/packages/rdf.scm (python-rdflib): Update to 7.1.1. [arguments]: Use #:test-flags; remove custom build phases. [native-inputs]: Add python-pytest-cov. [propagated-inputs]: Add python-lxml, python-networkx, and python-orjson; remove python-html5lib. Change-Id: If1a10cb359be8e838963edf72c7d1a5ee08b396a Ricardo Wurmus
2024-12-13gnu: Add python-setuptools/python-wheel where necessary....Changes to pyproject-build-system require explicit dependency on setuptools/wheel. Change-Id: Icd7699fc1dc56e974ae7568f2ae916dbf876bea5 Lars-Dominik Braun
2024-09-30gnu: Update python-rdflib to 7.0.0....* gnu/packages/rdf.scm: Add updated recipe for python-rdflib; Keep python-rdflib-6 for compatibility. * gnu/packages/python-xyz.scm: Build python-prov with python-rdflib-6 because rdflib-7 is not supported. * gnu/packages/bioinformatics.scm: Build cwltool with python-rdflib-6 because it fails to build with rdflib-7. Change-Id: Ibc40c16ede20e69e702915488d6b2f0a7e70b868 Roel Janssen
2024-08-31gnu: lrdf: Add missing input....* gnu/packages/rdf.scm (lrdf)[inputs]: Add mit-krb5, nettle. Remove input labels. Change-Id: I167e117b82f5a4cd260b7f02c547441b4c984369 Efraim Flashner