conf/59679: BSD.usr.dist doesn't create share/nls/en_US.US-ASCII

Dimitry Andric dim at tensor.xs4all.nl
Tue Nov 25 04:40:20 PST 2003


>Number:         59679
>Category:       conf
>Synopsis:       BSD.usr.dist doesn't create share/nls/en_US.US-ASCII
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 25 04:40:18 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dimitry Andric
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD tensor.xs4all.nl 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Tue Nov 11 12:27:59 CET 2003 root at vfbsd5.dim:/usr/obj/usr/src/sys/TENSOR i386
>Description:
The file src/etc/mtree/BSD.usr.dist misses an entry for the
/usr/share/nls/en_US.US-ASCII directory.

I ran into this when I zapped my complete /usr/share before running
installworld, which subsequently errored out with:

  ===> usr.bin/ee
  install -s -o root -g wheel -m 555   ee /usr/bin
  install -o root  -g wheel -m 444  en_US.US-ASCII.cat  /usr/share/nls/en_US.US-ASCII/ee.cat
  install: /usr/share/nls/en_US.US-ASCII/ee.cat: No such file or directory
  *** Error code 71

  Stop in /usr/src/usr.bin/ee.
  *** Error code 1

  Stop in /usr/src/usr.bin.
  *** Error code 1

  Stop in /usr/src.

This directory simply needs to be added.
>How-To-Repeat:
- build world
- build kernel
- install kernel
- reboot to single user
- mv /usr/share /usr/share.old
- mkdir /usr/share
- cp -Rp /usr/src/etc/share/mk /usr/share/mk  (make dies otherwise)
- cd /usr/src && make installworld
This will result in the errors described above.
>Fix:
This patch also removes a whitespace at EOL occurrence.

--- BSD.usr.dist.orig	Mon Nov 10 11:01:56 2003
+++ BSD.usr.dist	Tue Nov 25 12:56:59 2003
@@ -521,7 +521,7 @@
             ..
             zh_CN.eucCN
             ..
-            zh_CN.GB18030      
+            zh_CN.GB18030
             ..
             zh_CN.GB2312
             ..
@@ -736,6 +736,8 @@
             en_US.ISO8859-1
             ..
             en_US.ISO8859-15
+            ..
+            en_US.US-ASCII
             ..
             es_ES.ISO8859-1
             ..
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list