Bug 34129

Summary: Ошибки сборки
Product: Sisyphus Reporter: Michael A. Kangin <prividen>
Component: firetoolsAssignee: Anton Farygin <rider>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: rider
Version: unstable   
Hardware: all   
OS: Linux   
Attachments:
Description Flags
patch to fix firetools build issues none

Description Michael A. Kangin 2017-11-03 22:53:09 MSK

    
Comment 1 Michael A. Kangin 2017-11-03 22:58:11 MSK
В ходе сборки под P7 наткнулся на следующие problems and issues:

- не собирается, не хватает зависимости на gcc-c++:
-----------------------
make[2]: Entering directory `/usr/src/RPM/BUILD/firetools-0.9.50/src/fmgr'
g++ -c -pipe -pipe -Wall -g -O2  -fstack-protector-all -D_FORTIFY_SOURCE=2 -fPIE -pie -Wformat -Wformat-security -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib64/qt5/mkspecs/linux-g++ -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -o mainwindow.o mainwindow.cpp
make[2]: g++: Command not found
make[2]: *** [mainwindow.o] Error 127
------------------------

- после сборки оказывается что некоторые файлы (не знаю уж, насколько важные) в пакет не попадают:
-------------------------
warning: Installed (but unpackaged) file(s) found:
    /usr/lib/firetools/fmgr
    /usr/lib/firetools/fstats
    /usr/lib/firetools/uihelp
    /usr/lib/firetools/uimenus
    /usr/share/applications/firejail-ui.desktop
    /usr/share/pixmaps/firejail-ui.png
---------------------------

- при попытке запуска firetools жалуется на отсутствие qt5-svg и предлагает установить какой-то левый (для нас) пакет:
------------------
Qt5 SVG icon library not found. Please install it:
sudo apt-get install libqt5svg5
------------------
Comment 2 Michael A. Kangin 2017-11-03 23:00:20 MSK
Created attachment 7259 [details]
patch to fix firetools build issues

предлагаю простенький комплексный патч:
Comment 3 Repository Robot 2017-11-04 12:25:13 MSK
firetools-0.9.50-alt2 -> sisyphus:

Sat Nov 04 2017 Anton Midyukov <antohami@altlinux> 0.9.50-alt2
- Fix build error (Closes: 34129). Thanks Michael A. Kangin