Re: linux/types.h - glibc interferences

2007-08-24 Thread Bastian Blank
On Fri, Aug 24, 2007 at 12:06:36AM +0200, Bastian Blank wrote:
 If there's userspace code that wants to get the
  kernel types under the standard posix names, why break that?
 
 Please provide a less strict fix which works. Userspace code can only
 use this definitions within a freestanding compiler without libc.

I update the guard to defined __KERNEL__ || __STDC_HOSTED__ == 0. This
way the kernel and the freestanding compiler can use them.

Bastian

-- 
The heart is not a logical organ.
-- Dr. Janet Wallace, The Deadly Years, stardate 3479.4


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



Re: linux/types.h - glibc interferences

2007-08-24 Thread Steve Langasek
On Fri, Aug 24, 2007 at 12:06:36AM +0200, Bastian Blank wrote:
 On Thu, Aug 23, 2007 at 02:46:14PM -0700, Steve Langasek wrote:
  Is there some specific reported issue that this change is intended to fix?
  I haven't noticed any complaints about the current behavior.

 #434040 and a hand full of packages on the buildd.

What packages?

  Anyway, it's my understanding that userspace apps are never supposed to
  define __KERNEL__ and doing so with linux-libc-dev gives broken includes, so
  in terms of overall design this change looks wrong to me (or at least,
  gratuitously strict).

 __KERNEL__-only parts of the headers are filtered out for
 linux-libc-dev.

 If there's userspace code that wants to get the
  kernel types under the standard posix names, why break that?

 Please provide a less strict fix which works. Userspace code can only
 use this definitions within a freestanding compiler without libc.

Well, it's hard to suggest a less strict fix without knowing what needs
fixing. :)

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


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



Re: linux/types.h - glibc interferences

2007-08-24 Thread Bastian Blank
On Fri, Aug 24, 2007 at 01:14:17AM -0700, Steve Langasek wrote:
 On Fri, Aug 24, 2007 at 12:06:36AM +0200, Bastian Blank wrote:
  #434040 and a hand full of packages on the buildd.
 What packages?

Several. No further information available without manual checking. I
expect that several hundred packages may be affected.
linux-kernel-headers had a crude workaround, which is not better.

 Well, it's hard to suggest a less strict fix without knowing what needs
 fixing. :)

linux/types.h and the other glibc/gcc headers must not clash, even if
features.h is not included and __KERNEL_STRICT_NAMES not set.

Bastian

-- 
The joys of love made her human and the agonies of love destroyed her.
-- Spock, Requiem for Methuselah, stardate 5842.8


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



Bug#438191: tzdata: gets worse

2007-08-24 Thread Benoît Dejean
Package: tzdata
Version: 2007f-11
Followup-For: Bug #438191

Yes, i saw this bug to.
Now i just upgraded to 2007f-11 which happily deleted my /etc/timezone.

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

Kernel: Linux 2.6.22.1
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages tzdata depends on:
ii  debconf [debconf-2.0] 1.5.14 Debian configuration management sy

tzdata recommends no packages.

-- debconf information:
  tzdata/Zones/Australia:
  tzdata/Zones/Asia:
  tzdata/Zones/SystemV:
  tzdata/Zones/Pacific:
  tzdata/Zones/Atlantic:
  tzdata/Zones/Canada:
  tzdata/Zones/US:
  tzdata/Zones/Etc:
  tzdata/Zones/Arctic:
  tzdata/Zones/Antarctica:
* tzdata/Zones/Europe: Paris
  tzdata/Zones/Africa:
  tzdata/Zones/America:
* tzdata/Areas: Europe
  tzdata/Zones/Indian:


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



Bug#438449: marked as done (tzdata: Failed to preconfigure)

2007-08-24 Thread Debian Bug Tracking System
Your message dated Fri, 24 Aug 2007 23:17:06 +
with message-id [EMAIL PROTECTED]
and subject line Bug#438449: fixed in tzdata 2007f-12
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

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

---BeginMessage---
Package: tzdata
Version: 2007f-11
Severity: important

I doubt that this error I got during upgrade just now is intended:
Preconfiguring packages ...
tzdata failed to preconfigure, with exit status 10
Preparing to replace tzdata 2007f-10 (using .../tzdata_2007f-11_all.deb) ...
Unpacking replacement tzdata ...
Setting up tzdata (2007f-11) ...

Upgrade did not fail because of the error.

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

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

Versions of packages tzdata depends on:
ii  debconf [debconf-2.0] 1.5.14 Debian configuration management sy

tzdata recommends no packages.

-- debconf information:
  tzdata/Zones/Australia:
  tzdata/Zones/Asia:
  tzdata/Zones/SystemV:
  tzdata/Zones/Pacific:
  tzdata/Zones/Atlantic:
  tzdata/Zones/Canada:
  tzdata/Zones/US:
  tzdata/Zones/Etc:
  tzdata/Zones/Arctic:
  tzdata/Zones/Antarctica:
* tzdata/Zones/Europe: Amsterdam
  tzdata/Zones/Africa:
  tzdata/Zones/America:
* tzdata/Areas: Europe
  tzdata/Zones/Indian:

---End Message---
---BeginMessage---
Source: tzdata
Source-Version: 2007f-12

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

tzdata_2007f-12.diff.gz
  to pool/main/t/tzdata/tzdata_2007f-12.diff.gz
tzdata_2007f-12.dsc
  to pool/main/t/tzdata/tzdata_2007f-12.dsc
