Hi All,

Whilst executing the build in the top-level directory (in my case 
~/Tizen/Tizen2_2), there is an error in which the correct path is not passed to 
depanneur and the build does not start

My home directory is /home/nec

I start the build in the top-level folder of /home/nec/Tizen/Tizen2_2
[mymachine]:~/Tizen/Tizen2_2$ gbs build -A armv7l -debug

In the corresponding debug I see:
: depanneur --arch=armv7l 
--repository=http://[uname]:[pword]@download.tizen.org/releases/2.2/latest/repos/tizen-main/armv7l/packages/
 
--repository=http://[uname]:[pword]@download.tizen.org/releases/2.2/latest/repos/tizen-base/armv7l/packages/
 --dist=tizen --configdir=/var/tmp/nec-gbs --path=/home/nec --debug --threads=1 
--packaging-dir=packaging --upstream-branch=upstream
info: start building packages from: /home/nec (git)
debug: working on /home/nec
..l...
error: No source package found at /home/nec

The basic problem seems that the wrong path is passed to depanneur as 
path=/home/nec (which is my home directory and not my working directory).  The 
correct path should be path= /home/nec/Tizen/Tizen2_2
The full transaction, Linux configuration and my .gbs.conf is following

Regrettably gbs does not have any -path extension.

Is there a workaround or solution?

Regards - Martin





[mymachine]:~/Tizen/Tizen2_2$ gbs build -A armv7l --debug
gbp:debug: git rev-parse --is-bare-repository
gbp:debug: git rev-parse --git-dir
gbp:debug: git rev-parse --show-toplevel
gbs:info: generate repositories ...
gbs:debug: fetching 
http://download.tizen.org/releases/2.2/latest/repos/tizen-main/armv7l/packages/repodata/repomd.xml
 => /var/tmp/nec-gbs/gbscacheZFauYp/repomd.xml
gbs:debug: fetching 
http://download.tizen.org/releases/2.2/latest/repos/tizen-main/armv7l/packages/repodata/repomd.xml
 => /var/tmp/nec-gbs/gbscacheZFauYp/repomd.xml
gbs:debug: fetching 
http://download.tizen.org/releases/2.2/latest/builddata/build.xml => 
/var/tmp/nec-gbs/gbscacheZFauYp/build.xml
gbs:debug: fetching 
http://download.tizen.org/releases/2.2/latest/builddata/0fa267f9b5c2439349e22f9049e3f5b421e7d97bcc36f0a8254963f0fb5660f0-build.conf
 => 
/var/tmp/nec-gbs/gbscacheZFauYp/0fa267f9b5c2439349e22f9049e3f5b421e7d97bcc36f0a8254963f0fb5660f0-build.conf
gbs:debug: fetching 
http://download.tizen.org/releases/2.2/latest/repos/tizen-base/armv7l/packages/repodata/repomd.xml
 => /var/tmp/nec-gbs/gbscacheZFauYp/repomd.xml
gbs:debug: fetching 
http://download.tizen.org/releases/2.2/latest/repos/tizen-base/armv7l/packages/repodata/repomd.xml
 => /var/tmp/nec-gbs/gbscacheZFauYp/repomd.xml
gbs:debug: running command: depanneur --arch=armv7l 
--repository=http://[uname]:[pword]@download.tizen.org/releases/2.2/latest/repos/tizen-main/armv7l/packages/
 
--repository=http://[uname]:[pword]@download.tizen.org/releases/2.2/latest/repos/tizen-base/armv7l/packages/
 --dist=tizen --configdir=/var/tmp/nec-gbs --path=/home/nec --debug --threads=1 
--packaging-dir=packaging --upstream-branch=upstream
info: start building packages from: /home/nec (git)
debug: working on /home/nec
debug: my_system: cd /home/nec; git show HEAD:packaging >/tmp/3rNSNxXOGz 
2>/dev/null
error: No source package found at /home/nec
gbs:error: Traceback (most recent call last):
  File "/usr/bin/gbs", line 539, in <module>
    sys.exit(main(sys.argv))
  File "/usr/bin/gbs", line 533, in main
    return module.main(args)
  File "/usr/lib/pymodules/python2.7/gitbuildsys/cmd_build.py", line 323, in 
main
    raise GbsError('rpmbuild fails')
GbsError: <gbs>rpmbuild fails
My Linux Configuration is this:
$  cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"
NAME="Ubuntu"
VERSION="12.04.2 LTS, Precise Pangolin"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu precise (12.04.2 LTS)"
VERSION_ID="12.04"

$ uname -a
Linux DTizen 3.5.0-24-generic #37~precise1-Ubuntu SMP Thu Feb 7 22:09:59 UTC 
2013 x86_64 x86_64 x86_64 GNU/Linux


My .gbs.conf is like this:
[general]
#Current profile name which should match a profile section name
tmpdir = /var/tmp
editor =
packaging_branch = master
upstream_branch = upstream
upstream_tag = upstream/${upstreamversion}
packaging_dir = packaging
profile = profile.tizen
buildroot = ~/GBS-ROOT/
work_dir = ~/Tizen/Tizen2_2


[profile.tizen]
# If no buildroot for profile, the buildroot in general section will be used
buildroot = ~/GBS-ROOT-profile.tizen/
# Specify build conf for a specific profile by using shell-style variable 
references
buildconf = ${work_dir}/scm/meta/build-config/build.conf
#Common authentication info for whole profile
user = [uname]
#CAUTION: please use the key name "passwd" to reset plaintext password
passwdx = [hash_of_pword]
#Comma separated list of repositories
repos = repo.tizen_main, repo.tizen_base


[repo.tizen_base]
url = 
http://download.tizen.org/releases/2.2/latest/repos/tizen-base/armv7l/packages/

[repo.tizen_main]
url = 
http://download.tizen.org/releases/2.2/latest/repos/tizen-main/armv7l/packages/


________________________________

NEC Technologies (UK) Ltd.,
Company Registered Office: Imperium, Reading, Berkshire, RG2 0TD
Registered Number: 4072718
Attention:
The information contained in this message and or attachments is intended only 
for the person or entity to which it is addressed and may contain confidential 
and/or privileged material. Any review, retransmission, dissemination or other 
use of, or taking of any action in reliance upon, this information by persons 
or entities other than the intended recipient is prohibited. If you received 
this in error, please contact the sender and delete the material from any 
system and destroy any copies.
_______________________________________________
General mailing list
[email protected]
https://lists.tizen.org/listinfo/general

Reply via email to