Bug#535153: libc6: breaks wine upon upgrade, should have Breaks: wine

2009-06-30 Thread Török Edwin
Package: libc6-i386
Version: 2.9-18
Severity: serious

I run apt-get safe-upgrade, and it upgraded libc, the lib32* packages,
  ia32-apt-get, etc.

Now wine is unusable:
$ wine
/usr/bin/wine: line 63: /usr/lib32/wine/wine.bin: No such file or directory
/usr/bin/wine: line 63: exec: /usr/lib32/wine/wine.bin: cannot execute: No such 
file or directory

Wine itself wasn't upgraded (it was version 1.1.22-1 yesterday too, and it 
worked fine).

There are still files left in /emul, some of them belonging to wine:
$ ls /emul/ia32-linux/usr/lib/wine/ -1|wc -l
385

However dpkg thinks that wine has its files in /usr/lib32 already:
$ dpkg -L wine
...
/usr/lib32/wine/clusapi.dll.so
/usr/lib32/libwine.so.1

But the files are not there:
ls: cannot access /usr/lib32/wine: No such file or directory
They are in /emul still:
$ ls -l /emul/ia32-linux/usr/lib/libwine.so.1.0
-rw-r--r-- 1 root root 1207260 2009-06-10 20:59 
/emul/ia32-linux/usr/lib/libwine.so.1.0
dpkg-query -S /emul/ia32-linux/usr/lib/libwine.so.1.0
dpkg: /emul/ia32-linux/usr/lib/libwine.so.1.0 not found.

I think libc6 should have a Breaks: for the current versions of wine (in 
unstable
and experimental), until wine is moved to /usr/lib32.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (500, 'unstable-i386'), (500, 
'transitional-i386'), (500, 'transitional'), (500, 'stable-i386'), (500, 
'stable'), (50, 'experimental'), (1, 'experimental-i386')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libc6-i386 depends on:
ii  libc6 2.9-18 GNU C Library: Shared libraries

libc6-i386 recommends no packages.

libc6-i386 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



r3585 - in glibc-package/trunk/debian: . po

2009-06-30 Thread Aurelien Jarno
Author: aurel32
Date: 2009-06-30 11:06:33 + (Tue, 30 Jun 2009)
New Revision: 3585

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/po/eu.po
Log:
  * eu.po update from Piarres Beobide.  closes: #534283.



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2009-06-29 12:50:10 UTC (rev 
3584)
+++ glibc-package/trunk/debian/changelog2009-06-30 11:06:33 UTC (rev 
3585)
@@ -6,6 +6,7 @@
 
   [ Aurelien Jarno ]
   * libc6-i386/presubj: remove.  Closes: #533768.
+  * eu.po update from Piarres Beobide.  closes: #534283.
 
   [ Clint Adams]
   * ru.po update from Yuri Kozlov.  closes: #534781.

Modified: glibc-package/trunk/debian/po/eu.po
===
--- glibc-package/trunk/debian/po/eu.po 2009-06-29 12:50:10 UTC (rev 3584)
+++ glibc-package/trunk/debian/po/eu.po 2009-06-30 11:06:33 UTC (rev 3585)
@@ -20,13 +20,13 @@
 #. Choices
 #: ../debhelper.in/locales.templates:1001
 msgid All locales
-msgstr locale guztiak
+msgstr Lokal guztiak
 
 #. Type: multiselect
 #. Description
 #: ../debhelper.in/locales.templates:1002
 msgid Locales to be generated:
-msgstr Sortu behar diren locale-ak:
+msgstr Sortu behar diren lokalak:
 
 #. Type: multiselect
 #. Description
@@ -35,9 +35,9 @@
 Locales are a framework to switch between multiple languages and allow users 
 to use their language, country, characters, collation order, etc.
 msgstr 
-Locale-ak hizkuntza anitz artean aldatzeko ingurugiroa da erabiltzaileek 
-beren hizkuntza, herrialdea, karaktere-jokoa erabiltzeko gaitasuna ematen 
-dute
+Lokalak hizkuntza anitz artean aldatzeko ingurugiroa da erabiltzaileek 
+beren hizkuntza, herrialdea, karaktere-jokoa etab. erabiltzeko gaitasuna 
ematen 
+dute.
 
 #. Type: multiselect
 #. Description
@@ -47,10 +47,10 @@
 default, particularly for new installations. Other character sets may be 
 useful for backwards compatibility with older systems and software.
 msgstr 
