Bug#707185: libc6:amd64 does not replace libc6-amd64; preinst fails

2013-05-08 Thread Sven Joachim
On 2013-05-08 03:32 +0200, Ben Hutchings wrote:

> Package: src:eglibc
> Version: 2.17-1
> Severity: important
>
> This upgrade failed:
> [snip]
> Preparing to replace libc6-dev-amd64 2.13-38 (using 
> .../libc6-dev-amd64_2.17-1_i386.deb) ...
> Unpacking replacement libc6-dev-amd64 ...
> Preparing to replace libc6-amd64 2.13-38 (using 
> .../libc6-amd64_2.17-1_i386.deb) ...
> Unpacking replacement libc6-amd64 ...
> Replaced by files in installed package libc6:amd64 ...
> Preparing to replace linux-libc-dev:i386 3.2.39-2 (using 
> .../linux-libc-dev_3.8.11-1_i386.deb) ...
> De-configuring linux-libc-dev:amd64 ...
> Unpacking replacement linux-libc-dev:i386 ...
> Preparing to replace linux-libc-dev:amd64 3.2.39-2 (using 
> .../linux-libc-dev_3.8.11-1_amd64.deb) ...
> Unpacking replacement linux-libc-dev:amd64 ...
> Setting up linux-libc-dev:i386 (3.8.11-1) ...
> Setting up linux-libc-dev:amd64 (3.8.11-1) ...
> (Reading database ... 241766 files and directories currently installed.)
> Preparing to replace libc6-dev:amd64 2.13-38 (using 
> .../libc6-dev_2.17-1_amd64.deb) ...
> De-configuring libc6-dev:i386 ...
> Unpacking replacement libc6-dev:amd64 ...
> Preparing to replace libc6-dev:i386 2.13-38 (using 
> .../libc6-dev_2.17-1_i386.deb) ...
> Unpacking replacement libc6-dev:i386 ...
> Preparing to replace locales 2.13-38 (using .../locales_2.17-1_all.deb) ...
> Unpacking replacement locales ...
> Preparing to replace libc6:i386 2.13-38 (using 
> .../archives/libc6_2.17-1_i386.deb) ...
> De-configuring libc6:amd64 ...
> Checking for services that may need to be restarted...
> Checking init scripts...
> Unpacking replacement libc6:i386 ...
> Preparing to replace libc6:amd64 2.13-38 (using .../libc6_2.17-1_amd64.deb) 
> ...
> Checking for services that may need to be restarted...
> Checking init scripts...
> dpkg: error processing /var/cache/apt/archives/libc6_2.17-1_amd64.deb 
> (--unpack):
>  subprocess new pre-installation script returned error exit status 1
> Processing triggers for man-db ...
> Processing triggers for lintian ...
> Errors were encountered while processing:
>  /var/cache/apt/archives/libc6_2.17-1_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> It's not very nice of the preinst to fail without explanation, is it?
> So I repacked it with set +x added and the installation ended with:
>
> + echo Checking init scripts...
> Checking init scripts...
> + runlevel
> + sed s/.*\ //
> + rl=5
> + [ -n  ]
> + [ amd64 = armhf ]
> + touch /etc/ld.so.nohwcap
> + readlink -e /lib64/ld-linux-x86-64.so.2
> + ldfile=
>
> OK, where is /lib64/ld-linux-x86-64.so.2 pointing?  To ld-2.13.so,
> which does not exist.

It ought to point at /lib/x86_64-linux-gnu/ld-2.13.so, and that should
exist while the libc6:amd64 preinst runs.

> This is left over from libc6-amd64, which
> dpkg has mostly but not entirely removed in preparation for the
> upgrade that replaces it.

The new version of libc6-amd64 has already been unpacked, but
/lib64/ld-linux-x86-64.so.2 belongs to libc6:amd64 which declares a
"Replaces: libc6-amd64".

> -- System Information:
> Debian Release: 7.0
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
> Architecture: i386 (x86_64)
> Foreign Architectures: amd64

I'll see if I can reproduce the problem.

Cheers,
   Sven


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ppx12a7d@turtle.gmx.de



Bug#707200: strftime not work %Om specification

2013-05-08 Thread Ivan Borzenkov
Package: libc6
Version: 2.17-1

man page of strftime: http://linux.die.net/man/3/strftime

Some conversion specifications can be modified by preceding the
conversion specifier character by the E or O modifier to indicate that
an alternative format should be used. If the alternative format or
specification does not exist for the current locale, the behavior will
be as if the unmodified conversion specification were used. (SU) The
Single UNIX Specification mentions %Ec, %EC, %Ex, %EX, %Ey, %EY, %Od,
%Oe, %OH, %OI, %Om, %OM, %OS, %Ou, %OU, %OV, %Ow, %OW, %Oy, where the
effect of the Omodifier is to use alternative numeric symbols (say,
roman numerals), and that of the E modifier is to use a
locale-dependent alternative representation.

date +'%d %B %Om'

out: 08 Май 05
expect: 08 Май мая


--
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cammmhd1oqmd19akzxuvyh+qwfbbu6mukoekucpuf_6mbesa...@mail.gmail.com



Processed: Re: Bug#707185: libc6:amd64 does not replace libc6-amd64; preinst fails

2013-05-08 Thread Debian Bug Tracking System
Processing control commands:

> severity -1 serious
Bug #707185 [src:eglibc] libc6:amd64 does not replace libc6-amd64; preinst fails
Severity set to 'serious' from 'important'

-- 
707185: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707185
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.b707185.136800042923907.transcr...@bugs.debian.org



Bug#707185: libc6:amd64 does not replace libc6-amd64; preinst fails

2013-05-08 Thread Sven Joachim
Control: severity -1 serious

On 2013-05-08 09:37 +0200, Sven Joachim wrote:

> On 2013-05-08 03:32 +0200, Ben Hutchings wrote:
>> OK, where is /lib64/ld-linux-x86-64.so.2 pointing?  To ld-2.13.so,
>> which does not exist.
>
> It ought to point at /lib/x86_64-linux-gnu/ld-2.13.so,

It does so in the libc6:amd64 package, but installing libc6-amd64
2.13-38 does indeed change the target to ld-2.13.so…

> and that should exist while the libc6:amd64 preinst runs.

…which does no longer exist at that time. :-/

>> This is left over from libc6-amd64, which
>> dpkg has mostly but not entirely removed in preparation for the
>> upgrade that replaces it.
>
> The new version of libc6-amd64 has already been unpacked, but
> /lib64/ld-linux-x86-64.so.2 belongs to libc6:amd64 which declares a
> "Replaces: libc6-amd64".

Unfortunately that does not help much because it's ldconfig which
changes the symlink.

>> -- System Information:
>> Debian Release: 7.0
>>   APT prefers unstable
>>   APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
>> Architecture: i386 (x86_64)
>> Foreign Architectures: amd64

If amd64 is the native architecture the problem becomes much worse since
you might not be able to run any programs.  Hence I'm bumping the
severity.

Cheers,
   Sven


--
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ehdh28v3@turtle.gmx.de



Bug#707185: libc6:amd64 does not replace libc6-amd64; preinst fails

2013-05-08 Thread Sven Joachim
On 2013-05-08 10:06 +0200, Sven Joachim wrote:

> Control: severity -1 serious
>
> On 2013-05-08 09:37 +0200, Sven Joachim wrote:
>
>> On 2013-05-08 03:32 +0200, Ben Hutchings wrote:
>> The new version of libc6-amd64 has already been unpacked, but
>> /lib64/ld-linux-x86-64.so.2 belongs to libc6:amd64 which declares a
>> "Replaces: libc6-amd64".
>
> Unfortunately that does not help much because it's ldconfig which
> changes the symlink.

