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

2007-12-08 Thread aurel32
Author: aurel32
Date: 2007-12-08 11:29:41 + (Sat, 08 Dec 2007)
New Revision: 2735

Added:
   glibc-package/trunk/debian/patches/any/cvs-sched_h.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/any/submitted-sched_h.diff
   glibc-package/trunk/debian/patches/series
Log:
  * Moved merged parts of patches/any/submitted-sched_h.diff into
patches/any/cvs-sched_h.diff.



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2007-12-07 07:09:31 UTC (rev 
2734)
+++ glibc-package/trunk/debian/changelog2007-12-08 11:29:41 UTC (rev 
2735)
@@ -1,3 +1,11 @@
+glibc (2.7-5) unstable; urgency=low
+
+  [ Aurelien Jarno ]
+  * Moved merged parts of patches/any/submitted-sched_h.diff into
+patches/any/cvs-sched_h.diff.
+
+ -- Aurelien Jarno <[EMAIL PROTECTED]>  Sat, 08 Dec 2007 12:29:28 +0100
+
 glibc (2.7-4) unstable; urgency=low
 
   [ Aurelien Jarno ]

Added: glibc-package/trunk/debian/patches/any/cvs-sched_h.diff
===
--- glibc-package/trunk/debian/patches/any/cvs-sched_h.diff 
(rev 0)
+++ glibc-package/trunk/debian/patches/any/cvs-sched_h.diff 2007-12-08 
11:29:41 UTC (rev 2735)
@@ -0,0 +1,89 @@
+2007-12-06  Aurelien Jarno  <[EMAIL PROTECTED]>
+
+   [BZ #5452]
+   * sysdeps/unix/sysv/linux/bits/sched.h: Use __extension__
+   keyword for gcc's braced-groups.
+
+Index: sysdeps/unix/sysv/linux/bits/sched.h
+===
+RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/bits/sched.h,v
+retrieving revision 1.28
+retrieving revision 1.29
+diff -u -d -p -r1.28 -r1.29
+--- sysdeps/unix/sysv/linux/bits/sched.h   29 Jul 2007 22:42:51 -  
1.28
 sysdeps/unix/sysv/linux/bits/sched.h   7 Dec 2007 16:36:43 -   
1.29
+@@ -132,17 +132,21 @@ typedef struct
+   } while (0)
+ # endif
+ # define __CPU_SET_S(cpu, setsize, cpusetp) \
+-  ({ size_t __cpu = (cpu);  \
+- __cpu < 8 * (setsize)  \
+- ? ((cpusetp)->__bits[__CPUELT (__cpu)] |= __CPUMASK (__cpu)) : 0; })
++  (__extension__\
++   ({ size_t __cpu = (cpu); \
++  __cpu < 8 * (setsize) \
++  ? ((cpusetp)->__bits[__CPUELT (__cpu)] |= __CPUMASK (__cpu)) : 0; }))
+ # define __CPU_CLR_S(cpu, setsize, cpusetp) \
+-  ({ size_t __cpu = (cpu);  \
+- __cpu < 8 * (setsize)  \
+- ? ((cpusetp)->__bits[__CPUELT (__cpu)] &= ~__CPUMASK (__cpu)) : 0; })
++  (__extension__\
++   ({ size_t __cpu = (cpu); \
++  __cpu < 8 * (setsize) \
++  ? ((cpusetp)->__bits[__CPUELT (__cpu)] &= ~__CPUMASK (__cpu)) : 0; }))
+ # define __CPU_ISSET_S(cpu, setsize, cpusetp) \
+-  ({ size_t __cpu = (cpu);  \
+- __cpu < 8 * (setsize)  \
+- ? (((cpusetp)->__bits[__CPUELT (__cpu)] & __CPUMASK (__cpu))) != 0 : 0; 
})
++  (__extension__\
++   ({ size_t __cpu = (cpu); \
++  __cpu < 8 * (setsize) \
++  ? (((cpusetp)->__bits[__CPUELT (__cpu)] & __CPUMASK (__cpu))) != 0  
\
++  : 0; }))
+ 
+ # define __CPU_COUNT_S(setsize, cpusetp) \
+   __sched_cpucount (setsize, cpusetp)
+@@ -152,25 +156,27 @@ typedef struct
+   (__builtin_memcmp (cpusetp1, cpusetp2, setsize) == 0)
+ # else
+ #  define __CPU_EQUAL_S(setsize, cpusetp1, cpusetp2) \
+-  ({ cpu_set_t *__arr1 = (cpusetp1);\
+- cpu_set_t *__arr2 = (cpusetp2);\
+- size_t __imax = (setsize) / sizeof (__cpu_mask);   \
+- size_t __i;\
+- for (__i = 0; __i < __imax; ++__i)   
  \
+-   if (__arr1->__bits[__i] != __arr2->__bits[__i])
  \
+-   break;   \
+- __i == __imax; })
++  (__extension__\
++   ({ cpu_set_t *__arr1 = (cpusetp1);   \
++  cpu_set_t *__arr2 = (cpusetp2);   \
++  size_t __imax =

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

2007-12-08 Thread aurel32
Author: aurel32
Date: 2007-12-08 11:32:57 + (Sat, 08 Dec 2007)
New Revision: 2736

Added:
   glibc-package/trunk/debian/patches/any/cvs-ether_line.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * patches/any/cvs-ether_line.diff: new patch from upstream to fix
ether_line().  Closes: bug#453899.



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2007-12-08 11:29:41 UTC (rev 
2735)
+++ glibc-package/trunk/debian/changelog2007-12-08 11:32:57 UTC (rev 
2736)
@@ -3,8 +3,10 @@
   [ Aurelien Jarno ]
   * Moved merged parts of patches/any/submitted-sched_h.diff into
 patches/any/cvs-sched_h.diff.
+  * patches/any/cvs-ether_line.diff: new patch from upstream to fix
+ether_line().  Closes: bug#453899.
 
- -- Aurelien Jarno <[EMAIL PROTECTED]>  Sat, 08 Dec 2007 12:29:28 +0100
+ -- Aurelien Jarno <[EMAIL PROTECTED]>  Sat, 08 Dec 2007 12:32:40 +0100
 
 glibc (2.7-4) unstable; urgency=low
 

Added: glibc-package/trunk/debian/patches/any/cvs-ether_line.diff
===
--- glibc-package/trunk/debian/patches/any/cvs-ether_line.diff  
(rev 0)
+++ glibc-package/trunk/debian/patches/any/cvs-ether_line.diff  2007-12-08 
11:32:57 UTC (rev 2736)
@@ -0,0 +1,41 @@
+2007-12-07  Ulrich Drepper  <[EMAIL PROTECTED]>
+
+   [BZ #5454]
+   * inet/ether_line.c: Strip hostname of whitespaces.
+
+Index: inet/ether_line.c
+===
+RCS file: /cvs/glibc/libc/inet/ether_line.c,v
+retrieving revision 1.6
+retrieving revision 1.7
+diff -u -d -p -r1.6 -r1.7
+--- inet/ether_line.c  24 May 2002 08:20:58 -  1.6
 inet/ether_line.c  7 Dec 2007 16:34:36 -   1.7
+@@ -61,19 +61,20 @@ ether_line (const char *line, struct eth
+   ++line;
+ }
+ 
+-  /* Remove trailing white space.  */
+-  cp = __strchrnul (line, '#');
+-  while (cp > line && isspace (cp[-1]))
+---cp;
++  /* Skip initial whitespace.  */
++  while (isspace (*line))
++++line;
+ 
+-  if (cp == line)
++  if (*line == '#' || *line == '\0')
+ /* No hostname.  */
+ return -1;
+ 
++  /* The hostname is up to the next non-space character.  */
+   /* XXX This can cause trouble because the hostname might be too long
+  but we have no possibility to check it here.  */
+-  memcpy (hostname, line, cp - line);
+-  hostname [cp - line] = '\0';
++  while (*line != '\0' && *line != '#' && !isspace (*line))
++*hostname++ = *line++;
++  *hostname = '\0';
+ 
+   return 0;
+ }

Modified: glibc-package/trunk/debian/patches/series
===
--- glibc-package/trunk/debian/patches/series   2007-12-08 11:29:41 UTC (rev 
2735)
+++ glibc-package/trunk/debian/patches/series   2007-12-08 11:32:57 UTC (rev 
2736)
@@ -117,6 +117,7 @@
 all/local-remove-manual.diff
 all/local-ru_RU.diff 
 
+any/cvs-ether_line.diff -p0
 any/cvs-sched_h.diff -p0
 any/cvs-tzfile.diff -p1
 any/local-notls.diff -p0


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



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

2007-12-08 Thread aurel32
Author: aurel32
Date: 2007-12-08 11:35:19 + (Sat, 08 Dec 2007)
New Revision: 2737

Added:
   glibc-package/trunk/debian/patches/any/cvs-vfscanf.diff
Modified:
   glibc-package/trunk/debian/changelog
Log:
  * patches/any/cvs-vfscanf.diff: new patch from upstream to fix
crash when %as is used with sscanf().  Closes: bug#453408.



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2007-12-08 11:32:57 UTC (rev 
2736)
+++ glibc-package/trunk/debian/changelog2007-12-08 11:35:19 UTC (rev 
2737)
@@ -5,6 +5,8 @@
 patches/any/cvs-sched_h.diff.
   * patches/any/cvs-ether_line.diff: new patch from upstream to fix
 ether_line().  Closes: bug#453899.
+  * patches/any/cvs-vfscanf.diff: new patch from upstream to fix
+crash when %as is used with sscanf().  Closes: bug#453408.
 
  -- Aurelien Jarno <[EMAIL PROTECTED]>  Sat, 08 Dec 2007 12:32:40 +0100
 

Added: glibc-package/trunk/debian/patches/any/cvs-vfscanf.diff
===
--- glibc-package/trunk/debian/patches/any/cvs-vfscanf.diff 
(rev 0)
+++ glibc-package/trunk/debian/patches/any/cvs-vfscanf.diff 2007-12-08 
11:35:19 UTC (rev 2737)
@@ -0,0 +1,22 @@
+2007-12-07  Ulrich Drepper  <[EMAIL PROTECTED]>
+
+   [BZ #5441]
+   * stdio-common/vfscanf.c (_IO_vfwscanf): Don't free ptrs_to_free
+   structure, it's allocated with alloca.
+
+Index: stdio-common/vfscanf.c
+===
+RCS file: /cvs/glibc/libc/stdio-common/vfscanf.c,v
+retrieving revision 1.127
+retrieving revision 1.128
+diff -u -d -p -r1.127 -r1.128
+--- stdio-common/vfscanf.c 28 Oct 2007 08:40:36 -  1.127
 stdio-common/vfscanf.c 7 Dec 2007 16:40:58 -   1.128
+@@ -2845,7 +2845,6 @@ _IO_vfscanf_internal (_IO_FILE *s, const
+ *p->ptrs[cnt] = NULL;
+   }
+ p = p->next;
+-free (ptrs_to_free);
+ ptrs_to_free = p;
+   }
+   }


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



Processed: notfound 453408 in 2.2.5-12

2007-12-08 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> # Automatically generated email from bts, devscripts version 2.10.11
> notfound 453408 2.2.5-12
Bug#453408: libc6: sscanf dies on an empty string if %as is used
Bug no longer marked as found in version 2.2.5-12.

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



Processed: tagging 453899

2007-12-08 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> # Automatically generated email from bts, devscripts version 2.9.26
> tags 453899 + pending
Bug#453899: ether_line returns far too much
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]



Processed: found 453408 in 2.7-2

2007-12-08 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> # Automatically generated email from bts, devscripts version 2.10.11
> found 453408 2.7-2
Bug#453408: libc6: sscanf dies on an empty string if %as is used
Bug marked as found in version 2.7-2.

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



Processed: tagging 453408

2007-12-08 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> # Automatically generated email from bts, devscripts version 2.9.26
> tags 453408 + pending
Bug#453408: libc6: sscanf dies on an empty string if %as is used
Tags were: upstream
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]



