[Bug libc/5507] gai() sorting is broken

2008-02-12 Thread aurelien at aurel32 dot net

--- Additional Comments From aurelien at aurel32 dot net  2008-02-13 00:49 
---
This bug is actually fixed in CVS.

-- 
   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=5507

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



r2813 - glibc-package/trunk/debian

2008-02-12 Thread aurel32
Author: aurel32
Date: 2008-02-12 23:00:21 + (Tue, 12 Feb 2008)
New Revision: 2813

Modified:
   glibc-package/trunk/debian/changelog
Log:
New changelog entry


Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2008-02-12 22:59:41 UTC (rev 
2812)
+++ glibc-package/trunk/debian/changelog2008-02-12 23:00:21 UTC (rev 
2813)
@@ -1,3 +1,9 @@
+glibc (2.7-8) unstable; urgency=low
+
+  * 
+
+ -- Aurelien Jarno [EMAIL PROTECTED]  Wed, 13 Feb 2008 00:00:22 +0100
+
 glibc (2.7-7) unstable; urgency=low
 
   [ Arthur Loiret ]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#462112: marked as done (libc6 mips needs LL SC WAR for R10k rev 3.0 )

2008-02-12 Thread Debian Bug Tracking System

Your message dated Tue, 12 Feb 2008 23:02:05 +
with message-id [EMAIL PROTECTED]
and subject line Bug#462112: fixed in glibc 2.7-7
has caused the Debian Bug report #462112,
regarding libc6 mips needs LL SC WAR for R10k  rev 3.0 
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 [EMAIL PROTECTED]
immediately.)


-- 
462112: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=462112
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
---BeginMessage---

Package: libc6
Version: 2.7-6
Tags: patch

Hi,

the R1 needs an LL/SC Workaround. If not applied all R10k before
rev 3.0 misbehave on atomic ops and rev 2.6 and lower (e.g. SGI IP28)
die after very few seconds with a deadlock due to even more erratas.
To quote the CPU Erratas workaround:

Workaround: The basic idea is to inhibit the four instructions
from simultaneously becoming active in R1. Padding all
ll/sc sequences with nops or changing the looping branch in the
routines to a branch likely (which is always predicted taken
by R1) will work. The nops should go after the loop, and the
number of them should be 28. This number could be decremented for
each additional instruction in the ll/sc loop such as the lock
modifier(s) between the ll and sc, the looping branch and its
delay slot. For typical short routines with one ll/sc loop, any
instructions after the loop could also count as a decrement. The
nop workaround pollutes the cache more but would be a few cycles
faster if all the code is in the cache and the looping branch
is predicted not taken.

The kernels way in e.g. arch/mips/kernel/scall32-o32.S

204 #ifdef CONFIG_CPU_HAS_LLSC
205 /* Ok, this is the ll/sc case.  World is sane :-)  */
206 1:  ll  v0, (a1)
207 movea0, a2
208 2:  sc  a0, (a1)
209 #if R1_LLSC_WAR
210 beqzl   a0, 1b
211 #else
212 beqza0, 1b
213 #endif

This is the patch i successfully build a working libc6 for my SGI IP28 with:

diff -Nur glibc-2.7.orig/ports/sysdeps/mips/bits/atomic.h 
glibc-2.7/ports/sysdeps/mips/bits/atomic.h
--- ports/sysdeps/mips/bits/atomic.h.orig   2005-03-28 09:14:59.0 
+
+++ ports/sysdeps/mips/bits/atomic.h2008-01-18 11:17:14.0 +
@@ -74,7 +74,7 @@
  bne  %0,%2,2f\n\t \
  move %1,%3\n\t\
  sc   %1,%4\n\t\
- beqz %1,1b\n  \
+ beqzl%1,1b\n  \
  acq   \n\t\
  .set pop\n\
  2:\n\t\
@@ -98,7 +98,7 @@
  bne  %0,%2,2f\n\t \
  move %1,%3\n\t\
  scd  %1,%4\n\t\
- beqz %1,1b\n  \
+ beqzl%1,1b\n  \
  acq   \n\t\
  .set pop\n\
  2:\n\t\
@@ -192,7 +192,7 @@
  ll   %0,%3\n\t\
  move %1,%2\n\t\
  sc   %1,%3\n\t\
- beqz %1,1b\n  \
+ beqzl%1,1b\n  \
  acq   \n\t\
  .set pop\n\
  2:\n\t\
@@ -216,7 +216,7 @@
  lld  %0,%3\n\t\
  move %1,%2\n\t\
  scd  %1,%3\n\t\
- beqz %1,1b\n 

Bug#456260: marked as done (libc6.1: ldconfig segfault under LANG=ja_JP.eucJP)

2008-02-12 Thread Debian Bug Tracking System

Your message dated Tue, 12 Feb 2008 23:02:05 +
with message-id [EMAIL PROTECTED]
and subject line Bug#456260: fixed in glibc 2.7-7
has caused the Debian Bug report #456260,
regarding libc6.1: ldconfig segfault under LANG=ja_JP.eucJP
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 [EMAIL PROTECTED]
immediately.)


-- 
456260: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=456260
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
---BeginMessage---
Package: libc6.1
Version: 2.7-3
Severity: important

Hi,

after upgrading libc6.1 from 2.6.3 to 2.7, ldconfig
caused segfault so many library packages caused errors
at configure.

Here is a log (contains some Japanese characters):

# LANG=C apt-get install libc6.1
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following extra packages will be installed:
  libc6.1-dev locales
Suggested packages:
  glibc-doc
The following packages will be upgraded:
  libc6.1 libc6.1-dev locales
3 upgraded, 0 newly installed, 0 to remove and 34 not upgraded.
Need to get 12.7MB of archives.
After unpacking 893kB of additional disk space will be used.
Do you want to continue [Y/n]? 
Get:1 http://cdn.debian.or.jp lenny/main libc6.1-dev 2.7-3 [3020kB]
Get:2 http://cdn.debian.or.jp lenny/main locales 2.7-3 [4485kB]
Get:3 http://cdn.debian.or.jp lenny/main libc6.1 2.7-3 [5172kB]
Fetched 12.7MB in 5s (2282kB/s)   
Preconfiguring packages ...
(Reading database ... 64692 files and directories currently installed.)
Preparing to replace libc6.1-dev 2.6.1-6 (using 
.../libc6.1-dev_2.7-3_alpha.deb) ...
Unpacking replacement libc6.1-dev ...
Preparing to replace locales 2.6.1-6 (using .../archives/locales_2.7-3_all.deb) 
...
Unpacking replacement locales ...
Preparing to replace libc6.1 2.6.1-6 (using .../libc6.1_2.7-3_alpha.deb) ...
Unpacking replacement libc6.1 ...
Setting up libc6.1 (2.7-3) ...
Installing new version of config file /etc/gai.conf ...
Installing new version of config file /etc/init.d/glibc.sh ...
Setting up libc6.1-dev (2.7-3) ...
Setting up locales (2.7-3) ...
Installing new version of config file /etc/locale.alias ...
Generating locales (this might take a while)...
  en_US.ISO-8859-1... done
  en_US.UTF-8... done
  ja_JP.EUC-JP... done
  ja_JP.UTF-8... done
Generation complete.

# LANG=C aptitude
(Reading database ... 64720 files and directories currently installed.)
Preparing to replace libncurses5-dev 5.6+20071013-1 (using 
.../libncurses5-dev_5.6+20071124-1_alpha.deb) ...
Unpacking replacement libncurses5-dev ...
Preparing to replace libncurses5 5.6+20071013-1 (using 
.../libncurses5_5.6+20071124-1_alpha.deb) ...
Unpacking replacement libncurses5 ...
Setting up libncurses5 (5.6+20071124-1) ...
Setting up libncurses5-dev (5.6+20071124-1) ...
Press return to continue.

(under LANG=ja_JP.eucJP)
# aptitude
(�若�帥若�鴻��茯㏍�粋昭�с障�� ... �憜�� 64720 
�勉<�ゃ�˨���c�㋘�壔ŝゃ�潟�鴻若�˨���⓾障�)
libltdl3 1.5.24-1 ��� (.../libltdl3_1.5.24-2_alpha.deb ���) 
臀勖勖�⓾障�� ...
libltdl3 ���絮��臀勖���⓾障��...
libltdl3 (1.5.24-2) ���荐㊤���⓾障�� ...
/var/lib/dpkg/info/libltdl3.postinst: line 6: 24428 
��祉�違�<�潟若�激�с�渇���с��  ldconfig
dpkg: libltdl3 ��勐�☎��筝㏍�˨í�若榊���障� (--configure):
 ��泣���㏍�祉�� post-installation script ��壔í�主��篋���鴻若�帥�� 139 
