<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
Try running mb as user mersdk in Mer SDK VM.<br>
<br>
BR,<br>
Vesku<br>
<br>
<br>
On 04/22/2013 11:16 AM, <a class="moz-txt-link-abbreviated" href="mailto:christopher.lamb@thurweb.ch">christopher.lamb@thurweb.ch</a> wrote:<br>
</div>
<blockquote
cite="mid:20130422101630.74826mdkkaw6etb2@webmail.thurcom.ch"
type="cite">Hi All
<br>
<br>
Maybe a glimmer of light at the end of the tunnel.
<br>
<br>
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:
<br>
<br>
[root@SailfishSDK Demo2]# mb build -t SailfishOS-i486-x86
rpm/Demo2.spec
<br>
Building rpm/Demo2.spec for SailfishOS-i486-x86
<br>
Checking dependencies...
<br>
sb2: Error: Invalid target specified, aborting. Deep Shit!
<br>
current directory is: /home/mersdk/SailfishProjects/Demo2/Demo2
<br>
script is : /usr/bin/sb2
<br>
target is: SailfishOS-i486-x86
<br>
file being looked for at:
/root/.scratchbox2/SailfishOS-i486-x86/sb2.config
<br>
Setting up temporary specfile for Demo2 from rpm/Demo2.spec
<br>
rsyncing source...
<br>
run rpmbuild
<br>
sb2: Error: Invalid target specified, aborting. Deep Shit!
<br>
current directory is: /home/mersdk/SailfishProjects/Demo2/Demo2
<br>
script is : /usr/bin/sb2
<br>
target is: SailfishOS-i486-x86
<br>
file being looked for at:
/root/.scratchbox2/SailfishOS-i486-x86/sb2.config
<br>
<br>
The problem seems to be that ether:
<br>
a) /root/.scratchbox2/SailfishOS-i486-x86/sb2.config is missing or
<br>
b) sb2 is looking for this file in the wrong place
<br>
<br>
An ls of /root gives me:
<br>
<br>
[root@SailfishSDK Demo2]# ls -l -A //root
<br>
total 32
<br>
-rw------- 1 root root 510 2013-04-21 13:34 .bash_history
<br>
-rw-r--r-- 1 root root 24 2012-01-25 19:08 .bash_logout
<br>
-rw-r--r-- 1 root root 191 2012-01-25 19:08 .bash_profile
<br>
-rw-r--r-- 1 root root 176 2012-01-25 19:08 .bashrc
<br>
-rw-r--r-- 1 root root 100 2012-01-25 19:08 .cshrc
<br>
drwxr-xr-x 4 root root 4096 2013-04-21 14:31 rpmbuild
<br>
-rw-r--r-- 1 root root 129 2012-01-25 19:08 .tcshrc
<br>
-rw------- 1 root root 963 2013-03-28 15:19 .viminfo
<br>
[root@SailfishSDK Demo2]#
<br>
<br>
No sign here of a .scratchbox2 directory....
<br>
<br>
<br>
Grüsse
<br>
<br>
Chris
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SailfishOS.org Devel mailing list</pre>
</blockquote>
<br>
</body>
</html>