r2738 - glibc-package/trunk/debian

2007-12-08 Thread aurel32
Author: aurel32
Date: 2007-12-08 12:15:46 + (Sat, 08 Dec 2007)
New Revision: 2738

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/rules
Log:
  * debian/rules: also set CXX when cross-compiling. 



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2007-12-08 11:35:19 UTC (rev 
2737)
+++ glibc-package/trunk/debian/changelog2007-12-08 12:15:46 UTC (rev 
2738)
@@ -7,8 +7,9 @@
 ether_line().  Closes: bug#453899.
   * patches/any/cvs-vfscanf.diff: new patch from upstream to fix
 crash when %as is used with sscanf().  Closes: bug#453408.
+  * debian/rules: also set CXX when cross-compiling. 
 
- -- Aurelien Jarno <[EMAIL PROTECTED]>  Sat, 08 Dec 2007 12:32:40 +0100
+ -- Aurelien Jarno <[EMAIL PROTECTED]>  Sat, 08 Dec 2007 13:15:54 +0100
 
 glibc (2.7-4) unstable; urgency=low
 

Modified: glibc-package/trunk/debian/rules
===
--- glibc-package/trunk/debian/rules2007-12-08 11:35:19 UTC (rev 2737)
+++ glibc-package/trunk/debian/rules2007-12-08 12:15:46 UTC (rev 2738)
@@ -97,11 +97,13 @@
 
 TIMEOUTFACTOR = 1
 