���菴��障�
篁ヤ勉���宴�若�吾�勐�☎��筝㏍�˨í�若榊���障�:
 libltdl3
E: Sub-process /usr/bin/dpkg returned an error code (1)
宴�若�吾ゃ�潟�鴻若�˨�с障���с緇ð�с��荅⓾�帥�⓾障��:
libltdl3 (1.5.24-2) ���荐㊤���⓾障�� ...
/var/lib/dpkg/info/libltdl3.postinst: line 6: 24442 
��祉�違�<�潟若�激�с�渇���с��  ldconfig
dpkg: libltdl3 ��勐�☎��筝㏍�˨í�若榊���障� (--configure):
 ��泣���㏍�祉�� post-installation script ��壔í�主��篋���鴻若�帥�� 139 
���菴��障�
篁ヤ勉���宴�若�吾�勐�☎��筝㏍�˨í�若榊���障�:
 libltdl3
膓�˨�� Return �若⓾��

Thanks for your maintenance.
Regards,2007-12-14(Fri)

 **
 Atsuhito Kohda
 Dep. Math., Univ. of Tokushima
 kohda AT pm.tokushima-u.ac.jp)


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: alpha

Kernel: Linux 2.6.22-3-alpha-generic
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP)
Shell: /bin/sh linked to /bin/bash

Versions of packages libc6.1 depends on:
ii  libgcc1   1:4.2.2-4  GCC support library

libc6.1 recommends no packages.

-- debconf information:
  

Bug#464022: marked as done (nscd: Incorrect init.d script dependencies)

2008-02-12 Thread Debian Bug Tracking System

Your message dated Tue, 12 Feb 2008 23:02:05 +
with message-id [EMAIL PROTECTED]
and subject line Bug#464022: fixed in glibc 2.7-7
has caused the Debian Bug report #464022,
regarding nscd: Incorrect init.d script dependencies
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 [EMAIL PROTECTED]
immediately.)


-- 
464022: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464022
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
---BeginMessage---

Package:  nscd
Version:  2.7-6
Severity: important
Tags: patch
User: [EMAIL PROTECTED]
Usertags: incorrect-dependency

When testing dependency based boot sequencing, I discovered what I
believe is a bug in the init.d/nscd script.  It need a mounted /usr/,
but do not depend on $remote_fs which is the dependency required for
scripts needing /usr/.

I am working on a system to update the boot sequence based on these
dependencies, and would like see this as the default in Lenny.
Because of this, it is nice if the dependencies was updated quickly.

URL:http://refspecs.freestandards.org/LSB_2.1.0/LSB-generic/LSB-generic/initscrcomconv.html
documents the LSB header format.  Some debian notes are available from
URL:http://wiki.debian.org/LSBInitScripts.

This patch should solve the issue.  Without it, nscd is started too
early and stopped to late when dependency based boot sequencing is
enabled.

--- /etc/init.d/nscd2008-01-12 21:21:53.0 +0100
+++ /tmp/nscd   2008-02-04 20:22:22.0 +0100
@@ -1,8 +1,8 @@
 #!/bin/sh
 ### BEGIN INIT INFO
 # Provides:  nscd
-# Required-Start:$local_fs
-# Required-Stop: $local_fs
+# Required-Start:$remote_fs
+# Required-Stop: $remote_fs
 # Default-Start: 2 3 4 5
 # Default-Stop:  0 1 6
 # Short-Description: Starts the Name Service Cache Daemon

Happy hacking,
-- 
Petter Reinholdtsen


---End Message---
---BeginMessage---
Source: glibc
Source-Version: 2.7-7

We believe that the bug you reported is fixed in the latest version of
glibc, which is due to be installed in the Debian FTP archive:

glibc-doc_2.7-7_all.deb
  to pool/main/g/glibc/glibc-doc_2.7-7_all.deb
glibc_2.7-7.diff.gz
  to pool/main/g/glibc/glibc_2.7-7.diff.gz
glibc_2.7-7.dsc
  to pool/main/g/glibc/glibc_2.7-7.dsc
libc6-dbg_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dbg_2.7-7_amd64.deb
libc6-dev-i386_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dev-i386_2.7-7_amd64.deb
libc6-dev_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dev_2.7-7_amd64.deb
libc6-i386_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-i386_2.7-7_amd64.deb
libc6-pic_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-pic_2.7-7_amd64.deb
libc6-prof_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-prof_2.7-7_amd64.deb
libc6-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libc6-udeb_2.7-7_amd64.udeb
libc6_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6_2.7-7_amd64.deb
libnss-dns-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libnss-dns-udeb_2.7-7_amd64.udeb
libnss-files-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libnss-files-udeb_2.7-7_amd64.udeb
locales-all_2.7-7_amd64.deb
  to pool/main/g/glibc/locales-all_2.7-7_amd64.deb
locales_2.7-7_all.deb
  to pool/main/g/glibc/locales_2.7-7_all.deb
nscd_2.7-7_amd64.deb
  to pool/main/g/glibc/nscd_2.7-7_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno [EMAIL PROTECTED] (supplier of updated glibc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Format: 1.7
Date: Tue, 12 Feb 2008 22:29:56 +0100
Source: glibc
Binary: glibc-doc locales locales-all nscd libc6 libc6-dev libc6-dbg libc6-prof 
libc6-pic libc6-udeb libc6.1 libc6.1-dev libc6.1-dbg libc6.1-prof libc6.1-pic 
libc6.1-udeb libc0.3 libc0.3-dev libc0.3-dbg libc0.3-prof libc0.3-pic 
libc0.3-udeb libc0.1 libc0.1-dev libc0.1-dbg libc0.1-prof libc0.1-pic 
libc0.1-udeb libc6-i386 libc6-dev-i386 libc6-sparc64 libc6-dev-sparc64 
libc6-s390x libc6-dev-s390x libc6-amd64 libc6-dev-amd64 libc6-powerpc 
libc6-dev-powerpc libc6-ppc64 libc6-dev-ppc64 libc6-mipsn32 libc6-dev-mipsn32 
libc6-mips64 libc6-dev-mips64 libc0.1-i386 libc0.1-dev-i386 libc6-sparcv9b 
libc6-i686 libc6-xen libc0.1-i686 libc6.1-alphaev67 libnss-dns-udeb 
libnss-files-udeb
Architecture: source all 

Bug#463342: marked as done (libc6-dev: epoll.h doesn't include recent EPOLLRDHUP event type.)

2008-02-12 Thread Debian Bug Tracking System

Your message dated Tue, 12 Feb 2008 23:02:05 +
with message-id [EMAIL PROTECTED]
and subject line Bug#463342: fixed in glibc 2.7-7
has caused the Debian Bug report #463342,
regarding libc6-dev: epoll.h doesn't include recent EPOLLRDHUP event type.
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 [EMAIL PROTECTED]
immediately.)


-- 
463342: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=463342
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
---BeginMessage---
Package: libc6-dev
Version: 2.7-6
Severity: normal

As per epoll documentation, epoll_ctl(2) manpage, the recent event type 
EPOLLRDHUP is available from Linux 2.6.17 onwards, but epoll.h doesn't
include this definition.

Please update epoll.h file.

Glad to ask further questions.

Thanks,

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-rtoi-rc5 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libc6-dev depends on:
ii  libc6 2.7-6  GNU C Library: Shared libraries
ii  linux-libc-dev2.6.24-1   Linux Kernel Headers for developme

Versions of packages libc6-dev recommends:
ii  gcc [c-compiler]  4:4.2.2-2  The GNU C compiler
ii  gcc-4.1 [c-compiler]  4.1.2-19   The GNU C compiler
ii  gcc-4.2 [c-compiler]  4.2.2-7The GNU C compiler

-- no debconf information


---End Message---
---BeginMessage---
Source: glibc
Source-Version: 2.7-7

We believe that the bug you reported is fixed in the latest version of
glibc, which is due to be installed in the Debian FTP archive:

glibc-doc_2.7-7_all.deb
  to pool/main/g/glibc/glibc-doc_2.7-7_all.deb
glibc_2.7-7.diff.gz
  to pool/main/g/glibc/glibc_2.7-7.diff.gz
glibc_2.7-7.dsc
  to pool/main/g/glibc/glibc_2.7-7.dsc
libc6-dbg_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dbg_2.7-7_amd64.deb
libc6-dev-i386_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dev-i386_2.7-7_amd64.deb
libc6-dev_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dev_2.7-7_amd64.deb
libc6-i386_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-i386_2.7-7_amd64.deb
libc6-pic_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-pic_2.7-7_amd64.deb
libc6-prof_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-prof_2.7-7_amd64.deb
libc6-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libc6-udeb_2.7-7_amd64.udeb
libc6_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6_2.7-7_amd64.deb
libnss-dns-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libnss-dns-udeb_2.7-7_amd64.udeb
libnss-files-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libnss-files-udeb_2.7-7_amd64.udeb
locales-all_2.7-7_amd64.deb
  to pool/main/g/glibc/locales-all_2.7-7_amd64.deb
