Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.2.0 Beta2, 6.2.0 Beta3
-
Ubuntu 20.04 LTS
g++ 9.3.0
cmake 3.21.1
ninja 1.10.0
-
9f06d5917010c12e80e2edbba97f8c6c3e25680c (qt/qttools/dev) 69b9b9bb001b1d1ef14c2c6e2e9d9c87f9fcd9d7 (qt/qttools/6.2)
Description
- Clone Qt:
git clone -b 6.2 git://code.qt.io/qt/qt5.git
- Initialize the repository:
cd qt5/ perl init-repository --codereview-username rlohning --module-subset=qtbase,qttools,qttranslations
I guess you don't need to use my name, but who knows...
- Change to a build directory:
cd .. mkdir build cd build
- Configure Qt:
/tmp/assi/qt5/configure -release -prefix $PWD/qtbase -opensource -confirm-license
Using the actual location of your clone.
- Build Qt:
cmake --build . -j6
- After the build succeeded and without changing anything, try building Qt again:
cmake --build . -j6
You'll get a couple of errors like:
FAILED: qttranslations/translations/CMakeFiles/updateqm-qtmultimedia_de.ts qtbase/translations/qtmultimedia_de.qm /tmp/assi/build/qttranslations/translations/CMakeFiles/updateqm-qtmultimedia_de.ts /tmp/assi/build/qtbase/translations/qtmultimedia_de.qm cd /tmp/assi/build/qttranslations/translations && /home/qtrob/qt-cmake/Tools/CMake/bin/cmake -E make_directory /tmp/assi/build/qtbase/./translations && /tmp/assi/build/qtbase/bin/lrelease /tmp/assi/qt5/qttranslations/translations/qtmultimedia_de.ts -qm /tmp/assi/build/qtbase/./translations/qtmultimedia_de.qm Updating '/tmp/assi/build/qtbase/./translations/qtmultimedia_de.qm'... Bus error (core dumped)
The second build should be a no-op. At the very least, it should not fail.
Attachments
Issue Links
- is duplicated by
-
QTBUG-97167 Qt translation install ALWAYS fails
- Closed
- resulted from
-
QTBUG-94370 .qm files should be put into qtbase/translations for non-installable builds
- Closed
- resulted in
-
QTBUG-96038 qttranslation updateqm target always out of date
- Closed