[SailfishDevel] Missing Spec File on Build / Run
christopher.lamb at thurweb.ch
christopher.lamb at thurweb.ch
Sat Apr 20 19:49:09 UTC 2013
HI David
Bingo!
the problem (or at least one of the problems) is on the first step.
I don't have an rpm folder, or a yarl file.
I have now hacked my .pro file so I have both.
So why were both missing?
As you will have gathered from previous mails I am porting stuff from
Harmattan to Sailfish.
This package is an abstraction layer, with two versions (or flavours),
a Harmattan one, and a Sailfish one. My "real" application projects
will import one or the other depending on which they are targeted for.
I created the Harmattan "flavour" first, and used the "Library"
template project that the Qt Project Qt Creator 2.6.1 offered.
Once I got that more or less working, I turned to the Sailfish flavour.
However the Sailfish Qt Creator 2.6.2 does not offer a "Library"
template project, so I just cloned the Harmattan flavour and hoped for
the best....and opened it in Sailfish Qt Creator and clicked build...
Thanks
Chris
Zitat von "David Greaves" <david.greaves at jollamobile.com>:
> 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