-Mesedez zein locale sortuko diren hautatu. Lehenespen bezala UTF-8 locale-ak 
+Mesedez zein lokala sortuko diren hautatu. Lehenespen bezala UTF-8 locale-ak 
 hautau beharko lirateke, bereiziki instalazio berri batetan. Beste karaktere 
 joko batzuek sortzea erabilgarri izan liteke sistema eta software 
-zaharragoekin bateragarritasuna mantentzeko
+zaharragoekin bateragarritasuna mantentzeko.
 
 #. Type: select
 #. Choices
@@ -62,7 +62,7 @@
 #. Description
 #: ../debhelper.in/locales.templates:2002
 msgid Default locale for the system environment:
-msgstr Sistema inguruneko locale lehenetsia:
+msgstr Sistema inguruneko lokal lehenetsia:
 
 #. Type: select
 #. Description
@@ -192,7 +192,7 @@
 #. Description
 #: ../debhelper.in/libc.templates:4001
 msgid xscreensaver and xlockmore must be restarted before upgrading
-msgstr 
+msgstr xscreensaver eta xlockmore berrabiarazi egin behar dira 
bertsio-berritu ondoren
 
 #. Type: error
 #. Description
@@ -205,3 +205,8 @@
 stopped before continuing this upgrade, to avoid locking your users out of 
 their current sessions.
 msgstr 
+Xscreensaver edo xlockmore instantzi bat edo gehiago antzeman dira sisteman. 
+LKiburutegi aldaketa bateraezina direla eta GNU libc liburutegiak ez dizu 
+programa hauetan autentifikatzen utziko. Programa hauek berrabiazi edo 
+gelditzeko antolatu beharko zinateke erabiltzaileak beren saioetatik kanpo 
+uztea sahiesteko.


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



r3586 - in glibc-package/trunk/debian: . patches patches/arm

2009-06-30 Thread Aurelien Jarno
Author: aurel32
Date: 2009-06-30 11:23:09 + (Tue, 30 Jun 2009)
New Revision: 3586

Added:
   glibc-package/trunk/debian/patches/arm/local-hwcap-updates.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/arm/local-no-hwcap.diff
   glibc-package/trunk/debian/patches/series
Log:
  * arm/local-hwcap-updates.diff, arm/local-no-hwcap.diff: update ARM 
hwcaps to support NEON and VFP.  Closes: #534126.



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2009-06-30 11:06:33 UTC (rev 
3585)
+++ glibc-package/trunk/debian/changelog2009-06-30 11:23:09 UTC (rev 
3586)
@@ -7,12 +7,14 @@
   [ Aurelien Jarno ]
   * libc6-i386/presubj: remove.  Closes: #533768.
   * eu.po update from Piarres Beobide.  closes: #534283.
+  * arm/local-hwcap-updates.diff, arm/local-no-hwcap.diff: update ARM 
+hwcaps to support NEON and VFP.  Closes: #534126.
 
   [ Clint Adams]
   * ru.po update from Yuri Kozlov.  closes: #534781.
   * cs.po update from Miroslav Kure.  closes: #534787.
 
- -- Aurelien Jarno aure...@debian.org  Mon, 22 Jun 2009 09:41:12 +0200
+ -- Aurelien Jarno aure...@debian.org  Tue, 30 Jun 2009 13:19:32 +0200
 
 eglibc (2.9-18) unstable; urgency=low
 

Added: glibc-package/trunk/debian/patches/arm/local-hwcap-updates.diff
===
--- glibc-package/trunk/debian/patches/arm/local-hwcap-updates.diff 
(rev 0)
+++ glibc-package/trunk/debian/patches/arm/local-hwcap-updates.diff 
2009-06-30 11:23:09 UTC (rev 3586)
@@ -0,0 +1,47 @@
+Add support for some recent ARM hwcaps additions.
+---
+ ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.c |4 ++--
+ ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.h |2 +-
+ ports/sysdeps/unix/sysv/linux/arm/sysdep.h  |3 +++
+ 3 files changed, 6 insertions(+), 3 deletions(-)
+
+--- a/ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.c
 b/ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.c
