HI All, I am getting an error trying to build a local build of a single module of Tizen 2.2 on Ubuntu12.04 LTS. This could be happening because Ubuntu 12.04 used up-versioned and renamed packages. The build error I get is basically for missing dependencies. I can't really work around this error as I do not control the manifest file and so cannot patch it. Could Samsung please provide a workaround in the manifest?
The build error basically results in missing dependencies: debug: expansion error debug: nothing provides libxml2-x86-arm needed by cmake-x86-arm debug: nothing provides libcurl-x86-arm needed by cmake-x86-arm debug: nothing provides expat-x86-arm needed by cmake-x86-arm debug: nothing provides c-ares-x86-arm needed by cmake-x86-arm The full debug listing and .gbs.conf may be seen below. 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 Regards - Martin (there is nothing special about the module I try to build - the same behaviour happens with all. Likewise I have added various build extensions like -clean and -include-all and the result is the same) [mymachine]:~/Tizen/Tizen2_2/framework/system/libslp-sensor$ 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/gbscacheO9a9DQ/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/gbscacheO9a9DQ/repomd.xml gbs:debug: fetching http://download.tizen.org/releases/2.2/latest/builddata/build.xml => /var/tmp/nec-gbs/gbscacheO9a9DQ/build.xml gbs:debug: fetching http://download.tizen.org/releases/2.2/latest/builddata/0fa267f9b5c2439349e22f9049e3f5b421e7d97bcc36f0a8254963f0fb5660f0-build.conf => /var/tmp/nec-gbs/gbscacheO9a9DQ/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/gbscacheO9a9DQ/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/gbscacheO9a9DQ/repomd.xml gbs:debug: fetching http://download.tizen.org/releases/2.2/latest/repos/tizen-base/source/repodata/repomd.xml => /var/tmp/nec-gbs/gbscacheO9a9DQ/repomd.xml gbs:debug: fetching http://download.tizen.org/releases/2.2/latest/repos/tizen-base/source/repodata/repomd.xml => /var/tmp/nec-gbs/gbscacheO9a9DQ/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://martinh:[email protected]/releases/2.2/latest/repos/tizen-base/armv7l/packages/ --repository=http://[uname]:[pword]@download.tizen.org/releases/2.2/latest/repos/tizen-base/source/ --dist=tizen --configdir=/var/tmp/nec-gbs --path=/home/nec/Tizen/Tizen2_2/framework/system/libslp-sensor --debug --threads=1 --packaging-dir=packaging --upstream-branch=upstream info: start building packages from: /home/nec/Tizen/Tizen2_2/framework/system/libslp-sensor (git) debug: working on /home/nec/Tizen/Tizen2_2/framework/system/libslp-sensor debug: my_system: cd /home/nec/Tizen/Tizen2_2/framework/system/libslp-sensor; git show HEAD:packaging >/tmp/WMgynSu0wV 2>/dev/null info: prepare sources... debug: my_system: cd /home/nec/Tizen/Tizen2_2/framework/system/libslp-sensor; git show HEAD:packaging/sensor.spec >/tmp/PMKy3imFrR/sensor.spec 2>/dev/null info: retrieving repo metadata... debug: my_system: > /home/nec/GBS-ROOT-profile.tizen/local/order/.repo.cache.local debug: my_system: /usr/lib/build/createrpmdeps /home/nec/GBS-ROOT-profile.tizen/local/repos/tizen/armv7l/RPMS >> /home/nec/GBS-ROOT-profile.tizen/local/order/.repo.cache.local debug: my_system: echo D: >> /home/nec/GBS-ROOT-profile.tizen/local/order/.repo.cache.local debug: my_system: > /home/nec/GBS-ROOT-profile.tizen/local/order/.repo.cache.remote debug: /usr/lib/build/createrepomddeps --cachedir=/home/nec/GBS-ROOT-profile.tizen/local/cache http://download.tizen.org/releases/2.2/latest/repos/tizen-main/armv7l/packages/ >> /home/nec/GBS-ROOT-profile.tizen/local/order/.repo.cache.remote debug: my_system: /usr/lib/build/createrepomddeps --cachedir=/home/nec/GBS-ROOT-profile.tizen/local/cache http://download.tizen.org/releases/2.2/latest/repos/tizen-main/armv7l/packages/ >> /home/nec/GBS-ROOT-profile.tizen/local/order/.repo.cache.remote debug: my_system: echo D: >> /home/nec/GBS-ROOT-profile.tizen/local/order/.repo.cache.remote debug: /usr/lib/build/createrepomddeps --cachedir=/home/nec/GBS-ROOT-profile.tizen/local/cache http://download.tizen.org/releases/2.2/latest/repos/tizen-base/armv7l/packages/ >> /home/nec/GBS-ROOT-profile.tizen/local/order/.repo.cache.remote debug: my_system: /usr/lib/build/createrepomddeps --cachedir=/home/nec/GBS-ROOT-profile.tizen/local/cache http://download.tizen.org/releases/2.2/latest/repos/tizen-base/armv7l/packages/ >> /home/nec/GBS-ROOT-profile.tizen/local/order/.repo.cache.remote debug: my_system: echo D: >> /home/nec/GBS-ROOT-profile.tizen/local/order/.repo.cache.remote debug: /usr/lib/build/createrepomddeps --cachedir=/home/nec/GBS-ROOT-profile.tizen/local/cache http://download.tizen.org/releases/2.2/latest/repos/tizen-base/source/ >> /home/nec/GBS-ROOT-profile.tizen/local/order/.repo.cache.remote debug: my_system: /usr/lib/build/createrepomddeps --cachedir=/home/nec/GBS-ROOT-profile.tizen/local/cache http://download.tizen.org/releases/2.2/latest/repos/tizen-base/source/ >> /home/nec/GBS-ROOT-profile.tizen/local/order/.repo.cache.remote debug: my_system: echo D: >> /home/nec/GBS-ROOT-profile.tizen/local/order/.repo.cache.remote debug: my_system: cat /home/nec/GBS-ROOT-profile.tizen/local/order/.repo.cache.local /home/nec/GBS-ROOT-profile.tizen/local/order/.repo.cache.remote >/home/nec/GBS-ROOT-profile.tizen/local/order/.repo.cache info: parsing package data... info: building repo metadata ... info: package dependency resolving ... debug: Checking dependencies for sensor debug: expansion error debug: nothing provides libxml2-x86-arm needed by cmake-x86-arm debug: nothing provides libcurl-x86-arm needed by cmake-x86-arm debug: nothing provides expat-x86-arm needed by cmake-x86-arm debug: nothing provides c-ares-x86-arm needed by cmake-x86-arm debug: Checking dependencies for sensor debug: expansion error debug: nothing provides libxml2-x86-arm needed by cmake-x86-arm debug: nothing provides libcurl-x86-arm needed by cmake-x86-arm debug: nothing provides expat-x86-arm needed by cmake-x86-arm debug: nothing provides c-ares-x86-arm needed by cmake-x86-arm debug: my_system: sudo /bin/echo -n info: package dependency: sensor: error: *** Error Summary *** === the following packages failed to build due to missing build dependencies (1) === sensor: nothing provides libxml2-x86-arm needed by cmake-x86-arm nothing provides libcurl-x86-arm needed by cmake-x86-arm nothing provides expat-x86-arm needed by cmake-x86-arm nothing provides c-ares-x86-arm needed by cmake-x86-arm 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 .gbs.conf file is this like: [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
