[SailfishDevel] Fwd: Fwd: mb gives error "sb2: Error: Invalid target specified, aborting.": Part 3

David Greaves david.greaves at jollamobile.com
Mon Apr 22 20:02:19 UTC 2013


On 22/04/13 20:18, christopher.lamb at thurweb.ch wrote:
> Hi David
> 
> I am a microstep further ...8-)
> 
> logged as mersdk, and with a freshly backed Demo3 project I now get this far:
> 
> Building rpm/Demo3.spec for SailfishOS-i486-x86
> Checking dependencies...
> Loading repository data...
> Reading installed packages...
> 'pkgconfig(QtCore)>=4.8.0' not found in package names. Trying capabilities.

That confused me too.

Rather unhelpfully it does *not* say "never mind, found pkgconfig(QtCore)>=4.8.0
in capabilities; all is well" :)

As a test, I changed it to 4.9.0 and got:

'pkgconfig(QtCore)>=4.9.0' not found in package names. Trying capabilities.
No provider of 'pkgconfig(QtCore) >= 4.9.0' found.

So that's what it would say if it had a problem.

> error: Bad owner/group: /home/mersdk/rpmbuild/SOURCES/Demo3.tar.bz2

Lets try cleaning up:

cd <your app dir>

Then:

rm -rf /home/mersdk/rpmbuild/*
sudo chown -R mersdk:mersdk .

And build:

mb build -t SailfishOS-i486-x86 rpm/Demo3.spec

David



More information about the Devel mailing list