Processed: tagging 556600

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

 # Automatically generated email from bts, devscripts version 2.10.35lenny7
 tags 556600 + pending
Bug #556600 [libc6] getaddrinfo() fails with system error
Added tag(s) pending.

End of message, 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#556559: eglibc: FTBFS [amd64]: Test failure in tst-mqueue5

2009-11-22 Thread Aurelien Jarno
On Tue, Nov 17, 2009 at 08:17:15AM +0100, Aurelien Jarno wrote:
 tag 556559 + unreproducible
 thanks
 
 On Mon, Nov 16, 2009 at 11:02:13AM -0800, Daniel Schepler wrote:
  Package: eglibc
  Version: 2.10.1-7
  Severity: serious
  
  From my pbuilder build log:
  
  ...
  #
  # Testsuite failures, someone should be working towards
  # fixing these! They are listed here for the purpose of
  # regression testing during builds.
  # Format: Failed test, Error Make error code [(ignored)]
  #
  annexc.out, Error 1 (ignored)
  check-localplt.out, Error 1
  tst-mqueue5.out, Error 1
  ***
  Encountered regressions that don't match expected failures:
  tst-mqueue5.out, Error 1
  make: *** [/tmp/buildd/eglibc-2.10.1/stamp-dir/check_libc] Error 1
  dpkg-buildpackage: error: debian/rules build gave error exit status 2
  
  This seems to be an intermittent error, but I've seen it several times 
  before 
  on previous builds of eglibc.
 
 How often are you seeing this problem? I have done dozens of build of
 eglibc 2.10.1 on amd64 and never seen his problem.
 
 Could you please send use the content of 
 build-tree/amd64-libc/rt/tst-mqueue5.out
 so we can have more details about the problem?
 
 Are you using an up to date sid chroot to build eglibc, do you use
 modified packages?
 
 Finally what is your kernel version? Do you have any additional patches?
 

Any news on that?

-- 
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



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

2009-11-22 Thread Aurelien Jarno
Author: aurel32
Date: 2009-11-22 22:35:40 + (Sun, 22 Nov 2009)
New Revision: 4000

Added:
   glibc-package/trunk/debian/patches/any/submitted-nis-not-configured.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * patches/any/submitted-nis-not-configured.diff: fix getaddrinfo() if
NIS is not configured.  Closes: #556600.



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2009-11-21 21:41:12 UTC (rev 
3999)
+++ glibc-package/trunk/debian/changelog2009-11-22 22:35:40 UTC (rev 
4000)
@@ -22,6 +22,8 @@
   * Replace patches/any/submitted-sched_h.2.diff by upstream version
 patches/any/cvs-sched_h.diff.
   * Use gcc/g++-4.4 on sparc.
+  * patches/any/submitted-nis-not-configured.diff: fix getaddrinfo() if
+NIS is not configured.  Closes: #556600.
 
   [ Carlos O'Donell]
   * patches/hppa/local-stack-grows-up.diff: new version.
@@ -30,7 +32,7 @@
   * kfreebsd/local-sysdeps.diff: update to revision 2859 (from glibc-bsd).
 Closes: #557248.
 
- -- Aurelien Jarno aure...@debian.org  Fri, 20 Nov 2009 01:18:11 +0100
+ -- Aurelien Jarno aure...@debian.org  Sun, 22 Nov 2009 23:34:44 +0100
 
 eglibc (2.10.1-7) unstable; urgency=low
 

Added: glibc-package/trunk/debian/patches/any/submitted-nis-not-configured.diff
===
--- glibc-package/trunk/debian/patches/any/submitted-nis-not-configured.diff
(rev 0)
+++ glibc-package/trunk/debian/patches/any/submitted-nis-not-configured.diff
2009-11-22 22:35:40 UTC (rev 4000)
@@ -0,0 +1,20 @@
+2009-11-22  Aurelien Jarno  aurel...@aurel32.net
+
+   * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname4_r): If
+   NIS is not configured, set errnop and herrnop appropriately.
+
+--- a/nis/nss_nis/nis-hosts.c
 b/nis/nss_nis/nis-hosts.c