-# Set CC for cross-compiling
+# Set CC and CXX for cross-compiling
 ifneq ($(DEB_HOST_ARCH),$(DEB_BUILD_ARCH))
 CC = $(DEB_HOST_GNU_TYPE)-gcc
+CXX= $(DEB_HOST_GNU_TYPE)-g++
 else
 CC = $(BUILD_CC)
+CXX= $(BUILD_CXX)
 endif
 
 BUILD_CFLAGS = -O2 -g


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



Bug#454146: Mistake with pt_BR-UTF-8 locales

2007-12-08 Thread Aurelien Jarno
Fabiano Manoel de Andrade a écrit :
> On Mon, 2007-12-03 at 15:51 +0100, Aurelien Jarno wrote:
>> Fabiano Manoel de Andrade a écrit :
>>> Package: locales
>>> Version: 2.7-3
>>> Severity: normal
>>>
>>>
>>> Im having problems with locales. I use pt_BR.UTF-8 but the 
>> According to the System Information, you are trying to use the pt_BR
>> locale, while generating only the pt_BR.UTF-8 locale.
>   No I have two locales generated in my system, but still have the 
> problem.
> 
>> To fix the problem, either switch to pt_BR.UTF-8 or generate pt_BR locales.
>   I,m using right now the pt_BR.UTF-8 locale take a look:
> # cat /etc/environment 
> LANG="pt_BR.UTF-8"
> LANGUAGE="pt_BR:pt:en"
> 
> # dpkg-reconfigure locales 
> Generating locales (this might take a while)...
>   pt_BR.UTF-8... done
> Generation complete.
> 
> # locale
> LANG=pt_BR.UTF-8
> LANGUAGE=pt_BR:pt:en
> LC_CTYPE="pt_BR.UTF-8"
> LC_NUMERIC="pt_BR.UTF-8"
> LC_TIME="pt_BR.UTF-8"
> LC_COLLATE="pt_BR.UTF-8"
> LC_MONETARY="pt_BR.UTF-8"
> LC_MESSAGES="pt_BR.UTF-8"
> LC_PAPER="pt_BR.UTF-8"
> LC_NAME="pt_BR.UTF-8"
> LC_ADDRESS="pt_BR.UTF-8"
> LC_TELEPHONE="pt_BR.UTF-8"
> LC_MEASUREMENT="pt_BR.UTF-8"
> LC_IDENTIFICATION="pt_BR.UTF-8"
> LC_ALL=
> 
> But using a user account a get this
> $ locale
> 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
> LANG=pt_BR