+@@ -47,12 +47,12 @@
+ #if !defined PROCINFO_DECL  defined SHARED
+   ._dl_arm_cap_flags
+ #else
+-PROCINFO_CLASS const char _dl_arm_cap_flags[10][10]
++PROCINFO_CLASS const char _dl_arm_cap_flags[13][10]
+ #endif
+ #ifndef PROCINFO_DECL
+ = {
+ swp, half, thumb, 26bit, fast-mult, fpa, vfp, edsp,
+-java, iwmmxt,
++java, iwmmxt, crunch, thumbee, neon,
+   }
+ #endif
+ #if !defined SHARED || defined PROCINFO_DECL
+--- a/ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.h
 b/ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.h
+@@ -24,7 +24,7 @@
+ #include ldsodefs.h
+ #include sysdep.h
+ 
+-#define _DL_HWCAP_COUNT 10
++#define _DL_HWCAP_COUNT 13
+ 
+ /* The kernel provides platform data but it is not interesting.  */
+ #define _DL_HWCAP_PLATFORM0
+--- a/ports/sysdeps/unix/sysv/linux/arm/sysdep.h
 b/ports/sysdeps/unix/sysv/linux/arm/sysdep.h
+@@ -48,6 +48,9 @@
+ #define HWCAP_ARM_EDSP128
+ #define HWCAP_ARM_JAVA256
+ #define HWCAP_ARM_IWMMXT  512
++#define HWCAP_ARM_CRUNCH  1024
++#define HWCAP_ARM_THUMBEE 2048
++#define HWCAP_ARM_NEON4096
+ 
+ #ifdef __ASSEMBLER__
+ 

Modified: glibc-package/trunk/debian/patches/arm/local-no-hwcap.diff
===
--- glibc-package/trunk/debian/patches/arm/local-no-hwcap.diff  2009-06-30 
11:06:33 UTC (rev 3585)
+++ glibc-package/trunk/debian/patches/arm/local-no-hwcap.diff  2009-06-30 
11:23:09 UTC (rev 3586)
@@ -11,7 +11,7 @@
  };
  
 -#define HWCAP_IMPORTANT   (HWCAP_ARM_HALF | HWCAP_ARM_FAST_MULT)
-+#define HWCAP_IMPORTANT   HWCAP_ARM_FAST_MULT
++#define HWCAP_IMPORTANT   (HWCAP_ARM_VFP | HWCAP_ARM_NEON)
  
  static inline int
  __attribute__ ((unused))

Modified: glibc-package/trunk/debian/patches/series
===
--- glibc-package/trunk/debian/patches/series   2009-06-30 11:06:33 UTC (rev 
3585)
+++ glibc-package/trunk/debian/patches/series   2009-06-30 11:23:09 UTC (rev 
3586)
@@ -61,6 +61,7 @@
 arm/local-ioperm.diff
 arm/local-lowlevellock.diff
 arm/local-no-hwcap.diff
+arm/local-hwcap-updates.diff
 arm/submitted-setjmp.diff
 arm/submitted-fpu_control_h.diff
 


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



r3587 - in glibc-package/trunk/debian: . control.in

2009-06-30 Thread Aurelien Jarno
Author: aurel32
Date: 2009-06-30 11:29:23 + (Tue, 30 Jun 2009)
New Revision: 3587

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/control
   glibc-package/trunk/debian/control.in/i386
Log:
  * control.in/i386: add a breaks nvidia-glx-ia32 (= 185.18.14-1).



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2009-06-30 11:23:09 UTC (rev 
3586)
+++ glibc-package/trunk/debian/changelog2009-06-30 11:29:23 UTC (rev 
3587)
@@ -9,12 +9,13 @@
   * eu.po update from Piarres Beobide.  closes: #534283.
   * arm/local-hwcap-updates.diff, arm/local-no-hwcap.diff: update ARM 
 hwcaps to support NEON and VFP.  Closes: #534126.
+  * control.in/i386: add a breaks nvidia-glx-ia32 (= 185.18.14-1).
 
   [ Clint Adams]
   * ru.po update from Yuri Kozlov.  closes: #534781.
   * cs.po update from Miroslav Kure.  closes: #534787.
 
- -- Aurelien Jarno aure...@debian.org  Tue, 30 Jun 2009 13:19:32 +0200
+ -- Aurelien Jarno aure...@debian.org  Tue, 30 Jun 2009 13:28:40 +0200
 
 eglibc (2.9-18) unstable; urgency=low
 

