Bug#271428: closed by Aurelien Jarno [EMAIL PROTECTED] (Re: date: wrong timezone info)

2008-07-08 Thread martin f krafft
also sprach Aurelien Jarno [EMAIL PROTECTED] [2008.07.07.1748 +0200]:
 Sorry but I don't understand why you reopened this bug. Before the
 output was:
 
 (etch)[volta:~]$ TZ=wrongtimezone date
 Mon Jul  7 15:45:25 wrongtimezone 2008
 
 Now it is:
 
 (sid)[volta:~]$ TZ=wrongtimezone date
 Mon Jul  7 15:47:13 UTC 2008
 
 This is exactly what you asked in the bug report:

You are right, I misremembered. I guess what I was also asking
though was that there should be a warning if the timezone wasn't
found.

Anyway, this is a lot better than before, but it did cause problems
today, when we looked for America/NewYork instead of New_York and
were 4 hours off, not noticing the UTC in there...

-- 
 .''`.   martin f. krafft [EMAIL PROTECTED]
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
 
infinite loop: see 'loop, infinite'.
loop, infinite: see 'infinite loop'.


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


Bug#271428: closed by Aurelien Jarno [EMAIL PROTECTED] (Re: date: wrong timezone info)

2008-07-08 Thread Aurelien Jarno
reassign 271428 coreutils
thanks

martin f krafft a écrit :
 also sprach Aurelien Jarno [EMAIL PROTECTED] [2008.07.07.1748 +0200]:
 Sorry but I don't understand why you reopened this bug. Before the
 output was:

 (etch)[volta:~]$ TZ=wrongtimezone date
 Mon Jul  7 15:45:25 wrongtimezone 2008

 Now it is:

 (sid)[volta:~]$ TZ=wrongtimezone date
 Mon Jul  7 15:47:13 UTC 2008

 This is exactly what you asked in the bug report:
 
 You are right, I misremembered. I guess what I was also asking
 though was that there should be a warning if the timezone wasn't
 found.
 
 Anyway, this is a lot better than before, but it did cause problems
 today, when we looked for America/NewYork instead of New_York and
 were 4 hours off, not noticing the UTC in there...

If you want an error message to be printed, that's not a glibc problem
anymore, it's a coreutils problem. Reassigning the bug.

-- 
  .''`.  Aurelien Jarno | GPG: 1024D/F1BCDB73
 : :' :  Debian developer   | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net



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



Processed: Re: Bug#271428 closed by Aurelien Jarno [EMAIL PROTECTED] (Re: date: wrong timezone info)

2008-07-08 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 reassign 271428 coreutils
Bug#271428: date: wrong timezone info
Bug reassigned from package `libc6' to `coreutils'.

 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]



Bug#489856: glibc: FTBFS on hppa

2008-07-08 Thread Miguel Gea Milvaques
Package: glibc
Version: 2.7-12
Severity: serious
Justification: no longer builds from source


It fails to build in hppa. See buildd logs [1].

[1]
http://buildd.debian.org/fetch.cgi?pkg=glibc;ver=2.7-12;arch=hppa;stamp=1213186288

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

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



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



Bug#348896: libc6-dev: implicit declaration of function swab

2008-07-08 Thread Diego Biurrun
Package: libc6-dev
Version: 2.7-12
Followup-For: Bug #348896


I do not get the compilation failure of the original reporter and have
no trouble using the unistd.h header with a #define __USE_XOPEN just
before it.

However, I also need the #ifdef, which should not be required.  Is this
bug going to be addressed?

best regards

Diego

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

Kernel: Linux 2.6.23
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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

Versions of packages libc6-dev recommends:
ii  gcc [c-compiler]  4:4.3.1-2  The GNU C compiler
ii  gcc-3.3 [c-compiler]  1:3.3.6-15 The GNU C compiler
ii  gcc-3.4 [c-compiler]  3.4.6-6The GNU C compiler
ii  gcc-4.0 [c-compiler]  4.0.3-7The GNU C compiler
ii  gcc-4.1 [c-compiler]  4.1.2-23   The GNU C compiler
ii  gcc-4.2 [c-compiler]  4.2.4-3The GNU C compiler
ii  gcc-4.3 [c-compiler]  4.3.1-5The GNU C compiler

-- no debconf information



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



Re: correct definition of localhost?

2008-07-08 Thread Martijn van Oosterhout
On Tue, Jul 8, 2008 at 2:37 AM, Joey Hess [EMAIL PROTECTED] wrote:
 http://sourceware.org/bugzilla/show_bug.cgi?id=4980

I just find it wierd that there doesn't appear to be a single person
who can explain the reasoning for the change...

Have a nice day,
-- 
Martijn van Oosterhout [EMAIL PROTECTED] http://svana.org/kleptog/


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