LANG should not be set to pt_BR which doesn't exist. It should be set
either to pt_BR.UTF-8 or pt_BR.ISO-8859-1 depending on the locales that
are available on your system.


-- 
  .''`.  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]



[bts-link] source package glibc

2007-12-08 Thread bts-link-upstream
#
# bts-link upstream status pull for source package glibc
# see http://lists.debian.org/debian-devel-announce/2006/05/msg1.html
#

user [EMAIL PROTECTED]

# remote status report for #453408
#  * http://sourceware.org/bugzilla/show_bug.cgi?id=5441
#  * remote status changed: NEW -> RESOLVED
#  * remote resolution changed: (?) -> FIXED
#  * closed upstream
tags 453408 + fixed-upstream
usertags 453408 - status-NEW
usertags 453408 + status-RESOLVED resolution-FIXED

# remote status report for #453899
#  * http://sourceware.org/bugzilla/show_bug.cgi?id=5454
#  * remote status changed: (?) -> RESOLVED
#  * remote resolution changed: (?) -> FIXED
#  * closed upstream
tags 453899 + fixed-upstream
usertags 453899 + status-RESOLVED resolution-FIXED

thanks



Processed: [bts-link] source package glibc

2007-12-08 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> #
> # bts-link upstream status pull for source package glibc
> # see http://lists.debian.org/debian-devel-announce/2006/05/msg1.html
> #
> user [EMAIL PROTECTED]
Setting user to [EMAIL PROTECTED] (was [EMAIL PROTECTED]).
> # remote status report for #453408
> #  * http://sourceware.org/bugzilla/show_bug.cgi?id=5441
> #  * remote status changed: NEW -> RESOLVED
> #  * remote resolution changed: (?) -> FIXED
> #  * closed upstream
> tags 453408 + fixed-upstream
Bug#453408: libc6: sscanf dies on an empty string if %as is used
Tags were: pending upstream
Tags added: fixed-upstream

> usertags 453408 - status-NEW
Bug#453408: libc6: sscanf dies on an empty string if %as is used
Usertags were: status-NEW.
Usertags are now: .
> usertags 453408 + status-RESOLVED resolution-FIXED
Bug#453408: libc6: sscanf dies on an empty string if %as is used
There were no usertags set.
Usertags are now: status-RESOLVED resolution-FIXED.
> # remote status report for #453899
> #  * http://sourceware.org/bugzilla/show_bug.cgi?id=5454
> #  * remote status changed: (?) -> RESOLVED
> #  * remote resolution changed: (?) -> FIXED
> #  * closed upstream
> tags 453899 + fixed-upstream
Bug#453899: ether_line returns far too much
Tags were: pending
Tags added: fixed-upstream

> usertags 453899 + status-RESOLVED resolution-FIXED
Bug#453899: ether_line returns far too much
There were no usertags set.
Usertags are now: status-RESOLVED resolution-FIXED.
> 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]



glibc 2.7-3 MIGRATED to testing causes system to stop starting new programs

2007-12-08 Thread PieterB
Hello GNU libc maitainers,

I don't now if this is a new bug, or an addition to bug
#454266 or #454557, so I'm mailing the maintainers.

Today I ran into severe problems after doing a 'apt-get update && apt-get
upgrade'. My previous full update and upgrade was on 2007-12-05 20:25.
See http://gewis.nl/~pieterb/tmp/dpkg.log for the tail of my dpkg.log.

There were problems with upgrading libc to 2.7-3 and after that I could not
start a lot of programs anymore. I tried installing libc 2.7-4 manualy with
dpkg, but I couldn't get it done.

I'll try to recover /var/lib/{apt,dpkg} and /lib from backup tommorow, but I
think it would be good to either:

- upgrade glibc to 2.7-4, or
- downgrade glibc 2.6 in testing?
to prevent other people like me from serious messing up their system.

I tried running 'dpkg -l libc6-i686' as suggested in Bug#454557 but it
didn't work.

If there is anything I can do to help fight these problems please tell me.

Regards,

Pieter


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



Re: glibc 2.7-3 MIGRATED to testing causes system to stop starting new programs

2007-12-08 Thread Clint Adams
On Sat, Dec 08, 2007 at 11:33:47PM +0100, PieterB wrote:
> There were problems with upgrading libc to 2.7-3 and after that I could not
> start a lot of programs anymore. I tried installing libc 2.7-4 manualy with
> dpkg, but I couldn't get it done.

What does "could not start a lot of programs anymore" mean?


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



Re: glibc 2.7-3 MIGRATED to testing causes system to stop starting new programs

2007-12-08 Thread Aurelien Jarno
PieterB a écrit :
> Hello GNU libc maitainers,
> 
> I don't now if this is a new bug, or an addition to bug
> #454266 or #454557, so I'm mailing the maintainers.
> 
> Today I ran into severe problems after doing a 'apt-get update && apt-get
> upgrade'. My previous full update and upgrade was on 2007-12-05 20:25.
> See http://gewis.nl/~pieterb/tmp/dpkg.log for the tail of my dpkg.log.
> 
> There were problems with upgrading libc to 2.7-3 and after that I could not
> start a lot of programs anymore. I tried installing libc 2.7-4 manualy with
> dpkg, but I couldn't get it done.
> 
> I'll try to recover /var/lib/{apt,dpkg} and /lib from backup tommorow, but I
> think it would be good to either:
> 
> - upgrade glibc to 2.7-4, or
> - downgrade glibc 2.6 in testing?
> to prevent other people like me from serious messing up their system.

If it is the same problem as the bug#454557, glibc 2.7-4 should now
refuse to install.

> I tried running 'dpkg -l libc6-i686' as suggested in Bug#454557 but it
> didn't work.
> 

What do you mean by "it didn't work"? Also do you have a /lib/i686
directory? If yes removing it should fix your system.


-- 
  .''`.  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]



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