Modified: glibc-package/trunk/debian/control
===
--- glibc-package/trunk/debian/control  2009-06-30 11:23:09 UTC (rev 3586)
+++ glibc-package/trunk/debian/control  2009-06-30 11:29:23 UTC (rev 3587)
@@ -353,8 +353,8 @@
 Priority: optional
 Depends: libc6 (= ${binary:Version})
 Replaces: libc6-dev-i386
-Conflicts: fakeroot (= 1.12.2), gnu-efi (= 3.0e-2), fakechroot (= 2.9-1), 
fglrx-glx-ia32 (= 1:9-5-1), ia32-libs (= 2.7), ia32-libs-gtk (= 2.7), 
lib32asound2 (= 1.0.20-2), lib32asound2-dev (= 1.0.20-2), lib32bz2-1.0 (= 
1.0.5-2), lib32bz2-dev (= 1.0.5-2), lib32ffi-dev (= 3.0.7-1), lib32ffi5 (= 
3.0.7-1), lib32g2c0 (= 1:3.4.6-9), lib32gcc1 (= 1:4.4.0-6), lib32gfortran3 
(= 4.4.0-6), lib32gmp3 (= 2:4.3.1+dfsg-1), lib32gmp3-dev (= 2:4.3.1+dfsg-1), 
lib32gmpxx4 (= 2:4.3.1+dfsg-1), lib32gomp1 (= 4.4.0-6), lib32icu-dev (= 
4.0.1-2), lib32icu38, lib32icu40 (= 4.0.1-2), lib32mudflap0 (= 4.4.0-6), 
lib32ncurses5 (= 5.7+20090523-1), lib32ncurses5-dev (= 5.7+20090523-1), 
lib32ncursesw5 (= 5.7+20090523-1), lib32ncursesw5-dev (= 5.7+20090523-1), 
lib32nss-mdns (= 0.10-3), lib32objc2 (= 4.4.0-6), lib32readline5 (= 5.2-4), 
lib32readline5-dev (= 5.2-4), lib32stdc++6 (= 4.4.0-6), lib32stdc++6-4.4-dbg 
(= 4.4.0-6), lib32z1 (= 1:1.2.3.3.dfsg-13), lib32z1-dev (= 1:1.2.3
 .3.dfsg-13), libc6-dev-i386 (= 2.9-14)
-Description: GNU C Library: 32bit shared libraries for AMD64
+Breaks: fakeroot (= 1.12.2), gnu-efi (= 3.0e-2), fakechroot (= 2.9-1), 
fglrx-glx-ia32 (= 1:9-5-1), ia32-libs (= 2.7), ia32-libs-gtk (= 2.7), 
lib32asound2 (= 1.0.20-2), lib32asound2-dev (= 1.0.20-2), lib32bz2-1.0 (= 
1.0.5-2), lib32bz2-dev (= 1.0.5-2), lib32ffi-dev (= 3.0.7-1), lib32ffi5 (= 
3.0.7-1), lib32g2c0 (= 1:3.4.6-9), lib32gcc1 (= 1:4.4.0-6), lib32gfortran3 
(= 4.4.0-6), lib32gmp3 (= 2:4.3.1+dfsg-1), lib32gmp3-dev (= 2:4.3.1+dfsg-1), 
lib32gmpxx4 (= 2:4.3.1+dfsg-1), lib32gomp1 (= 4.4.0-6), lib32icu-dev (= 
4.0.1-2), lib32icu38, lib32icu40 (= 4.0.1-2), lib32mudflap0 (= 4.4.0-6), 
lib32ncurses5 (= 5.7+20090523-1), lib32ncurses5-dev (= 5.7+20090523-1), 
lib32ncursesw5 (= 5.7+20090523-1), lib32ncursesw5-dev (= 5.7+20090523-1), 
lib32nss-mdns (= 0.10-3), lib32objc2 (= 4.4.0-6), lib32readline5 (= 5.2-4), 
lib32readline5-dev (= 5.2-4), lib32stdc++6 (= 4.4.0-6), lib32stdc++6-4.4-dbg 
(= 4.4.0-6), lib32z1 (= 1:1.2.3.3.dfsg-13), lib32z1-dev (= 1:1.2.3.3.
 dfsg-13), libc6-dev-i386 (= 2.9-14), nvidia-glx-ia32 (= 185.18.14-1)
+Description: GNU C Library: 32-bit shared libraries for AMD64
  This package includes shared versions of the standard C
  library and the standard math library, as well as many others.
  This is the 32bit version of the library, meant for AMD64 systems.
