[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#242341: marked as done (libc6: setlocale() can't find data files.)



Your message dated Wed, 7 Apr 2004 08:59:12 +0200
with message-id <20040407065912.GA1574@zobe.linuxfr.org>
and subject line Bug#242341: libc6: setlocale() can't find data files.
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 6 Apr 2004 04:20:23 +0000
>From erikd@sensorynetworks.com Mon Apr 05 21:20:23 2004
Return-path: <erikd@sensorynetworks.com>
Received: from master.debian.org [146.82.138.7] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BAi4V-0006NF-00; Mon, 05 Apr 2004 21:20:23 -0700
Received: from dsl-210-15-250-66.nsw.netspace.net.au ([127.0.0.1]) [210.15.250.66] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BAi4S-0000nV-00; Mon, 05 Apr 2004 23:20:21 -0500
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Erik de Castro Lopo <erikd@sensorynetworks.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libc6: setlocale() can't find data files.
X-Mailer: reportbug 2.54
Date: Tue, 06 Apr 2004 14:18:27 +1000
X-Debbugs-Cc: erikd@sensorynetworks.com
Message-Id: <[🔎] E1BAi4S-0000nV-00@master.debian.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	OUR_MTA_MSGID,X_DEBBUGS_CC autolearn=ham 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Scores: 1

Package: libc6
Version: 2.3.2.ds1-11
Severity: normal
Tags: l10n



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.24
Locale: LANG=en_US, LC_CTYPE=en_US (ignored: LC_ALL set to en_US)

Versions of packages libc6 depends on:
ii  libdb1-compat                 2.1.3-7    The Berkeley database routines [gl

-- debconf information:

1) export LC_ALL=en_US
2) Compile the following program:

	#include <stdio.h>
	#include <locale.h>
	int
	main (void)
	{	char *cptr = setlocale (LC_ALL, "") ;
		
		if (cptr != NULL)
			puts (cptr) ;
		else
			printf ("%p\n", cptr) ;
		
		return 0;
	}

3) When run, the setlocale() returns a NULL pointer indicating
   failure.

4) Strace reveals that libc is looking for

        /usr/lib/locale/en_US/LC_IDENTIFICATION
		
   which doesn't seem to exist.

---------------------------------------
Received: (at 242341-done) by bugs.debian.org; 7 Apr 2004 06:59:18 +0000
>From barbier@linuxfr.org Tue Apr 06 23:59:18 2004
Return-path: <barbier@linuxfr.org>
Received: from zobe.linuxfr.org [212.27.33.220] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BB71q-0004cs-00; Tue, 06 Apr 2004 23:59:18 -0700
Received: by zobe.linuxfr.org (Postfix, from userid 1015)
	id BB2ECE905; Wed,  7 Apr 2004 08:59:12 +0200 (CEST)
Date: Wed, 7 Apr 2004 08:59:12 +0200
To: 242341-done@bugs.debian.org
Subject: Re: Bug#242341: libc6: setlocale() can't find data files.
Message-ID: <20040407065912.GA1574@zobe.linuxfr.org>
References: <[🔎] E1BAi4S-0000nV-00@master.debian.org> <[🔎] 20040406062529.GA11072@zobe.linuxfr.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] 20040406062529.GA11072@zobe.linuxfr.org>
User-Agent: Mutt/1.3.28i
From: barbier@linuxfr.org (Denis Barbier)
Delivered-To: 242341-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Scores: 1

On Tue, Apr 06, 2004 at 08:25:29AM +0200, Denis Barbier wrote:
> On Tue, Apr 06, 2004 at 02:18:27PM +1000, Erik de Castro Lopo wrote:
> > 1) export LC_ALL=en_US
> > 2) Compile the following program:
> [...]
> > 3) When run, the setlocale() returns a NULL pointer indicating
> >    failure.
> 
> No, en_US is displayed.
> Did you generate this locale?

The bug submitter told in private mail that it was not generated, so
I am closing this bug now.

Denis



Reply to: