[SailfishDevel] Fwd: Fwd: mb gives error "sb2: Error: Invalid target specified, aborting.": Part 3
Vesa-Matti Hartikainen
vesa-matti.hartikainen at jollamobile.com
Mon Apr 22 08:18:30 UTC 2013
Hi,
Try running mb as user mersdk in Mer SDK VM.
BR,
Vesku
On 04/22/2013 11:16 AM, christopher.lamb at thurweb.ch wrote:
> Hi All
>
> Maybe a glimmer of light at the end of the tunnel.
>
> I have found which instance of sb2 is being called (/usr/bin/sb2), and
> have have extended the exit_error() function to give a little more
> info. I now get the following error output:
>
> [root at SailfishSDK Demo2]# mb build -t SailfishOS-i486-x86 rpm/Demo2.spec
> Building rpm/Demo2.spec for SailfishOS-i486-x86
> Checking dependencies...
> sb2: Error: Invalid target specified, aborting. Deep Shit!
> current directory is: /home/mersdk/SailfishProjects/Demo2/Demo2
> script is : /usr/bin/sb2
> target is: SailfishOS-i486-x86
> file being looked for at:
> /root/.scratchbox2/SailfishOS-i486-x86/sb2.config
> Setting up temporary specfile for Demo2 from rpm/Demo2.spec
> rsyncing source...
> run rpmbuild
> sb2: Error: Invalid target specified, aborting. Deep Shit!
> current directory is: /home/mersdk/SailfishProjects/Demo2/Demo2
> script is : /usr/bin/sb2
> target is: SailfishOS-i486-x86
> file being looked for at:
> /root/.scratchbox2/SailfishOS-i486-x86/sb2.config
>
> The problem seems to be that ether:
> a) /root/.scratchbox2/SailfishOS-i486-x86/sb2.config is missing or
> b) sb2 is looking for this file in the wrong place
>
> An ls of /root gives me:
>
> [root at SailfishSDK Demo2]# ls -l -A //root
> total 32
> -rw------- 1 root root 510 2013-04-21 13:34 .bash_history
> -rw-r--r-- 1 root root 24 2012-01-25 19:08 .bash_logout
> -rw-r--r-- 1 root root 191 2012-01-25 19:08 .bash_profile
> -rw-r--r-- 1 root root 176 2012-01-25 19:08 .bashrc
> -rw-r--r-- 1 root root 100 2012-01-25 19:08 .cshrc
> drwxr-xr-x 4 root root 4096 2013-04-21 14:31 rpmbuild
> -rw-r--r-- 1 root root 129 2012-01-25 19:08 .tcshrc
> -rw------- 1 root root 963 2013-03-28 15:19 .viminfo
> [root at SailfishSDK Demo2]#
>
> No sign here of a .scratchbox2 directory....
>
>
> Grüsse
>
> Chris
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sailfishos.org/pipermail/devel/attachments/20130422/d5f65719/attachment.html>
More information about the Devel
mailing list