locales_2.7-7_all.deb
  to pool/main/g/glibc/locales_2.7-7_all.deb
nscd_2.7-7_amd64.deb
  to pool/main/g/glibc/nscd_2.7-7_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno [EMAIL PROTECTED] (supplier of updated glibc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Format: 1.7
Date: Tue, 12 Feb 2008 22:29:56 +0100
Source: glibc
Binary: glibc-doc locales locales-all nscd libc6 libc6-dev libc6-dbg libc6-prof 
libc6-pic libc6-udeb libc6.1 libc6.1-dev libc6.1-dbg libc6.1-prof libc6.1-pic 
libc6.1-udeb libc0.3 libc0.3-dev libc0.3-dbg libc0.3-prof libc0.3-pic 
libc0.3-udeb libc0.1 libc0.1-dev libc0.1-dbg libc0.1-prof libc0.1-pic 
libc0.1-udeb libc6-i386 libc6-dev-i386 libc6-sparc64 libc6-dev-sparc64 
libc6-s390x libc6-dev-s390x libc6-amd64 libc6-dev-amd64 libc6-powerpc 
libc6-dev-powerpc libc6-ppc64 libc6-dev-ppc64 libc6-mipsn32 libc6-dev-mipsn32 
libc6-mips64 libc6-dev-mips64 libc0.1-i386 libc0.1-dev-i386 libc6-sparcv9b 
libc6-i686 libc6-xen libc0.1-i686 libc6.1-alphaev67 libnss-dns-udeb 
libnss-files-udeb
Architecture: source all amd64
Version: 2.7-7
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers debian-glibc@lists.debian.org
Changed-By: Aurelien Jarno [EMAIL PROTECTED]
Description: 
 glibc-doc  - GNU C Library: Documentation
 libc6  - GNU C Library: Shared libraries
 libc6-dbg  

Bug#464594: marked as done (glibc: ieee754.h uses BIG_ENDIAN instead of __BIG_ENDIAN causing doubles to be mixed up on arm)

2008-02-12 Thread Debian Bug Tracking System

Your message dated Tue, 12 Feb 2008 23:02:05 +
with message-id [EMAIL PROTECTED]
and subject line Bug#464594: fixed in glibc 2.7-7
has caused the Debian Bug report #464594,
regarding glibc: ieee754.h uses BIG_ENDIAN instead of __BIG_ENDIAN causing 
doubles to be mixed up on arm
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 [EMAIL PROTECTED]
immediately.)


-- 
464594: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464594
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
---BeginMessage---
Package: libc6
Version: 2.7-6
Severity: normal
File: glibc


On arm, compiling the following code with gcc-4.2 
gives different results depending on whether the
flag -ansi is passed:

#include float.h
#include ieee754.h
#include stdio.h
#include stdint.h
#include stdlib.h

int main(void) {
 union ieee754_double val;
 uint64_t bits;
 
 val.d = DBL_MAX;
 
 bits = ((uint64_t) val.ieee.negative)  63
   | ((uint64_t) val.ieee.exponent)  52
   | ((uint64_t) val.ieee.mantissa0)  32
   | ((uint64_t) val.ieee.mantissa1);

 printf(%llx\n, bits);

 exit(EXIT_SUCCESS);
}

the good:

$ gcc-4.2 test-double.c
$ ./a.out
0x7fef

the bad:

$ gcc-4.2 -ansi test-double.c
$ ./a.out
0x7fef

i.e. the words are flipped around.

In a conversation on #debian-arm, pbrooks noted that
the tests in file ieee754.h whether to flip the 
mantissa bits (which is necessary on arm) depends
on BIG_ENDIAN, instead of __BIG_ENDIAN.

Defining BIG_ENDIAN as __BIG_ENDIAN makes the code
print out the expected result.

This seems to be an upstream issue, too. A fix could 
be to patch sysdeps/ieee754/ieee754.h to use __BIG_ENDIAN
everywhere.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: arm (armv5tejl)

Kernel: Linux 2.6.18-4-versatile
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=locale: Cannot set 
LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

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

libc6 recommends no packages.

-- debconf information excluded


---End Message---
---BeginMessage---
Source: glibc
Source-Version: 2.7-7

We believe that the bug you reported is fixed in the latest version of
glibc, which is due to be installed in the Debian FTP archive:

glibc-doc_2.7-7_all.deb
  to pool/main/g/glibc/glibc-doc_2.7-7_all.deb
glibc_2.7-7.diff.gz
  to pool/main/g/glibc/glibc_2.7-7.diff.gz
glibc_2.7-7.dsc
  to pool/main/g/glibc/glibc_2.7-7.dsc
libc6-dbg_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dbg_2.7-7_amd64.deb
libc6-dev-i386_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dev-i386_2.7-7_amd64.deb
libc6-dev_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dev_2.7-7_amd64.deb
libc6-i386_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-i386_2.7-7_amd64.deb
libc6-pic_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-pic_2.7-7_amd64.deb
libc6-prof_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-prof_2.7-7_amd64.deb
libc6-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libc6-udeb_2.7-7_amd64.udeb
libc6_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6_2.7-7_amd64.deb
libnss-dns-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libnss-dns-udeb_2.7-7_amd64.udeb
libnss-files-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libnss-files-udeb_2.7-7_amd64.udeb
locales-all_2.7-7_amd64.deb
  to pool/main/g/glibc/locales-all_2.7-7_amd64.deb
locales_2.7-7_all.deb
  to pool/main/g/glibc/locales_2.7-7_all.deb
nscd_2.7-7_amd64.deb
  to pool/main/g/glibc/nscd_2.7-7_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno [EMAIL PROTECTED] (supplier of updated glibc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Format: 1.7
Date: Tue, 12 Feb 2008 22:29:56 +0100
Source: glibc
Binary: glibc-doc locales locales-all nscd libc6 libc6-dev libc6-dbg libc6-prof 
libc6-pic libc6-udeb libc6.1 libc6.1-dev libc6.1-dbg libc6.1-prof libc6.1-pic 
libc6.1-udeb libc0.3 libc0.3-dev libc0.3-dbg libc0.3-prof libc0.3-pic 
libc0.3-udeb 

Bug#438179: marked as done (Please provide a way to override RFC3484)

2008-02-12 Thread Debian Bug Tracking System

Your message dated Tue, 12 Feb 2008 23:02:05 +
with message-id [EMAIL PROTECTED]
and subject line Bug#438179: fixed in glibc 2.7-7
has caused the Debian Bug report #438179,
regarding Please provide a way to override RFC3484
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 [EMAIL PROTECTED]
immediately.)


-- 
438179: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=438179
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
---BeginMessage---
Package: glibc
Version: 2.6.1-1
Severity: important


Hi,

It seems that getaddrinfo() seems to sort the results, which defeats the
point of having multiple A-records in the first place.

If I look up 0.pool.ntp.org I (now) get:
0.pool.ntp.org has address 193.39.78.2
0.pool.ntp.org has address 195.34.187.132
0.pool.ntp.org has address 202.73.37.27
0.pool.ntp.org has address 212.24.114.156
0.pool.ntp.org has address 217.116.227.3
0.pool.ntp.org has address 62.75.136.76
0.pool.ntp.org has address 62.245.224.171
0.pool.ntp.org has address 64.5.1.129
0.pool.ntp.org has address 66.180.136.186
0.pool.ntp.org has address 80.86.83.133
0.pool.ntp.org has address 81.169.172.219
0.pool.ntp.org has address 85.25.252.58
0.pool.ntp.org has address 88.198.8.101
0.pool.ntp.org has address 91.121.13.62

But getaddrinfo() will always return ip's in this order:
62.75.136.76
62.245.224.171
64.5.1.129
[...]

There seems to be some variation in the list, but the first 4 or 5 are
always the same.  I only care about the first one.

It should keep the order of the A-records the same as they were returned
by the dns server.


Kurt


---End Message---
---BeginMessage---
Source: glibc
Source-Version: 2.7-7

We believe that the bug you reported is fixed in the latest version of
glibc, which is due to be installed in the Debian FTP archive:

glibc-doc_2.7-7_all.deb
  to pool/main/g/glibc/glibc-doc_2.7-7_all.deb
glibc_2.7-7.diff.gz
  to pool/main/g/glibc/glibc_2.7-7.diff.gz
glibc_2.7-7.dsc
  to pool/main/g/glibc/glibc_2.7-7.dsc
