https://abf.io/build_lists/2614921
Всё равно не видит директорию.
Код: Выделить всё
State Changed: build
ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i586 --nodeps builddir/build/SPECS/sqlitebrowser.spec'], False, '/home/vagrant/tmpfs/Rosa-2012.1-i586/root/', None, 0, True, False, 500, 495, None, None, False, 2, logger=<mock_urpm.trace_decorator.getLog object at 0xe5d650>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target i586 --nodeps builddir/build/SPECS/sqlitebrowser.spec']
Error connecting: Could not connect: No such file or directory
Так же есть ошибки
Код: Выделить всё
g++ -c -O2 -Wa,--compress-debug-sections -gdwarf-4 -fvar-tracking-assignments -frecord-gcc-switches -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -ffat-lto-objects -fno-delete-null-pointer-checks -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -mtune=generic -march=i586 -fasynchronous-unwind-tables -DPIC -fPIC -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include -Irelease -o release/qcustomplot.o qcustomplot.cpp
g++ -c -O2 -Wa,--compress-debug-sections -gdwarf-4 -fvar-tracking-assignments -frecord-gcc-switches -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -ffat-lto-objects -fno-delete-null-pointer-checks -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -mtune=generic -march=i586 -fasynchronous-unwind-tables -DPIC -fPIC -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include -I. -Irelease -o release/TokenStreamSelector.o src/TokenStreamSelector.cpp
RCC: Error in 'translations/translations.qrc': Cannot find file 'sqlb_ru.qm'
RCC: Error in 'translations/translations.qrc': Cannot find file 'sqlb_de.qm'
RCC: Error in 'translations/translations.qrc': Cannot find file 'sqlb_fr.qm'
RCC: Error in 'translations/translations.qrc': Cannot find file 'sqlb_zh.qm'
RCC: Error in 'translations/translations.qrc': Cannot find file 'sqlb_zh_TW.qm'
RCC: Error in 'translations/translations.qrc': Cannot find file 'sqlb_pt_BR.qm'
RCC: Error in 'translations/translations.qrc': Cannot find file 'sqlb_en_GB.qm'
RCC: Warning: No resources in 'translations/translations.qrc'.
RCC: Error in 'translations/translations.qrc': Cannot find file 'sqlb_ru.qm'
RCC: Error in 'translations/translations.qrc': Cannot find file 'sqlb_de.qm'
RCC: Error in 'translations/translations.qrc': Cannot find file 'sqlb_fr.qm'
RCC: Error in 'translations/translations.qrc': Cannot find file 'sqlb_zh.qm'
RCC: Error in 'translations/translations.qrc': Cannot find file 'sqlb_zh_TW.qm'
RCC: Error in 'translations/translations.qrc': Cannot find file 'sqlb_pt_BR.qm'
RCC: Error in 'translations/translations.qrc': Cannot find file 'sqlb_en_GB.qm'
RCC: Warning: No resources in 'translations/translations.qrc'.
Я посмотрел там файлы идут без расширения, а именно sqlb_de, sqlb_fr, sqlb_ru
Но там есть файл translations.qrc его содержимое
Код: Выделить всё
<RCC>
<qresource prefix="/translations">
<file alias="sqlb_ru">sqlb_ru.qm</file>
<file alias="sqlb_de">sqlb_de.qm</file>
<file alias="sqlb_fr">sqlb_fr.qm</file>
<file alias="sqlb_zh">sqlb_zh.qm</file>
<file alias="sqlb_zh_TW">sqlb_zh_TW.qm</file>
<file alias="sqlb_pt_BR">sqlb_pt_BR.qm</file>
<file alias="sqlb_en_GB">sqlb_en_GB.qm</file>
</qresource>
</RCC>
Это как правильно или нет?
Хотя при make они вроде бы нашлись, но не все.
usr/bin/make -f Makefile.Release
make[2]: Entering directory '/builddir/build/BUILD/sqlitebrowser-3.8.0/src'
/usr/lib/qt4/bin/lrelease translations/sqlb_zh.ts -qm translations/sqlb_zh.qm
Updating 'translations/sqlb_zh.qm'...
Generated 389 translation(s) (389 finished and 0 unfinished)
Как понимаю 389 finished это хорошо, а вот если будет Generated 37 translation(s) (0 finished and 37 unfinished)
Ignored 352 untranslated source text(s) то это плохо?
А так же множество таких ошибок
Код: Выделить всё
/usr/lib/qt4/include/QtCore/qlist.h: In instantiation of 'void QList<T>::free(QListData::Data*) [with T = QString]':
/usr/lib/qt4/include/QtCore/qlist.h:732:15: required from 'QList<T>::~QList() [with T = QString]'
/usr/lib/qt4/include/QtCore/qstringlist.h:69:26: required from here
/usr/lib/qt4/include/QtCore/qlist.h:758:68: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]
reinterpret_cast<Node *>(data->array + data->end));
^
/usr/lib/qt4/include/QtCore/qlist.h:758:68: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]
/usr/lib/qt4/include/QtCore/qlist.h: In instantiation of 'void QList<T>::free(QListData::Data*) [with T = QVariant]':
/usr/lib/qt4/include/QtCore/qlist.h:732:15: required from 'QList<T>::~QList() [with T = QVariant]'
/usr/lib/qt4/include/QtCore/qstatemachine.h:82:59: required from here
/usr/lib/qt4/include/QtCore/qlist.h:758:68: warning: type-punning to incomplete type might break strict-aliasing rules [-Wstrict-aliasing]
/usr/lib/qt4/include/QtCore/qlist.h:758:68: warning: type-punning to incomplete type might break strict-aliasing rules [-Wstrict-aliasing]
У меня пока одно соображение как понял по исходникам программа писалась на QT5, а в spec'e прописано
может как то заменить на qt5 или вообще ни чего не прописывать?
и опять не видит директорию
Код: Выделить всё
+ install -d -m 755 /builddir/build/BUILDROOT/sqlitebrowser-3.8.0-1-rosa2014.1.i586-buildroot//usr/bin
+ cp sqlitebrowser /builddir/build/BUILDROOT/sqlitebrowser-3.8.0-1-rosa2014.1.i586-buildroot//usr/bin/
cp: cannot stat 'sqlitebrowser': No such file or directory
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.66047 (%install)
Bad exit status from /var/tmp/rpm-tmp.66047 (%install)
Child returncode was: 1
Но здесь как понимаю два слеша стоят.