+@@ -456,7 +456,11 @@ _nss_nis_gethostbyname4_r (const char *name, struct 
gaih_addrtuple **pat,
+ {
+   char *domain;
+   if (yp_get_default_domain (domain))
+-return NSS_STATUS_UNAVAIL;
++{
++  *herrnop = HOST_NOT_FOUND;
++  *errnop = errno;
++  return NSS_STATUS_UNAVAIL;
++}
+ 
+   /* Convert name to lowercase.  */
+   size_t namlen = strlen (name);

Modified: glibc-package/trunk/debian/patches/series
===
--- glibc-package/trunk/debian/patches/series   2009-11-21 21:41:12 UTC (rev 
3999)
+++ glibc-package/trunk/debian/patches/series   2009-11-22 22:35:40 UTC (rev 
4000)
@@ -213,3 +213,4 @@
 any/cvs-ksm.diff
 any/submitted-bits-fcntl_h-at.diff
 any/cvs-sched_h.diff
+any/submitted-nis-not-configured.diff


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



Bug#557576: Postinstallation of 'locales' fails because of missing locale-gen

2009-11-22 Thread Andy Smith
Package: locales
Version: 2.10.1-7
Severity: important

Whilst upgrading from lenny to squeeze, I cam across the following error during 
postinst of 'locales':-

Setting up locales (2.10.1-7) ...
/var/lib/dpkg/info/locales.postinst: line 64: locale-gen: command not found
dpkg: error processing locales (--configure):
 subprocess installed post-installation script returned error exit status 127

p.d.o says locale-gen should be in locales, but a 'dpkg -L locales' doesn't 
show a locale-gen.

Apologies if this has been submitted already, but I did search and couldn't 
find an existing
bug.

Cheers,

Andy.
--
Andy Smith
+44 7538 089864 | +44 1302 638000 | http://andys.org.uk/ | PGP: 0xA762A666

-- System Information:
Debian Release: 5.0.3
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
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 locales depends on:
ii  debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii  libc6 [glibc-2.10-1]  2.10.1-7   GNU C Library: Shared libraries

locales recommends no packages.

locales suggests no packages.

-- debconf information:
  locales/default_environment_locale: None
  locales/locales_to_be_generated: en_GB.UTF-8 UTF-8



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



Bug#557576:

2009-11-22 Thread Andy M Smith
Many apologies - this looks to have been due to a corrupted .deb. A
dpkg -P locales  apt-get install locales has fixed the problem.

Cheers,

Andy.

-- 
Andy Smith
+44 7538 089864 | +44 1302 638000 | http://andys.org.uk/ | PGP: 0xA762A666



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



Bug#557596: gaih_inet logic for summarizing gethostbyname4_r results broken

2009-11-22 Thread Michael Stone

Package: eglibc
Version: 2.10.1-7
Severity: important
Tags: patch

NSS plugins wishing to provide data to programs calling getaddrinfo() must
implement two procedures named: 


   _nss_foo_gethostbyname4_r() and
   _nss_foo_gethostbyname2_r().

The function gaih_inet() in libc dynamically loads and calls these procedures
and then attempts to combine the results from all available plugins.

Unfortunately, in the following scenario, the combination step is performed
incorrectly:

  1. Install your NSS plugin so that it is called after the
 libnss_dns-2.10.1.so plugin.

  2. Remove your default route. 


  3. Call getaddrinfo(NODE, SERVICE, NULL, results).
  
The problem is that the third call, internally, results in a call to 


  _nss_dns_gethostbyname4_r()

which returns NSS_STATUS_UNAVAIL with herrno = TRY_AGAIN. This combination of
return and error codes causes gaih_inet()'s logic to set 


  no_data = -3.

This variable is used to signal to the rest of the gaih_inet procedure that no
results are available.

Unfortunately, when your plugin returns NSS_STATUS_SUCCESS and sets herrno =
NETDB_SUCCESS, your plugin's results will be *ignored* because gaih_inet
exits its loop without resetting no_data.

The attached patch fixes the problem for me. The patch was tested with code
from http://wiki.laptop.org/go/Dnshash.

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

Kernel: Linux 2.6.30-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- a/sysdeps/posix/getaddrinfo.c   2009-11-22 16:21:19.0 -0500
+++ b/sysdeps/posix/getaddrinfo.c   2009-11-22 16:28:26.0 -0500
@@ -715,7 +715,10 @@ gaih_inet (const char *name, const struc
   tmpbuflen, rc, herrno,
   NULL));
  if (status == NSS_STATUS_SUCCESS)
-   break;
+   {
+ no_data = 0;
+ break;
+   }
  if (status != NSS_STATUS_TRYAGAIN
  || rc != ERANGE || herrno != NETDB_INTERNAL)
{



Processed: merge 557596 557597

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

 merge 557596 557597
Bug#557596: gaih_inet logic for summarizing gethostbyname4_r results broken
Bug#557597: gaih_inet logic for summarizing gethostbyname4_r results broken
Merged 557596 557597.

 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#557576: marked as done (Postinstallation of 'locales' fails because of missing locale-gen)

2009-11-22 Thread Debian Bug Tracking System
Your message dated Mon, 23 Nov 2009 06:41:38 +0100
with message-id 20091123054138.gg8...@volta.aurel32.net
and subject line Re: Bug#557576:
has caused the Debian Bug report #557576,
regarding Postinstallation of 'locales' fails because of missing locale-gen
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.)


-- 
557576: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557576
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
Package: locales
Version: 2.10.1-7
Severity: important

Whilst upgrading from lenny to squeeze, I cam across the following error during 
postinst of 'locales':-

Setting up locales (2.10.1-7) ...
/var/lib/dpkg/info/locales.postinst: line 64: locale-gen: command not found
dpkg: error processing locales (--configure):
 subprocess installed post-installation script returned error exit status 127

p.d.o says locale-gen should be in locales, but a 'dpkg -L locales' doesn't 
show a locale-gen.

Apologies if this has been submitted already, but I did search and couldn't 
find an existing
bug.

Cheers,

Andy.
--
Andy Smith
+44 7538 089864 | +44 1302 638000 | http://andys.org.uk/ | PGP: 0xA762A666

-- System Information:
Debian Release: 5.0.3
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
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 locales depends on:
ii  debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii  libc6 [glibc-2.10-1]  2.10.1-7   GNU C Library: Shared libraries

locales recommends no packages.

locales suggests no packages.

-- debconf information:
  locales/default_environment_locale: None
  locales/locales_to_be_generated: en_GB.UTF-8 UTF-8


---End Message---
---BeginMessage---
On Mon, Nov 23, 2009 at 01:02:21AM +, Andy M Smith wrote:
 Many apologies - this looks to have been due to a corrupted .deb. A
 dpkg -P locales  apt-get install locales has fixed the problem.
 

Ok, closing the bug.


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

---End Message---


Processed: tagging 557596

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

 # Automatically generated email from bts, devscripts version 2.10.35lenny7
 tags 557596 + pending
Bug #557596 [eglibc] gaih_inet logic for summarizing gethostbyname4_r results 
broken
Bug #557597 [eglibc] gaih_inet logic for summarizing gethostbyname4_r results 
broken
Added tag(s) pending.
Added tag(s) pending.

End of message, 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



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

2009-11-22 Thread Aurelien Jarno
Author: aurel32
Date: 2009-11-23 05:46:03 + (Mon, 23 Nov 2009)
New Revision: 4001

Added:
   glibc-package/trunk/debian/patches/any/submitted-getaddrinfo-nodata.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * patches/any/submitted-getaddrinfo-nodata.diff: new patch from Michael 
Stone to fix getaddrinfo() if a plugin returns TRY_AGAIN or NO_DATA.
Closes: #557596.



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2009-11-22 22:35:40 UTC (rev 
4000)
+++ glibc-package/trunk/debian/changelog2009-11-23 05:46:03 UTC (rev 
4001)
@@ -24,6 +24,9 @@
   * Use gcc/g++-4.4 on sparc.
   * patches/any/submitted-nis-not-configured.diff: fix getaddrinfo() if
 NIS is not configured.  Closes: #556600.
+  * patches/any/submitted-getaddrinfo-nodata.diff: new patch from Michael 
+Stone to fix getaddrinfo() if a plugin returns TRY_AGAIN or NO_DATA.
+Closes: #557596.
 
   [ Carlos O'Donell]
   * patches/hppa/local-stack-grows-up.diff: new version.
@@ -32,7 +35,7 @@
   * kfreebsd/local-sysdeps.diff: update to revision 2859 (from glibc-bsd).
 Closes: #557248.
 
- -- Aurelien Jarno aure...@debian.org  Sun, 22 Nov 2009 23:34:44 +0100
+ -- Aurelien Jarno aure...@debian.org  Mon, 23 Nov 2009 06:43:55 +0100
 
 eglibc (2.10.1-7) unstable; urgency=low
 

Added: glibc-package/trunk/debian/patches/any/submitted-getaddrinfo-nodata.diff
===
--- glibc-package/trunk/debian/patches/any/submitted-getaddrinfo-nodata.diff
(rev 0)
+++ glibc-package/trunk/debian/patches/any/submitted-getaddrinfo-nodata.diff
2009-11-23 05:46:03 UTC (rev 4001)
@@ -0,0 +1,15 @@
+--- a/sysdeps/posix/getaddrinfo.c   2009-11-22 16:21:19.0 -0500
 b/sysdeps/posix/getaddrinfo.c   2009-11-22 16:28:26.0 -0500
+@@ -715,7 +715,10 @@ gaih_inet (const char *name, const struc
+   tmpbuflen, rc, herrno,
+   NULL));
+  if (status == NSS_STATUS_SUCCESS)
+-   break;
++   {
++ no_data = 0;
++ break;
++   }
+  if (status != NSS_STATUS_TRYAGAIN
+  || rc != ERANGE || herrno != NETDB_INTERNAL)
+{
+

Modified: glibc-package/trunk/debian/patches/series
===
--- glibc-package/trunk/debian/patches/series   2009-11-22 22:35:40 UTC (rev 
4000)
+++ glibc-package/trunk/debian/patches/series   2009-11-23 05:46:03 UTC (rev 
4001)
@@ -214,3 +214,4 @@
 any/submitted-bits-fcntl_h-at.diff
 any/cvs-sched_h.diff
 any/submitted-nis-not-configured.diff
+any/submitted-getaddrinfo-nodata.diff


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



r4002 - glibc-package/trunk/debian/patches/any

2009-11-22 Thread Aurelien Jarno
Author: aurel32
Date: 2009-11-23 06:01:17 + (Mon, 23 Nov 2009)
New Revision: 4002

Modified:
   glibc-package/trunk/debian/patches/any/submitted-getaddrinfo-nodata.diff
Log:
Fix any/submitted-getaddrinfo-nodata.diff (was whitespace damaged)


Modified: 
glibc-package/trunk/debian/patches/any/submitted-getaddrinfo-nodata.diff
===
--- glibc-package/trunk/debian/patches/any/submitted-getaddrinfo-nodata.diff
2009-11-23 05:46:03 UTC (rev 4001)
+++ glibc-package/trunk/debian/patches/any/submitted-getaddrinfo-nodata.diff
2009-11-23 06:01:17 UTC (rev 4002)
@@ -1,15 +1,14 @@
 a/sysdeps/posix/getaddrinfo.c   2009-11-22 16:21:19.0 -0500
-+++ b/sysdeps/posix/getaddrinfo.c   2009-11-22 16:28:26.0 -0500
-@@ -715,7 +715,10 @@ gaih_inet (const char *name, const struc
-   tmpbuflen, rc, herrno,
-   NULL));
-  if (status == NSS_STATUS_SUCCESS)
--   break;
-+   {
-+ no_data = 0;
-+ break;
-+   }
-  if (status != NSS_STATUS_TRYAGAIN
-  || rc != ERANGE || herrno != NETDB_INTERNAL)
-{
-
+--- a/sysdeps/posix/getaddrinfo.c
 b/sysdeps/posix/getaddrinfo.c
+@@ -715,7 +715,10 @@ gaih_inet (const char *name, const struct gaih_service 
*service,
+  tmpbuflen, rc, herrno,
+  NULL));
+ if (status == NSS_STATUS_SUCCESS)
+-  break;
++  {
++no_data = 0;
++break;
++  }
+ if (status != NSS_STATUS_TRYAGAIN
+ || rc != ERANGE || herrno != NETDB_INTERNAL)
+   {


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