libc6-dbg_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dbg_2.7-7_amd64.deb
libc6-dev-i386_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dev-i386_2.7-7_amd64.deb
libc6-dev_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dev_2.7-7_amd64.deb
libc6-i386_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-i386_2.7-7_amd64.deb
libc6-pic_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-pic_2.7-7_amd64.deb
libc6-prof_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-prof_2.7-7_amd64.deb
libc6-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libc6-udeb_2.7-7_amd64.udeb
libc6_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6_2.7-7_amd64.deb
libnss-dns-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libnss-dns-udeb_2.7-7_amd64.udeb
libnss-files-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libnss-files-udeb_2.7-7_amd64.udeb
locales-all_2.7-7_amd64.deb
  to pool/main/g/glibc/locales-all_2.7-7_amd64.deb
locales_2.7-7_all.deb
  to pool/main/g/glibc/locales_2.7-7_all.deb
nscd_2.7-7_amd64.deb
  to pool/main/g/glibc/nscd_2.7-7_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno [EMAIL PROTECTED] (supplier of updated glibc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Format: 1.7
Date: Tue, 12 Feb 2008 22:29:56 +0100
Source: glibc
Binary: glibc-doc locales locales-all nscd libc6 libc6-dev libc6-dbg libc6-prof 
libc6-pic libc6-udeb libc6.1 libc6.1-dev libc6.1-dbg libc6.1-prof libc6.1-pic 
libc6.1-udeb libc0.3 libc0.3-dev libc0.3-dbg libc0.3-prof libc0.3-pic 
libc0.3-udeb libc0.1 libc0.1-dev libc0.1-dbg libc0.1-prof libc0.1-pic 
libc0.1-udeb libc6-i386 libc6-dev-i386 libc6-sparc64 libc6-dev-sparc64 
libc6-s390x libc6-dev-s390x libc6-amd64 libc6-dev-amd64 libc6-powerpc 
libc6-dev-powerpc libc6-ppc64 libc6-dev-ppc64 libc6-mipsn32 libc6-dev-mipsn32 
libc6-mips64 libc6-dev-mips64 libc0.1-i386 libc0.1-dev-i386 libc6-sparcv9b 
libc6-i686 libc6-xen libc0.1-i686 libc6.1-alphaev67 libnss-dns-udeb 
libnss-files-udeb
Architecture: source all amd64
Version: 2.7-7
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers debian-glibc@lists.debian.org
Changed-By: Aurelien Jarno [EMAIL PROTECTED]
Description: 
 glibc-doc  - GNU C Library: Documentation
 libc6  - GNU C Library: Shared libraries
 

Bug#464924: marked as done (glibc: errors during build: object 'libfakeroot-sysv.so' [...] cannot be preloaded)

2008-02-12 Thread Debian Bug Tracking System

Your message dated Tue, 12 Feb 2008 23:02:05 +
with message-id [EMAIL PROTECTED]
and subject line Bug#464924: fixed in glibc 2.7-7
has caused the Debian Bug report #464924,
regarding glibc: errors during build: object 'libfakeroot-sysv.so' [...] cannot 
be preloaded
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 [EMAIL PROTECTED]
immediately.)


-- 
464924: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464924
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
---BeginMessage---
Package: glibc
Version: 2.7-6
Severity: normal