Bug#489856: glibc: FTBFS on hppa

2008-07-08 Thread Carlos O'Donell
On Tue, Jul 8, 2008 at 4:49 AM, Miguel Gea Milvaques
[EMAIL PROTECTED] wrote:
 Package: glibc
 Version: 2.7-12
 Severity: serious
 Justification: no longer builds from source


 It fails to build in hppa. See buildd logs [1].

 [1]
 http://buildd.debian.org/fetch.cgi?pkg=glibc;ver=2.7-12;arch=hppa;stamp=1213186288

The tst-regex test can hang for any number of reasons. The workaround
is to timeout the test.

Workaround is already upstream here:
http://sourceware.org/bugzilla/show_bug.cgi?id=6653

Cheers,
Carlos.



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



Bug#489856: glibc: FTBFS on hppa

2008-07-08 Thread Aurelien Jarno
Carlos O'Donell a écrit :
 On Tue, Jul 8, 2008 at 4:49 AM, Miguel Gea Milvaques
 [EMAIL PROTECTED] wrote:
 Package: glibc
 Version: 2.7-12
 Severity: serious
 Justification: no longer builds from source


 It fails to build in hppa. See buildd logs [1].

 [1]
 http://buildd.debian.org/fetch.cgi?pkg=glibc;ver=2.7-12;arch=hppa;stamp=1213186288
 
 The tst-regex test can hang for any number of reasons. The workaround
 is to timeout the test.
 
 Workaround is already upstream here:
 http://sourceware.org/bugzilla/show_bug.cgi?id=6653
 

I don't really like this workaround, this just means that every program
that use a regex and an UTF-8 locale will hang...

-- 
  .''`.  Aurelien Jarno | GPG: 1024D/F1BCDB73
 : :' :  Debian developer   | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net



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



Bug#489856: glibc: FTBFS on hppa

2008-07-08 Thread Carlos O'Donell
On Tue, Jul 8, 2008 at 12:04 PM, Aurelien Jarno [EMAIL PROTECTED] wrote:
 Workaround is already upstream here:
 http://sourceware.org/bugzilla/show_bug.cgi?id=6653


 I don't really like this workaround, this just means that every program
 that use a regex and an UTF-8 locale will hang...

In case I wasn't clear, the solution is to backport the patch for
BZ#6653, thus allowing tst-regex to timeout *instead* of timing out
the buildd.

Cheers,
Carlos.



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



Bug#489856: glibc: FTBFS on hppa

2008-07-08 Thread Aurelien Jarno
Carlos O'Donell a écrit :
 On Tue, Jul 8, 2008 at 12:04 PM, Aurelien Jarno [EMAIL PROTECTED] wrote:
 Workaround is already upstream here:
 http://sourceware.org/bugzilla/show_bug.cgi?id=6653

 I don't really like this workaround, this just means that every program
 that use a regex and an UTF-8 locale will hang...
 
 In case I wasn't clear, the solution is to backport the patch for
 BZ#6653, thus allowing tst-regex to timeout *instead* of timing out
 the buildd.

I understand, that with the patch the build will succeed. But that just
means we will have a broken glibc in unstable. I consider that test
important enough to not ignore it.

FYI, I am working on the problem, it *seems* the problem is due to the
switch to 2.6.25 kernel headers.

-- 
  .''`.  Aurelien Jarno | GPG: 1024D/F1BCDB73
 : :' :  Debian developer   | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net



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



Bug#489856: glibc: FTBFS on hppa

2008-07-08 Thread Carlos O'Donell
On Tue, Jul 8, 2008 at 12:09 PM, Aurelien Jarno [EMAIL PROTECTED] wrote:
 Carlos O'Donell a écrit :
 On Tue, Jul 8, 2008 at 12:04 PM, Aurelien Jarno [EMAIL PROTECTED] wrote:
 Workaround is already upstream here:
 http://sourceware.org/bugzilla/show_bug.cgi?id=6653

 I don't really like this workaround, this just means that every program
 that use a regex and an UTF-8 locale will hang...

 In case I wasn't clear, the solution is to backport the patch for
 BZ#6653, thus allowing tst-regex to timeout *instead* of timing out
 the buildd.

 I understand, that with the patch the build will succeed. But that just
 means we will have a broken glibc in unstable. I consider that test
 important enough to not ignore it.

Eventually all the tests will be migrated to the test-skeleton
framework, and then the buildd will *never* timeout. Relying on the
tests to timeout the buildd will eventually cause a broken glibc to be
uploaded. There should be a post-build step that scans the error logs
and fails the build.

I posted a patch for this in 2004 here:
http://www.mail-archive.com/debian-glibc@lists.debian.org/msg08830.html