@@ -363,11 +363,10 @@
 Architecture: amd64
 Section: libdevel
 Priority: optional
-Conflicts: fakeroot (= 1.12.2), gnu-efi (= 3.0e-2), fakechroot (= 2.9-1), 
fglrx-glx-ia32 (= 1:9-5-1), ia32-libs (= 2.7), ia32-libs-gtk (= 2.7), 
lib32asound2 (= 1.0.20-2), lib32asound2-dev (= 1.0.20-2), lib32bz2-1.0 (= 
1.0.5-2), lib32bz2-dev (= 1.0.5-2), lib32ffi-dev (= 3.0.7-1), lib32ffi5 (= 
3.0.7-1), lib32g2c0 (= 1:3.4.6-9), lib32gcc1 (= 1:4.4.0-6), lib32gfortran3 
(= 4.4.0-6), lib32gmp3 (= 2:4.3.1+dfsg-1), lib32gmp3-dev (= 2:4.3.1+dfsg-1), 
lib32gmpxx4 (= 2:4.3.1+dfsg-1), lib32gomp1 (= 4.4.0-6), lib32icu-dev (= 
4.0.1-2), lib32icu38, lib32icu40 (= 4.0.1-2), lib32mudflap0 (= 4.4.0-6), 
lib32ncurses5 (= 5.7+20090523-1), lib32ncurses5-dev (= 5.7+20090523-1), 
lib32ncursesw5 (= 5.7+20090523-1), lib32ncursesw5-dev (= 5.7+20090523-1), 
lib32nss-mdns (= 0.10-3), lib32objc2 (= 4.4.0-6), lib32readline5 (= 5.2-4), 
lib32readline5-dev (= 5.2-4), lib32stdc++6 (= 4.4.0-6), lib32stdc++6-4.4-dbg 
(= 4.4.0-6), lib32z1 (= 1:1.2.3.3.dfsg-13), lib32z1-dev (= 1:1.2.3
 .3.dfsg-13), libc6-i386 (= 2.9-14)
 

Bug#535153: libc6: breaks wine upon upgrade, should have Breaks: wine

2009-06-30 Thread Aurelien Jarno
reassign 535153 ia32-apt-get
thanks

On Tue, Jun 30, 2009 at 11:12:11AM +0300, Török Edwin wrote:
 Package: libc6-i386
 Version: 2.9-18
 Severity: serious
 
 I run apt-get safe-upgrade, and it upgraded libc, the lib32* packages,
   ia32-apt-get, etc.
 
 Now wine is unusable:
 $ wine
 /usr/bin/wine: line 63: /usr/lib32/wine/wine.bin: No such file or directory
 /usr/bin/wine: line 63: exec: /usr/lib32/wine/wine.bin: cannot execute: No 
 such file or directory
 
 Wine itself wasn't upgraded (it was version 1.1.22-1 yesterday too, and it 
 worked fine).
 
 There are still files left in /emul, some of them belonging to wine:
 $ ls /emul/ia32-linux/usr/lib/wine/ -1|wc -l
 385
 
 However dpkg thinks that wine has its files in /usr/lib32 already:
 $ dpkg -L wine
 ...
 /usr/lib32/wine/clusapi.dll.so
 /usr/lib32/libwine.so.1
 
 But the files are not there:
 ls: cannot access /usr/lib32/wine: No such file or directory
 They are in /emul still:
 $ ls -l /emul/ia32-linux/usr/lib/libwine.so.1.0
 -rw-r--r-- 1 root root 1207260 2009-06-10 20:59 
 /emul/ia32-linux/usr/lib/libwine.so.1.0
 dpkg-query -S /emul/ia32-linux/usr/lib/libwine.so.1.0
 dpkg: /emul/ia32-linux/usr/lib/libwine.so.1.0 not found.
 
 I think libc6 should have a Breaks: for the current versions of wine (in 
 unstable
 and experimental), until wine is moved to /usr/lib32.
 

The wine package is debian does not install anything in /emul/ia32-linux
not in /usr/lib32. The file you are seeing here are installed by
ia32-apt-get. I am therefore reassigning the bug.

-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net



-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Processed: Re: Bug#535153: libc6: breaks wine upon upgrade, should have Breaks: wine

2009-06-30 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 reassign 535153 ia32-apt-get
Bug#535153: libc6: breaks wine upon upgrade, should have Breaks: wine
Bug reassigned from package `libc6-i386' to `ia32-apt-get'.

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#526734: marked as done (libc: poll not working on ipv4 socket)

