Bug 722380 - Bus error in build-locale-archive on postinstall
Summary: Bus error in build-locale-archive on postinstall
Keywords:
Status: CLOSED DUPLICATE of bug 720034
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andreas Schwab
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-15 06:46 UTC by Akira TAGOH
Modified: 2016-11-24 15:58 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-07-15 09:31:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Akira TAGOH 2011-07-15 06:46:43 UTC
Description of problem:
When logging in on VT, the following warnings appears:
-bash: warning: setlocale: LC_CTYPE: cannot change locale (ja_JP.UTF-8): No such file or directory
-bash: warning: setlocale: LC_COLLATE: cannot change locale (ja_JP.UTF-8): No such file or directory
-bash: warning: setlocale: LC_MESSAGES: cannot change locale (ja_JP.UTF-8): No such file or directory
-bash: warning: setlocale: LC_NUMERIC: cannot change locale (ja_JP.UTF-8): No such file or directory
-bash: warning: setlocale: LC_TIME: cannot change locale (ja_JP.UTF-8): No such file or directory

This was introduced by executing unset LC_* in /etc/profile.d/lang.sh. this is easy to reproduce if do "unset LC_CTYPE" on the shell say.

Version-Release number of selected component (if applicable):
bash-4.2.10-4.fc16.x86_64

How reproducible:
always

Steps to Reproduce:
1.login on VT
2.
3.
  
Actual results:
the above warnings appears

Expected results:
shouldn't appears

Additional info:
What locale one use seems not matter. changing the locale in /etc/sysconfig/i18n to LANG=en_US.UTF-8 and logout say, I still see similar warnings but for en_US.UTF-8, not for ja_JP.UTF-8 then.

Comment 1 Akira TAGOH 2011-07-15 09:11:08 UTC
Okay, there seems no /usr/lib/locale/locale-archive and when manually running build-locale-archive, I got "Bus error" message.

Reassigning to glibc.

Comment 2 Andreas Schwab 2011-07-15 09:31:11 UTC

*** This bug has been marked as a duplicate of bug 720034 ***


Note You need to log in before you can comment on or make changes to this bug.