Aurel, what do you think?

 FYI, I am working on the problem, it *seems* the problem is due to the
 switch to 2.6.25 kernel headers.

Thanks.



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



Processed: tagging 489856

2008-07-08 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 # Automatically generated email from bts, devscripts version 2.9.26
 tags 489856 + pending
Bug#489856: glibc: FTBFS on hppa
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]



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

2008-07-08 Thread aurel32
Author: aurel32
Date: 2008-07-08 16:27:47 + (Tue, 08 Jul 2008)
New Revision: 2986

Added:
   glibc-package/trunk/debian/patches/any/cvs-tst-regex.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * any/cvs-tst-regex.diff: new patch from CVS to add a timeout to tst-regex.
Closes: #489856.



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2008-07-07 07:59:56 UTC (rev 
2985)
+++ glibc-package/trunk/debian/changelog2008-07-08 16:27:47 UTC (rev 
2986)
@@ -7,6 +7,8 @@
 initialize internal resolver structures in getaddrinfo().  Closes:
 #489586.
   * Update Romanian debconf translation, by Eddy Petrişor.  Closes: #488734.
+  * any/cvs-tst-regex.diff: new patch from CVS to add a timeout to tst-regex.
+Closes: #489856.
 
   [ Petr Salinger]
   * debian/sysdeps/kfreebsd.mk: also use the bsm/ directory from kernel
@@ -24,7 +26,7 @@
   * patches/hurd-i386/cvs-open_2.diff: New patch to implement __open_2
 and __openat_2. Together with kfreebsd update closes: #489357.
 
- -- Aurelien Jarno [EMAIL PROTECTED]  Mon, 07 Jul 2008 06:52:43 +0200
+ -- Aurelien Jarno [EMAIL PROTECTED]  Tue, 08 Jul 2008 18:26:28 +0200
 
 glibc (2.7-12) unstable; urgency=low
 

Added: glibc-package/trunk/debian/patches/any/cvs-tst-regex.diff
===
--- glibc-package/trunk/debian/patches/any/cvs-tst-regex.diff   
(rev 0)
+++ glibc-package/trunk/debian/patches/any/cvs-tst-regex.diff   2008-07-08 
16:27:47 UTC (rev 2986)
@@ -0,0 +1,59 @@
+commit 0bc0c4cfb2c2320314228c335f38b7a9a9b84c34
+Author: Ulrich Drepper [EMAIL PROTECTED]
+Date:   Wed Jun 25 23:25:56 2008 +
+
+(main): Rename to...
+(do_test): ... this. Remove cmdline option processing.
+(TIMEOUT): Define.
+(TEST_FUNCTION): Define.
+(CMDLINE_OPTIONS): Define.
+
+diff --git a/posix/tst-regex.c b/posix/tst-regex.c
+index 6a71e12..a7fba69 100644
+--- a/posix/tst-regex.c
 b/posix/tst-regex.c
+@@ -1,4 +1,4 @@
+-/* Copyright (C) 2001, 2003 Free Software Foundation, Inc.
++/* Copyright (C) 2001, 2003, 2008 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
+@@ -55,8 +55,8 @@ static int run_test_backwards (const char *expr, const char 
*mem,
+  size_t memlen, int icase, int expected);
+ 
+ 
+-int
+-main (int argc, char *argv[])
++static int
++do_test (void)
+ {
+   const char *file;
+   int fd;
+@@ -66,16 +66,9 @@ main (int argc, char *argv[])
+   char *outmem;
+   size_t inlen;
+   size_t outlen;
+-  static const struct option options[] =
+-{
+-  {timing,no_argument,  timing,1 },
+-  {NULL,  0,  NULL,   0 }
+-};
+ 
+   mtrace ();
+ 
+-  while (getopt_long (argc, argv, , options, NULL) = 0);
+-
+   /* Make the content of the file available in memory.  */
+   file = ../ChangeLog.8;
+   fd = open (file, O_RDONLY);
+@@ -506,3 +499,10 @@ run_test_backwards (const char *expr, const char *mem, 
size_t memlen,
+  expect.  */
+   return cnt != expected;
+ }
++
++/* If --timing is used we will need a larger timout.  */
++#define TIMEOUT 50
++#define CMDLINE_OPTIONS \
++   {timing, no_argument, timing, 1 },
++#define TEST_FUNCTION do_test ()
++#include ../test-skeleton.c

Modified: glibc-package/trunk/debian/patches/series
===
--- glibc-package/trunk/debian/patches/series   2008-07-07 07:59:56 UTC (rev 
2985)
+++ glibc-package/trunk/debian/patches/series   2008-07-08 16:27:47 UTC (rev 
2986)
@@ -152,6 +152,7 @@
 any/cvs-rfc3484.diff -p1
 any/cvs-sched_h.diff -p0
 any/cvs-strtod.diff -p1