2009-06-30 Thread Debian Bug Tracking System

Your message dated Tue, 30 Jun 2009 14:25:43 +0200
with message-id 20090630122543.gb19...@hall.aurel32.net
and subject line Closing unanswered bug reports
has caused the Debian Bug report #526734,
regarding libc: poll not working on ipv4 socket
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
526734: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526734
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
Package: libc6
Version: 2.9-9
Severity: normal
File: libc

The following code:

if (poll(monitor,1,READ_TIMEOUT)==0) {
r=0;
} else {
r = read(fd,buf-buffer,buf-size);
}

Works as expected (giving up the read after the timeout if there is no data) if
fd is an ipv6 socket, but does a blocking read if fd is an ipv4 socked.

If required, i can provide the full source code.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-1-686 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libc6 depends on:
ii  libgcc1   1:4.4.0-1  GCC support library

libc6 recommends no packages.

Versions of packages libc6 suggests:
ii  belocs-locales-data [locales] 2.4-6  base files for localization
pn  glibc-doc none (no description available)
ii  libc6-i6862.9-9  GNU C Library: Shared libraries [i

-- debconf information:
* glibc/upgrade: true
  glibc/disable-screensaver:
  glibc/restart-failed:
* glibc/restart-services: rsync cups cron


---End Message---
---BeginMessage---
No answer from submitters, closing.

-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net

---End Message---


Bug#524664: marked as done (libc6-amd64: post-removal script returned error)

2009-06-30 Thread Debian Bug Tracking System

Your message dated Tue, 30 Jun 2009 14:25:43 +0200
with message-id 20090630122543.gb19...@hall.aurel32.net
and subject line Closing unanswered bug reports
has caused the Debian Bug report #524664,
regarding libc6-amd64: post-removal script returned error
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
524664: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524664
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
Package: libc6-amd64
Version: 2.9-7
Severity: normal

Hi,

I am getting this error while installing this package in an i386 chroot running 
under a amd64 system.

Cheers

--
The following extra packages will be installed:
 libc6-amd64
The following packages will be upgraded:
 libc6-amd64
1 upgraded, 0 newly installed, 0 to remove and 37 not upgraded.
3 not fully installed or removed.
Need to get 4165kB of archives.
After this operation, 0B of additional disk space will be used.
Get:1 http://ftp.uk.debian.org unstable/main libc6-amd64 2.9-7 [4165kB]
Fetched 4165kB in 0s (4875kB/s)
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 36698 files and directories currently installed.)
Preparing to replace libc6-amd64 2.9-6 (using .../libc6-amd64_2.9-7_i386.deb) 
...
Unpacking replacement libc6-amd64 ...
dpkg (subprocess): unable to execute old post-removal script: Accessing a 
corrupted shared library
dpkg: warning - old post-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
dpkg (subprocess): unable to execute new post-removal script: Accessing a 
corrupted shared library
dpkg: error processing /var/cache/apt/archives/libc6-amd64_2.9-7_i386.deb 
(--unpack):
 subprocess new post-removal script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/libc6-amd64_2.9-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: armel (armv5tel)

Kernel: Linux 2.6.26-1-iop32x
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash


---End Message---
---BeginMessage---
No answer from submitters, closing.

-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net

---End Message---


r3588 - in glibc-package/trunk/debian: . patches patches/any

2009-06-30 Thread Aurelien Jarno
Author: aurel32
Date: 2009-06-30 12:24:12 + (Tue, 30 Jun 2009)
New Revision: 3588

Removed:
   glibc-package/trunk/debian/patches/any/submitted-broken-dns.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/any/cvs-broken-dns.diff
   glibc-package/trunk/debian/patches/series
Log:
  * Merge any/submitted-broken-dns.diff into any/cvs-broken-dns.diff and
update from upstream.



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2009-06-30 11:29:23 UTC (rev 
3587)
+++ glibc-package/trunk/debian/changelog2009-06-30 12:24:12 UTC (rev 
3588)
@@ -10,12 +10,14 @@
   * arm/local-hwcap-updates.diff, arm/local-no-hwcap.diff: update ARM 
 hwcaps to support NEON and VFP.  Closes: #534126.
   * control.in/i386: add a breaks nvidia-glx-ia32 (= 185.18.14-1).
