|
2016-11-23
, 19:38
|
Posts: 175 |
Thanked: 210 times |
Joined on Mar 2013
|
#3262
|
I see you have mixed glibc packages (notice the deb8u4/deb8u6 in your output!).
Where are the deb8u6 packages from? If they are from the official Debian repo then I'd be puzzled that your ED works at all.
The archive contains Debian packages. Please try to install these packages with dpkg -i !
The easiest way would be to unpack the archive to an empty directory and then run dpkg -i *.deb in that directory. It will install some packages you don't need but that's only some MB. Maybe afterwards you'll have to run apt-get -f install again.
|
2016-11-23
, 22:27
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#3263
|
I try to always use the official repos and add another repo only if really needed.
|
2016-11-24
, 18:40
|
Posts: 175 |
Thanked: 210 times |
Joined on Mar 2013
|
#3264
|
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: | ||
|
2016-11-26
, 10:15
|
Posts: 368 |
Thanked: 975 times |
Joined on Aug 2013
|
#3265
|
In Easy Debian Jessie (and only here) please avoid any packages from the Debian repo that are build from the glibc source package! [1]
[1] https://packages.debian.org/source/jessie/glibc
The Following 2 Users Say Thank You to t-b For This Useful Post: | ||
|
2016-11-29
, 20:36
|
Posts: 16 |
Thanked: 18 times |
Joined on Jan 2012
|
#3266
|
|
2016-11-29
, 20:39
|
Posts: 16 |
Thanked: 18 times |
Joined on Jan 2012
|
#3267
|
Quite a long list...
I already did an
echo "libc6 hold" | dpkg --set-selections
and
echo "libc6-dev hold" | dpkg --set-selections
in my current Easy Debian image but that doesn't seem to be enough then.
What is the best approach to put everything from this list that shouldn't be updated on-hold?
|
2017-10-08
, 09:40
|
Posts: 1 |
Thanked: 4 times |
Joined on Oct 2017
|
#3269
|
1)
As mentioned in [2] we need to patch glibc to accept Fremantle's 2.6.28 kernel. You'll need an armhf/armel system running at least kernel 2.6.32 to do all this, so doing it on the N900 itself is no longer an option.
I did all of this on my Cubieboard2, which took about 6 hours. Once you have an image running you can create new patched glibc packages on the N900 (if the watchdog doesn't kill it).
I would strongly advise against using qemu, at least if you're over 40 and want it done before you retire.
If you need newer glibc packages and can't create them on your own drop me a note and I'll build them. But it may take a week or so.
a)
On a Debian Jessie armhf (or armel) system get the glibc sources
b)Code:apt-get source glibc
change into the created folder and apply the following changes:
This is what dpkg-source recorded of my changes:
Additionally the testsuite checks have to be ignored during the package generation because some of them will fail:Code: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
c)Code:# 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
We need to tell dpkg that we changed the sources:
This will ask you to specify a name for the patch (chose whatever you like) and bring up the standard editor to provide a description for it.Code:dpkg-source --commit
d)
Now you can build the packages
Code: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
|
2017-10-09
, 12:54
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#3270
|
Anybody have patched glibc for latest Ubuntu? I would like to try kwin with xwayland on sailfish but ancient kernel stops me.
Tags |
beta, debian, easy debian, extras-devel, fremantle, i <3 qole, squeeze |
|
Where are the deb8u6 packages from? If they are from the official Debian repo then I'd be puzzled that your ED works at all.
The easiest way would be to unpack the archive to an empty directory and then run dpkg -i *.deb in that directory. It will install some packages you don't need but that's only some MB. Maybe afterwards you'll have to run apt-get -f install again.