Bug 9348

Summary: Необходимо собрать OnlyOffice community edition
Product: [ROSA-based products] ROSA Fresh Reporter: Vladimir Potapov <v.potapov>
Component: Packages from MainAssignee: ROSA Linux Bugs <bugs>
Status: IN_PROGRESS --- QA Contact: ROSA Linux Bugs <bugs>
Severity: normal    
Priority: Normal    
Version: All   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Platform: --- ROSA Vulnerability identifier:
RPM Package: ISO-related:
Bad POT generating: Upstream:

Description Vladimir Potapov 2018-09-27 10:50:03 MSK
На платформе 2016.1 не работает onlyoffice
[0927/154937.716019:ERROR:nss_util.cc(651)] Error initializing NSS with a persistent database (sql:/home/keleg/.pki/nssdb): NSS error code: -8023
[0927/154937.716207:ERROR:nss_util.cc(158)] Error initializing NSS without a persistent database: NSS error code: -8023
[0927/154937.716218:FATAL:nss_util.cc(160)] nss_error=-8023, os_error=0
Аварийный останов (слепок снят)
Comment 1 Vladimir Potapov 2018-09-27 10:50:41 MSK
необходимо для релиза RED его собрать в наши репозитории.
Comment 2 Vladimir Potapov 2018-09-27 10:54:54 MSK
буду писать сюда опыт сборки
1) Исходники из архива на гитхабе не пошли, только клонированием. 
2) git submodule init / git submodule update
3) понадобилась дополнительная ссылка, чтоб находил qmake
4) сначала нужно собрать core/Common/3dParty
Comment 3 Vladimir Potapov 2018-09-27 11:53:32 MSK
при сборке core падает


In file included from ../nativecontrol.h:42:0,
                 from ../nativecontrol.cpp:32:
./../../fontengine/application_generate_fonts_common.h: В функции «void NSCommon::WriteLog(const string&, const wstring&)»:
./../../fontengine/application_generate_fonts_common.h:109:34: ошибка: формат не является строковой константой, и не заданы аргументы форматирования [-Werror=format-security]
         fprintf(f, sDataA.c_str());
                                  ^
In file included from ../nativecontrol.cpp:32:0:
../nativecontrol.h: В функции-члене «void CNativeControl::DumpRemoveChanges(const int&)»:
../nativecontrol.h:324:14: предупреждение: неиспользуемая переменная «bIsOk» [-Wunused-variable]
         bool bIsOk = NSFile::CFileBinary::ReadAllBytes(m_sChangesBuilderPath, &pData, dwSize);
              ^
../nativecontrol.h: В функции-члене «void CNativeControl::DumpChanges(const string&, int, int)»:
../nativecontrol.h:364:46: ошибка: формат не является строковой константой, и не заданы аргументы форматирования [-Werror=format-security]
                 fprintf(_file, sParam.c_str());
                                              ^
<**************************>
make[1]: *** [Makefile:1444: ../core_build/linux_64/release/obj/nativecontrol.o] Ошибка 1
make[1]: выход из каталога «/home/keleg/abf/onlyoffice/DesktopEditors/core/DesktopEditor/doctrenderer/doctrenderer.build»
make: *** [Makefile:307: build/lib/linux_64/libdoctrenderer.so*] Ошибка 2