Thanks Qiang for clarifying this.

What is gbp and how are .gbs.conf and .gbp.conf different?

Thanks,
Geoffroy

From: Zhang, Qiang Z
Sent: Monday, April 14, 2014 4:46 AM
To: VanCutsem, Geoffroy; maximouton .
Cc: ivi@lists.tizen.org
Subject: RE: ozone-wayland installation

Hi Maximilien and Geoffroy,

No need to rename .gbp.conf as .gbs.conf, and .gbp.conf is for gbp used.

I have tried in my local machine, I found it's a little hack in 
packaging/rpm/gbp-flat-tree.sh, which hard code and depend on a src directory 
on top of ozone-wayland.
So, the following command works:
$ git clone https://github.com/01org/ozone-wayland.git src/ozone-wayland
$ cd src/ozone-wayland/
$ gbs build --packaging-dir=packaging/rpm -A i586

Thanks
Qiang


From: IVI [mailto:ivi-boun...@lists.tizen.org] On Behalf Of VanCutsem, Geoffroy
Sent: Monday, April 14, 2014 12:38 AM
To: maximouton .
Cc: ivi@lists.tizen.org<mailto:ivi@lists.tizen.org>
Subject: RE: ozone-wayland installation

Hi Maximilien,

I'm assuming you're trying to build the git repo that's here: 
https://github.com/01org/ozone-wayland

I've never tried myself (yet) but I've quickly looked at the code in there and 
noticed that there is a file called .gbp.conf [1] which seems related to the 
issue you're facing below. If I understand that file correctly, the idea is 
that it should be picked up by GBS automatically... but for that to happen it 
should be called '.gbs.conf' (instead of '.gbp.conf'). Can you rename it and 
try again (you will need to use '--include-all' if you don't commit this name 
change in your local git).

Let us know if that helps!

Cheers,
Geoffroy

[1] https://github.com/01org/ozone-wayland/blob/master/.gbp.conf


From: maximouton . [mailto:maximou...@gmail.com]
Sent: Sunday, April 13, 2014 5:37 PM
To: VanCutsem, Geoffroy
Cc: Tiago Vignatti; ivi@lists.tizen.org<mailto:ivi@lists.tizen.org>
Subject: Re: ozone-wayland installation

Right. gbs was pointing to the wrong URL. I didn't know where to change it.

But still there is a problem may be due to a misconfiguration:

gbs -c ~/.gbs.conf build -A i586 --packaging-dir packaging/rpm/ --include-all
info: generate repositories ...
info: build conf has been downloaded at:
      /var/tmp/netlab-gbs/tizen.conf
info: start building packages from: /home/netlab/Desktop/ozone-wayland (git)
2014-04-13 17:28 +0200
info: prepare sources...
info: start export source from: /home/netlab/Desktop/ozone-wayland ...
info: Creating (native) source archive chromium.tar from 
'0b393ca1c4c4074e20a110413cd4b6e4f15267e7'
removed '/var/tmp/.gbs_export_5KWF0s/chromium.tar'
Creating a new /var/tmp/.gbs_export_5KWF0s/chromium.tar from /home/netlab/src
tar: src: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
error: Couldn't run './gbp-flat-tree.sh': ./gbp-flat-tree.sh returned 2
error: <gbs>Failed to export packaging files from git tree
info: retrieving repo metadata...
info: parsing package data...
info: building repo metadata ...
info: package dependency resolving ...
warning: no available packages to build.
info: *** Build Status Summary ***
=== the following packages failed to build because export source files to build 
environment failed (1) ===
chromium-35.0.1906.0-0

=== Total succeeded built packages: (0) ===
info: generated html format report:
     /home/netlab/GBS-ROOT/local/repos/tizen/i586/index.html
info: generated RPM packages can be found from local repo:
     /home/netlab/GBS-ROOT/local/repos/tizen/i586/RPMS
info: generated source RPM packages can be found from local repo:
     /home/netlab/GBS-ROOT/local/repos/tizen/i586/SRPMS
info: build logs can be found in:
     /home/netlab/GBS-ROOT/local/repos/tizen/i586/logs
info: build roots located in:
     /home/netlab/GBS-ROOT/local/BUILD-ROOTS/scratch.i586.*
error: <gbs>some packages failed to be built

Note that the folder /home/netlab/src nerver existed.

Maximilien
2014-04-11 18:23 GMT+02:00 VanCutsem, Geoffroy 
<geoffroy.vancut...@intel.com<mailto:geoffroy.vancut...@intel.com>>:
The repo your gbs.conf points to does not exist. You should update it to point 
at a valid repo (which matches the Tizen image you want to build this for).

Geoffroy

-----Original Message-----
From: IVI 
[mailto:ivi-boun...@lists.tizen.org<mailto:ivi-boun...@lists.tizen.org>] On 
Behalf Of Tiago Vignatti
Sent: Friday, April 11, 2014 6:16 PM
To: ivi@lists.tizen.org<mailto:ivi@lists.tizen.org>
Subject: Re: ozone-wayland installation

Hi,

I don't know exactly why you're having this problem; looks more like a network 
issue or something.

In any case, Ozone-Wayland can be seen as a part of Chromium project meaning 
that targets like Chromium Browser and Crosswalk are actually the ones supposed 
to be built.. you know, with Ozone-Wayland only you cannot do anything :) But 
as Joel said, come to #ozone-wayland and we try to track down together what's 
going on...

Tiago


On 04/11/2014 10:43 AM, maximouton . wrote:
>
> Recently I discovered this interesting project ozone-wayland.
> I decided to test it on my platform but when trying to build the rpm
> on ubuntu 13.10 I get the folowing:
>
> gbs -v build -A i586 --packaging-dir packaging/rpm/
> info: generate repositories ...
> debug: fetching
> http://download.tizen.org/releases/daily/trunk/ivi/latest/repodata/rep
> omd.xml => /var/tmp/netlab-gbs/gbscachedgb1H6/repomd.xml
> debug: disable HTTP caching
> debug: fetching error:(22, 'The requested URL returned error: 404 Not
> Found')
> ...
>
> Did anybody tried to install ozone-wayland already?

_______________________________________________
IVI mailing list
IVI@lists.tizen.org<mailto:IVI@lists.tizen.org>
https://lists.tizen.org/listinfo/ivi
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
IVI@lists.tizen.org<mailto:IVI@lists.tizen.org>
https://lists.tizen.org/listinfo/ivi


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
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi

Reply via email to