(new) non-ASCII filenames break unit tests on Linux

Stephan Bergmann stephan.bergmann at allotropia.de
Sun Dec 3 17:54:26 UTC 2023


On 12/3/23 14:13, Rene Engelhard wrote:
> But in my case this fails with
> 
>          cd $(SOURCE_TREE) && \
>                  export PATH=$(BUILD_PATH); \
>                  export TMPDIR=$$t; \
>                  export HOME=$$t; \
>                  export LOCPATH=$(CURDIR)/debian/locales; \
>                  export LANG=en_US.UTF-8; \
>                  export TZ=UTC; \
>                  unset DISPLAY; \
>                  unset CONNECTIVITY_TEST_MYSQL_DRIVER; \
>                  export PARALLELISM=1; \
>                  if [ -x /usr/bin/gdb ]; then ulimit -c unlimited || 
> true; fi && \
>                  $(TEST_TIMEOUT) $(MAKE) -k check || $(TEST_TIMEOUT) 
> $(MAKE) check && \
>          rm -rf $$t
> 
> so with a UTF-8 locale. (which is generated before that rule)

And there's no LC_CTYPE or LC_ALL overriding LANG?  Anyway, what should 
solely be relevant here is the return value of 
osl_getThreadTextEncoding, so I'd start with debugging that to find out 
why things work differently than expected in your scenario.


More information about the LibreOffice mailing list