Comments (8)
Thanks for your report. Could you please show me the output of
equery belongs lrelease
and
qtchooser -l
from deepin-overlay.
$ equery belongs lrelease
* Searching for lrelease ...
dev-qt/linguist-tools-5.6.2 (/usr/lib64/qt5/bin/lrelease)
dev-qt/qtchooser-0_p20151008 (/usr/bin/lrelease -> qtchooser)
$ qtchooser -l
5
qt5-x86_64-pc-linux-gnu
qt5
And just a minor note: 0.2.1 builds although it throws the same release message.
from deepin-overlay.
I search in Google and found tips from this issue giucam/orbital#24.
Are there two different versions of lrelease in your PATH? What are the outputs of "whereis lrelease" and "which lrelease"?
from deepin-overlay.
# whereis lrelease
lrelease: /usr/bin/lrelease
# which lrelease
/usr/bin/lrelease
And /usr/bin/lrelease is a symlink to /usr/bin/qtchooser which belongs to dev-qt/qtchooser-0_p20151008, which seems to be the only version I have installed.
from deepin-overlay.
Do I need a newer QT than 5.6? I have 5.6.2 and when I do an ebuild deepin-toolkit-0.2.1.ebuild install
I get the following:
make[1]: Leaving directory '/var/tmp/portage/dde-base/deepin-tool-kit-0.2.1/work/deepin-tool-kit-0.2.1/dutil'
cd dwidget/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake /var/tmp/portage/dde-base/deepin-tool-kit-0.2.1/work/deepin-tool-kit-0.2.1/dwidget/dwidget.pro 'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++ QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP= 'QMAKE_CFLAGS=-O2 -pipe' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-O2 -pipe' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= -o Makefile ) && make -f Makefile
process translations/dtkwidget.ts
lrelease: could not find a Qt installation of ''
process translations/dtkwidget_zh_CN.ts
lrelease: could not find a Qt installation of ''
Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version.
Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point.
Project MESSAGE: This is not a bug, but a result of using Qt internals. You have been warned!
make[1]: Entering directory '/var/tmp/portage/dde-base/deepin-tool-kit-0.2.1/work/deepin-tool-kit-0.2.1/dwidget'
x86_64-pc-linux-gnu-g++ -c -O2 -pipe -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DLIBDTK_LIBRARY -DQT_MESSAGELOGCONTEXT -DSN_API_NOT_YET_FROZEN -DLIBDTKWIDGET_LIBRARY -DQT_NO_DEBUG -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_PLATFORMSUPPORT_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -Iwidgets/startupnotifications -Iplatforms/linux -Iwidgets -I../dbase -I../dutil -isystem /usr/include/startup-notification-1.0 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtMultimediaWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPlatformSupport -isystem /usr/include/qt5/QtPlatformSupport/5.6.2 -isystem /usr/include/qt5/QtPlatformSupport/5.6.2/QtPlatformSupport -isystem /usr/include/qt5/QtGui/5.6.2 -isystem /usr/include/qt5/QtGui/5.6.2/QtGui -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore/5.6.2 -isystem /usr/include/qt5/QtCore/5.6.2/QtCore -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o dcalendardbus.o widgets/private/DCalendarWidget/dcalendardbus.cpp
So the message shows up there, but it doesn't seem to be fatal. Whereas in 0.2.5 it seems to be, unless it's another issue. I'm wondering if I should bump qt to 5.7
from deepin-overlay.
It is weird.
Since I am using Qt 5.7 now and can not reproduce your issue, I can not locate the problem.
I just add a patch to disable termination of compiling when lrelease failed, see 3178acc. Because the translation files do not affect the libraries in runtime.
You can upgrade you Qt version at your most convinience for a try.
from deepin-overlay.
-r1 works here, closing the issue as fixed.
from deepin-overlay.
So, I'm running into this again - across a bunch of packages, and it seems to be related to lrelease seems to be expecting a -qtX - whatever version of QT is used. I'm still updating my system here, but I'll open a bug with all the packages I've run into this on.
I think a more proper solution is to pass the correct qt version but I'm not entirely sure the best way to figure it out yet.
from deepin-overlay.
Related Issues (20)
- dde-base/dtkwidget 5.4.1 requires dev-qt/qtprintsupport installed with [cups] flag
- Help me HOT 1
- Help!!
- Help!!
- qmake-utils.eclass has dropped EAPI-6 support
- error in emerge --ask =dde-base/dde-meta-15.11
- ERROR: dde-base/dde-control-center-5.4.9::deepin failed (prepare phase): HOT 1
- cannot access '/var/tmp/portage/dde-base/dde-session-shell-5.4.5/image/usr/bin/dde-lock-wapper': No such file or directory HOT 1
- error emerging dde-base/dtkwidget-2.1.1
- error emerging dde-base/dde-file-manager-5.2.0.87
- Failed to emerge dde-extra/deepin-terminal-5.4.0.13
- failed to emerge x11-wm/dde-kwin-5.2.0.13 HOT 3
- character width does not match the cursor position in konsole
- Can't emerge Virtual/ffmpeg if add extra or multimedia USE into dde-meta HOT 1
- Build error dde-extra/deepin-reader-5.9.0.9
- Build error dde-extra/deepin-log-viewer-5.8.0.33
- Build error dde-extra/deepin-manual (dev-qt/qcef-1.1.8)
- can't emerge dde-meta / packages need updating
- This project needs severe updating and fixing. HOT 1
- - dde-base/dde-control-center-5.4.9::deepin (masked by: corruption)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepin-overlay.