Re: RFC: localized libc messages

From: Olivier SMEDTS <olivier_at_gid0.org>
Date: Fri, 13 Mar 2009 19:51:51 +0100
2009/3/9 Gábor Kövesdán <gabor_at_freebsd.org>:
>
>> I had a quick look at src/share/mk/bsd.nls.mk and
>> lib/libc/nls/Makefile.inc
>> The latter seems ok to me, can the problem be in bsd.nls.mk (e.g. that it
>> has
>> to create the directories somewhere in the installation rules)?
>> bsd.nls.mk first does some name mangling in the installation step and then
>> adds the mangled NLS stuff to the SYMLINKS variable, i.e. create the
>> appropriate
>> symbolic links.  But it indeed doesn't seem to create directories.
>
> Well, I had very long looks at all those bsd.*.mk stuff, but I haven't found
> any way to add extra obj dirs, just options to override the default one...
> But it seems that I've just found a workaround. I'll finish the buildworld,
> populate a jail and try out if it works completely in this way.

Could this have broken parallel builds ?

Now I can't "make -jX buildworld" with X>2 :

building static c library
building shared library libc.so.7
building special pic c library
ranlib libc_pic.a
ranlib libc.a
mkdir -p /usr/obj/work/src/lib/libc/../../lib32/usr/share/nls/ca_ES.ISO8859-1
sh /work/src/tools/install.sh -o root  -g wheel -m 444
ca_ES.ISO8859-1.cat
/usr/obj/work/src/tmp/usr/share/nls/ca_ES.ISO8859-1/libc.cat
sh /work/src/tools/install.sh -o root  -g wheel -m 444
de_DE.ISO8859-1.cat
/usr/obj/work/src/tmp/usr/share/nls/de_DE.ISO8859-1/libc.cat
mkdir -p /usr/obj/work/src/lib/libc/../../tmp/usr/share/nls/ca_ES.ISO8859-1
install: /usr/obj/work/src/tmp/usr/share/nls/ca_ES.ISO8859-1/libc.cat:
No such file or directory
*** Error code 71
mkdir -p /usr/obj/work/src/lib/libc/../../lib32/usr/share/nls/de_DE.ISO8859-1
install: /usr/obj/work/src/tmp/usr/share/nls/de_DE.ISO8859-1/libc.cat:
No such file or directory
*** Error code 71
mkdir -p /usr/obj/work/src/lib/libc/../../tmp/usr/share/nls/de_DE.ISO8859-1
mkdir -p /usr/obj/work/src/lib/libc/../../lib32/usr/share/nls/el_GR.ISO8859-7
mkdir -p /usr/obj/work/src/lib/libc/../../tmp/usr/share/nls/el_GR.ISO8859-7
mkdir -p /usr/obj/work/src/lib/libc/../../lib32/usr/share/nls/es_ES.ISO8859-1
mkdir -p /usr/obj/work/src/lib/libc/../../tmp/usr/share/nls/es_ES.ISO8859-1
mkdir -p /usr/obj/work/src/lib/libc/../../lib32/usr/share/nls/fi_FI.ISO8859-1
mkdir -p /usr/obj/work/src/lib/libc/../../tmp/usr/share/nls/fi_FI.ISO8859-1
mkdir -p /usr/obj/work/src/lib/libc/../../lib32/usr/share/nls/fr_FR.ISO8859-1
mkdir -p /usr/obj/work/src/lib/libc/../../tmp/usr/share/nls/fr_FR.ISO8859-1
mkdir -p /usr/obj/work/src/lib/libc/../../lib32/usr/share/nls/hu_HU.ISO8859-2
mkdir -p /usr/obj/work/src/lib/libc/../../tmp/usr/share/nls/hu_HU.ISO8859-2
mkdir -p /usr/obj/work/src/lib/libc/../../lib32/usr/share/nls/it_IT.ISO8859-15
mkdir -p /usr/obj/work/src/lib/libc/../../tmp/usr/share/nls/it_IT.ISO8859-15
mkdir -p /usr/obj/work/src/lib/libc/../../lib32/usr/share/nls/ko_KR.UTF-8
mkdir -p /usr/obj/work/src/lib/libc/../../tmp/usr/share/nls/ko_KR.UTF-8
mkdir -p /usr/obj/work/src/lib/libc/../../lib32/usr/share/nls/ko_KR.eucKR
mkdir -p /usr/obj/work/src/lib/libc/../../tmp/usr/share/nls/ko_KR.eucKR
mkdir -p /usr/obj/work/src/lib/libc/../../lib32/usr/share/nls/mn_MN.UTF-8
mkdir -p /usr/obj/work/src/lib/libc/../../tmp/usr/share/nls/mn_MN.UTF-8
mkdir -p /usr/obj/work/src/lib/libc/../../lib32/usr/share/nls/nl_NL.ISO8859-1
mkdir -p /usr/obj/work/src/lib/libc/../../tmp/usr/share/nls/nl_NL.ISO8859-1
mkdir -p /usr/obj/work/src/lib/libc/../../lib32/usr/share/nls/no_NO.ISO8859-1
mkdir -p /usr/obj/work/src/lib/libc/../../tmp/usr/share/nls/no_NO.ISO8859-1
mkdir -p /usr/obj/work/src/lib/libc/../../lib32/usr/share/nls/pl_PL.ISO8859-2
mkdir -p /usr/obj/work/src/lib/libc/../../tmp/usr/share/nls/pl_PL.ISO8859-2
mkdir -p /usr/obj/work/src/lib/libc/../../lib32/usr/share/nls/ru_RU.KOI8-R
mkdir -p /usr/obj/work/src/lib/libc/../../tmp/usr/share/nls/ru_RU.KOI8-R
mkdir -p /usr/obj/work/src/lib/libc/../../lib32/usr/share/nls/sk_SK.ISO8859-2
mkdir -p /usr/obj/work/src/lib/libc/../../tmp/usr/share/nls/sk_SK.ISO8859-2
mkdir -p /usr/obj/work/src/lib/libc/../../lib32/usr/share/nls/sv_SE.ISO8859-1
mkdir -p /usr/obj/work/src/lib/libc/../../tmp/usr/share/nls/sv_SE.ISO8859-1
2 errors
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error

> --
> Gabor Kovesdan
> FreeBSD Volunteer
>
> EMAIL: gabor_at_FreeBSD.org .:|:. gabor_at_kovesdan.org
> WEB:   http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org
>
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>

-- 
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: olivier_at_gid0.org        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \

  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."
Received on Fri Mar 13 2009 - 17:51:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:43 UTC