While building glibc with pbuilder, I noticed the following errors:
make[3]: Entering directory 
`/tmp/buildd/glibc-2.7/build-tree/glibc-2.7/localedata'
..././scripts/mkinstalldirs /tmp/buildd/glibc-2.7/debian/tmp-libc/usr/lib/locale
mkdir /tmp/buildd/glibc-2.7/debian/tmp-libc/usr/lib/locale
aa_DJ.UTF-8...ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot 
be preloaded: ignored.
 done
aa_DJ.ISO-8859-1...ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD 
cannot be preloaded: ignored.
 done
aa_ER.UTF-8...ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot 
be preloaded: ignored.
 done
[repeats for loads of locales]

Should glibc build depend on fakeroot, or is this completely harmless
and should it just be ignored?

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

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


---End Message---
---BeginMessage---
Source: glibc
Source-Version: 2.7-7

We believe that the bug you reported is fixed in the latest version of
glibc, which is due to be installed in the Debian FTP archive:

glibc-doc_2.7-7_all.deb
  to pool/main/g/glibc/glibc-doc_2.7-7_all.deb
glibc_2.7-7.diff.gz
  to pool/main/g/glibc/glibc_2.7-7.diff.gz
glibc_2.7-7.dsc
  to pool/main/g/glibc/glibc_2.7-7.dsc
libc6-dbg_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dbg_2.7-7_amd64.deb
libc6-dev-i386_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dev-i386_2.7-7_amd64.deb
libc6-dev_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dev_2.7-7_amd64.deb
libc6-i386_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-i386_2.7-7_amd64.deb
libc6-pic_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-pic_2.7-7_amd64.deb
libc6-prof_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-prof_2.7-7_amd64.deb
libc6-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libc6-udeb_2.7-7_amd64.udeb
libc6_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6_2.7-7_amd64.deb
libnss-dns-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libnss-dns-udeb_2.7-7_amd64.udeb
libnss-files-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libnss-files-udeb_2.7-7_amd64.udeb
locales-all_2.7-7_amd64.deb
  to pool/main/g/glibc/locales-all_2.7-7_amd64.deb
locales_2.7-7_all.deb
  to pool/main/g/glibc/locales_2.7-7_all.deb
nscd_2.7-7_amd64.deb
  to pool/main/g/glibc/nscd_2.7-7_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno [EMAIL PROTECTED] (supplier of updated glibc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Format: 1.7
Date: Tue, 12 Feb 2008 22:29:56 +0100
Source: glibc
Binary: glibc-doc locales locales-all nscd libc6 libc6-dev libc6-dbg libc6-prof 
libc6-pic libc6-udeb libc6.1 libc6.1-dev libc6.1-dbg libc6.1-prof libc6.1-pic 
libc6.1-udeb libc0.3 libc0.3-dev libc0.3-dbg libc0.3-prof libc0.3-pic 
libc0.3-udeb libc0.1 libc0.1-dev libc0.1-dbg libc0.1-prof libc0.1-pic 
libc0.1-udeb libc6-i386 libc6-dev-i386 libc6-sparc64 libc6-dev-sparc64 
libc6-s390x libc6-dev-s390x libc6-amd64 libc6-dev-amd64 libc6-powerpc 
libc6-dev-powerpc libc6-ppc64 libc6-dev-ppc64 libc6-mipsn32 libc6-dev-mipsn32 
libc6-mips64 libc6-dev-mips64 libc0.1-i386 libc0.1-dev-i386 libc6-sparcv9b 
libc6-i686 libc6-xen libc0.1-i686 libc6.1-alphaev67 libnss-dns-udeb 
libnss-files-udeb
Architecture: source all amd64
Version: 2.7-7
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers debian-glibc@lists.debian.org
Changed-By: Aurelien Jarno [EMAIL PROTECTED]
Description: 
 glibc-doc  - GNU C Library: Documentation
 libc6  - GNU C Library: Shared 

Bug#464395: marked as done (libc6: ld.so manpage out of date (LD_BIND_NOT))

2008-02-12 Thread Debian Bug Tracking System

Your message dated Tue, 12 Feb 2008 23:02:05 +
with message-id [EMAIL PROTECTED]
and subject line Bug#464395: fixed in glibc 2.7-7
has caused the Debian Bug report #464395,
regarding libc6: ld.so manpage out of date (LD_BIND_NOT)
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 [EMAIL PROTECTED]
immediately.)


-- 
464395: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464395
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
---BeginMessage---
Package: libc6
Version: 2.7-6

The manpage is missing some LD options like LD_BIND_NOT (sic).
http://homepages.cwi.nl/~aeb/linux/man2html/man8/ld.so.8.html


---End Message---
---BeginMessage---
Source: glibc
Source-Version: 2.7-7

We believe that the bug you reported is fixed in the latest version of
glibc, which is due to be installed in the Debian FTP archive:

glibc-doc_2.7-7_all.deb
  to pool/main/g/glibc/glibc-doc_2.7-7_all.deb
glibc_2.7-7.diff.gz
  to pool/main/g/glibc/glibc_2.7-7.diff.gz
glibc_2.7-7.dsc
  to pool/main/g/glibc/glibc_2.7-7.dsc
libc6-dbg_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dbg_2.7-7_amd64.deb
libc6-dev-i386_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dev-i386_2.7-7_amd64.deb
libc6-dev_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dev_2.7-7_amd64.deb
libc6-i386_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-i386_2.7-7_amd64.deb
libc6-pic_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-pic_2.7-7_amd64.deb
libc6-prof_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-prof_2.7-7_amd64.deb
libc6-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libc6-udeb_2.7-7_amd64.udeb
libc6_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6_2.7-7_amd64.deb
libnss-dns-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libnss-dns-udeb_2.7-7_amd64.udeb
libnss-files-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libnss-files-udeb_2.7-7_amd64.udeb
locales-all_2.7-7_amd64.deb
  to pool/main/g/glibc/locales-all_2.7-7_amd64.deb
locales_2.7-7_all.deb
  to pool/main/g/glibc/locales_2.7-7_all.deb
nscd_2.7-7_amd64.deb
  to pool/main/g/glibc/nscd_2.7-7_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno [EMAIL PROTECTED] (supplier of updated glibc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Format: 1.7
Date: Tue, 12 Feb 2008 22:29:56 +0100
Source: glibc
Binary: glibc-doc locales locales-all nscd libc6 libc6-dev libc6-dbg libc6-prof 
libc6-pic libc6-udeb libc6.1 libc6.1-dev libc6.1-dbg libc6.1-prof libc6.1-pic 
libc6.1-udeb libc0.3 libc0.3-dev libc0.3-dbg libc0.3-prof libc0.3-pic 
libc0.3-udeb libc0.1 libc0.1-dev libc0.1-dbg libc0.1-prof libc0.1-pic 
libc0.1-udeb libc6-i386 libc6-dev-i386 libc6-sparc64 libc6-dev-sparc64 
libc6-s390x libc6-dev-s390x libc6-amd64 libc6-dev-amd64 libc6-powerpc 
libc6-dev-powerpc libc6-ppc64 libc6-dev-ppc64 libc6-mipsn32 libc6-dev-mipsn32 
libc6-mips64 libc6-dev-mips64 libc0.1-i386 libc0.1-dev-i386 libc6-sparcv9b 
libc6-i686 libc6-xen libc0.1-i686 libc6.1-alphaev67 libnss-dns-udeb 
libnss-files-udeb
Architecture: source all amd64
Version: 2.7-7
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers debian-glibc@lists.debian.org
Changed-By: Aurelien Jarno [EMAIL PROTECTED]
Description: 
 glibc-doc  - GNU C Library: Documentation
 libc6  - GNU C Library: Shared libraries
 libc6-dbg  - GNU C Library: Libraries with debugging symbols
 libc6-dev  - GNU C Library: Development Libraries and Header Files
 libc6-dev-i386 - GNU C Library: 32bit development libraries for AMD64
 libc6-i386 - GNU C Library: 32bit shared libraries for AMD64
 libc6-pic  - GNU C Library: PIC archive library
 libc6-prof - GNU C Library: Profiling Libraries
 libc6-udeb - GNU C Library: Shared libraries - udeb (udeb)
 libnss-dns-udeb - GNU C Library: NSS helper for DNS - udeb (udeb)
 libnss-files-udeb - GNU C Library: NSS helper for files - udeb (udeb)
 locales- GNU C Library: National Language (locale) data [support]
 locales-all - GNU C Library: Precompiled locale data
 nscd   - GNU C Library: Name Service Cache Daemon
Closes: 438179 453480 456260 456779 462112 463342 464022 464395 464594 464924
Changes: 
 glibc (2.7-7) unstable; urgency=low
 .
   [ Arthur Loiret ]
   * patches/sh4/cvs-nptl-private-futexes.diff: new patch from CVS to fix

Bug#456779: marked as done (glibc: getaddrinfo() sorting broken)

2008-02-12 Thread Debian Bug Tracking System

Your message dated Tue, 12 Feb 2008 23:02:05 +
with message-id [EMAIL PROTECTED]
and subject line Bug#456779: fixed in glibc 2.7-7
has caused the Debian Bug report #456779,
regarding glibc: getaddrinfo() sorting broken
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 [EMAIL PROTECTED]
immediately.)


-- 
456779: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=456779
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
---BeginMessage---
Package: glibc
Version: 2.7-3
Severity: important

$ getent ahosts ftp.fi.debian.org.
130.230.54.99   DGRAM  ftp.fi.debian.org
130.230.54.99   RAW
2001:708:310:54::99 STREAM 
2001:708:310:54::99 DGRAM  
2001:708:310:54::99 RAW
130.230.54.99   STREAM 

The 3 INET6 addresses should come first, followed by the INET ones.

Cheers,
Julien

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

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


---End Message---
---BeginMessage---
Source: glibc
Source-Version: 2.7-7

We believe that the bug you reported is fixed in the latest version of
glibc, which is due to be installed in the Debian FTP archive:

glibc-doc_2.7-7_all.deb
  to pool/main/g/glibc/glibc-doc_2.7-7_all.deb
glibc_2.7-7.diff.gz
  to pool/main/g/glibc/glibc_2.7-7.diff.gz
glibc_2.7-7.dsc
  to pool/main/g/glibc/glibc_2.7-7.dsc
libc6-dbg_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dbg_2.7-7_amd64.deb
libc6-dev-i386_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dev-i386_2.7-7_amd64.deb
libc6-dev_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dev_2.7-7_amd64.deb
libc6-i386_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-i386_2.7-7_amd64.deb
libc6-pic_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-pic_2.7-7_amd64.deb
libc6-prof_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-prof_2.7-7_amd64.deb
libc6-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libc6-udeb_2.7-7_amd64.udeb
libc6_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6_2.7-7_amd64.deb
libnss-dns-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libnss-dns-udeb_2.7-7_amd64.udeb
libnss-files-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libnss-files-udeb_2.7-7_amd64.udeb
locales-all_2.7-7_amd64.deb
  to pool/main/g/glibc/locales-all_2.7-7_amd64.deb
locales_2.7-7_all.deb
  to pool/main/g/glibc/locales_2.7-7_all.deb
nscd_2.7-7_amd64.deb
  to pool/main/g/glibc/nscd_2.7-7_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno [EMAIL PROTECTED] (supplier of updated glibc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Format: 1.7
Date: Tue, 12 Feb 2008 22:29:56 +0100
Source: glibc
Binary: glibc-doc locales locales-all nscd libc6 libc6-dev libc6-dbg libc6-prof 
libc6-pic libc6-udeb libc6.1 libc6.1-dev libc6.1-dbg libc6.1-prof libc6.1-pic 
libc6.1-udeb libc0.3 libc0.3-dev libc0.3-dbg libc0.3-prof libc0.3-pic 
libc0.3-udeb libc0.1 libc0.1-dev libc0.1-dbg libc0.1-prof libc0.1-pic 
libc0.1-udeb libc6-i386 libc6-dev-i386 libc6-sparc64 libc6-dev-sparc64 
libc6-s390x libc6-dev-s390x libc6-amd64 libc6-dev-amd64 libc6-powerpc 
libc6-dev-powerpc libc6-ppc64 libc6-dev-ppc64 libc6-mipsn32 libc6-dev-mipsn32 
libc6-mips64 libc6-dev-mips64 libc0.1-i386 libc0.1-dev-i386 libc6-sparcv9b 
libc6-i686 libc6-xen libc0.1-i686 libc6.1-alphaev67 libnss-dns-udeb 
libnss-files-udeb
Architecture: source all amd64
Version: 2.7-7
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers debian-glibc@lists.debian.org
Changed-By: Aurelien Jarno [EMAIL PROTECTED]
Description: 
 glibc-doc  - GNU C Library: Documentation
 libc6  - GNU C Library: Shared libraries
 libc6-dbg  - GNU C Library: Libraries with debugging symbols
 libc6-dev  - GNU C Library: Development Libraries and Header Files
 libc6-dev-i386 - GNU C Library: 32bit development libraries for AMD64
 libc6-i386 - GNU C Library: 32bit shared libraries for AMD64
 libc6-pic  - GNU C Library: PIC archive library
 libc6-prof - GNU C Library: Profiling Libraries
 libc6-udeb - GNU C Library: Shared libraries - udeb (udeb)
 libnss-dns-udeb - GNU C Library: NSS helper for DNS - 

Bug#453480: marked as done (postinst - Segmentation fault)

2008-02-12 Thread Debian Bug Tracking System

Your message dated Tue, 12 Feb 2008 23:02:05 +
with message-id [EMAIL PROTECTED]
and subject line Bug#453480: fixed in glibc 2.7-7
has caused the Debian Bug report #453480,
regarding postinst - Segmentation fault
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 [EMAIL PROTECTED]
immediately.)


-- 
453480: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453480
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
---BeginMessage---
Package: libc6
Version: 2.7-2
Severity: important

I had libc 2.6.1-2 when I'm trying to upgrade to 2.7-2. I have segfaut:
Setting up libc6 (2.7-2) ...
dpkg: error processing libc6 (--configure):
 subprocess post-installation script killed by signal (Segmentation fault)



# dpkg -l libc6
iF  libc6 2.7-2

# uname -a
Linux galeon 2.6.22-3-686 #1 SMP Mon Oct 22 22:11:56 UTC 2007 i686 GNU/Linux


---End Message---
---BeginMessage---
Source: glibc
Source-Version: 2.7-7

We believe that the bug you reported is fixed in the latest version of
glibc, which is due to be installed in the Debian FTP archive:

glibc-doc_2.7-7_all.deb
  to pool/main/g/glibc/glibc-doc_2.7-7_all.deb
glibc_2.7-7.diff.gz
  to pool/main/g/glibc/glibc_2.7-7.diff.gz
glibc_2.7-7.dsc
  to pool/main/g/glibc/glibc_2.7-7.dsc
libc6-dbg_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dbg_2.7-7_amd64.deb
libc6-dev-i386_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dev-i386_2.7-7_amd64.deb
libc6-dev_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dev_2.7-7_amd64.deb
libc6-i386_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-i386_2.7-7_amd64.deb
libc6-pic_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-pic_2.7-7_amd64.deb
libc6-prof_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-prof_2.7-7_amd64.deb
libc6-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libc6-udeb_2.7-7_amd64.udeb
libc6_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6_2.7-7_amd64.deb
libnss-dns-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libnss-dns-udeb_2.7-7_amd64.udeb
libnss-files-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libnss-files-udeb_2.7-7_amd64.udeb
locales-all_2.7-7_amd64.deb
  to pool/main/g/glibc/locales-all_2.7-7_amd64.deb
locales_2.7-7_all.deb
  to pool/main/g/glibc/locales_2.7-7_all.deb
nscd_2.7-7_amd64.deb
  to pool/main/g/glibc/nscd_2.7-7_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno [EMAIL PROTECTED] (supplier of updated glibc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Format: 1.7
Date: Tue, 12 Feb 2008 22:29:56 +0100
Source: glibc
Binary: glibc-doc locales locales-all nscd libc6 libc6-dev libc6-dbg libc6-prof 
libc6-pic libc6-udeb libc6.1 libc6.1-dev libc6.1-dbg libc6.1-prof libc6.1-pic 
libc6.1-udeb libc0.3 libc0.3-dev libc0.3-dbg libc0.3-prof libc0.3-pic 
libc0.3-udeb libc0.1 libc0.1-dev libc0.1-dbg libc0.1-prof libc0.1-pic 
libc0.1-udeb libc6-i386 libc6-dev-i386 libc6-sparc64 libc6-dev-sparc64 
libc6-s390x libc6-dev-s390x libc6-amd64 libc6-dev-amd64 libc6-powerpc 
libc6-dev-powerpc libc6-ppc64 libc6-dev-ppc64 libc6-mipsn32 libc6-dev-mipsn32 
libc6-mips64 libc6-dev-mips64 libc0.1-i386 libc0.1-dev-i386 libc6-sparcv9b 
libc6-i686 libc6-xen libc0.1-i686 libc6.1-alphaev67 libnss-dns-udeb 
libnss-files-udeb
Architecture: source all amd64
Version: 2.7-7
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers debian-glibc@lists.debian.org
Changed-By: Aurelien Jarno [EMAIL PROTECTED]
Description: 
 glibc-doc  - GNU C Library: Documentation
 libc6  - GNU C Library: Shared libraries
 libc6-dbg  - GNU C Library: Libraries with debugging symbols
 libc6-dev  - GNU C Library: Development Libraries and Header Files
 libc6-dev-i386 - GNU C Library: 32bit development libraries for AMD64
 libc6-i386 - GNU C Library: 32bit shared libraries for AMD64
 libc6-pic  - GNU C Library: PIC archive library
 libc6-prof - GNU C Library: Profiling Libraries
 libc6-udeb - GNU C Library: Shared libraries - udeb (udeb)
 libnss-dns-udeb - GNU C Library: NSS helper for DNS - udeb (udeb)
 libnss-files-udeb - GNU C Library: NSS helper for files - udeb (udeb)
 locales- GNU C Library: National Language (locale) data [support]
 locales-all - GNU C Library: Precompiled locale data
 nscd   - GNU C Library: Name Service Cache Daemon

glibc_2.7-7_amd64.changes ACCEPTED

2008-02-12 Thread Debian Installer

Accepted:
glibc-doc_2.7-7_all.deb
  to pool/main/g/glibc/glibc-doc_2.7-7_all.deb
glibc_2.7-7.diff.gz
  to pool/main/g/glibc/glibc_2.7-7.diff.gz
glibc_2.7-7.dsc
  to pool/main/g/glibc/glibc_2.7-7.dsc
libc6-dbg_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dbg_2.7-7_amd64.deb
libc6-dev-i386_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dev-i386_2.7-7_amd64.deb
libc6-dev_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-dev_2.7-7_amd64.deb
libc6-i386_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-i386_2.7-7_amd64.deb
libc6-pic_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-pic_2.7-7_amd64.deb
libc6-prof_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6-prof_2.7-7_amd64.deb
libc6-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libc6-udeb_2.7-7_amd64.udeb
libc6_2.7-7_amd64.deb
  to pool/main/g/glibc/libc6_2.7-7_amd64.deb
libnss-dns-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libnss-dns-udeb_2.7-7_amd64.udeb
libnss-files-udeb_2.7-7_amd64.udeb
  to pool/main/g/glibc/libnss-files-udeb_2.7-7_amd64.udeb
locales-all_2.7-7_amd64.deb
  to pool/main/g/glibc/locales-all_2.7-7_amd64.deb
locales_2.7-7_all.deb
  to pool/main/g/glibc/locales_2.7-7_all.deb
nscd_2.7-7_amd64.deb
  to pool/main/g/glibc/nscd_2.7-7_amd64.deb


Override entries for your package:
glibc-doc_2.7-7_all.deb - optional doc
glibc_2.7-7.dsc - source libs
libc6-dbg_2.7-7_amd64.deb - extra libdevel
libc6-dev-i386_2.7-7_amd64.deb - optional libdevel
libc6-dev_2.7-7_amd64.deb - optional libdevel
libc6-i386_2.7-7_amd64.deb - standard libs
libc6-pic_2.7-7_amd64.deb - optional libdevel
libc6-prof_2.7-7_amd64.deb - extra libdevel
libc6-udeb_2.7-7_amd64.udeb - extra debian-installer
libc6_2.7-7_amd64.deb - required libs
libnss-dns-udeb_2.7-7_amd64.udeb - extra debian-installer
libnss-files-udeb_2.7-7_amd64.udeb - extra debian-installer
locales-all_2.7-7_amd64.deb - extra libs
locales_2.7-7_all.deb - standard libs
nscd_2.7-7_amd64.deb - optional admin

Announcing to [EMAIL PROTECTED]
Closing bugs: 438179 453480 456260 456779 462112 463342 464022 464395 464594 
464924 


Thank you for your contribution to Debian.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



glibc override disparity

2008-02-12 Thread Debian Installer
There are disparities between your recently accepted upload and the
override file for the following file(s):

libc6-i386_2.7-7_amd64.deb: package says priority is optional, override says 
standard.

Either the package or the override file is incorrect.  If you think
the override is correct and the package wrong please fix the package
so that this disparity is fixed in the next upload.  If you feel the
override is incorrect then please reply to this mail and explain why.

[NB: this is an automatically generated mail; if you replied to one
like it before and have not received a response yet, please ignore
this mail.  Your reply needs to be processed by a human and will be in
due course, but until then the installer will send these automated
mails; sorry.]

--
Debian distribution maintenance software

(This message was generated automatically; if you believe that there
is a problem with it please contact the archive administrators by
mailing [EMAIL PROTECTED])


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Processed: Re: RFC3484 rule 9 active again in glibc 2.7-5.

2008-02-12 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 reassign 438179 libc6
Bug#438179: Please provide a way to override RFC3484
Bug reassigned from package `tech-ctte' to `libc6'.

 thanks