2007-12-08 Thread aurel32
Author: aurel32
Date: 2007-12-08 23:38:16 + (Sat, 08 Dec 2007)
New Revision: 2739

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



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2007-12-08 12:15:46 UTC (rev 
2738)
+++ glibc-package/trunk/debian/changelog2007-12-08 23:38:16 UTC (rev 
2739)
@@ -7,9 +7,10 @@
 ether_line().  Closes: bug#453899.
   * patches/any/cvs-vfscanf.diff: new patch from upstream to fix
 crash when %as is used with sscanf().  Closes: bug#453408.
-  * debian/rules: also set CXX when cross-compiling. 
+  * debian/rules: also set CXX when cross-compiling.
+  * kfreebsd/local-sysdeps.diff: update to revision 2071 (from glibc-bsd).
 
- -- Aurelien Jarno <[EMAIL PROTECTED]>  Sat, 08 Dec 2007 13:15:54 +0100
+ -- Aurelien Jarno <[EMAIL PROTECTED]>  Sun, 09 Dec 2007 00:38:12 +0100
 
 glibc (2.7-4) unstable; urgency=low
 

Modified: glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
===
--- glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff  
2007-12-08 12:15:46 UTC (rev 2738)
+++ glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff  
2007-12-08 23:38:16 UTC (rev 2739)
@@ -177,7 +177,7 @@
 +endif
 diff -x .svn -Nurd null/sysdeps/unix/bsd/bsd4.4/kfreebsd/Versions 
ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/Versions
 --- null/sysdeps/unix/bsd/bsd4.4/kfreebsd/Versions 1970-01-01 
01:00:00.0 +0100
-+++ ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/Versions2007-11-21 
16:53:13.0 +0100
 ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/Versions2007-11-28 
13:32:59.0 +0100
 @@ -0,0 +1,101 @@
 +libc {
 +  # The comment lines with "#errlist-compat" are magic; see 
errlist-compat.awk.
@@ -2877,7 +2877,7 @@
 +weak_alias (__vfork, vfork)
 diff -x .svn -Nurd null/sysdeps/unix/bsd/bsd4.4/kfreebsd/bind.c 
ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/bind.c
 --- null/sysdeps/unix/bsd/bsd4.4/kfreebsd/bind.c   1970-01-01 
01:00:00.0 +0100
-+++ ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/bind.c  2007-11-16 
13:47:48.0 +0100
 ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/bind.c  2007-11-28 
13:32:59.0 +0100
 @@ -0,0 +1,60 @@
 +/* Copyright (C) 2005 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -4334,7 +4334,7 @@
 +};
 diff -x .svn -Nurd null/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/sched.h 
ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/sched.h
 --- null/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/sched.h 1970-01-01 
01:00:00.0 +0100
-+++ ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/sched.h2007-10-31 
18:15:37.0 +0100
 ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/sched.h2007-10-31 
17:52:56.0 +0100
 @@ -0,0 +1,120 @@
 +/* Definitions of constants and data structure for POSIX 1003.1b-1993
 +   scheduling interface.
@@ -5015,7 +5015,7 @@
 +#define   _NSIG   129 /* Biggest signal number + 1.  */
 diff -x .svn -Nurd null/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/sigset.h 
ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/sigset.h
 --- null/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/sigset.h1970-01-01 
01:00:00.0 +0100
-+++ ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/sigset.h   2007-11-22 
01:40:52.0 +0100
 ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/sigset.h   2007-11-28 
13:32:59.0 +0100
 @@ -0,0 +1,140 @@
 +/* __sig_atomic_t, __sigset_t, and related definitions.  FreeBSD version.
 +   Copyright (C) 1994-1996, 2002 Free Software Foundation, Inc.
@@ -5544,8 +5544,8 @@
 +#endif/* bits/socket.h */
 diff -x .svn -Nurd null/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/stat.h 
ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/stat.h
 --- null/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/stat.h  1970-01-01 
01:00:00.0 +0100
-+++ ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/stat.h 2006-10-18 
09:59:57.0 +0200
-@@ -0,0 +1,198 @@
 ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/stat.h 2007-12-08 
23:59:53.0 +0100
+@@ -0,0 +1,199 @@
 +/* Copyright (C) 1992, 1996-1997, 2000, 2002 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
 +
@@ -5732,6 +5732,7 @@
 +# define SF_IMMUTABLE 0x0002  /* file may not be changed */
 +# define SF_APPEND0x0004  /* writes to file may only append */
 +# define SF_NOUNLINK  0x0010  /* file may not be removed or renamed */
++# define SF_SNAPSHOT  0x0020  /* snapshot inode */
 +
 +__BEGIN_DECLS
 +
@@ -6528,7 +6529,7 @@
 +#endif
 diff -x .svn -Nurd null/sysdeps/unix/bsd/bsd4.4/kfreebsd/brk.c 
ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/brk.c
 --- null/sysdeps/unix/bsd/bsd4.4/kfreebsd/brk.c1970-01-01 
0

Re: glibc 2.7-3 MIGRATED to testing causes system to stop starting new programs

2007-12-08 Thread PieterB
On Sat, Dec 08, 2007 at 06:04:54PM -0500, Clint Adams wrote:
> On Sat, Dec 08, 2007 at 11:33:47PM +0100, PieterB wrote:
> > There were problems with upgrading libc to 2.7-3 and after that I could not
> > start a lot of programs anymore. I tried installing libc 2.7-4 manualy with
> > dpkg, but I couldn't get it done.
> What does "could not start a lot of programs anymore" mean?

I will elaborate a bit more. The systems seems not able to read/access
directory on the disk. For example:

# dpkg -l libc6-i686
dpkg-query: cannot scan updates directory `/var/lib/dpkg/updates/': Unknown
error 530
foobar:/var/log# apt-get update
E: Unable to read /etc/apt/apt.conf.d/ - opendir (530 Unknown error 530)

# dpkg -i libc6_2.7-4_i386.deb 
dpkg: cannot scan updates directory `/var/lib/dpkg/updates/': Unknown error
530

I can still access the directories with 'cd', but accessing the file index
(with shell 'ls' or programs), does not seem to work.

I'm quite sure there is nothing wrong with the disk (it's a RAID-1 SAN on a
VPS). The webserver fortuately just works fine for static pages. I'll try to
reboot tommorow.

