It’s really ‘--clean’ or ‘--overwrite’ you want to try. It’s the buildroot you need to clean not the cached repos.
Let us know how you get on! Cheers, Geoffroy From: yuguihu [mailto:[email protected]] Sent: Saturday, January 12, 2013 9:46 AM To: VanCutsem, Geoffroy Cc: Clark, Joel; ??; [email protected]; Othman, Ossama; fajingtian Subject: Re:RE: [IVI] The problem of gbs build -A <arch> Dear Geoffroy: I have tried to use "gbs build -A i586 --clean-repos", rebuild the repo but still create i686 or i386 rpm package, not i586. Now, I have left my office, I will send gbs log to you on monday. Thanks for your help. -- ------------------------------- Best Regards! 胡玉贵 公司:上海博泰悦臻网络技术服务有限公司 南京市玄武区中山路268号,汇杰广场503-507室。 新总机:025-86935250 手机: 18951847013 > -----原始邮件----- > 发件人: "VanCutsem, Geoffroy" > <[email protected]<mailto:[email protected]>> > 发送时间: 2013-1-12 16:04:22 > 收件人: yuguihu <[email protected]<mailto:[email protected]>>, "Clark, > Joel" <[email protected]<mailto:[email protected]>> > 抄送: ?? <[email protected]<mailto:[email protected]>>, > "[email protected]<mailto:[email protected]>" > <[email protected]<mailto:[email protected]>>, "Othman, Ossama" > <[email protected]<mailto:[email protected]>>, fajingtian > <[email protected]<mailto:[email protected]>> > 主题: RE: [IVI] The problem of gbs build -A <arch> > > Could you send us a log of how it fails? > > In the log below, it seems like it’s not failing but just that gbs does not > attempt to rebuild it because the buildroot is already there. Please try > again with the ‘—clean’ option (or ‘—overwrtie’) and send us the output if > that does not help. > > Geoffroy > > From: [email protected]<mailto:[email protected]> > [mailto:[email protected]] On Behalf Of yuguihu > Sent: Saturday, January 12, 2013 7:46 AM > To: Clark, Joel > Cc: ??; [email protected]<mailto:[email protected]>; Othman, Ossama; > fajingtian > Subject: [IVI] The problem of gbs build -A <arch> > > Dear Joel: > > I think it's not a same problem, I can create package, just with incorrect > architecture. > maybe I don't configure some files correctly? > > When I use "gbs build -A i586" to compile package I just get other > architechture package(i386* or i686* according to PC Environment). > > I change a pc with x86_64: > Linux jenkins 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 > x86_64 x86_64 x86_64 GNU/Linux > > Then I can create package with *.i686.rpm > > With virtul box: > Linux yuguihu-VirtualBox 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27 > 17:25:43 UTC 2012 i686 i686 i386 GNU/Linux > > I just can create *.i386.rpm > -- > ------------------------------- > Best Regards! > 胡玉贵 > 公司:上海博泰悦臻网络技术服务有限公司 > 南京市玄武区中山路268号,汇杰广场503-507室。 > 新总机:025-86935250 > 手机: 18951847013 > > 在2013-1-12 6:27:33,"Clark, Joel" > <[email protected]<mailto:[email protected]>> 写道: > -----原始邮件----- > 发件人: "Clark, Joel" <[email protected]<mailto:[email protected]>> > 发送时间: 2013-1-12 6:27:33 > 收件人: yuguihu <[email protected]<mailto:[email protected]>> > 抄送: "[email protected]<mailto:[email protected]>" > <[email protected]<mailto:[email protected]>>, ?? > <[email protected]<mailto:[email protected]>>, fajingtian > <[email protected]<mailto:[email protected]>>, "Ylinen, Mikko" > <[email protected]<mailto:[email protected]>>, "Othman, Ossama" > <[email protected]<mailto:[email protected]>> > 主题: RE: [IVI] How to use gbs local build > Dear Yuguihu, > > For Step 2 of the workarounds on that bug, use the repos from you last email. > > regards > Joel > > > From: Clark, Joel > Sent: Friday, January 11, 2013 11:23 AM > To: 'yuguihu' > Cc: [email protected]<mailto:[email protected]>; ??; fajingtian; Ylinen, > Mikko; Othman, Ossama > Subject: RE: [IVI] How to use gbs local build > > Dear Yuguihu > > Please take a look at the bug filed: > https://bugs.tizen.org/jira/browse/DEVT-41 > and try the workaround directions near the bottom of the comments section and > see if it helps you. > > regards > Joel > > > From: yuguihu [mailto:[email protected]] > Sent: Thursday, January 10, 2013 9:06 PM > To: Clark, Joel > Cc: [email protected]<mailto:[email protected]>; ??; fajingtian; Ylinen, > Mikko; Othman, Ossama > Subject: Re:RE: [IVI] How to use gbs local build > > Dear Clark: > > Thanks for your comments.I try to use same repo address for base& IVI: > > 11 [repo.tizen_base] > 12 url = > http://download.tizen.org/releases/daily/2.0alpha/ivi/latest/repos/base/ia32/packages/ > 13 > 14 [repo.tizen_ivi] > 15 url = > http://download.tizen.org/releases/daily/2.0alpha/ivi/latest/repos/ivi/ia32/packages/ > > But also can't create i586 RPM packages. Is it relative to my PC environment? > > I use virtual box with ubuntu 12.04. > yuguihu@yuguihu-VirtualBox:~/GBS-ROOT/local/repos/tizen2.0/i586/RPMS$<mailto:yuguihu@yuguihu-VirtualBox:~/GBS-ROOT/local/repos/tizen2.0/i586/RPMS$> > uname -a > Linux yuguihu-VirtualBox 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27 > 17:25:43 UTC 2012 i686 i686 i386 GNU/Linux > > Is the gbs create PRM package according to pc's hardware? > > -- > ------------------------------- > Best Regards! > 胡玉贵 > 公司:上海博泰悦臻网络技术服务有限公司 > 南京市玄武区中山路268号,汇杰广场503-507室。 > 新总机:025-86935250 > 手机: 18951847013 > > 在2013-1-11 9:31:31,"Clark, Joel" > <[email protected]<mailto:[email protected]>> 写道: > -----原始邮件----- > 发件人: "Clark, Joel" <[email protected]<mailto:[email protected]>> > 发送时间: 2013-1-11 9:31:31 > 收件人: yuguihu <[email protected]<mailto:[email protected]>>, > "[email protected]<mailto:[email protected]>" > <[email protected]<mailto:[email protected]>> > 抄送: ?? <[email protected]<mailto:[email protected]>>, fajingtian > <[email protected]<mailto:[email protected]>>, "Ylinen, Mikko" > <[email protected]<mailto:[email protected]>>, "Othman, Ossama" > <[email protected]<mailto:[email protected]>> > 主题: RE: [IVI] How to use gbs local build > One comment (but I don’t think this will solve your problem). Don’t mix > snapshots and previews repos. We suggest using the previews repos only, or > using the releases/daily repos only. We suggest not using the snapshots, as > snapshots may not have built correctly, may not run, and have not been tested. > > Mikko, Ossama, any other ideas to help? > > regards > Joel > > > From: [email protected]<mailto:[email protected]> > [mailto:[email protected]] On Behalf Of yuguihu > Sent: Thursday, January 10, 2013 5:00 PM > To: [email protected]<mailto:[email protected]> > Cc: 吴哲; fajingtian > Subject: [IVI] How to use gbs local build > > Dear all: > When I try to use gbs local build to create i586 rpm packages, But I just > can create i386 rpm package, I don't know what's the problem. > I use following commands: > > yuguihu@yuguihu-VirtualBox:~/tizen/settings$ gbs build -A i586 > info: generate repositories ... > info: build conf has been downloaded at: > /var/tmp/yuguihu-gbs/tizen2.0.conf > info: start building packages from: /home/yuguihu/tizen/settings (git) > info: prepare sources... > info: retrieving repo metadata... > info: parsing package data... > info: skipping settings-0.1.87-99 i586 > info: generated RPM packages can be found from local repo: > /home/yuguihu/GBS-ROOT/local/repos/tizen2.0 > info: build roots located in: > /home/yuguihu/GBS-ROOT/local/scratch.{arch}.* > info: Done > > > My gbs configure file: > 1 [general] > 2 profile = profile.tizen > 3 > 4 [profile.tizen] > 5 obs = obs.tizen > 6 repos = repo.tizen_base, repo.tizen_ivi > 7 > 8 [obs.tizen] > 9 url = https://api.tizen.org > 10 > 11 [repo.tizen_base] > 12 url = > http://download.tizen.org/previews/2.0alpha/ivi/latest/repos/base/ia32/packages/ > 13 > 14 [repo.tizen_ivi] > 15 url = > http://download.tizen.org/snapshots/2.0alpha/ivi/latest/repos/ivi/ia32/packages/ > > The i386 RPM package I have created, but I want i586s: > yuguihu@yuguihu-VirtualBox:~/GBS-ROOT/local/repos/tizen2.0/i586/RPMS$<mailto:yuguihu@yuguihu-VirtualBox:~/GBS-ROOT/local/repos/tizen2.0/i586/RPMS$> > ls > app-core-common-1.2-28.i386.rpm > org.tizen.memo-debuginfo-0.2.1-13.i386.rpm > app-core-common-devel-1.2-28.i386.rpm > org.tizen.memo-debugsource-0.2.1-13.i386.rpm > app-core-debuginfo-1.2-28.i386.rpm > perf-3.7.0-1.i386.rpm > app-core-debugsource-1.2-28.i386.rpm > settings-0.1.87-99.i386.rpm > app-core-efl-1.2-28.i386.rpm > settings-debuginfo-0.1.87-99.i386.rpm > app-core-efl-devel-1.2-28.i386.rpm > settings-debugsource-0.1.87-99.i386.rpm > kernel-adaptation-intel-automotive-3.7.0-1.i386.rpm > ui-gadget-1-0.1.0-11.i386.rpm > kernel-adaptation-intel-automotive-debuginfo-3.7.0-1.i386.rpm > ui-gadget-1-debuginfo-0.1.0-11.i386.rpm > kernel-adaptation-intel-automotive-debugsource-3.7.0-1.i386.rpm > ui-gadget-1-debugsource-0.1.0-11.i386.rpm > kernel-adaptation-intel-automotive-devel-3.7.0-1.i386.rpm > ui-gadget-1-devel-0.1.0-11.i386.rpm > org.tizen.memo-0.2.1-13.i386.rpm > ------------------------------- > Best Regards! > 胡玉贵 > 公司:上海博泰悦臻网络技术服务有限公司 > 南京市玄武区中山路268号,汇杰广场503-507室。 > 新总机:025-86935250 > 手机: 18951847013 > Intel Corporation NV/SA > Kings Square, Veldkant 31 > 2550 Kontich > RPM (Bruxelles) 0415.497.718. > Citibank, Brussels, account 570/1031255/09 > > This e-mail and any attachments may contain confidential material for the > sole use of the intended recipient(s). Any review or distribution by others > is strictly prohibited. If you are not the intended recipient, please contact > the sender and delete all copies. Intel Corporation NV/SA Kings Square, Veldkant 31 2550 Kontich RPM (Bruxelles) 0415.497.718. Citibank, Brussels, account 570/1031255/09 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
_______________________________________________ IVI mailing list [email protected] https://lists.tizen.org/listinfo/ivi
