goldendict / goldendict

A feature-rich dictionary lookup program, supporting multiple dictionary formats (StarDict/Babylon/Lingvo/Dictd) and online dictionaries, featuring perfect article rendering with the complete markup, illustrations and other content retained, and allowing you to type in words without any accents or correct case.
http://goldendict.org/
Other
5.9k stars 728 forks source link

x86_64-linux-gnu-strip: /usr/local/share/applications/org.goldendict.GoldenDict.desktop: file format not recognized #1679

Closed bAH7JgbXrMsXEhggm4 closed 9 months ago

bAH7JgbXrMsXEhggm4 commented 9 months ago

My native language is not English so I had to use google translate to help me to write this, if it's hard to understand, I'm sorry.

operating system

➜  goldendict git:(master) ✗ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

It is worth mentioning that all dependencies are currently the latest version, I installed and updated them from the official sources of debian

When I run sudo make install, the following error is displayed:

➜  goldendict git:(master) ✗ sudo make install             
/usr/lib/qt5/bin/qmake -install qinstall -exe goldendict /usr/local/bin/goldendict
x86_64-linux-gnu-strip /usr/local/bin/goldendict
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/ar_SA.qm /usr/local/share/goldendict/locale/ar_SA.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/ay_WI.qm /usr/local/share/goldendict/locale/ay_WI.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/be_BY.qm /usr/local/share/goldendict/locale/be_BY.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/be_BY@latin.qm /usr/local/share/goldendict/locale/be_BY@latin.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/bg_BG.qm /usr/local/share/goldendict/locale/bg_BG.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/cs_CZ.qm /usr/local/share/goldendict/locale/cs_CZ.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/de_DE.qm /usr/local/share/goldendict/locale/de_DE.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/el_GR.qm /usr/local/share/goldendict/locale/el_GR.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/eo_EO.qm /usr/local/share/goldendict/locale/eo_EO.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/es_AR.qm /usr/local/share/goldendict/locale/es_AR.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/es_BO.qm /usr/local/share/goldendict/locale/es_BO.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/es_ES.qm /usr/local/share/goldendict/locale/es_ES.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/fa_IR.qm /usr/local/share/goldendict/locale/fa_IR.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/fi_FI.qm /usr/local/share/goldendict/locale/fi_FI.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/fr_FR.qm /usr/local/share/goldendict/locale/fr_FR.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/hi_IN.qm /usr/local/share/goldendict/locale/hi_IN.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/ie_001.qm /usr/local/share/goldendict/locale/ie_001.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/it_IT.qm /usr/local/share/goldendict/locale/it_IT.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/ja_JP.qm /usr/local/share/goldendict/locale/ja_JP.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/jb_JB.qm /usr/local/share/goldendict/locale/jb_JB.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/ko_KR.qm /usr/local/share/goldendict/locale/ko_KR.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/lt_LT.qm /usr/local/share/goldendict/locale/lt_LT.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/mk_MK.qm /usr/local/share/goldendict/locale/mk_MK.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/nl_NL.qm /usr/local/share/goldendict/locale/nl_NL.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/pl_PL.qm /usr/local/share/goldendict/locale/pl_PL.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/pt_BR.qm /usr/local/share/goldendict/locale/pt_BR.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/qu_WI.qm /usr/local/share/goldendict/locale/qu_WI.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/ru_RU.qm /usr/local/share/goldendict/locale/ru_RU.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/sk_SK.qm /usr/local/share/goldendict/locale/sk_SK.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/sq_AL.qm /usr/local/share/goldendict/locale/sq_AL.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/sr_SR.qm /usr/local/share/goldendict/locale/sr_SR.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/sv_SE.qm /usr/local/share/goldendict/locale/sv_SE.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/tg_TJ.qm /usr/local/share/goldendict/locale/tg_TJ.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/tk_TM.qm /usr/local/share/goldendict/locale/tk_TM.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/tr_TR.qm /usr/local/share/goldendict/locale/tr_TR.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/uk_UA.qm /usr/local/share/goldendict/locale/uk_UA.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/vi_VN.qm /usr/local/share/goldendict/locale/vi_VN.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/zh_CN.qm /usr/local/share/goldendict/locale/zh_CN.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/locale/zh_TW.qm /usr/local/share/goldendict/locale/zh_TW.qm
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/redist/icons/goldendict.png /usr/local/share/pixmaps/goldendict.png
/usr/lib/qt5/bin/qmake -install qinstall -exe /home/compile/Documents/github/goldendict/redist/org.goldendict.GoldenDict.desktop /usr/local/share/applications/org.goldendict.GoldenDict.desktop
x86_64-linux-gnu-strip /usr/local/share/applications/org.goldendict.GoldenDict.desktop
x86_64-linux-gnu-strip: /usr/local/share/applications/org.goldendict.GoldenDict.desktop: file format not recognized
make: [Makefile:4648: install_desktops] Error 1 (ignored)
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/redist/org.goldendict.GoldenDict.metainfo.xml /usr/local/share/metainfo/org.goldendict.GoldenDict.metainfo.xml
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/help/gdhelp_en.qch /usr/local/share/goldendict/help/gdhelp_en.qch
/usr/lib/qt5/bin/qmake -install qinstall /home/compile/Documents/github/goldendict/help/gdhelp_ru.qch /usr/local/share/goldendict/help/gdhelp_ru.qch

The error seems to occur here: x86_64-linux-gnu-strip: /usr/local/share/applications/org.goldendict.GoldenDict.desktop: file format not recognized

Version of x86_64-linux-gnu-strip

➜  goldendict git:(master) ✗ x86_64-linux-gnu-strip --version
GNU strip (GNU Binutils for Debian) 2.35.2
Copyright (C) 2020 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.

Contents of /usr/local/share/applications/org.goldendict.GoldenDict.desktop

➜  goldendict git:(master) ✗ cat /usr/local/share/applications/org.goldendict.GoldenDict.desktop               
[Desktop Entry]
Type=Application
Terminal=false
Categories=Office;Dictionary;Education;Qt;
Name=GoldenDict
GenericName=Multiformat Dictionary
Comment=A feature-rich dictionary lookup program
Icon=goldendict
Exec=goldendict %u
MimeType=x-scheme-handler/goldendict;x-scheme-handler/dict;

It seems that the installation was almost successful, but something went wrong, and I don't know where it went.

vedgy commented 9 months ago

Please just ignore the strip error as the installation process does: Error 1 (ignored). The error is harmless, should have been named a "warning" instead. See also https://github.com/goldendict/goldendict/issues/1001#issuecomment-415132376

bAH7JgbXrMsXEhggm4 commented 9 months ago

thank you for your help