No locales in test-in-container?

Carlos O'Donell carlos@redhat.com
Tue Jul 9 16:11:00 GMT 2019


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.



More information about the Libc-alpha mailing list