+  * Merge any/submitted-broken-dns.diff into any/cvs-broken-dns.diff and
+update from upstream.
 
   [ Clint Adams]
   * ru.po update from Yuri Kozlov.  closes: #534781.
   * cs.po update from Miroslav Kure.  closes: #534787.
 
- -- Aurelien Jarno aure...@debian.org  Tue, 30 Jun 2009 13:28:40 +0200
+ -- Aurelien Jarno aure...@debian.org  Tue, 30 Jun 2009 14:12:32 +0200
 
 eglibc (2.9-18) unstable; urgency=low
 

Modified: glibc-package/trunk/debian/patches/any/cvs-broken-dns.diff
===
--- glibc-package/trunk/debian/patches/any/cvs-broken-dns.diff  2009-06-30 
11:29:23 UTC (rev 3587)
+++ glibc-package/trunk/debian/patches/any/cvs-broken-dns.diff  2009-06-30 
12:24:12 UTC (rev 3588)
@@ -1,3 +1,14 @@
+2009-06-26  Ulrich Drepper  drep...@redhat.com
+
+   * resolv/resolv.h: Define RES_SNGLKUPREOP.
+   * resolv/res_init.c (res_setoptions): Recognize single-request-reopen
+   option.
+   * resolv/res_send.c (reopen): New function.  Broken out of...
+   (send_dg): ... here.  Recognize RES_SNGLKUPREOP.  Implement second
+   fallback mechanism.  If single-request fails switch to
+   single-request-reopen mode which opens a new socket for the second
+   request.
+
 2009-06-11  Ulrich Drepper  drep...@redhat.com
 
* resolv/res_send.c (send_dg): Remember we switched to
@@ -3,4 +14,10 @@
single-request mode.
 
