Page 1 of 1

[SOLVED] It is impossible to compile smplayer

PostPosted: Jun 13th, '16, 12:54
by xlin
It is impossible to compile. It is not clear what the problem is.

Code: Select all
[root@xlin SPECS]# rpmbuild -ba  smplayer-themes.spec
Выполняется(%prep): /bin/sh -e /var/tmp/rpm-tmp.E1JCnc
+ umask 022
+ cd /root/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /root/rpmbuild/BUILD
+ rm -rf smplayer-themes-16.6.0
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/smplayer-themes-16.6.0.tar.bz2
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd smplayer-themes-16.6.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Выполняется(%build): /bin/sh -e /var/tmp/rpm-tmp.EPbCsz
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd smplayer-themes-16.6.0
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ make -O -j4
cd themes && make
make[1]: Entering directory '/root/rpmbuild/BUILD/smplayer-themes-16.6.0/themes'
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Leaving directory '/root/rpmbuild/BUILD/smplayer-themes-16.6.0/themes'
make[1]: Entering directory '/root/rpmbuild/BUILD/smplayer-themes-16.6.0/themes'
rcc -binary Breeze.qrc -o Breeze/Breeze.rcc
rcc: could not find a Qt installation of ''
Makefile:4: recipe for target 'Breeze/Breeze.rcc' failed
make[1]: *** [Breeze/Breeze.rcc] Error 1
make[1]: Leaving directory '/root/rpmbuild/BUILD/smplayer-themes-16.6.0/themes'
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2
ошибка: Неверный код возврата из /var/tmp/rpm-tmp.EPbCsz (%build)

Ошибки сборки пакетов:
    Неверный код возврата из /var/tmp/rpm-tmp.EPbCsz (%build)

Re: It is impossible to compile smplayer

PostPosted: Jun 14th, '16, 18:45
by doktor5000
xlin wrote:It is not clear what the problem is.

I think it's pretty clear:
rcc -binary Breeze.qrc -o Breeze/Breeze.rcc
rcc: could not find a Qt installation of ''


The other thing is that you run the build as root, which you should never do when (re)building packages or also when compiling in general, period.
Try again with your regular user.

Re: It is impossible to compile smplayer

PostPosted: Jun 14th, '16, 20:12
by xlin
doktor5000 wrote:The other thing is that you run the build as root, which you should never do when (re)building packages or also when compiling in general, period.
Try again with your regular user.

Under normal user the same error in the assembly of the package.

Re: It is impossible to compile smplayer

PostPosted: Jun 14th, '16, 21:01
by doktor5000
Did you actually look at the error message? And care to provide at least some essential details, like what qt packages you have installed, what Mageia release, what does qmake --version say and so on ... ?

Re: It is impossible to compile smplayer

PostPosted: Jun 14th, '16, 21:11
by xlin
doktor5000 wrote:Did you actually look at the error message?