+any/cvs-tst-regex.diff -p1
 any/cvs-tzfile.diff -p1
 any/cvs-vfscanf.diff -p0
 any/cvs-wchar_h.diff -p0


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



Bug#489906: glibc: tst-regex fails on hppa

2008-07-08 Thread Aurelien Jarno
Package: libc6
Version: 2.7-12
Severity: critical

tst-regex fails on hppa, which IMHO is not something acceptable for a
release architecture.

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

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

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

libc6 recommends no packages.

-- debconf information excluded



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



Re: correct definition of localhost?

2008-07-08 Thread Steve Langasek
On Tue, Jul 08, 2008 at 01:47:51PM +0200, Martijn van Oosterhout wrote:
 On Tue, Jul 8, 2008 at 2:37 AM, Joey Hess [EMAIL PROTECTED] wrote:
  http://sourceware.org/bugzilla/show_bug.cgi?id=4980

 I just find it wierd that there doesn't appear to be a single person
 who can explain the reasoning for the change...

Ulrich made the change, and he's not exactly known for giving helpful
explanations.  Apparently he thinks bug ping-pong is a better use of his
time.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developerhttp://www.debian.org/
[EMAIL PROTECTED] [EMAIL PROTECTED]


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



Re: correct definition of localhost?

2008-07-08 Thread sean finney
On Tuesday 08 July 2008 06:40:05 pm Steve Langasek wrote:

 Ulrich made the change, and he's not exactly known for giving helpful
 explanations.  Apparently he thinks bug ping-pong is a better use of his
 time.

it sounds like we have another contender for the annual jörg schilling 
award[1].


sean

[1] http://mako.cc/copyrighteous/images/trophy.png


signature.asc
Description: This is a digitally signed message part.


Bug#489946: Incorrect locale information for sv_FI

2008-07-08 Thread David Weinehall
Package: locales
Version: 2.7-12
Severity: minor

The Swedish locale for Finland contains a few errors in the LC_TIME
section; in Finland, dates are written using DD.MM., and times
are written HH:MM:SS; the current sv_FI instead uses the formats used
in Sweden (-MM-DD and HH.MM.SS, respectively).


Regards: David Weinehall
-- 
 /) David Weinehall [EMAIL PROTECTED] /) Rime on my window   (\
//  ~   //  Diamond-white roses of fire //
\)  http://www.acc.umu.se/~tao/(/   Beautiful hoar-frost   (/



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



Bug#489960: date_fmt incorrect for sv_SE

2008-07-08 Thread David Weinehall
Package: locales
Version: 2.7-12
Severity: minor
Tags: patch

date_fmt uses the wrong time format for the Swedish locale; the included
patch tries to fix this.  The patch also moves the %Y to the same
position it has in %c, and adds a few helpful comments while at it.


Regards: David Weinehall
-- 
 /) David Weinehall [EMAIL PROTECTED] /) Rime on my window   (\
//  ~   //  Diamond-white roses of fire //
\)  http://www.acc.umu.se/~tao/(/   Beautiful hoar-frost   (/


--- sv_SE.old   2008-07-09 01:17:05.0 +0300
+++ sv_SE   2008-07-09 01:28:06.0 +0300
@@ -169,14 +169,23 @@
   U006FU006BU0074U006FU0062U0065U0072;/
   U006EU006FU0076U0065U006DU0062U0065U0072;/
   U0064U0065U0063U0065U006DU0062U0065U0072
+#
+# Appropriate date and time representation (%c)
+#   %a %e %b %Y %H.%M.%S
 d_t_fmt   
U0025U0061U0020U0025U0065U0020U0025U0062U0020U0025U0059U0020U0025U0048U002EU0025U004DU002EU0025U0053
+#
+# Appropriate date representation (%x)   %Y-%m-%d
 d_fmt U0025U0059U002DU0025U006DU002DU0025U0064
+#
+# Appropriate time representation (%X)   %H.%M.%S
 t_fmt U0025U0048U002EU0025U004DU002EU0025U0053
 am_pm ;
 t_fmt_ampm  
-date_fmt   U0025U0061U0020U0025U0062U0020U0025U0065/
-U0020U0025U0048U003AU0025U004DU003AU0025U0053U0020/
-U0025U005AU0020U0025U0059
+#
+# Appropriate date representation (date(1))   %a %e %b %Y %H.%M.%S %Z
+date_fmt   U0025U0061U0020U0025U0065U0020U0025U0062/
+U0020U0025U0059U0020U0025U0048U002EU0025U004DU002E/
+U0025U0053U0020U0025U005A
 first_weekday 2
 first_workday 2
 END LC_TIME



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