HI

On building / running my absctractui components package I get the following errors:

Building rpm/abstractui.spec for MerSDK-SailfishOS-i486-x86
grep: rpm/abstractui.spec: No such file or directory
Checking dependencies...
grep: rpm/abstractui.spec: No such file or directory
sb2: Error: Invalid target specified, aborting.

my package is a set of qml components and a C++ plugin. It acts as an abstraction layer for user interface components (see previous mails).

The full compile output is at the bottom of this mail, and I have attached my .pro file

As always thanks for any input

Chris


17:38:59: Running steps for project abstractui...
17:38:59: Starting: "/Users/christopherlamb/SailfishOS/Qt Creator.app/Contents/Resources/MerProject/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/qmake" /Users/christopherlamb/SailfishProjects/abstractui/abstractui/abstractui.pro -r -spec linux-g++ -after OBJECTS_DIR=obj MOC_DIR=moc UI_DIR=ui RCC_DIR=rcc 17:39:00: The process "/Users/christopherlamb/SailfishOS/Qt Creator.app/Contents/Resources/MerProject/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/qmake" exited normally. 17:39:00: Starting: "/Users/christopherlamb/SailfishOS/Qt Creator.app/Contents/Resources/MerProject/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/make" -w
make: Entering directory `/home/mersdk/SailfishProjects/abstractui/abstractui'
make -f Makefile.Release all
make[1]: Entering directory `/home/mersdk/SailfishProjects/abstractui/abstractui'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/mersdk/SailfishProjects/abstractui/abstractui'
make -f Makefile.Debug all
make[1]: Entering directory `/home/mersdk/SailfishProjects/abstractui/abstractui'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/mersdk/SailfishProjects/abstractui/abstractui'
make: Leaving directory `/home/mersdk/SailfishProjects/abstractui/abstractui'
17:39:00: The process "/Users/christopherlamb/SailfishOS/Qt Creator.app/Contents/Resources/MerProject/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/make" exited normally.
17:39:00: Skipping disabled step Custom Process Step.
17:39:00: Starting: "/Users/christopherlamb/SailfishOS/Qt Creator.app/Contents/Resources/MerProject/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/rm" -rf /home/mersdk/rpmbuild/RPMS/ 17:39:01: The process "/Users/christopherlamb/SailfishOS/Qt Creator.app/Contents/Resources/MerProject/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/rm" exited normally. 17:39:01: Starting: "/Users/christopherlamb/SailfishOS/Qt Creator.app/Contents/Resources/MerProject/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/mb" build -t MerSDK-SailfishOS-i486-x86 rpm/abstractui.spec
Building rpm/abstractui.spec for MerSDK-SailfishOS-i486-x86
grep: rpm/abstractui.spec: No such file or directory
Checking dependencies...
grep: rpm/abstractui.spec: No such file or directory
sb2: Error: Invalid target specified, aborting.
Setting up temporary specfile for  from rpm/abstractui.spec
cp: cannot stat `rpm/abstractui.spec': No such file or directory
sed: can't read /home/mersdk/temp.spec: No such file or directory
sed: can't read /home/mersdk/temp.spec: No such file or directory
rsyncing source...
cp: cannot stat `./rpm/*': No such file or directory
run rpmbuild
sb2: Error: Invalid target specified, aborting.
rm: cannot remove `/home/mersdk/temp.spec': No such file or directory
17:39:01: The process "/Users/christopherlamb/SailfishOS/Qt Creator.app/Contents/Resources/MerProject/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/mb" exited with code 1. Error while building/deploying project abstractui (kit: MerSDK-SailfishOS-i486-x86)
When executing step 'Custom Process Step'
# SailfishOS version of the abstractui user interface components abstraction 
layer
TEMPLATE = lib
TARGET = abstractui
QT += declarative
CONFIG += qt plugin debug_and_release build_all

TARGET = $$qtLibraryTarget($$TARGET)
uri = org.flyingsheep.abstractui

# Input
SOURCES += \
    abstractui_plugin.cpp \
    abstractui.cpp

HEADERS += \
    abstractui_plugin.h \
    abstractui.h \
    auimdialogstatus.h \
    auimpagestatus.h \
    auimpageorientation.h \
    common.h

# directory where the AUI qml files lurk
AUI_DIR = ../org/flyingsheep/abstractui
# listing of the AUI qml files, enables them to be shown in QtCreator as part 
of the abstractui project
QML_FILES = \
    qmldir \
    $$AUI_DIR/AUIButton.qml  \
    $$AUI_DIR/AUIButton.qml \
    $$AUI_DIR/AUIButtonColumn.qml \
    $$AUI_DIR/AUIButtonRow.qml \
    $$AUI_DIR/AUIButtonStyle.qml \
    $$AUI_DIR/AUICheckBoxStyle.qml \
    $$AUI_DIR/AUIDialog.qml \
    $$AUI_DIR/AUIMenu.qml \
    $$AUI_DIR/AUIMenuItem.qml \
    $$AUI_DIR/AUIMenuLayout.qml \
    $$AUI_DIR/AUIPage.qml \
    $$AUI_DIR/AUIPageStackWindow.qml \
    $$AUI_DIR/AUIQueryDialog.qml \
    $$AUI_DIR/AUIRadioButton.qml \
    $$AUI_DIR/AUISheet.qml \
    $$AUI_DIR/AUITabButton.qml \
    $$AUI_DIR/AUITabGroup.qml \
    $$AUI_DIR/AUIToolIcon.qml \
    $$AUI_DIR/AUIToolButton.qml \
    $$AUI_DIR/AUIToolIcon.qml

OTHER_FILES += $$QML_FILES

!equals(_PRO_FILE_PWD_, $$OUT_PWD) {
    copy_qmldir.target = $$OUT_PWD/qmldir
    copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir
    copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, 
$$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\"
    QMAKE_EXTRA_TARGETS += copy_qmldir
    PRE_TARGETDEPS += $$copy_qmldir.target
}

qmldir.files = qmldir

unix {
    maemo5 | !isEmpty(MEEGO_VERSION_MAJOR) {
        installPath = /usr/lib/qt4/imports/$$replace(uri, \\., /)
    } else {
        installPath = $$[QT_INSTALL_IMPORTS]/$$replace(uri, \\., /)
    }
    qmldir.path = $$installPath
    target.path = $$installPath
    INSTALLS += target qmldir
}
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to