This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: No locales in test-in-container?
On 7/9/19 12:08 PM, Florian Weimer wrote:
* DJ Delorie:
Florian Weimer <fweimer@redhat.com> writes:
But that's not sufficient, for:
The testroot is built with "make install"; the build directory is
loopback mounted in the same place within the testroot. If those aren't
sufficient to call setlocale() then something else is wrong. When do
locales typically get generated during a full install?
I think it's a separate step. Quoting INSTALL:
| To configure all locales that are supported by the GNU C Library, you
| can issue from your build directory the command 'make
| localedata/install-locales' to install all locales into the locale
| archive or 'make localedata/install-locale-files' to install all
| locales as files in the default configured locale installation
| directory (derived from '--prefix' or '--localedir').
Thanks,
Florian
Right, I split this target into two targets:
# Create and install the locale-archive file.
install-locale-archive: $(INSTALL-SUPPORTED-LOCALE-ARCHIVE)
# Create and install the locales individually (no archive).
install-locale-files: $(INSTALL-SUPPORTED-LOCALE-FILES)
So you have to decide which you really want to test with.
--
Cheers,
Carlos.