Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2023 14:57:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 271982] [patch] tools/tools/locale/Makefile: fix generate locale source files
Message-ID:  <bug-271982-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271982

            Bug ID: 271982
           Summary: [patch] tools/tools/locale/Makefile: fix generate
                    locale source files
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: kikadf.01@gmail.com

Created attachment 242762
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D242762&action=
=3Dedit
Makefile.patch

I noticed some issues in tools/tools/locale/Makefile when generating locale
source files. I followed the make obj; make; make install way from the Read=
me
file.

1) make doesn=E2=80=99t fetch and extract necessary files by default
2) extracts cldr-tools jar file, but it is not needed
3) got an error: Caused by: java.lang.IllegalArgumentException: Directory
doesn't exist: [=E2=80=A6]/freebsd-src/amd64.amd64/tools/tools/locale/unico=
de/seed/main

As I see the core.zip doesn't contain the seed directory only the common
directory. But I read in the https://github.com/unicode-org/cldr source tre=
e,
in the seed subfolder=E2=80=99s Readme file: "The seed directory and its su=
bdirectories
are no longer used by CLDR. See the common directory instead. This obsolete
directory and readme may be kept for backward compatibility."=20

I think it is possible to fix this error with link seed to common directory.

With the attached patch I run the make obj && make && make install commands
successful.=20

Also I noticed FreeBSD not use the patch/patch-UnicodeData.txt patch to
generate the locale files, however this patch is broken anyway.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271982-227>