+2009-05-05  Aurelien Jarno  aurel...@aurel32.net
+
+   [BZ #10128]
+   * resolv/res_query.c (__libc_res_nquery): If one query returns NOTIMP
+   or FORMERR and the other NOERROR, don't raise an error.
+
 2009-04-16  Ulrich Drepper  drep...@redhat.com
 
@@ -29,20 +46,68 @@
 gethostbyname4_r, we don't have a separate IPv6 status, so copy
 the no_data variable.
 
-diff --git a/resolv/res_send.c b/resolv/res_send.c
-index f75a26e..25a854f 100644
+---
+ resolv/res_init.c   |6 ++
+ resolv/res_query.c  |7 +++
+ resolv/res_send.c   |   90 
++--
+ resolv/resolv.h |3 +
+ sysdeps/posix/getaddrinfo.c |4 +
+ 5 files changed, 91 insertions(+), 19 deletions(-)
+
 --- a/resolv/res_send.c
 +++ b/resolv/res_send.c
-@@ -915,7 +915,7 @@
-   struct pollfd pfd[1];
- int ptimeout;
-   struct sockaddr_in6 from;
+@@ -900,24 +900,11 @@
+ }
+ 
+ static int
+-send_dg(res_state statp,
+-  const u_char *buf, int buflen, const u_char *buf2, int buflen2,
+-  u_char **ansp, int *anssizp,
+-  int *terrno, int ns, int *v_circuit, int *gotsomewhere, u_char **anscp,
+-  u_char **ansp2, int *anssizp2, int *resplen2)
++reopen (res_state statp, int *terrno, int ns)
+ {
+-  const HEADER *hp = (HEADER *) buf;
+-  const HEADER *hp2 = (HEADER *) buf2;
+-  u_char *ans = *ansp;
+-  int orig_anssizp = *anssizp;
+-  struct sockaddr_in6 *nsap = EXT(statp).nsaddrs[ns];
+-  struct timespec now, timeout, finish;
+-  struct pollfd pfd[1];
+-int ptimeout;
+-  struct sockaddr_in6 from;
 -  int resplen, seconds, n;
-+  int resplen, n;
- 
+-
if (EXT(statp).nssocks[ns] == -1) {
++  struct sockaddr_in6 *nsap = EXT(statp).nsaddrs[ns];
++
/* only try IPv6 if IPv6 NS and if not failed before */
-@@ -967,11 +967,14 @@
+   if ((EXT(statp).nscount6  0)  !statp-ipv6_unavail) {
+   EXT(statp).nssocks[ns] =
+@@ -964,14 +951,44 @@
+  (stdout, ;; new DG socket\n))
+   }
+ 
++  return 1;
++}
++
++static int
++send_dg(res_state statp,
++  const u_char *buf, int buflen, const u_char *buf2, int buflen2,
++  u_char **ansp, int *anssizp,
++  int *terrno, int ns, int *v_circuit, int *gotsomewhere, u_char **anscp,
++  u_char **ansp2, int *anssizp2, int *resplen2)
++{
++  const HEADER *hp = (HEADER *) buf;
++  const HEADER *hp2 = (HEADER *) buf2;
++  u_char *ans = *ansp;
++  int orig_anssizp = *anssizp;
++  struct timespec now, timeout, 

Re: Bug#535153: libc6: breaks wine upon upgrade, should have Breaks: wine

2009-06-30 Thread Goswin von Brederlow
clone 535153 -1
reassign 535153 libc6-i386
reassign -1 wine
retitle -1 wine must Pre-Depends: libc6-i386 (= 2.9-18)
thanks

This has nothing to do with ia32-apt-get but purely with the
libc6-i386 lib32 transition.

libwine_1.0.1-1_amd64.deb had its files in /usr/lib/wine
libwine_1.1.22-1_amd64.deb has its files in /usr/lib32/wine

Updating wine before libc6-i386 will put files in
/emul/ia32-linux/usr/lib/wine and then libc6-i386 removes the
/usr/lib32 link and breaks wine (as has happened to the reportee).

libc6-i386 therefore breaks an already installed wine.



On the other hand libwine makes older libc6-i386 unupgradeable by
shipping /usr/lib32/ which is a link in older libc6-i386. Further like
all the other transitioning packages wine must make sure the
libc6-i386 preinst is executed before wine is unpacked so files in
/usr/lib32/wine actualy are placed in /usr/lib32/wine and not
/emul/ia32-linux/usr/lib/wine and subsequently lost when libc6-i386
preinst runs.

Wine (any deb that contains /usr/lib32) therefore must Pre-Depends:
libc6-i386 (= 2.9-18).

MfG
Goswin


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Processed: Re: Bug#535153: libc6: breaks wine upon upgrade, should have Breaks: wine

2009-06-30 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 clone 535153 -1
Bug#535153: libc6: breaks wine upon upgrade, should have Breaks: wine
Bug 535153 cloned as bug 535204.

 reassign 535153 libc6-i386
Bug#535153: libc6: breaks wine upon upgrade, should have Breaks: wine
Bug reassigned from package `ia32-apt-get' to `libc6-i386'.

 reassign -1 wine
Bug#535204: libc6: breaks wine upon upgrade, should have Breaks: wine
Bug reassigned from package `ia32-apt-get' to `wine'.

 retitle -1 wine must Pre-Depends: libc6-i386 (= 2.9-18)
Bug#535204: libc6: breaks wine upon upgrade, should have Breaks: wine
Changed Bug title to `wine must Pre-Depends: libc6-i386 (= 2.9-18)' from 
`libc6: breaks wine upon upgrade, should have Breaks: wine'.

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#535106: libc6-i386: getaddrinfo() fails

2009-06-30 Thread Pieter-Tjerk de Boer
On Tue, Jun 30, 2009 at 12:58:58PM +0200, Aurelien Jarno wrote:
 On Mon, Jun 29, 2009 at 08:42:48PM +0200, Pieter-Tjerk de Boer wrote:
  Package: libc6-i386
  Version: 2.7-18
  Severity: normal
  
  The function getaddrinfo() in the i386 compatibility library returns
  -2 (i.e. EAI_NONAME) for any query, while getaddrinfo() in the amd64
  library does find the host and returns 0.
  
 
 What is the contents of your /etc/nsswitch.conf file? It most probably
 contains an entry available on amd64, but not in i386.

Thanks!
Indeed, /etc/nsswitch.conf contained this entry:

hosts:  files mdns4_minimal [NOTFOUND=return] dns mdns4

and there is no such thing as a /lib32/libnss_mdns4_minimal on my
system.
Removing the [NOTFOUND=return] part resolves the problem, though
I don't understand why: based on libc.info, I would expect that in
the absence of a libnss_mdns4_minimal, 'unavail' would be returned,
not 'notfound'.

Anyway, the problem is now gone for me, but it would be nice if it
could be fixed in the distribution. My current system is a fresh
install done a few weeks ago, and I did not edit this file by hand,
so apparently it was set up like this by some package, though I don't
know which, nor why...

Regards, Pieter-Tjerk




-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org