This repository has been archived by the owner. It is now read-only.

[dpkg-buildpackage] Build failed with RU locale #2011

Closed
EnochTheWise opened this Issue Jun 13, 2017 · 2 comments

Comments

3 participants
@EnochTheWise

EnochTheWise commented Jun 13, 2017

$ locale
LANG=ru_RU.UTF-8
LANGUAGE=
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_ALL=
...
[ RUN      ] StringsFormatting.FileSize
tests/unit/common/strings_formatting.cpp:10: Failure
      Expected: "1023 bytes"
To be equal to: format_file_size( 1023ll)
      Which is: "1023 \xD0\xB1\xD0\xB0\xD0\xB9\xD1\x82\xD0\xB0"
tests/unit/common/strings_formatting.cpp:11: Failure
      Expected: "1.0 KiB"
To be equal to: format_file_size( 1024ll)
      Which is: "1.0 \xD0\x9A\xD0\x91"
...

with LANG=C all done

PS And some problem with debian/rules if qt5 development library absent:

rm src/info/*.o src/info/*.a src/info/qt_resources.cpp
rm: cannot remove 'src/info/qt_resources.cpp': No such file or directory
debian/rules:37: recipe for target 'override_dh_auto_build' failed

@EnochTheWise EnochTheWise changed the title from [dpkg-buildpackage] Build failed with non-EN locale to [dpkg-buildpackage] Build failed with RU locale Jun 13, 2017

@remuxer32

This comment has been minimized.

Show comment
Hide comment
@remuxer32

remuxer32 Jun 13, 2017

Collaborator

Moritz Bunkus (the owner of MKVToolNix) is currently out of town, and will be unavailable for several weeks. You will have to be patient for any action from him. But don't worry, he will certainly investigate the problem after returning.

Collaborator

remuxer32 commented Jun 13, 2017

Moritz Bunkus (the owner of MKVToolNix) is currently out of town, and will be unavailable for several weeks. You will have to be patient for any action from him. But don't worry, he will certainly investigate the problem after returning.

@mbunkus

This comment has been minimized.

Show comment
Hide comment
@mbunkus

mbunkus Jun 16, 2017

Owner

PS And some problem with debian/rules if qt5 development library absent:

The packaging is supposed to build both the non-GUI and the GUI parts. Of course it will fail if the required dependencies aren't present. This is not a bug, though.

Owner

mbunkus commented Jun 16, 2017

PS And some problem with debian/rules if qt5 development library absent:

The packaging is supposed to build both the non-GUI and the GUI parts. Of course it will fail if the required dependencies aren't present. This is not a bug, though.

@mbunkus mbunkus closed this in 9f03e44 Jun 16, 2017

mbunkus added a commit that referenced this issue Jun 18, 2017

build system: run test suite with LC_ALL=C
Otherwise the translations of an existing installation of MKVToolNix
might be used causing tests such as the file size formatting functions
to fail as translated unit names are used.

See #2011.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.