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.
'libqt-devel' providing 'pkgconfig(QtCore) >= 4.8.0' is already installed.
'rpm-build' is already installed.
No update candidate for 'rpm-build-4.9.1.2-1.21.i486'. The highest
available version is already installed.
Resolving package dependencies...
Nothing to do.
Setting up temporary specfile for Demo3 from rpm/Demo3.spec
rsyncing source...
run rpmbuild
error: Bad owner/group: /home/mersdk/rpmbuild/SOURCES/Demo3.tar.bz2
-bash-3.2$ ls -l rpm
total 36
-rwx------ 1 mersdk mersdk 25095 Apr 22 19:09 Demo3-0.1.tar.bz2
-rwx------ 1 mersdk mersdk 771 Apr 22 19:01 Demo3.spec
-rwx------ 1 mersdk mersdk 702 Apr 22 18:44 Demo3.yaml
-bash-3.2$
-rwx------ 1 mersdk mersdk 103853 Apr 22 18:41 Demo2-0.1.tar.bz2
-rwx------ 1 mersdk mersdk 771 Apr 22 18:41 Demo2.spec
-rwx------ 1 mersdk mersdk 27 Apr 22 18:41 Demo2.tar.bz2
-rwx------ 1 mersdk mersdk 702 Apr 22 18:41 Demo2.yaml
-rwx------ 1 mersdk mersdk 25095 Apr 22 19:09 Demo3-0.1.tar.bz2
-rwx------ 1 mersdk mersdk 771 Apr 22 19:09 Demo3.spec
-rwx------ 1 mersdk mersdk 27 Apr 22 19:09 Demo3.tar.bz2
-rwx------ 1 mersdk mersdk 702 Apr 22 19:09 Demo3.yaml
-rwx------ 1 mersdk mersdk 711 Apr 21 10:23 abstractui.spec
-rwx------ 1 mersdk mersdk 27 Apr 21 10:23 abstractui.tar.bz2
-rwx------ 1 mersdk mersdk 678 Apr 21 10:23 abstractui.yaml
-bash-3.2$
I did not really understand your hint about make clean ... as a frank
school teacher might say "his unix knowhow could do with improvement
..."
Cheers
Chris
Zitat von "David Greaves" <david.grea...@jollamobile.com>:
Hi Chris
On 22/04/13 09:16, christopher.l...@thurweb.ch wrote:
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
or ... :)
Well found and you are actually 100% correct with a) however you should be
building as the mersdk user. This is not terribly clear in the docs;
in general
root is only used for admin tasks like system software installation.
The mersdk user is 'you'; we don't know in advance what your username will be
and it could contain spaces etc so the (usually hidden) mersdk
username is used
inside the build engine. The mersdk home directory is mapped to your
home directory.
ie /home/mersdk/.scratchbox2/SailfishOS-i486-x86/sb2.config should
be present in
the build engine and should correspond to
~/.scratchbox2/SailfishOS-i486-x86/sb2.config in the host machine.
ssh -p 2222 -i ~/.ssh/mer-qt-creator-rsa mersdk@localhost
You *may* have problems with permissions in which case you may need
to login as
root and run make distclean in your project.
David
_______________________________________________
SailfishOS.org Devel mailing list