[From nobody Sun Apr 21 18:02:03 2013 Received: from catv-157-192.tbwil.ch (catv-157-192.tbwil.ch [213.196.157.192]) by webmail.thurcom.ch (Horde Framework) with HTTP; Sun, 21 Apr 2013 17:16:50 +0200 Message-ID: <20130421171650.17856jraicm9jrhe@webmail.thurcom.ch> Date: Sun, 21 Apr 2013 17:16:50 +0200 From: christopher.lamb@thurweb.ch To: devel@lists.sailfishos.org Subject: mb gives error "sb2: Error: Invalid target specified, aborting." MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all I have created a Demo sailfish project in Qt Creator (New File or Project / SailfishOS Qt Quick Application) I have changed this project (Demo2) in no way, so it is completely =20 vanilla / virgin. I want to build / run Demo2 as "Release / Install from RPM Package However it aborts with the error: "sb2: Error: Invalid target =20 specified, aborting." If I follow David's instructions to manually build at: https://sailfishos.org/wiki/Mer_OBS#Sailfish_on_OBS Then I get the same error at the mb step: mb build -t SailfishOS-i486-x86 rpm/<name of .spec file> I have spooled my shell output below, including a tail of the .spec file Any ideas? Gr=FCsse Chris Apple-Pip:~ christopherlamb$ ssh -p 2222 -i ~/.ssh/mer-qt-creator-rsa =20 root@localhost Last login: Sun Apr 21 13:32:10 2013 from 10.0.2.2 [root@SailfishSDK ~]# sdk-version Core repos point at version: 0.20130222.0.1 Tools repos point at version: mer-tools-rolling [root@SailfishSDK ~]# export PKG=3DDemo2 [root@SailfishSDK ~]# cd /home/mersdk/SailfishProjects/Demo2/Demo2/rpm/ [root@SailfishSDK rpm]# ls -l total 8 -rwx------ 1 mersdk mersdk 771 2013-04-21 13:48 Demo2.spec -rwx------ 1 mersdk mersdk 702 2013-04-21 13:27 Demo2.yaml [root@SailfishSDK rpm]# (cd ..; make distclean 2>/dev/null; tar cf - =20 --exclude /rpm --exclude .git/ --transform "s_./_${PKG}-0.1/_" ./) | =20 bzip2 > ${PKG}-0.1.tar.bz2 [ root@SailfishSDK rpm]# ls -l total 216 -rwx------ 1 mersdk mersdk 211308 2013-04-21 14:29 Demo2-0.1.tar.bz2 -rwx------ 1 mersdk mersdk 771 2013-04-21 13:48 Demo2.spec -rwx------ 1 mersdk mersdk 702 2013-04-21 13:27 Demo2.yaml [root@SailfishSDK rpm]# specify Info: Old spec file exists, patching Demo2.spec ... [root@SailfishSDK rpm]# cd .. [root@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. Setting up temporary specfile for Demo2 from rpm/Demo2.spec rsyncing source... run rpmbuild sb2: Error: Invalid target specified, aborting. [root@SailfishSDK Demo2]# tail rpm/Demo2.spec -n 100 # # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.25 # Name: Demo2 # >> macros # << macros Summary: My SailfishOS Application Version: 0.1 Release: 1 Group: Qt/Qt License: LICENSE Source0: %{name}-%{version}.tar.bz2 Source100: Demo2.yaml Requires: sailfishsilica BuildRequires: pkgconfig(QtCore) >=3D 4.8.0 %description Short description of my SailfishOS Application %prep %setup -q -n %{name}-%{version} # >> setup # << setup %build # >> build pre # << build pre %qmake make %{?jobs:-j%jobs} # >> build post # << build post %install rm -rf %{buildroot} # >> install pre # << install pre %qmake_install # >> install post # << install post %files %defattr(-,root,root,-) /opt # >> files # << files [root@SailfishSDK Demo2]# ]