Bug#452664: Can't upgrade libc6 in cowbuilder
Hi Pierre! You wrote: When I tried to upgrade my cowbuilder environment (i386 env on amd64), I got this error: you do that using linux32 ? (I don't think it matters much but who knows...). Could you also try to reproduce that in a simple deboostrapped chroot to see if the cowbuilder LD_PRELOAD isn;'t the culprit ? This bug is starting to look more and more like a Heisenbug. Upgrading libc6 only fails about half of the time, but other packages (tzdata for example) also fail sometimes with similar out of memory errors: etting up tzdata (2007i-2) ... cowdancer: unexpected WIFEXITED status in waitpid /var/lib/dpkg/info/tzdata.postinst: line 29: /etc/timezone: Cannot allocate memory dpkg: error processing tzdata (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: tzdata E: Sub-process /usr/bin/dpkg returned an error code (1) However, the bug goes away if I unset the libcowdancer.so LD_PRELOAD, I guess that's where the problem is in. Some more debugging shows that the errors occors in the call to debconf: + PERL_DL_NONLAZY=1 ++ export PERL_DL_NONLAZY ++ '[' '' ']' ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/libc6.postinst configure 2.7-3 cowdancer: unexpected WIFEXITED status in waitpid /var/lib/dpkg/info/libc6.postinst: line 142: /etc/ld.so.conf: Cannot allocate memory So, I guess this really is a bug in cowdancer, although I have no idea what the problem could be. Best regards, Bas. -- Kind regards, ++ | Bas Zoetekouw | GPG key: 0644fab7 | || Fingerprint: c1f5 f24c d514 3fec 8bf6 | | [EMAIL PROTECTED] | a2b1 2bae e41f 0644 fab7 | ++ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#452664: Can't upgrade libc6 in cowbuilder
Package: libc6 Version: 2.6.1-6 Severity: important When I tried to upgrade my cowbuilder environment (i386 env on amd64), I got this error: Preparing to replace libc6 2.6.1-5 (using .../libc6_2.6.1-6_i386.deb) ... Unpacking replacement libc6 ... Setting up libc6 (2.6.1-6) ... cowdancer: unexpected WIFEXITED status in waitpid /var/lib/dpkg/info/libc6.postinst: line 142: /etc/ld.so.conf: Cannot allocate memory dpkg: error processing libc6 (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: libc6 Note that I have plenty of memory free (about 1.5GB), so I guess something weird must be going on: [EMAIL PROTECTED] free -m total used free sharedbuffers cached Mem: 2010 1995 15 0681841 -/+ buffers/cache:472 1538 Swap: 4613 6 4606 -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.23.8 (SMP w/1 CPU core; PREEMPT) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libc6 depends on: ii libgcc1 1:4.2.2-3 GCC support library libc6 recommends no packages. -- debconf information excluded -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#406744: linux-kernel-headers: __always_inline not defined outside __KERNEL__
Hi Daniel! You wrote: When including asm/system.h (I need a definition of wmb()), I'm Don't do that. The sanitized kernel headers (make headers_install, in 2.6.19 and later) do not even install asm/system.h. That is a strong sign you shouldn't be using it from userspace. I expect the header will go away in a future Debian version. Hmm, ok, I wasn't aware of that. Could you please add a #warning to that effect in the header? -- Kind regards, ++ | Bas Zoetekouw | GPG key: 0644fab7 | || Fingerprint: c1f5 f24c d514 3fec 8bf6 | | [EMAIL PROTECTED], [EMAIL PROTECTED] | a2b1 2bae e41f 0644 fab7 | ++ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#406744: linux-kernel-headers: __always_inline not defined outside __KERNEL__
Package: linux-kernel-headers Version: 2.6.18-6 Severity: important When including asm/system.h (I need a definition of wmb()), I'm getting this error: | In file included from /usr/include/asm/bitops.h:8, | from /usr/include/linux/bitops.h:9, | from /usr/include/asm-i486/cpufeature.h:10, | from /usr/include/asm/cpufeature.h:8, | from /usr/include/asm-i486/system.h:6, | from /usr/include/asm/system.h:8, | from barrier.h:4, | from blktrace.c:48: | /usr/include/asm-i486/bitops.h:244: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’ line 244 of bitops.h is: | static __always_inline int constant_test_bit(int nr, const volatile unsigned long *addr) so the __always_inline doesn't seem to be defined. It's supposed to be defined in linux/compiler.h, but there it's inside an #ifdef __KERNEL__, making it unaccessible for user-space. Simply defining __always_inline to inline before including asm/system.h makes the error go away. -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18.2 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) -- no debconf information
Bug#406747: linux-kernel-headers: private symbols u16 and u32 used in asm/system.h on i386
Package: linux-kernel-headers Version: 2.6.18-6 Severity: important asm/system.h (line 306-308) uses the private symbols u8, u16 and u32: | extern unsigned long cmpxchg_386_u8(volatile void *, u8, u8); | extern unsigned long cmpxchg_386_u16(volatile void *, u16, u16); | extern unsigned long cmpxchg_386_u32(volatile void *, u32, u32); These are defined inside an #ifdef __KERNEL__ in asm/types.h, with the following comment: | * These aren't exported outside the kernel to avoid name space clashes -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18.2 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#156386: locale preconfig
I can reproduce this on both woody and sid. It seems like preconfiguring fails for locales. Whatever locales I select in the preconfig stage, they are not entered in /etc/locale.gen. Selecting locales in a dpkg-reconfigure run works fine, though. -- Kind regards, ++ | Bas Zoetekouw | GPG key: 0644fab7 | || Fingerprint: c1f5 f24c d514 3fec 8bf6 | | [EMAIL PROTECTED], [EMAIL PROTECTED] | a2b1 2bae e41f 0644 fab7 | ++