yes
rpm -qa | grep qt
Spoiler:
xlin@xlin SPECS]$ rpm -qa | grep qt
lib64qtsingleapplication1-2.6.1-15.mga5.mrc
lib64qt5oxygenstyle5-5.0.2-1.mga5
lib64smokeqtdbus3-4.14.3-1.mga5
qtwebkit-qmlplugin-2.3.4-3.mga5
lib64qt5core-devel-5.4.2-1.1.mga5
lib64qt5printsupport-devel-5.4.2-1.1.mga5
lib64polkit-qt-core-1_1-0.112.0-6.mga5
python-qt5-webkitwidgets-5.4.2-1.mga5
python3-qt4-script-4.11.3-1.mga5
lib64smokeqtdeclarative3-4.14.3-1.mga5
lib64poppler-qt4_4-0.26.5-2.1.mga5
python-qt4-multimedia-4.11.3-1.mga5
lib64qt5gui5-5.4.2-1.1.mga5
lib64qt5opengl5-5.4.2-1.1.mga5
qtbase5-database-plugin-mysql-5.4.2-1.1.mga5
lib64qt5webkitwidgets5-5.4.2-1.mga5
python3-qt4-gui-4.11.3-1.mga5
python3-qt4-xml-4.11.3-1.mga5
lib64phonon4qt5_4-4.8.3-2.mga5
lib64smokeqtcore3-4.14.3-1.mga5
qt4-designer-plugin-phonon-4.8.3-2.mga5
python-qt4-sql-4.11.3-1.mga5
lib64qt5network-devel-5.4.2-1.1.mga5
lib64qtsql4-4.8.6-9.mga5
lib64qtscript5-5.4.2-1.mga5
qtbase5-database-plugin-pgsql-5.4.2-1.1.mga5
lib64qttest4-4.8.6-9.mga5
lib64smokeqt3support3-4.14.3-1.mga5
python-qt4-webkit-4.11.3-1.mga5
lib64qt5widgets-devel-5.4.2-1.1.mga5
lib64qt5bootstrap-devel-5.4.2-1.1.mga5
qtbase5-database-plugin-sqlite-5.4.2-1.1.mga5
python-qt4-designer-4.11.3-1.mga5
lib64qtgui4-4.8.6-9.mga5
python3-qt4-test-4.11.3-1.mga5
lib64qtxmlpatterns4-4.8.6-9.mga5
python-qt4-script-4.11.3-1.mga5
lib64qtgstreamer1.0_0-1.2.0-2.mga5
lib64smokeqtnetwork3-4.14.3-1.mga5
python-qt4-dbus-4.11.3-1.mga5
lib64qt5dbus5-5.4.2-1.1.mga5
python-qt4-opengl-4.11.3-1.mga5
lib64qt5qml5-5.4.2-1.mga5
qt4-designer-plugin-qt3support-4.8.6-9.mga5
lib64qt5sql-devel-5.4.2-1.1.mga5
lib64qt5concurrent5-5.4.2-1.1.mga5
qtbase5-database-plugin-tds-5.4.2-1.1.mga5
python-qt5-printsupport-5.4.2-1.mga5
lib64modemmanagerqt0-1.0.1-4.mga5
lib64qt5webkit5-5.4.2-1.mga5
python3-qt4-multimedia-4.11.3-1.mga5
lib64qtglib2.0_0-1.2.0-2.mga5
lib64qtopengl4-4.8.6-9.mga5
qt4-qtdbus-4.8.6-9.mga5
lib64qtsvg5-5.4.2-1.mga5
python-qt4-network-4.11.3-1.mga5
phonon4qt5-4.8.3-2.mga5
lib64smokeqtwebkit3-4.14.3-1.mga5
lib64smokeqtsvg3-4.14.3-1.mga5
lib64qt5multimediawidgets5-5.4.2-1.mga5
qtbase5-common-5.4.2-1.1.mga5
qt4-qtconfig-4.8.6-9.mga5
lib64qt5widgets5-5.4.2-1.1.mga5
lib64ircclient-qt1-0.3.2-16.mga5
qt5-qtconfiguration-devel-0.3.0-1.mga5.mrc
lib64qt5xml-devel-5.4.2-1.1.mga5
lib64qt3-3.3.8b-40.mga5
python-qt5-core-5.4.2-1.mga5
qtchooser-39-1.mga5.mrc
python-qt5-network-5.4.2-1.mga5
python3-qt4-designer-4.11.3-1.mga5
python3-qt4-xmlpatterns-4.11.3-1.mga5
lib64accounts-qt1-1.11-4.mga5
lib64qtsensors1-1.2.0-13.mga5
lib64qt5multimedia5-5.4.2-1.mga5
python-qt4-core-4.11.3-1.mga5
lib64mygpo-qt1-1.0.8-4.mga5
python-qt4-svg-4.11.3-1.mga5
python3-qt4-core-4.11.3-1.mga5
lib64smokeqtsql3-4.14.3-1.mga5
lib64smokeqtmultimedia3-4.14.3-1.mga5
python-qt4-xmlpatterns-4.11.3-1.mga5
lib64qt5core5-5.4.2-1.1.mga5
python-qt4-4.11.3-1.mga5
lib64qt5gui-devel-5.4.2-1.1.mga5
lib64qt5dbus-devel-5.4.2-1.1.mga5
python-qt5-gui-5.4.2-1.mga5
python3-qt4-declarative-4.11.3-1.mga5
python3-qt4-opengl-4.11.3-1.mga5
lib64telepathy-logger-qt4_1-0.8.0-5.mga5
lib64qtwebkit2.2_4-2.3.4-3.mga5
lib64qtscript4-4.8.6-9.mga5
lib64qtdesigner5-5.4.2-1.mga5
lib64qtdesigner4-4.8.6-9.mga5
lib64qt3support4-4.8.6-9.mga5
lib64qtcore4-4.8.6-9.mga5
lib64qtgstreamerui1.0_0-1.2.0-2.mga5
python-qt4-test-4.11.3-1.mga5
lib64smokeqtgui3-4.14.3-1.mga5
lib64smokeqthelp3-4.14.3-1.mga5
lib64smokeqtscript3-4.14.3-1.mga5
perl-qt4-4.14.3-1.mga5
qtbase5-common-devel-5.4.2-1.1.mga5
qt4-designer-plugin-webkit-4.8.6-9.mga5
lib64qt5sql5-5.4.2-1.1.mga5
lib64qt5printsupport5-5.4.2-1.1.mga5
python-qt5-widgets-5.4.2-1.mga5
lib64networkmanagerqt1-0.9.8.3-2.mga5
lib64qthelp4-4.8.6-9.mga5
python3-qt4-sql-4.11.3-1.mga5
python3-qt4-webkit-4.11.3-1.mga5
lib64polkit-qt-agent-1_1-0.112.0-6.mga5
lib64signon-qt1-8.56-3.mga5
lib64smokeqtuitools3-4.14.3-1.mga5
lib64qtdbus4-4.8.6-9.mga5
qttranslations5-5.4.2-1.mga5
lib64qtscripttools4-4.8.6-9.mga5
python-qt4-gui-4.11.3-1.mga5
lib64qt5test5-5.4.2-1.1.mga5
qt5-qtconfiguration-0.3.0-1.mga5.mrc
lib64qtdeclarative4-4.8.6-9.mga5
lib64qt5base5-devel-5.4.2-1.1.mga5
qt3-common-3.3.8b-40.mga5
lib64qtsvg4-4.8.6-9.mga5
lib64qtclucene4-4.8.6-9.mga5
lib64dbusmenuqt52-0.9.2-1.2.20140213bzr.5.mga5
python3-qt4-4.11.3-1.mga5
lib64qtlocation1-1.2.0-13.mga5
lib64smokeqtopengl3-4.14.3-1.mga5
lib64qtxml4-4.8.6-9.mga5
python-qt4-xml-4.11.3-1.mga5
lib64qt5quick5-5.4.2-1.mga5
qt4-xmlpatterns-4.8.6-9.mga5
lib64qt5concurrent-devel-5.4.2-1.1.mga5
qtbase5-database-plugin-odbc-5.4.2-1.1.mga5
qtscriptbindings-0.2.0-6.mga5
qt4-database-plugin-sqlite-4.8.6-9.mga5
python-qt5-webkit-5.4.2-1.mga5
python3-qt4-dbus-4.11.3-1.mga5
qt5-style-oxygen-5.0.2-1.mga5
lib64smokeqtxmlpatterns3-4.14.3-1.mga5
lib64qtmultimedia4-4.8.6-9.mga5
lib64qt5xml5-5.4.2-1.1.mga5
lib64ircclient-qt-devel-0.3.2-16.mga5
lib64qtnetwork4-4.8.6-9.mga5
lib64qt5opengl-devel-5.4.2-1.1.mga5
pinentry-qt4-0.8.3-4.mga5
lib64telepathy-qt4_2-0.9.5-1.mga5
python-qt5-svg-5.4.2-1.mga5
qt4-database-plugin-mysql-4.8.6-9.mga5
python3-qt4-svg-4.11.3-1.mga5
lib64qt4lockedfile1-2.4.1-14.mga5.mrc
lib64smokeqtxml3-4.14.3-1.mga5
qt-gstreamer-1.2.0-2.mga5
lib64smokeqttest3-4.14.3-1.mga5
python-qt4-declarative-4.11.3-1.mga5
lib64qt5network5-5.4.2-1.1.mga5
lib64qt4-devel-4.8.6-9.mga5
lib64dbusmenu-qt2-0.9.2-5.mga5
lib64qt5test-devel-5.4.2-1.1.mga5
lib64qtx11extras5-5.4.2-1.mga5
qt4-common-4.8.6-9.mga5
eiskaltdcpp-qt-2.2.9-5.mga5
lib64qt5oxygenstyleconfig5-5.0.2-1.mga5
python3-qt4-network-4.11.3-1.mga5

Code: Select all
[xlin@xlin SPECS]$ which qmake
/usr/bin/qmake
[xlin@xlin SPECS]$ qmake --version
qmake: could not find a Qt installation of ''
[xlin@xlin SPECS]$ cat /etc/lsb
lsb-release    lsb-release.d/
[xlin@xlin SPECS]$ cat /etc/lsb-release
LSB_VERSION=
DISTRIB_ID="Mageia"
DISTRIB_RELEASE=5
DISTRIB_CODENAME=thornicroft
DISTRIB_DESCRIPTION="Mageia 5"

Code: Select all
Mageia release 5 (Official) for x86_64

Re: It is impossible to compile smplayer

PostPosted: Jun 14th, '16, 21:38
by xlin
Understood. The problem was in the idle qtchooser. I remove it and worked qmake

Re: It is impossible to compile smplayer

PostPosted: Jun 15th, '16, 17:36
by doktor5000
Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks