Hello Ravi, Qiang, I will look into the spec file and try to fix it, otherwise will attach here. I downloaded util-linux source using 'git clone' from gerrit.
Will try to fix it. Thanks -Suresh On 3/6/14, Zhang, Qiang Z <[email protected]> wrote: > Yes. > From the build error log, it seems that %files section in spec file have sth > wrong, please attach it if you can't fix it by your self. > Thanks > Qiang > > From: [email protected] [mailto:[email protected]] On > Behalf Of RAVI NANJUNDAPPA > Sent: Thursday, March 6, 2014 11:18 AM > To: Suresh Kanzariya > Cc: dev > Subject: Re: [Dev] util-linux build error > > > Hello Suresh, > > > > When GBS build is run it will create a chroot[1] which is a build > environment and in GBS ~/GBS-ROOT/local/BUILD-ROOTS/scratch.{armv7l,i586}.0/ > as a chroot. > > If you change to that directory you can see > ~/GBS-ROOT/local/BUILD-ROOTS/scratch.{armv7l,i586}.0/home/abuild/ over > there. > > The log below says there is something messy with %files listed in your spec > file. > > Please check if all the files listed in %files section are existing. > > > > Thanks and Best Regards, > > N Ravi > > [1] http://man7.org/linux/man-pages/man2/chroot.2.html > > > > > > ------- Original Message ------- > > Sender : Suresh > Kanzariya<[email protected]<mailto:[email protected]>> > > Date : Mar 05, 2014 23:43 (GMT+05:30) > > Title : [Dev] util-linux build error > > > Hi, > > I just clone the git from gerrit and try to build it using 'gbs build > -A i586', it compile well but at last it failed. > > From the log I don't understand one thing, what is /home/abuild.. > path, I don't have such path in my system? > > Here is the log. > > [ 461s] 6019 blocks > [ 461s] + /usr/lib/rpm/check-buildroot > [ 461s] + /usr/lib/rpm//brp-compress > [ 462s] + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip > [ 463s] + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip > /usr/bin/objdump > [ 464s] + /usr/lib/rpm/brp-python-bytecompile > [ 464s] + /usr/lib/rpm/brp-python-hardlink > [ 464s] + /usr/lib/rpm/tizen/find-docs.sh > /home/abuild/rpmbuild/BUILDROOT/util-linux-2.24-0.i386 > [ 464s] Processing files: util-linux-2.24-0.i586 > [ 464s] Aptk: > PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv > [ 464s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K > [ 464s] > [ 464s] error: File must begin with "/": GPL-2.0+ > [ 464s] error: File must begin with "/": COPYING > [ 464s] error: File not found: > /home/abuild/rpmbuild/BUILDROOT/util-linux-2.24-0.i386/usr/bin/nsenter > [ 464s] > [ 464s] > [ 464s] RPM build errors: > [ 464s] File must begin with "/": GPL-2.0+ > [ 464s] File must begin with "/": COPYING > [ 464s] File not found: > /home/abuild/rpmbuild/BUILDROOT/util-linux-2.24-0.i386/usr/bin/nsenter > warning: build failed, Leaving the logs in > /data/GBS-ROOT/local/repos/tizen/i586/logs/fail/util-linux-2.24-0/log.txt > info: *** Build Status Summary *** > === the following packages failed to build due to rpmbuild issue (1) === > util-linux: > /data/GBS-ROOT/local/repos/tizen/i586/logs/fail/util-linux-2.24-0/log.txt > === Total succeeded built packages: (0) === > info: generated html format report: > /data/GBS-ROOT/local/repos/tizen/i586/index.html > info: generated RPM packages can be found from local repo: > /data/GBS-ROOT/local/repos/tizen/i586/RPMS > info: generated source RPM packages can be found from local repo: > /data/GBS-ROOT/local/repos/tizen/i586/SRPMS > info: build logs can be found in: > /data/GBS-ROOT/local/repos/tizen/i586/logs > info: build roots located in: > /data/GBS-ROOT/local/BUILD-ROOTS/scratch.i586.* > error: some packages failed to be built > > I am trying to build Tizen image on x86 (Ubuntu 12.04) platform and > wanted to run it using qemu, How can i generate tizen image for qemu? > > > Thanks. > > -Suresh > _______________________________________________ > Dev mailing list > [email protected]<mailto:[email protected]> > https://lists.tizen.org/listinfo/dev > > > > [cid:[email protected]] > > [http://ext.samsung.net/mailcheck/SeenTimeChecker?do=cf2f77844cba6c985a4072cd8762bede4f5feaef3a3d3a348824ebe65788e5b8dd3b7ce37073f2f3b181a2055127e8aa326bbdfb2ea96a2fcf878f9a26ce15a0] > _______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