Stopping processing here.

Please contact me if you need assistance.

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2008-02-12 Thread aurel32
Author: aurel32
Date: 2008-02-12 21:52:09 + (Tue, 12 Feb 2008)
New Revision: 2811

Modified:
   glibc-package/trunk/debian/patches/any/cvs-rfc3484.diff
Log:
Add missing parts


Modified: glibc-package/trunk/debian/patches/any/cvs-rfc3484.diff
===
--- glibc-package/trunk/debian/patches/any/cvs-rfc3484.diff 2008-02-12 
21:37:08 UTC (rev 2810)
+++ glibc-package/trunk/debian/patches/any/cvs-rfc3484.diff 2008-02-12 
21:52:09 UTC (rev 2811)
@@ -1,5 +1,8 @@
 2007-11-12  Ulrich Drepper  [EMAIL PROTECTED]
 
+   * include/ifaddrs.c (struct in6addrinfo): Add prefixlen field.
+   * sysdeps/unix/sysv/linux/check_pf.c (make_request): Always return
+   list of interfaces.  Also store prefix length.
* sysdeps/posix/getaddrinfo.c (sort_result): Add prefixlen element.
(rfc3484_sort): In rule 9, for IPv4 addresses count only matching
prefix if source and destination address are in the same subnet.
@@ -260,3 +263,171 @@
}
}
  else if (errno == EAFNOSUPPORT  af == AF_INET6
+===
+RCS file: /cvs/glibc/libc/include/ifaddrs.h,v
+retrieving revision 1.5
+retrieving revision 1.6
+diff -u -r1.5 -r1.6
+--- libc/include/ifaddrs.h 2006/09/24 16:49:19 1.5
 libc/include/ifaddrs.h 2007/11/12 23:55:15 1.6
+@@ -12,7 +12,9 @@
+ in6ai_deprecated = 1,
+ in6ai_temporary = 2,
+ in6ai_homeaddress = 4
+-  } flags;
++  } flags:8;
++  uint8_t prefixlen;
++  uint16_t :16;
+   uint32_t addr[4];
+ };
+ 
+===
+RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/check_pf.c,v
+retrieving revision 1.12
+retrieving revision 1.13
+diff -u -r1.12 -r1.13
+--- libc/sysdeps/unix/sysv/linux/check_pf.c2007/08/29 16:49:45 1.12
 libc/sysdeps/unix/sysv/linux/check_pf.c2007/11/12 23:55:31 1.13
