OK~. It seems that you were install gbs not using official way. At least the build package is not from our official repo: http://download.tizen.org/tools/latest-release/.
Please clean up all of gbs dependencies and re-install gbs again, dependencies including, gbs deppanneur build osc git-buildpackage-rpm git-buildpackage-common Thanks Qiang From: Elmurod Talipov [mailto:[email protected]] Sent: Tuesday, April 02, 2013 7:03 AM To: Zhang, Qiang Z; [email protected] Subject: Re: RE: RE: RE: [Tizen General] GBS Build Error: chroo failed to run /usr/bin/rpmdb : No such file or directory Here is build version info Package: build Status: install ok installed Priority: optional Section: devel Installed-Size: 746 Maintainer: Adrian Schroeter <[email protected]<mailto:[email protected]>> Architecture: all Version: 20130227 Depends: perl, rpm Recommends: rpm2cpio Description: A script to build SUSE Linux RPMs This package provides a script for building RPMs for SUSE Linux in a chroot environment. Homepage: https://build.opensuse.org/package/show?package=build&project=openSUSE%3ATools Thanks, Elmurod ------- Original Message ------- Sender : Zhang, Qiang Z<[email protected]<mailto:[email protected]>> Date : 2013-04-01 16:53 (GMT+09:00) Title : RE: RE: RE: [Tizen General] GBS Build Error: chroo failed to run /usr/bin/rpmdb : No such file or directory OK, so can you show me your build version by: $ dpkg -s build Thanks Qiang From: Elmurod Talipov [mailto:[email protected]] Sent: Monday, April 01, 2013 3:46 PM To: Zhang, Qiang Z; [email protected]<mailto:[email protected]> Subject: Re: RE: RE: [Tizen General] GBS Build Error: chroo failed to run /usr/bin/rpmdb : No such file or directory I am on Ubuntu 12.04. (debian) RPM version 4.9.1.1. DPKG 1.16.1.2 ------- Original Message ------- Sender : Zhang, Qiang Z<[email protected]<mailto:[email protected]>> Date : 2013-04-01 15:05 (GMT+09:00) Title : RE: RE: [Tizen General] GBS Build Error: chroo failed to run /usr/bin/rpmdb : No such file or directory Which distro are you using? You can use rpm on RPM based system, or dpkg on DEB based system to find the version. Thanks Qiang From: Elmurod Talipov [mailto:[email protected]] Sent: Monday, April 01, 2013 11:43 AM To: Zhang, Qiang Z; [email protected]<mailto:[email protected]> Subject: Re: RE: [Tizen General] GBS Build Error: chroo failed to run /usr/bin/rpmdb : No such file or directory Here there are : - gbs 0.14 - qemu-arm version 0.14.1 - since build and depanneur are (shell/perl) scripts, and could not find version no. ------- Original Message ------- Sender : Zhang, Qiang Z<[email protected]<mailto:[email protected]>> Date : 2013-04-01 11:19 (GMT+09:00) Title : RE: [Tizen General] GBS Build Error: chroo failed to run /usr/bin/rpmdb : No such file or directory Hi, Please make sure you have installed correct version of gbs and its dependencies, show me the version of the following packages: gbs, build, qemu-arm-static, depanneur Thanks Qiang From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of ??? Sent: Monday, April 01, 2013 10:14 AM To: [email protected]<mailto:[email protected]> Subject: [Tizen General] GBS Build Error: chroo failed to run /usr/bin/rpmdb : No such file or directory Hello, I am facing following build error. /usr/bin/rpmdb exists, and runs normally from shell. Please give some direction to fix it. I have googled about it could not come up with solution. [ 11s] initializing rpm db... [ 11s] chroot: failed to run command `/usr/bin/rpmdb': No such file or directory debug: my_system: sudo /bin/cp /var/tmp/root-gbs/tizen2.0.conf /home/aaa/GBS-ROOT/local/scratch.armv7l.0/tizen2.0.conf debug: my_system: cp /home/aaa/GBS-ROOT/local/scratch.armv7l.0/.build.log /home/aaa/GBS-ROOT/local/repos/tizen2.0/armv7l/logs/fail/smack-1.0slp2+s4-1/log debug: my_system: sudo /bin/rm -f /home/aaa/GBS-ROOT/local/scratch.armv7l.0/.build.log warning: build failed, Leaving the logs in /home/aaa/GBS-ROOT/local/repos/tizen2.0/armv7l/logs/fail/smack-1.0slp2+s4-1/log debug: *** build smack exit with status(1), is dirty:0, (worker: 0) *** error: *** Error Summary *** === the following packages failed to build due to rpmbuild issue === smack-tizen2.0-armv7l: /home/aaa/GBS-ROOT/local/repos/tizen2.0/armv7l/logs/fail/smack-1.0slp2+s4-1/log gbs:error: Traceback (most recent call last): File "/usr/bin/gbs", line 517, in <module> sys.exit(main(sys.argv)) File "/usr/bin/gbs", line 511, in main return module.main(args) File "/usr/lib/python2.7/dist-packages/gitbuildsys/cmd_build.py", line 306, in main raise GbsError('rpmbuild fails') GbsError: <gbs>rpmbuild fails [http://ext.samsung.net/mailcheck/SeenTimeChecker?do=5f64b9fd8cb08cc20567d93ca85e92b1762f552af23a86bbddda24f44c944191102b7daed1429ae8368492d9f4f2fe264bea3c1765014a1208cece8541bc14eacf878f9a26ce15a0]
_______________________________________________ General mailing list [email protected] https://lists.tizen.org/listinfo/general
