
dpkg: dependency problems prevent configuration of libc6-dev:armhf: libc6-dev:armhf depends on linux-libc-dev; however: Package linux-libc-dev:armhf is not configured yet. ... dpkg: error processing libc6-dev:armhf (--install): dependency problems - leaving unconfigured ... Errors were encountered while processing: libc6-dev:armhf
FATAL: kernel too old Segmentation fault FATAL: kernel too old Segmentation fault dpkg: error processing libc-bin (--configure): subprocess new pre-installation script returned error exit status 139 Errors were encountered while processing: dbus dbus-x11 libc-bin E: Sub-process /usr/bin/dpkg returned an error code (1)
| The Following User Says Thank You to Malakai For This Useful Post: | ||
| The Following 2 Users Say Thank You to t-b For This Useful Post: | ||
| The Following User Says Thank You to elros34 For This Useful Post: | ||
apt-get source glibc
Description: decrease min kernel version to 2.6.28 for Fremantle compatibility --- glibc-2.19.orig/ports/sysdeps/unix/sysv/linux/tile/configure +++ glibc-2.19/ports/sysdeps/unix/sysv/linux/tile/configure @@ -1,4 +1,4 @@ # This file is generated from configure.ac by Autoconf. DO NOT EDIT! # Local configure fragment for sysdeps/unix/sysv/linux/tile. -arch_minimum_kernel=2.6.32 +arch_minimum_kernel=2.6.28 --- glibc-2.19.orig/ports/sysdeps/unix/sysv/linux/tile/configure.ac +++ glibc-2.19/ports/sysdeps/unix/sysv/linux/tile/configure.ac @@ -1,4 +1,4 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. # Local configure fragment for sysdeps/unix/sysv/linux/tile. -arch_minimum_kernel=2.6.32 +arch_minimum_kernel=2.6.28
# diff -u libc6/glibc-2.19/debian/testsuite-checking/compare.sh.orig libc6/glibc-2.19/debian/testsuite-checking/compare.sh --- libc6/glibc-2.19/debian/testsuite-checking/compare.sh.orig 2014-11-09 14:43:46.809977508 +0000 +++ libc6/glibc-2.19/debian/testsuite-checking/compare.sh @@ -41,5 +41,5 @@ rm -f $expected $results # This would be a lovely place to exit 0 if you wanted to disable hard failures -#exit 0 +exit 0 exit $rv
dpkg-source --commit
debuild -us -uc
--- debian/debhelper.in/libc.preinst.orig 2017-10-08 11:32:18.123876676 +0200
+++ debian/debhelper.in/libc.preinst 2017-10-08 11:33:07.583800072 +0200
@@ -357,11 +357,11 @@
# sanity checking for the appropriate kernel on each architecture.
kernel_ver=`uname -r`
- # The GNU libc requires a >= 2.6.32 kernel, found in squeeze/lucid/RHEL6
- if linux_compare_versions "$kernel_ver" lt 2.6.32
+ # The GNU libc requires a >= 2.6.28 kernel, found in squeeze/lucid/RHEL6
+ if linux_compare_versions "$kernel_ver" lt 2.6.28
then
echo WARNING: this version of the GNU libc requires kernel version
- echo 2.6.32 or later. Please upgrade your kernel before installing
+ echo 2.6.28 or later. Please upgrade your kernel before installing
echo glibc.
kernel26_help
--- debian/sysdeps/linux.mk.orig 2017-10-08 11:32:00.903903345 +0200
+++ debian/sysdeps/linux.mk 2017-10-08 11:32:39.073844230 +0200
@@ -1,5 +1,5 @@
# When changing this, make sure to update debian/debhelper.in/libc.preinst!
-MIN_KERNEL_SUPPORTED := 2.6.32
+MIN_KERNEL_SUPPORTED := 2.6.28