+@@ -145,92 +145,69 @@
+ struct rtattr *rta = IFA_RTA (ifam);
+ size_t len = nlmh-nlmsg_len - NLMSG_LENGTH (sizeof (*ifam));
+ 
+-switch (ifam-ifa_family)
++if (ifam-ifa_family != AF_INET
++ ifam-ifa_family != AF_INET6)
++  continue;
++
++const void *local = NULL;
++const void *address = NULL;
++while (RTA_OK (rta, len))
+   {
+-const void *local;
+-const void *address;
+-
+-  case AF_INET:
+-local = NULL;
+-address = NULL;
+-while (RTA_OK (rta, len))
++switch (rta-rta_type)
+   {
+-switch (rta-rta_type)
+-  {
+-  case IFA_LOCAL:
+-local = RTA_DATA (rta);
+-break;
+-
+-  case IFA_ADDRESS:
+-address = RTA_DATA (rta);
+-goto out_v4;
+-  }
+-
+-rta = RTA_NEXT (rta, len);
++  case IFA_LOCAL:
++local = RTA_DATA (rta);
++break;
++
++  case IFA_ADDRESS:
++address = RTA_DATA (rta);
++goto out;
+   }
+ 
+-if (local != NULL)
++rta = RTA_NEXT (rta, len);
++  }
++
++if (local != NULL)
++  {
++address = local;
++  out:
++if (ifam-ifa_family != AF_INET)
+   {
+-  out_v4:
+-if (*(const in_addr_t *) (address ?: local)
++if (*(const in_addr_t *) address
+ != htonl (INADDR_LOOPBACK))
+   *seen_ipv4 = true;
+   }
+-break;
+-
+-  case AF_INET6:
+-local = NULL;
+-address = NULL;
+-while (RTA_OK (rta, len))
+-  {
+-switch (rta-rta_type)
+-  {
+-  case IFA_LOCAL:
+-local = RTA_DATA (rta);
+-break;
+-
+-  case IFA_ADDRESS:
+-address = RTA_DATA (rta);
+-goto out_v6;
+-  }
+-
+-rta = RTA_NEXT (rta, len);
+-  }
+-
+-if (local != NULL)
++else
+   {
+-  out_v6:
+-if (!IN6_IS_ADDR_LOOPBACK (address ?: local))
++if (!IN6_IS_ADDR_LOOPBACK (address))
+   *seen_ipv6 = true;
+   }
++  }
+ 
+-if (ifam-ifa_flags  (IFA_F_DEPRECATED
+-   | 

Processed: tagging 456779

2008-02-12 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 # Automatically generated email from bts, devscripts version 2.9.26
 tags 456779 + pending
Bug#456779: glibc: getaddrinfo() sorting broken
There were no tags set.
Tags added: 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 [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



r2809 - in glibc-package/trunk/debian: . debhelper.in local/manpages

2008-02-12 Thread aurel32
Author: aurel32
Date: 2008-02-12 21:07:55 + (Tue, 12 Feb 2008)
New Revision: 2809

Added:
   glibc-package/trunk/debian/local/manpages/gai.conf.5
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/debhelper.in/libc.manpages
Log:
  * local/manpages/gai.conf.5: new manpage.



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2008-02-10 23:44:01 UTC (rev 
2808)
+++ glibc-package/trunk/debian/changelog2008-02-12 21:07:55 UTC (rev 
2809)
@@ -36,6 +36,7 @@
   * patches/alpha/local-dl-procinfo.diff: fix _dl_string_platform() to accept
 NULL pointers, which happens on statically linked binaries.  Closes: 
 bug#456260.
+  * local/manpages/gai.conf.5: new manpage.
 
  -- Aurelien Jarno [EMAIL PROTECTED]  Mon, 11 Feb 2008 00:42:32 +0100
 

Modified: glibc-package/trunk/debian/debhelper.in/libc.manpages
===
--- glibc-package/trunk/debian/debhelper.in/libc.manpages   2008-02-10 
23:44:01 UTC (rev 2808)
+++ glibc-package/trunk/debian/debhelper.in/libc.manpages   2008-02-12 
21:07:55 UTC (rev 2809)
@@ -1,4 +1,5 @@
 debian/local/manpages/catchsegv.1
+debian/local/manpages/gai.conf.5
 debian/local/manpages/getent.1
 debian/local/manpages/getconf.1
 debian/local/manpages/iconv.1

Added: glibc-package/trunk/debian/local/manpages/gai.conf.5
===
--- glibc-package/trunk/debian/local/manpages/gai.conf.5
(rev 0)
+++ glibc-package/trunk/debian/local/manpages/gai.conf.52008-02-12 
21:07:55 UTC (rev 2809)
@@ -0,0 +1,92 @@
+.\ A man page for gai.conf. -*- nroff -*-
+.\
+.\ Copyright (C) 2006 Red Hat, Inc. All rights reserved.
+.\
+.\ This copyrighted material is made available to anyone wishing to use,
+.\ modify, copy, or redistribute it subject to the terms and conditions of the
+.\ GNU General Public License v.2.
+.\
+.\ This program is distributed in the hope that it will be useful, but WITHOUT
+.\ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+.\ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+.\ more details.
+.\
+.\ You should have received a copy of the GNU General Public License along
+.\ with this program; if not, write to the Free Software Foundation, Inc.,
+.\ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+.\
+.\ Author: Ulrich Drepper drepper redhat com
+.TH gai.conf 5 May 2006 gai.conf
+
+.SH NAME
+gai.conf \- getaddrinfo(3) configuration file
+
+.SH DESCRIPTION
+A call to
+.BR getaddrinfo (3)
+might return multiple answers.  According to RFC 3484 these answers must
+be sorted so that the answer with the highest success rate is first in
+the list.  The RFC provides and algorithm for the sorting.  The static
+rules are not always adequate, though.  For this reason the RFC also
+requires that system administrators get the chance to dynamically change
+the sorting.  For the glibc implementation this can be achieved with
+the
+.BR /etc/gai.conf
+file.
+.PP
+Each line in the configuration file consists of a keyword and its
+parameters.  White spaces in any place are ignored.  Lines starting
+with `#' are comments and are ignored.
+.PP
+The keywords currently recognized are:
+.TP
+\fBlabel\fR \fInetmask\fR \fIprecedence\fR
+The value is added to the label table used in the RFC 3484 sorting.
+If any \fBlabel\fR definition is present in the configuration file
+is present the default table is not used.  All the label definitions
+of the default table which are to be maintained have to be duplicated.
+Following the keyword the line has to contain a network mask and a label
+value.
+
+.TP
+\fBprecedence\fR \fInetmask\fR \fIprecedence\fR
+This  keyword is similar to \fBlabel\fR but instead the value is added
+to the precendence table as specified in RFC 3484.  Once again, the
+presence of a single \fBprecedence\fR line in the configuration file
+causes the default table to not be used.
+
+.TP
+\fBreload\fR \fByes\fR|\fBno\fR
+This keyword control whether a process checks whether the configuration
+file has been changes since the last time it was read.  If the value is
+`\fByes\fR' the file is re-read.  This might cause problems in multi-threaded
+applications and is generally a bad idea.  The default is `\fBno\fR'.
+
+
+.SH EXAMPLE
+
+The default table according to RFC 3484 would be specified with the
+following configuration file:
+
+.nf
+label  ::1/128   0
+label  ::/0  1
+label  2002::/16 2
+label ::/96  3
+label :::0:0/96  4
+precendence  ::1/128   50
+precendence  ::/0  40
+precendence  2002::/16 30
+precendence ::/96  20
+precendence :::0:0/96  10
+
+
+.SH FILES
+\fI/etc/gai.conf\fR
+
+.SH AUTHOR
+Ulrich Drepper drepper redhat com
+
+.SH SEE ALSO
+.BR getaddrinfo(3),
+RFC 

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

2008-02-12 Thread aurel32
Author: aurel32
Date: 2008-02-12 21:37:08 + (Tue, 12 Feb 2008)
New Revision: 2810

Added:
   glibc-package/trunk/debian/patches/any/cvs-rfc3484.diff
Removed:
   glibc-package/trunk/debian/patches/any/submitted-rfc3484-sortv4.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * any/submitted-rfc3484-sortv4.diff: Drop. Replaced by ...
  * ... any/cvs/rfc3484.diff: patch from upstream to fix various RFC3484
issues:
- Fix source IPv4 source address length computation.  Closes: bug#456779.
- Only apply rule 9 for IPv4 if source and destination addresses are on 
  the same subnet.  Closes: bug#438179.



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2008-02-12 21:07:55 UTC (rev 
2809)
+++ glibc-package/trunk/debian/changelog2008-02-12 21:37:08 UTC (rev 
2810)
@@ -34,11 +34,17 @@
   * rules.d/build.mk: build the locales in the build target instead of the
 install one to workaround a bug in fakeroot.  Closes: #464924.
   * patches/alpha/local-dl-procinfo.diff: fix _dl_string_platform() to accept
-NULL pointers, which happens on statically linked binaries.  Closes: 
+NULL pointers, which happens on statically linked binaries.  Closes:
 bug#456260.
   * local/manpages/gai.conf.5: new manpage.
+  * any/submitted-rfc3484-sortv4.diff: Drop. Replaced by ...
+  * ... any/cvs/rfc3484.diff: patch from upstream to fix various RFC3484
+issues:
+- Fix source IPv4 source address length computation.  Closes: bug#456779.
+- Only apply rule 9 for IPv4 if source and destination addresses are on 
+  the same subnet.  Closes: bug#438179.
 
- -- Aurelien Jarno [EMAIL PROTECTED]  Mon, 11 Feb 2008 00:42:32 +0100
+ -- Aurelien Jarno [EMAIL PROTECTED]  Tue, 12 Feb 2008 22:29:56 +0100
 
 glibc (2.7-6) unstable; urgency=low
 

Added: glibc-package/trunk/debian/patches/any/cvs-rfc3484.diff
===
--- glibc-package/trunk/debian/patches/any/cvs-rfc3484.diff 
(rev 0)
+++ glibc-package/trunk/debian/patches/any/cvs-rfc3484.diff 2008-02-12 
21:37:08 UTC (rev 2810)
@@ -0,0 +1,262 @@
+2007-11-12  Ulrich Drepper  [EMAIL PROTECTED]
+
+   * sysdeps/posix/getaddrinfo.c (sort_result): Add prefixlen element.
+   (rfc3484_sort): In rule 9, for IPv4 addresses count only matching
+   prefix if source and destination address are in the same subnet.
+   (getaddrinfo): Always call __check_pf.  Fill in prefixlen field.
+   Always look for matching record in in6ai list.
+   Correct source_addr_len value for IPv6-IPv4 converted records.
+
+===
+RCS file: /cvs/glibc/libc/sysdeps/posix/getaddrinfo.c,v
+retrieving revision 1.117
+retrieving revision 1.118
+diff -u -r1.117 -r1.118
+--- libc/sysdeps/posix/getaddrinfo.c   2007/10/17 16:05:12 1.117
 libc/sysdeps/posix/getaddrinfo.c   2007/11/12 23:55:45 1.118
+@@ -1006,6 +1006,7 @@
+   uint8_t source_addr_len;
+   bool got_source_addr;
+   uint8_t source_addr_flags;
++  uint8_t prefixlen;
+ };
+ 
+ 
+@@ -1223,7 +1224,7 @@
+ fls (uint32_t a)
+ {
+   uint32_t mask;
+-  int n = 0;
++  int n;
+   for (n = 0, mask = 1  31; n  32; mask = 1, ++n)
+ if ((a  mask) != 0)
+   break;
+@@ -1350,20 +1351,31 @@
+ assert (a1-source_addr.ss_family == PF_INET);
+ assert (a2-source_addr.ss_family == PF_INET);
+ 
+-struct sockaddr_in *in1_dst;
+-struct sockaddr_in *in1_src;
+-struct sockaddr_in *in2_dst;
+-struct sockaddr_in *in2_src;
+-
+-in1_dst = (struct sockaddr_in *) a1-dest_addr-ai_addr;
+-in1_src = (struct sockaddr_in *) a1-source_addr;
+-in2_dst = (struct sockaddr_in *) a2-dest_addr-ai_addr;
+-in2_src = (struct sockaddr_in *) a2-source_addr;
+-
+-bit1 = fls (ntohl (in1_dst-sin_addr.s_addr
+-   ^ in1_src-sin_addr.s_addr));
+-bit2 = fls (ntohl (in2_dst-sin_addr.s_addr
+-   ^ in2_src-sin_addr.s_addr));
++/* Outside of subnets, as defined by the network masks,
++   common address prefixes for IPv4 addresses make no sense.
++   So, define a non-zero value only if source and
++   destination address are on the same subnet.  */
++struct sockaddr_in *in1_dst
++  = (struct sockaddr_in *) a1-dest_addr-ai_addr;
++in_addr_t in1_dst_addr = ntohl (in1_dst-sin_addr.s_addr);
++struct sockaddr_in *in1_src
++  = (struct sockaddr_in *) a1-source_addr;
++in_addr_t in1_src_addr = ntohl (in1_src-sin_addr.s_addr);
++in_addr_t netmask1 = 0xu  (32 - a1-prefixlen);
++
++if ((in1_src_addr  netmask1) == (in1_dst_addr  netmask1))
++  bit1 = fls (in1_dst_addr ^ in1_src_addr);
++
++   

Processed: reopening 456779

2008-02-12 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 # Automatically generated email from bts, devscripts version 2.10.13
 reopen 456779
Bug#456779: glibc: getaddrinfo() sorting broken
'reopen' may be inappropriate when a bug has been closed with a version;
you may need to use 'found' to remove fixed versions.
Bug reopened, originator not changed.


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 [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#465427: libc6: strftime gets confused by the invalid format specifier %20#%

2008-02-12 Thread Edward Welbourne
Package: libc6
Version: 2.7-6
Severity: minor

I used the following program to probe the behaviour of strftime: file 
src=strftime.c

#include time.h
#include stdio.h
const int bufsize = 4096;

int main(int count, char *args[])
{
char buf[bufsize];
time_t now = time(NULL);
struct tm rom, *when = localtime_r(now, rom);
int i = 1;
if (when == 0)
return 1;

while (i  count)
{
size_t len = strftime(buf, bufsize, args[i++], when);
if (len)
puts(buf);
}
return 0;
}

/file (I wanted to know what modifiers it supported to the various
format specifiers; I could only see E and O mentioned in either POSIX
or glibc's own manual page, but there are obvious uses for field
widths on %A and %B, for example, and systematic support for '0' and '
' would enable a simplification of the spec (e.g. we'd only need one
of H, k), so I was pleased to find field widths supported and curious
to see what, if anything else, is.)

I found that printf's '#', '-' and '0' modifiers are honoured (but '+'
and ' ' aren't).  These don't really make sense, aside from %0l
(ell) and %0k - and even these are mere aliases fo %I and %H, so
not actually useful.  This is harmless.

However, when I tried the malformed format string |%20#%| it emitted
|%20#%|
in which it's converted %20# to a string of width 20 (thanks to the
field width), then decided not to treat it as a format specifier after
all, so used %20# as the content right-justified within those 20
characters.  For contrast, snprintf simply emitted the format
specifier verbatim - as I expected, given that this is how invalid
format specifiers are generally handled by both functions.

This behaviour is inconsistent with the general handling of invalid
format specifiers, although it probably isn't strictly a bug - I
imagine the spec says the behaviour on undefined format specifiers is
undefined.  However, it does suggest some confusion in the
implementation, so seems worth reporting upstream.

It's not important or urgent, though !

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

Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

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

libc6 recommends no packages.

-- debconf information:
  glibc/restart-failed:
  glibc/restart-services:



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]