tzdata_2007f-12_all.deb
  to pool/main/t/tzdata/tzdata_2007f-12_all.deb



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

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

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

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


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Format: 1.7
Date: Sat, 25 Aug 2007 01:10:44 +0200
Source: tzdata
Binary: tzdata
Architecture: source all
Version: 2007f-12
Distribution: unstable
Urgency: high
Maintainer: Aurelien Jarno [EMAIL PROTECTED]
Changed-By: Aurelien Jarno [EMAIL PROTECTED]
Description: 
 tzdata - time zone and daylight-saving time data
Closes: 438449
Changes: 
 tzdata (2007f-12) unstable; urgency=high
 .
   * debian/preinst: remove.
   * debian/config: don't try to detect modified /etc/localtime file.
 closes: #438449.
Files: 
 53b073ea50efd0b50156771434076b47 881 libs required tzdata_2007f-12.dsc
 2a7b7a925fd80b5f7245d44381d3898f 178251 libs required tzdata_2007f-12.diff.gz
 c7850dc641bf07a0e19364209b724f13 739972 libs required tzdata_2007f-12_all.deb

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGz2Y3w3ao2vG823MRAojlAJ4wdf82z3m6bOIBOXyuxwLEDW1DfwCdGxPE
9xPjLGVkinYLdG0zZ9gyKfI=
=vHnj
-END PGP SIGNATURE-

---End Message---


Bug#438191: tzdata: gets worse

2007-08-24 Thread Aurelien Jarno
notfound 2007f-11
thanks

Benoît Dejean a écrit :
 Package: tzdata
 Version: 2007f-11
 Followup-For: Bug #438191
 
 Yes, i saw this bug to.
 Now i just upgraded to 2007f-11 which happily deleted my /etc/timezone.
 

This is an expected behaviour, version 2007f-10 destroy your settings,
2007f-11 fix that by putting the system in a more consistent way.

Just run dpkg-reconfigure tzdata to reconfigure your timezone.


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



r2521 - tzdata/trunk/debian

2007-08-24 Thread aurel32
Author: aurel32
Date: 2007-08-24 23:13:23 + (Fri, 24 Aug 2007)
New Revision: 2521

Removed:
   tzdata/trunk/debian/preinst
Modified:
   tzdata/trunk/debian/changelog
   tzdata/trunk/debian/config
Log:
  * debian/preinst: remove.
  * debian/config: don't try to detect modified /etc/localtime file.
closes: #43844



Modified: tzdata/trunk/debian/changelog
===
--- tzdata/trunk/debian/changelog   2007-08-20 16:06:59 UTC (rev 2520)
+++ tzdata/trunk/debian/changelog   2007-08-24 23:13:23 UTC (rev 2521)
@@ -1,3 +1,11 @@
+tzdata (2007f-12) unstable; urgency=high
+
+  * debian/preinst: remove.
+  * debian/config: don't try to detect modified /etc/localtime file.
+closes: #438449.
+
+ -- Aurelien Jarno [EMAIL PROTECTED]  Sat, 25 Aug 2007 01:10:44 +0200
+
 tzdata (2007f-11) unstable; urgency=high
 
   * Urgency set to high as it fixes an RC bug.

Modified: tzdata/trunk/debian/config
===
--- tzdata/trunk/debian/config  2007-08-20 16:06:59 UTC (rev 2520)
+++ tzdata/trunk/debian/config  2007-08-24 23:13:23 UTC (rev 2521)
@@ -328,8 +328,12 @@
 TIMEZONE=$(head -n 1 /etc/timezone)
 TIMEZONE=${TIMEZONE%% *}
 TIMEZONE=$(convert_timezone $TIMEZONE)
-AREA=${TIMEZONE%%/*}
-ZONE=${TIMEZONE#*/}
+if [ -f /usr/share/zoneinfo/$TIMEZONE ] ; then
+AREA=${TIMEZONE%%/*}
+ZONE=${TIMEZONE#*/}
+else
+rm -f /etc/timezone
+fi
 fi
 
 # The timezone is already configured
@@ -341,7 +345,7 @@
 fi
 # The timezone has never been configured or is falsely configured
 elif ! [ -e /etc/localtime ] || [ -n $DEBCONF_RECONFIGURE ] ; then
-if [ -z $TIMEZONE ] ; then
+if [ -z $AREA ] || [ -z $ZONE ] ; then
 AREA=Etc
 ZONE=UTC
 echo Etc/UTC  /etc/timezone

Deleted: tzdata/trunk/debian/preinst
===
--- tzdata/trunk/debian/preinst 2007-08-20 16:06:59 UTC (rev 2520)
+++ tzdata/trunk/debian/preinst 2007-08-24 23:13:23 UTC (rev 2521)
@@ -1,23 +0,0 @@
-#! /bin/sh
-set -e
-
-LC_ALL=C
-LANG=C
-
-
-if [ $1 = upgrade ]; then
-# If /etc/localtime has been modified, /etc/timezone is
-# a nonsense, remove it.
-if [ -f /etc/localtime ]  ! [ -L /etc/localtime ]  [ -e /etc/timezone 
] ; then
-TIMEZONE=$(head -n 1 /etc/timezone)
-TIMEZONE=${TIMEZONE%% *}
-if ! [ -f /usr/share/zoneinfo/$TIMEZONE ] || \
-   ! cmp -s /etc/localtime /usr/share/zoneinfo/$TIMEZONE ; then
-rm -f /etc/timezone
-fi
-fi
-fi
-
-#DEBHELPER#
-
-exit 0


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



r2522 - tzdata/tags

2007-08-24 Thread aurel32
Author: aurel32
Date: 2007-08-24 23:21:36 + (Fri, 24 Aug 2007)
New Revision: 2522

Added:
   tzdata/tags/2007f-12/
Log:
Tag tzdata 2007f-12


Copied: tzdata/tags/2007f-12 (from rev 2521, tzdata/trunk)


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