I can't access the machine with ssh. I get:

ssh_exchange_identification: Connection closed by remote host

One of the upgrades on http://gewis.nl/~pieterb/tmp/dpkg.log caused serious
problems.

Is it possible to promote glibc 2.7-4 to testing to prevent stuff like this
happening. PTS currently says "Too young, only 1 of 10 days old" 

Regards,

Pieter


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



Re: glibc 2.7-3 MIGRATED to testing causes system to stop starting new programs

2007-12-08 Thread Aurelien Jarno
PieterB a écrit :
> On Sat, Dec 08, 2007 at 06:04:54PM -0500, Clint Adams wrote:
>> On Sat, Dec 08, 2007 at 11:33:47PM +0100, PieterB wrote:
>>> There were problems with upgrading libc to 2.7-3 and after that I could not
>>> start a lot of programs anymore. I tried installing libc 2.7-4 manualy with
>>> dpkg, but I couldn't get it done.
>> What does "could not start a lot of programs anymore" mean?
> 
> I will elaborate a bit more. The systems seems not able to read/access
> directory on the disk. For example:
> 
> # dpkg -l libc6-i686
> dpkg-query: cannot scan updates directory `/var/lib/dpkg/updates/': Unknown
> error 530
> foobar:/var/log# apt-get update
> E: Unable to read /etc/apt/apt.conf.d/ - opendir (530 Unknown error 530)
> 
> # dpkg -i libc6_2.7-4_i386.deb 
> dpkg: cannot scan updates directory `/var/lib/dpkg/updates/': Unknown error
> 530
> 
> I can still access the directories with 'cd', but accessing the file index
> (with shell 'ls' or programs), does not seem to work.
> 
> I'm quite sure there is nothing wrong with the disk (it's a RAID-1 SAN on a
> VPS). The webserver fortuately just works fine for static pages. I'll try to
> reboot tommorow.

I guess you are using a RedHat kernel version 2.6.9-5.ELsmp. This kernel
is unsupported due to broken RedHat specific patches. Please ask your
VPS provider for an upgrade to a non RedHat kernel or a more recent
RedHat kernel.

-- 
  .''`.  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]