[SailfishDevel] Missing Spec File on Build / Run
David Greaves
david.greaves at jollamobile.com
Sat Apr 20 16:34:58 UTC 2013
This may help
https://sailfishos.org/wiki/Mer_OBS#Sailfish_on_OBS
I updated the wiki with the content I was about to send in this email :)
You can ignore the OBS aspect and stop short of uploading to the obs for now if
you like
This *should* build an rpm under
/home/mersdk/rpmbuild/RPMS/i586/
HTH
David
PS, yes, sorting out a registration/login mechanism for the wiki is on our TODO
list.
On 20/04/13 17:05, christopher.lamb at thurweb.ch wrote:
> 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.org Devel mailing list
>
More information about the Devel
mailing list