That has already been noticed before in #699206.  Additional note:
Uninstalling libc6-amd64 removes the /lib64/ld-linux-x86-64.so.2 symlink
completely. :-(

>>> -- System Information:
>>> Debian Release: 7.0
>>>   APT prefers unstable
>>>   APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
>>> Architecture: i386 (x86_64)
>>> Foreign Architectures: amd64
>
> If amd64 is the native architecture the problem becomes much worse since
> you might not be able to run any programs.  Hence I'm bumping the
> severity.

I'll leave it to the maintainers if they want to merge this bug with
#699206 and what severity they deem appropriate.

Cheers,
   Sven


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/8761yt287d@turtle.gmx.de



r5560 - glibc-package/trunk/debian/patches/kfreebsd

2013-05-08 Thread Petr Salinger
Author: ps-guest
Date: 2013-05-08 12:30:04 + (Wed, 08 May 2013)
New Revision: 5560

Modified:
   
glibc-package/trunk/debian/patches/kfreebsd/local-linuxthreads-TLS-THREAD.diff
Log:
fixup local-linuxthreads-TLS-THREAD.diff



Modified: 
glibc-package/trunk/debian/patches/kfreebsd/local-linuxthreads-TLS-THREAD.diff
===
--- 
glibc-package/trunk/debian/patches/kfreebsd/local-linuxthreads-TLS-THREAD.diff  
2013-05-07 23:26:14 UTC (rev 5559)
+++ 
glibc-package/trunk/debian/patches/kfreebsd/local-linuxthreads-TLS-THREAD.diff  
2013-05-08 12:30:04 UTC (rev 5560)
@@ -44,7 +44,7 @@
  {
 --- a/linuxthreads/pthread.c
 +++ b/linuxthreads/pthread.c
-@@ -317,53 +317,6 @@
+@@ -317,51 +317,6 @@
/* Unlike in the dynamically linked case the dynamic linker has not
   taken care of initializing the TLS data structures.  */
__libc_setup_tls (TLS_TCB_SIZE, TLS_TCB_ALIGN);
@@ -93,11 +93,9 @@
 -
 -  __libc_malloc_pthread_startup (false);
 -}
--# endif
--
-   self = THREAD_SELF;
+ # endif
  
-   /* The memory for the thread descriptor was allocated elsewhere as
+   self = THREAD_SELF;
 @@ -464,17 +417,9 @@
  }
  


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1ua3vu-ej...@vasks.debian.org



r5561 - in glibc-package/trunk/debian: . patches patches/kfreebsd

2013-05-08 Thread Petr Salinger
Author: ps-guest
Date: 2013-05-08 12:39:03 + (Wed, 08 May 2013)
New Revision: 5561

Added:
   glibc-package/trunk/debian/patches/kfreebsd/local-linuxthreads-initfini.diff
   glibc-package/trunk/debian/patches/kfreebsd/local-no-pldd.diff
   glibc-package/trunk/debian/patches/kfreebsd/local-nscd-nosendfile-fix.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
   glibc-package/trunk/debian/patches/series.kfreebsd-amd64
   glibc-package/trunk/debian/patches/series.kfreebsd-i386
Log:
kfreebsd patches


Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2013-05-08 12:30:04 UTC (rev 
5560)
+++ glibc-package/trunk/debian/changelog2013-05-08 12:39:03 UTC (rev 
5561)
@@ -13,7 +13,14 @@
 conditional defines on USE___THREAD and HAVE_TLS_SUPPORT.
   * patches/kfreebsd/local-linuxthreads-mutex-initializer.diff: New patch to
 define MUTEX_INITIALIZER.
-  * kfreebsd/local-sysdeps.diff: update to revision 4412 (from glibc-bsd).
+  
+  [ Petr Salinger ]
+  * patches/kfreebsd/local-linuxthreads-initfini.diff: follow upstream
+changes in startup code
+  * patches/kfreebsd/local-no-pldd.diff: pldd is linux only utility
+  * patches/kfreebsd/local-nscd-nosendfile-fix.diff: handle system without
+sendfile syscall
+  * kfreebsd/local-sysdeps.diff: update to revision 4417 (from glibc-bsd).
 
  -- Adam Conrad   Tue, 07 May 2013 13:58:05 -0600
 

Added: 
glibc-package/trunk/debian/patches/kfreebsd/local-linuxthreads-initfini.diff
===
--- 
glibc-package/trunk/debian/patches/kfreebsd/local-linuxthreads-initfini.diff
(rev 0)
+++ 
glibc-package/trunk/debian/patches/kfreebsd/local-linuxthreads-initfini.diff
2013-05-08 12:39:03 UTC (rev 5561)
@@ -0,0 +1,70 @@
+--- a/linuxthreads/Makefile
 b/linuxthreads/Makefile
+@@ -97,12 +97,11 @@
+ generated-dirs := $(firstword $(subst /, , $(multidir)))
+ crti-objs += $(multidir)/crti.o
+ crtn-objs += $(multidir)/crtn.o
+-omit-deps += $(multidir)/crti $(multidir)/crtn
++$(objpfx)$(multidir):
++  mkdir -p $@
+ endif
+ extra-objs += $(crti-objs) $(crtn-objs)
+-omit-deps += crti crtn
+-
+-CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions $(fno-unit-at-a-time)
++extra-objs += pt-crti.o
+ endif
+ 
+ librt-tests = ex10 ex11 tst-clock1
+@@ -234,7 +234,7 @@
+ # a statically-linked program that hasn't already loaded it.
+ # Depend on ld.so too to get proper versions of ld.so symbols.
+ $(objpfx)libpthread.so: $(libc-link.so) $(common-objpfx)libc_nonshared.a \
+-  $(if $(filter yes,$(elf)), $(elfobjdir)/ld.so)
++  $(elfobjdir)/ld.so
+ 
+ # Make sure we link with the thread library.
+ ifeq ($(build-shared),yes)
+@@ -266,33 +265,6 @@
+ endif
+ 
+ ifeq ($(build-shared),yes)
+-vpath pt-initfini.c $(sysdirs)
+-
+-$(objpfx)pt-initfini.s: pt-initfini.c
+-  $(compile.c) -S $(CFLAGS-pt-initfini.s) -finhibit-size-directive \
+-  $(patsubst -f%,-fno-%,$(exceptions)) -o $@
+-
+-# We only have one kind of startup code files.  Static binaries and
+-# shared libraries are build using the PIC version.
+-$(objpfx)crti.S: $(objpfx)pt-initfini.s
+-  sed -n -e '1,/@HEADER_ENDS/p' \
+- -e '/@_.*_PROLOG_BEGINS/,/@_.*_PROLOG_ENDS/p' \
+- -e '/@TRAILER_BEGINS/,$$p' $< > $@
+-$(objpfx)crtn.S: $(objpfx)pt-initfini.s
+-  sed -n -e '1,/@HEADER_ENDS/p' \
+- -e '/@_.*_EPILOG_BEGINS/,/@_.*_EPILOG_ENDS/p' \
+- -e '/@TRAILER_BEGINS/,$$p' $< > $@
+-
+-$(objpfx)defs.h: $(objpfx)pt-initfini.s
+-  sed -n -e '/@TESTS_BEGIN/,/@TESTS_END/p' $< | \
+-  $(AWK) -f ../csu/defs.awk > $@
+-
+-$(objpfx)crti.o: $(objpfx)crti.S $(objpfx)defs.h
+-  $(compile.S) -g0 $(ASFLAGS-.os) -o $@
+-
+-$(objpfx)crtn.o: $(objpfx)crtn.S $(objpfx)defs.h
+-  $(compile.S) -g0 $(ASFLAGS-.os) -o $@
+-
+ ifneq ($(multidir),.)
+ $(objpfx)$(multidir):
+   @mkdir -p $(objpfx)$(multidir)
+@@ -304,7 +275,7 @@
+   ln -f $< $@
+ endif
+ 
+-generated += crti.S crtn.S defs.h pt-initfini.s libpthread_nonshared.a
++generated += libpthread_nonshared.a
+ endif
+ 
+ ifeq (yes,$(build-static-nss))

Added: glibc-package/trunk/debian/patches/kfreebsd/local-no-pldd.diff
===
--- glibc-package/trunk/debian/patches/kfreebsd/local-no-pldd.diff  
(rev 0)
+++ glibc-package/trunk/debian/patches/kfreebsd/local-no-pldd.diff  
2013-05-08 12:39:03 UTC (rev 5561)
@@ -0,0 +1,35 @@
+--- a/elf/pldd.c
 b/elf/pldd.c
+@@ -90,6 +90,11 @@
+ int
+ main (int argc, char *argv[])
+ {
++#if !defined(__linux__)
++  fprintf (stderr," Unsupported utility\n");
++  return 1;
++#else  
++
+   /* Parse and process arguments.  */
+   int remaining;
+   argp

Processed: Re: Bug#707200: strftime not work %Om specification

2013-05-08 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tag 707200 + moreinfo
Bug #707200 [libc6] strftime not work %Om specification
Added tag(s) moreinfo.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
707200: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707200
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.136802684131462.transcr...@bugs.debian.org



Processed: tagging 695077

2013-05-08 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 695077 + pending
Bug #695077 [eglibc] eglibc: [INTL:ja] Japanease translation of the debconf 
templates
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
695077: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695077
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.136802689832246.transcr...@bugs.debian.org



Processed: tagging 704623

2013-05-08 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 704623 + pending
Bug #704623 [eglibc] eglibc: CVE-2013-1914: getaddrinfo() stack overflow
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
704623: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704623
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.13680274233306.transcr...@bugs.debian.org



Processed: tagging 704598

2013-05-08 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 704598 + pending
Bug #704598 {Done: Adam Conrad } [libc0.1-dev] libc0.1-dev: 
sys/mount.h requires C99
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
704598: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704598
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.13680275574411.transcr...@bugs.debian.org



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

2013-05-08 Thread Aurelien Jarno
Author: aurel32
Date: 2013-05-08 15:28:02 + (Wed, 08 May 2013)
New Revision: 5562

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/po/ja.po
Log:
  * Japanese debconf translation update from Nobuhiro Iwamatsu.
closes: #695077.



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2013-05-08 12:39:03 UTC (rev 
5561)
+++ glibc-package/trunk/debian/changelog2013-05-08 15:28:02 UTC (rev 
5562)
@@ -13,6 +13,8 @@
 conditional defines on USE___THREAD and HAVE_TLS_SUPPORT.
   * patches/kfreebsd/local-linuxthreads-mutex-initializer.diff: New patch to
 define MUTEX_INITIALIZER.
+  * Japanese debconf translation update from Nobuhiro Iwamatsu.
+closes: #695077.
   
   [ Petr Salinger ]
   * patches/kfreebsd/local-linuxthreads-initfini.diff: follow upstream

Modified: glibc-package/trunk/debian/po/ja.po
===
--- glibc-package/trunk/debian/po/ja.po 2013-05-08 12:39:03 UTC (rev 5561)
+++ glibc-package/trunk/debian/po/ja.po 2013-05-08 15:28:02 UTC (rev 5562)
@@ -16,10 +16,10 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: glibc 2.11.2-7\n"
+"Project-Id-Version: eglibc_2.13-38\n"
 "Report-Msgid-Bugs-To: egl...@packages.debian.org\n"
 "POT-Creation-Date: 2011-10-30 11:52-0700\n"
-"PO-Revision-Date: 2010-11-21 17:14+0900\n"
+"PO-Revision-Date: 2012-12-31 23:29+0900\n"
 "Last-Translator: Nobuhiro Iwamatsu \n"
 "Language-Team: Japanese \n"
 "Language: ja\n"
@@ -47,7 +47,7 @@
 "to use their language, country, characters, collation order, etc."
 msgstr ""
 "ロケールとは、複数の言語を切り替え、ユーザが自身の言語・国・文字・並べ替え順"
-"序などを使えるように許可するための仕組みです。"
+"序などを使えるようにするための仕組みです。"
 
 #. Type: multiselect
 #. Description
@@ -71,7 +71,7 @@
 #. Description
 #: ../debhelper.in/locales.templates:2002
 msgid "Default locale for the system environment:"
-msgstr "システム標準の環境変数として設定するデフォルトロケール:"
+msgstr "システムの環境変数として設定するデフォルトロケール:"
 
 #. Type: select
 #. Description
@@ -81,7 +81,7 @@
 "for the user. You can choose a default locale for the system from the "
 "generated locales."
 msgstr ""
-"ユーザに正しい言語でテキストを表示するため、Debian では多くのパッケージがロ"
+"ユーザに合った言語でテキストを表示するため、Debian では多くのパッケージがロ"
 "ケールを使用します。生成したロケールの中からシステムでのデフォルトロケールを"
 "選択できます。"
 
@@ -93,9 +93,9 @@
 "is a multi-user system where not all users are able to speak the default "
 "language, they will experience difficulties."
 msgstr ""
-"これはシステム全体のデフォルトロケールを選ぶことになります。このシステムがマ"
-"ルチユーザシステムで、すべてのユーザがデフォルトの言語を話すことができるとい"
-"うわけではない場合は、そういった人々は困難を感じることになってしまいます。"
+"これはシステム全体のデフォルトの言語を選ぶことになります。このシステムがマルチ"
+"ユーザシステムで、すべてのユーザがデフォルトの言語を話すことができるというわけ"
+"ではない場合は、そういった人々は困難を感じることになってしまいます。"
 
 #. Type: boolean
 #. Description
@@ -130,8 +130,8 @@
 "This script detected the following installed services which must be stopped "
 "before the upgrade: ${services}"
 msgstr ""
-"スクリプトは、更新前に停止されなければならない以下のインストールされたサービ"
-"スを検出しました: ${services}"
+"スクリプトは、更新前に停止されなければならない以下のサービスがインストールされ"
+"ているのを検出しました: ${services}"
 
 #. Type: boolean
 #. Description
@@ -162,8 +162,8 @@
 "NSS を利用している実行中のサービスおよびプログラムは、再起動する必要がありま"
 "す。さもないと、ルックアップおよび認証がもう利用できないことになります (ssh "
 "のようなサービスでは、これはログインできるかどうかに影響します)。以下のスペー"
-"スで区切られた、今再起動するサービスの init.d スクリプトのリストを見て、必要"
-"なら修正してください。"
+"スで区切られた、以下の init.d スクリプト一覧を確認して、サービスをここで再起"
+"動する必要があれば修正してください。"
 
 #. Type: string
 #. Description
@@ -217,15 +217,15 @@
 msgstr ""
 "このシステムで 1 つ以上の xscreensaver あるいは xlockmore の動作が検出されま"
 "した。非互換のライブラリ変更のため、GNU libc パッケージの更新はこれらのプログ"
-"ラムでの認証ができなくなるという状態にするでしょう。ユーザが現在のセッション"
-"の外に締め出されるのを避けるため、このパッケージの更新を続ける前に、これらの"
-"プログラムを再起動するか停止するように手配すべきです。"
+"ラムでの認証ができない状態になるでしょう。ユーザが現在のセッションの外に締め出"
+"されるのを避けるため、このパッケージの更新を続ける前に、これらのプログラムを再"
+"起動するか停止するように手配すべきです。"
 
 #. Type: boolean
 #. Description
 #: ../debhelper.in/libc.templates:5001
 msgid "Restart services during package upgrades without asking?"
-msgstr ""
+msgstr "パッケージのアップグレード中、質問することなくサービスを再起動しますか?"
 
 #. Type: boolean
 #. Description
@@ -239,3 +239,9 @@
 "necessary restarts will be done for you automatically so you can avoid being "
 "asked questions on each library upgrade."
 msgstr ""
+"このシステムには、libpam や libc、libssl といった特定のライブラリがアップグレ"
+"ードされたときに再起動を必要とするサービスがインストールされています。この再起"
+"動はそのシステムで動作しているサービスの中断を伴う可能性があるため、通常は再起"
+"動させるサービス一覧をアップグレードの度に質問します。このオプションを選択する"
+"とその質問を避けられます。代わりに、再起動が必要な場合は全て自動で再起動させる"
+"ため、ライブラリをアップグレードする度に質問されるのを避けられます。"


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1ua6hi-0001pt...@vasks.debian.org



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

2013-05-08 Thread Aurelien Jarno
Author: aurel32
Date: 2013-05-08 15:36:54 + (Wed, 08 May 2013)
New Revision: 5563

Added:
   glibc-package/trunk/debian/patches/any/cvs-getaddrinfo-stack-overflow.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * patches/any/cvs-getaddrinfo-stack-overflow.diff: New patch to fix
a stack overflow in getaddrinfo(), CVE-2013-1914. Closes: #704623.



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2013-05-08 15:28:02 UTC (rev 
5562)
+++ glibc-package/trunk/debian/changelog2013-05-08 15:36:54 UTC (rev 
5563)
@@ -15,6 +15,8 @@
 define MUTEX_INITIALIZER.
   * Japanese debconf translation update from Nobuhiro Iwamatsu.
 closes: #695077.
+  * patches/any/cvs-getaddrinfo-stack-overflow.diff: New patch to fix
+a stack overflow in getaddrinfo(), CVE-2013-1914. Closes: #704623.
   
   [ Petr Salinger ]
   * patches/kfreebsd/local-linuxthreads-initfini.diff: follow upstream

Added: 
glibc-package/trunk/debian/patches/any/cvs-getaddrinfo-stack-overflow.diff
===
--- glibc-package/trunk/debian/patches/any/cvs-getaddrinfo-stack-overflow.diff  
(rev 0)
+++ glibc-package/trunk/debian/patches/any/cvs-getaddrinfo-stack-overflow.diff  
2013-05-08 15:36:54 UTC (rev 5563)
@@ -0,0 +1,50 @@
+2013-04-03  Andreas Schwab  
+
+   [BZ #15330]
+   * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
+   order arrays from heap if bigger than alloca cutoff.
+
+diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c
+index d95c2d1..2309281 100644
+--- a/sysdeps/posix/getaddrinfo.c
 b/sysdeps/posix/getaddrinfo.c
+@@ -2489,11 +2489,27 @@ getaddrinfo (const char *name, const char *service,
+   __typeof (once) old_once = once;
+   __libc_once (once, gaiconf_init);
+   /* Sort results according to RFC 3484.  */
+-  struct sort_result results[nresults];
+-  size_t order[nresults];
++  struct sort_result *results;
++  size_t *order;
+   struct addrinfo *q;
+   struct addrinfo *last = NULL;
+   char *canonname = NULL;
++  bool malloc_results;
++
++  malloc_results
++  = !__libc_use_alloca (nresults * (sizeof (*results) + sizeof (size_t)));
++  if (malloc_results)
++  {
++results = malloc (nresults * (sizeof (*results) + sizeof (size_t)));
++if (results == NULL)
++  {
++__free_in6ai (in6ai);
++return EAI_MEMORY;
++  }
++  }
++  else
++  results = alloca (nresults * (sizeof (*results) + sizeof (size_t)));
++  order = (size_t *) (results + nresults);
+ 
+   /* Now we definitely need the interface information.  */
+   if (! check_pf_called)
+@@ -2664,6 +2680,9 @@ getaddrinfo (const char *name, const char *service,
+ 
+   /* Fill in the canonical name into the new first entry.  */
+   p->ai_canonname = canonname;
++
++  if (malloc_results)
++  free (results);
+ }
+ 
+   __free_in6ai (in6ai);

Modified: glibc-package/trunk/debian/patches/series
===
--- glibc-package/trunk/debian/patches/series   2013-05-08 15:28:02 UTC (rev 
5562)
+++ glibc-package/trunk/debian/patches/series   2013-05-08 15:36:54 UTC (rev 
5563)
@@ -235,3 +235,4 @@
 any/cvs-use-glibc-wchar.diff
 any/submitted-setfsid-wur.diff
 any/cvs-sys-param-h-DEV_BSIZE.diff
+any/cvs-getaddrinfo-stack-overflow.diff


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1ua6qi-0001ms...@vasks.debian.org



r5564 - glibc-package/trunk/debian

2013-05-08 Thread Aurelien Jarno
Author: aurel32
Date: 2013-05-08 15:39:03 + (Wed, 08 May 2013)
New Revision: 5564

Modified:
   glibc-package/trunk/debian/changelog
Log:
Add bug number


Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2013-05-08 15:36:54 UTC (rev 
5563)
+++ glibc-package/trunk/debian/changelog2013-05-08 15:39:03 UTC (rev 
5564)
@@ -25,6 +25,7 @@
   * patches/kfreebsd/local-nscd-nosendfile-fix.diff: handle system without
 sendfile syscall
   * kfreebsd/local-sysdeps.diff: update to revision 4417 (from glibc-bsd).
+Fixes sys/mount.h without C99.  Closes: #704598.
 
  -- Adam Conrad   Tue, 07 May 2013 13:58:05 -0600
 


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1ua6so-0001ug...@vasks.debian.org



Bug#707200: strftime not work %Om specification

2013-05-08 Thread Aurelien Jarno
tag 707200 + moreinfo
thanks

On Wed, May 08, 2013 at 11:58:58AM +0400, Ivan Borzenkov wrote:
> Package: libc6
> Version: 2.17-1
> 
> man page of strftime: http://linux.die.net/man/3/strftime
> 
> Some conversion specifications can be modified by preceding the
> conversion specifier character by the E or O modifier to indicate that
> an alternative format should be used. If the alternative format or
> specification does not exist for the current locale, the behavior will
> be as if the unmodified conversion specification were used. (SU) The
> Single UNIX Specification mentions %Ec, %EC, %Ex, %EX, %Ey, %EY, %Od,
> %Oe, %OH, %OI, %Om, %OM, %OS, %Ou, %OU, %OV, %Ow, %OW, %Oy, where the
> effect of the Omodifier is to use alternative numeric symbols (say,
> roman numerals), and that of the E modifier is to use a
> locale-dependent alternative representation.
> 
> date +'%d %B %Om'
> 
> out: 08 Май 05
> expect: 08 Май мая
> 

If your locale doesn't support this alternative format, the output
should be the same as %m, which is the case here. I don't know what is
your locale, but strftime therefore seems to work correctly.

Also the %Om behaviour is correct for locale actually implementing this
alternate format:

$ LC_TIME=ja_JP.UTF-8 date +'%d %B %m'
08 5月 05
$ LC_TIME=ja_JP.UTF-8 date +'%d %B %Om'
08 5月 五
$ LC_TIME=uk_UA.UTF-8 date +'%d %B %m'
08 травень 05
$ LC_TIME=uk_UA.UTF-8 date +'%d %B %Om'
08 травень травня

In my opinion there is no bug, that said please provide more
informations about your locale so that we can conclude.

-- 
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
Archive: http://lists.debian.org/20130508152716.gb22...@hall.aurel32.net



Bug#705630: marked as done (libc6-dev: Defines missing for TCP options)

2013-05-08 Thread Debian Bug Tracking System
Your message dated Wed, 8 May 2013 17:32:42 +0200
with message-id <20130508153242.gc22...@hall.aurel32.net>
and subject line Re: Bug#705630: libc6-dev: Defines missing for TCP options
has caused the Debian Bug report #705630,
regarding libc6-dev: Defines missing for TCP options
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.)


-- 
705630: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705630
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libc6-dev
Version: 2.13-38
Severity: wishlist
Tags: upstream patch

(submitting this on behalf of the CC target, since it blocks his email?)

Though supported in the default kernel, the defines for the TCP_THIN* and 
several
other fully supported TCP socket options are missing from tcp.h. This makes it
very hard to build applications that utilize these features.

I have backported the relevant patch from upstream eglibc and included it below.

diff -urB eglibc-2.13.orig/sysdeps/gnu/netinet/tcp.h 
eglibc-2.13/sysdeps/gnu/netinet/tcp.h
--- eglibc-2.13.orig/sysdeps/gnu/netinet/tcp.h  2007-10-15 16:14:17.0 
-0400
+++ eglibc-2.13/sysdeps/gnu/netinet/tcp.h   2013-04-16 15:10:29.0 
-0400
@@ -37,20 +37,24 @@
 /*
  * User-settable options (used with setsockopt).
  */
-#defineTCP_NODELAY  1  /* Don't delay send to coalesce packets 
 */
-#defineTCP_MAXSEG   2  /* Set maximum segment size  */
-#define TCP_CORK3  /* Control sending of partial frames  */
-#define TCP_KEEPIDLE4  /* Start keeplives after this period */
-#define TCP_KEEPINTVL   5  /* Interval between keepalives */
-#define TCP_KEEPCNT 6  /* Number of keepalives before death */
-#define TCP_SYNCNT  7  /* Number of SYN retransmits */
-#define TCP_LINGER2 8  /* Life time of orphaned FIN-WAIT-2 state */
-#define TCP_DEFER_ACCEPT 9 /* Wake up listener only when data arrive */
-#define TCP_WINDOW_CLAMP 10/* Bound advertised window */
-#define TCP_INFO11 /* Information about this connection. */
-#defineTCP_QUICKACK 12 /* Bock/reenable quick ACKs.  */
-#define TCP_CONGESTION  13 /* Congestion control algorithm.  */
-#define TCP_MD5SIG  14 /* TCP MD5 Signature (RFC2385) */
+#defineTCP_NODELAY  1  /* Don't delay send to coalesce 
packets  */
+#defineTCP_MAXSEG   2  /* Set maximum segment size  */
+#define TCP_CORK3  /* Control sending of partial frames  */
+#define TCP_KEEPIDLE4  /* Start keeplives after this period */
+#define TCP_KEEPINTVL   5  /* Interval between keepalives */
+#define TCP_KEEPCNT 6  /* Number of keepalives before death */
+#define TCP_SYNCNT  7  /* Number of SYN retransmits */
+#define TCP_LINGER2 8  /* Life time of orphaned FIN-WAIT-2 state */
+#define TCP_DEFER_ACCEPT9  /* Wake up listener only when data arrive */
+#define TCP_WINDOW_CLAMP10 /* Bound advertised window */
+#define TCP_INFO11 /* Information about this connection. */
+#defineTCP_QUICKACK 12 /* Bock/reenable quick ACKs.  */
+#define TCP_CONGESTION  13 /* Congestion control algorithm.  */
+#define TCP_MD5SIG  14 /* TCP MD5 Signature (RFC2385) */
+#define TCP_COOKIE_TRANSACTIONS 15 /* TCP Cookie Transactions */
+#define TCP_THIN_LINEAR_TIMEOUTS 16 /* Use linear timeouts for thin streams*/
+#define TCP_THIN_DUPACK 17 /* Fast retrans. after 1 dupack */
+#define TCP_USER_TIMEOUT18 /* How long for loss retry before timeout */

 #ifdef __USE_MISC
 # include 
@@ -173,7 +177,8 @@
 # define TCPI_OPT_TIMESTAMPS   1
 # define TCPI_OPT_SACK 2
 # define TCPI_OPT_WSCALE   4
-# define TCPI_OPT_ECN  8
+# define TCPI_OPT_ECN  8  /* ECN was negociated at TCP session init */
+# define TCPI_OPT_ECN_SEEN 16 /* we received at least one packet with ECT 
*/

 /* Values for tcpi_state.  */
 enum tcp_ca_state
@@ -241,6 +246,33 @@
   u_int8_t tcpm_key[TCP_MD5SIG_MAXKEYLEN]; /* Key (binary).  */
 };

+/* For cookie transactions socket options.  */
+#define TCP_COOKIE_MIN 8   /*  64-bits */
+#define TCP_COOKIE_MAX 16  /* 128-bits */
+#define TCP_COOKIE_PAIR_SIZE   (2*TCP_COOKIE_MAX)
+
+/* Flags for both getsockopt and setsockopt */
+#define TCP_COOKIE_IN_ALWAYS   (1 << 0)/* Discard SYN without cookie */
+#define TCP_COOKIE_OUT_NEVER   (1 << 1)/* Prohibit outgoing cookies,
+  

r5565 - in glibc-package/trunk/debian: . patches/kfreebsd

2013-05-08 Thread Petr Salinger
Author: ps-guest
Date: 2013-05-08 16:21:16 + (Wed, 08 May 2013)
New Revision: 5565

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
Log:
kfreebsd/local-sysdeps.diff: update to revision 4418 (from glibc-bsd).



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2013-05-08 15:39:03 UTC (rev 
5564)
+++ glibc-package/trunk/debian/changelog2013-05-08 16:21:16 UTC (rev 
5565)
@@ -24,7 +24,7 @@
   * patches/kfreebsd/local-no-pldd.diff: pldd is linux only utility
   * patches/kfreebsd/local-nscd-nosendfile-fix.diff: handle system without
 sendfile syscall
-  * kfreebsd/local-sysdeps.diff: update to revision 4417 (from glibc-bsd).
+  * kfreebsd/local-sysdeps.diff: update to revision 4418 (from glibc-bsd).
 Fixes sys/mount.h without C99.  Closes: #704598.
 
  -- Adam Conrad   Tue, 07 May 2013 13:58:05 -0600

Modified: glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
===
--- glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff  
2013-05-08 15:39:03 UTC (rev 5564)
+++ glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff  
2013-05-08 16:21:16 UTC (rev 5565)
@@ -10891,7 +10891,7 @@
 +ENTRY (__vfork)
 +
 +# ifdef SHARED
-+  call__i686.get_pc_thunk.cx
++  callGET_PC_THUNK(cx)
 +  addl$_GLOBAL_OFFSET_TABLE_, %ecx
 +  cmpl$0, __libc_pthread_functions@GOTOFF(%ecx)
 +# else
@@ -12029,7 +12029,7 @@
 +#endif/* !PIC */
 --- /dev/null
 +++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/sysdep.h
-@@ -0,0 +1,216 @@
+@@ -0,0 +1,230 @@
 +/* Copyright (C) 1992,1993,1995-2000,2002,2003,2004
 +   Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -12066,6 +12066,20 @@
 +#define __i686 __i686
 +#endif
 +
++#ifdef__ASSEMBLER__
++# if __GNUC_PREREQ (4, 7)
++#  define GET_PC_THUNK(reg) __x86.get_pc_thunk.reg
++# else
++#  define GET_PC_THUNK(reg) __i686.get_pc_thunk.reg
++# endif
++#else
++# if __GNUC_PREREQ (4, 7)
++#  define GET_PC_THUNK_STR(reg) "__x86.get_pc_thunk." #reg
++# else
++#  define GET_PC_THUNK_STR(reg) "__i686.get_pc_thunk." #reg
++# endif
++#endif
++
 +#ifdef __ASSEMBLER__
 +
 +/* We don't want the label for the error handle to be global when we define


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1ua77f-0006sr...@vasks.debian.org



Processed: tagging 699399

2013-05-08 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 699399 + pending
Bug #699399 [eglibc] [CVE-2013-0242] glibc: DoS due to a buffer overrun in 
regexp matcher by processing multibyte characters
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
699399: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699399
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.13680323658882.transcr...@bugs.debian.org



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

2013-05-08 Thread Adam Conrad
Author: adconrad
Date: 2013-05-08 16:59:12 + (Wed, 08 May 2013)
New Revision: 5566

Added:
   glibc-package/trunk/debian/patches/any/cvs-regexp-overrun.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
debian/patches/any/cvs-regexp-overrun.diff: Backport patch from git
to resolve regex matcher overrun, CVE-2013-0242 (Closes: #699399)

Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2013-05-08 16:21:16 UTC (rev 
5565)
+++ glibc-package/trunk/debian/changelog2013-05-08 16:59:12 UTC (rev 
5566)
@@ -5,6 +5,8 @@
 another unconditional O_CLOEXEC and conditionalize it for freebsd.
   * debian/patches/kfreebsd/local-HAVE_TLS_SUPPORT.diff: Removed, as
 this is no longer needed by the updated glibc-bsd sysdeps upstream.
+  * debian/patches/any/cvs-regexp-overrun.diff: Backport patch from git
+to resolve regex matcher overrun, CVE-2013-0242 (Closes: #699399)
 
   [ Aurelien Jarno ]
   * patches/any/cvs-sys-param-h-DEV_BSIZE.diff: New patch to fix

Added: glibc-package/trunk/debian/patches/any/cvs-regexp-overrun.diff
===
--- glibc-package/trunk/debian/patches/any/cvs-regexp-overrun.diff  
(rev 0)
+++ glibc-package/trunk/debian/patches/any/cvs-regexp-overrun.diff  
2013-05-08 16:59:12 UTC (rev 5566)
@@ -0,0 +1,152 @@
+commit a445af0bc722d620afed7683cd320c0e4c7c6059
+Author: Andreas Schwab 
+Date:   Tue Jan 29 14:45:15 2013 +0100
+
+Fix buffer overrun in regexp matcher
+
+ 2013-02-12  Andreas Schwab  
+ 
+   [BZ #15078]
+   * posix/regexec.c (extend_buffers): Add parameter min_len.
+   (check_matching): Pass minimum needed length.
+   (clean_state_log_if_needed): Likewise.
+   (get_subexp): Likewise.
+   * posix/Makefile (tests): Add bug-regex34.
+   (bug-regex34-ENV): Define.
+   * posix/bug-regex34.c: New file.
+
+diff --git a/posix/Makefile b/posix/Makefile
+index 88d409f..2cacd21 100644
+--- a/posix/Makefile
 b/posix/Makefile
+@@ -86,7 +86,7 @@ tests:= tstgetopt testfnm runtests runptests 
 \
+  tst-execvp3 tst-execvp4 \
+  tst-fnmatch2 tst-cpucount tst-cpuset \
+  bug-getopt1 bug-getopt2 bug-getopt3 bug-getopt4 \
+- bug-getopt5 tst-getopt_long1
++ bug-getopt5 tst-getopt_long1 bug-regex34
+ tests-$(OPTION_EGLIBC_LOCALE_CODE)\
+   += tst-fnmatch tst-regexloc bug-regex1 bug-regex5 \
+  bug-regex23 bug-regex25 bug-regex32 bug-regex33
+@@ -199,6 +199,7 @@ bug-regex26-ENV = LOCPATH=$(common-objpfx)localedata
+ bug-regex30-ENV = LOCPATH=$(common-objpfx)localedata
+ bug-regex32-ENV = LOCPATH=$(common-objpfx)localedata
+ bug-regex33-ENV = LOCPATH=$(common-objpfx)localedata
++bug-regex34-ENV = LOCPATH=$(common-objpfx)localedata
+ tst-rxspencer-ARGS = rxspencer/tests
+ ifeq (y,$(OPTION_EGLIBC_LOCALE_CODE))
+ tst-rxspencer-ARGS += --utf8 
+diff --git a/posix/bug-regex34.c b/posix/bug-regex34.c
+new file mode 100644
+index 000..bb3b613
+--- /dev/null
 b/posix/bug-regex34.c
+@@ -0,0 +1,46 @@
++/* Test re_search with multi-byte characters in UTF-8.
++   Copyright (C) 2013 Free Software Foundation, Inc.
++   This file is part of the GNU C Library.
++
++   The GNU C Library is free software; you can redistribute it and/or
++   modify it under the terms of the GNU Lesser General Public
++   License as published by the Free Software Foundation; either
++   version 2.1 of the License, or (at your option) any later version.
++
++   The GNU C Library 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
++   Lesser General Public License for more details.
++
++   You should have received a copy of the GNU Lesser General Public
++   License along with the GNU C Library; if not, see
++   .  */
++
++#define _GNU_SOURCE 1
++#include 
++#include 
++#include 
++#include 
++
++static int
++do_test (void)
++{
++  struct re_pattern_buffer r;
++  /* ကျွန်ုပ်x */
++  const char *s = 
"\xe1\x80\x80\xe1\x80\xbb\xe1\x80\xbd\xe1\x80\x94\xe1\x80\xba\xe1\x80\xaf\xe1\x80\x95\xe1\x80\xbax";
++
++  if (setlocale (LC_ALL, "en_US.UTF-8") == NULL)
++{
++  puts ("setlocale failed");
++  return 1;
++}
++  memset (&r, 0, sizeof (r));
++
++  re_compile_pattern ("[^x]x", 5, &r);
++  /* This was triggering a buffer overflow.  */
++  re_search (&r, s, strlen (s), 0, strlen (s), 0);
++  return 0;
++}
++
++#define TEST_FUNCTION do_test ()
++#include "../test-skeleton.c"
+diff --git a/posix/regexec.c b/posix/regexec.c
+index 7f2de85..5ca2bf6 100644
+--- a/posix/regexec.c
 b/posix/regexec.c

Bug#707091: ld-linux-x32.so.2 --verify segfaults on non-ELF files

2013-05-08 Thread Adam Conrad
This actually has nothing to do with non-ELF files at all, it's
just that, on an amd64 system, non-ELF files are the only ones
that will trip through trying all ld-linux variants until you
hit the x32 one.

The real problem is that ld-linux-x32 segfaults when run on a
kernel without x32 support.  I had a clever idea a while back
to maybe trap an attempt at some x32-only syscall and exit
gracefully if kernel support is lacking, but haven't found the
time to do that (plus, no matter how lightweight that ends up
being, it still adds a tiny bit of time to every ld.so call on
x32, which is a bit irksome, but possibly worth it to rid us of
the confusing segfaults).

... Adam


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130508191622.gl29...@0c3.net



Bug#707306: libc6: unable to upgrade to 2.17 getting errors while configuring

2013-05-08 Thread shirish शिरीष
Package: libc6
Version: 2.17-1
Justification: renders package unusable
Severity: grave

Dear Maintainer,
I was trying to upgrade libc6 when I was hit by the following :-

$ sudo aptitude install libc6-i386= 2.17-1 libc6=2.17-1 -y
The following packages will be upgraded:
  libc6
1 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/4,766 kB of archives. After unpacking 71.7 kB will be used.
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Preconfiguring packages ...
(Reading database ... 555941 files and directories currently installed.)
Preparing to replace libc6:amd64 2.17-0experimental2 (using
.../libc6_2.17-1_amd64.deb) ...
D01: process_archive oldversionstatus=installed
D01: cmpversions a=`0:2.17-1' b=`0:2.13-17' r=4
D01: cmpversions a=`0:2.17-1' b=`0:2.13-5' r=4
D01: cmpversions a=`0:2.17-0experimental2' b=`0:2.9-22' r=1
D01: cmpversions a=`0:2.17-0experimental2' b=`0:2.9-22' r=1
D01: cmpversions a=`0:2.17-0experimental2' b=`0:2.17' r=101

A copy of the C library was found in an unexpected directory:
  '/lib/libc-2.11.2.so'
It is not safe to upgrade the C library in this situation;
please remove that copy of the C library or get it out of
'/lib' and try again.

dpkg: error processing /var/cache/apt/archives/libc6_2.17-1_amd64.deb
(--unpack):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.17-1_amd64.deb
dpkg-query: no packages found matching libc6-i386:amd64
E: Sub-process returned an error code
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:

I tried again :-

$ sudo aptitude install libc6-i386=2.17-1 libc6=2.17-1 -y
The following NEW packages will be installed:
  libc6-i386
The following packages will be upgraded:
  libc6
1 packages upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/9,063 kB of archives. After unpacking 9,873 kB will be used.
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Preconfiguring packages ...
(Reading database ... 555941 files and directories currently installed.)
Preparing to replace libc6:amd64 2.17-0experimental2 (using
.../libc6_2.17-1_amd64.deb) ...
D01: process_archive oldversionstatus=installed
D01: cmpversions a=`0:2.17-1' b=`0:2.13-17' r=4
D01: cmpversions a=`0:2.17-1' b=`0:2.13-5' r=4
D01: cmpversions a=`0:2.17-0experimental2' b=`0:2.9-22' r=1
D01: cmpversions a=`0:2.17-0experimental2' b=`0:2.9-22' r=1
D01: cmpversions a=`0:2.17-0experimental2' b=`0:2.17' r=101

A copy of the C library was found in an unexpected directory:
  '/lib/libdl-2.11.2.so'
It is not safe to upgrade the C library in this situation;
please remove that copy of the C library or get it out of
'/lib' and try again.

dpkg: error processing /var/cache/apt/archives/libc6_2.17-1_amd64.deb
(--unpack):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.17-1_amd64.deb
dpkg-query: no packages found matching libc6-i386:amd64
dpkg-query -W: failed at /usr/bin/adequate line 167.
E: Problem executing scripts DPkg::Post-Invoke 'adequate --help
>/dev/null 2>&1 || exit 0; DEBIAN_FRONTEND=readline exec adequate
--debconf --user nobody --pending'
E: Sub-process returned an error code
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:

Still the same response.

I removed the offending library copy as well as the original, quite a
few of them before I was able to correctly install it without any
errors :-

$ sudo aptitude install libc6-i386=2.17-1 libc6=2.17-1 -y
The following NEW packages will be installed:
  libc6-i386
The following packages will be upgraded:
  libc6
1 packages upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/9,063 kB of archives. After unpacking 9,873 kB will be used.
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Preconfiguring packages ...
(Reading database ... 555941 files and directories currently installed.)
Preparing to replace libc6:amd64 2.17-0experimental2 (using
.../libc6_2.17-1_amd64.deb) ...
D01: process_archive oldversionstatus=installed
D01: cmpversions a=`0:2.17-1' b=`0:2.13-17' r=4
D01: cmpversions a=`0:2.17-1' b=`0:2.13-5' r=4
D01: cmpversions a=`0:2.17-0experimental2' b=`0:2.9-22' r=1
D01: cmpversions a=`0:2.17-0experimental2' b=`0:2.9-22' r=1
D01: cmpversions a=`0:2.17-0experimental2' b=`0:2.17' r=101
D01: cmpversions a=`0:2.17-0experimental2' b=`0:2.13-39' r=4
Unpacking replacement libc6:amd64 ...
D01: process_archive updating info directory
D01: generating infodb hashfile
Setting up libc6:amd64 (2.17-1) ...
D01: deferred_configure updating conffiles
D01: cmpversions a=`0:2.17-0experimental2' b=`0:2.17' r=101
Selecting previously unselec

Bug#707200: locale info

2013-05-08 Thread Ivan Borzenkov
Hello, in ru_RU.UTF-8 locale

LC_TIME=ru_RU.UTF-8 date +'%d %B %Om'
09 Май 05


--
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cammmhd1-mfuh-zuqvrcroukfagkb5dut2p_eh_goa7tnncz...@mail.gmail.com