Re: [IVI] [Dev] Tizen-Distro the Tizen build with Yocto Project is available

2015-01-12 Thread VanCutsem, Geoffroy

---
Intel Corporation NV/SA
Kings Square, Veldkant 31
2550 Kontich
RPM (Bruxelles) 0415.497.718. 
Citibank, Brussels, account 570/1031255/09


> -Original Message-
> From: Patrick Ohly [mailto:patrick.o...@intel.com]
> Sent: Monday, January 12, 2015 10:14 PM
> To: VanCutsem, Geoffroy
> Cc: Kévin THIERRY; d...@lists.tizen.org; ivi@lists.tizen.org
> Subject: Re: [IVI] [Dev] Tizen-Distro the Tizen build with Yocto Project is
> available
> 
> On Mon, 2015-01-12 at 15:34 +, VanCutsem, Geoffroy wrote:
> > Hi Patrick,
> >
> > > -Original Message-
> > > From: Patrick Ohly [mailto:patrick.o...@intel.com]
> > > Sent: Monday, January 12, 2015 8:59 AM
> > > To: VanCutsem, Geoffroy
> > > Cc: Kévin THIERRY; d...@lists.tizen.org; ivi@lists.tizen.org
> > > Subject: Re: [IVI] [Dev] Tizen-Distro the Tizen build with Yocto Project 
> > > is
> > > available
> > >
> > > On Fri, 2015-01-09 at 10:18 +, VanCutsem, Geoffroy wrote:
> > > > Hi Kevin,
> > > >
> > > > I got past this error by installing pcre-devel on my Fedora dev
> > > > machine (sudo yum install pcre-devel). Swig was then successfully
> > > > compiled.
> > >
> > > Was that swig-native or swig for the target architecture?
> > I don't know, how can I find out?
> 
> The name of all native tools end with -native. In this case it was the
> swig for the target that failed.
Easy enough, I'll remember that :-)

> 
> >  One might get
> > > away with linking the native swig against the native pcre-devel, but
> > > doing the same for the target is almost certainly wrong.
> > >
> > > meta-oe/recipes-devtools/swig/swig.inc declares the dependency on
> > > libpcre. A log of the actual build failure would be useful to determine
> > > why it was not found.
> > The log (do_configure) was attached to my previous mail, here it is again.
> 
> My bad. Somehow I managed to overlook both the attachment and your
> comment about it.
No problem at all.

> 
> Unfortunately the log doesn't show much about the state of the sysroot
> at the time of the failure. But I was able to reproduce it:
> libpcre-devel in Yocto installs only the .pc file, whereas swig is
> looking for the older pcre-config. There is a patch replacing that with
> pkg-config, but the swig recipe fails to re-generate configure after
> patching configure.ac.
> 
> Looks like an upsteam meta-oe bug. I'll check in more detail tomorrow.
Thanks!

Geoffroy
___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


Re: [IVI] [Dev] Tizen-Distro the Tizen build with Yocto Project is available

2015-01-12 Thread Patrick Ohly
On Mon, 2015-01-12 at 15:34 +, VanCutsem, Geoffroy wrote:
> Hi Patrick,
> 
> > -Original Message-
> > From: Patrick Ohly [mailto:patrick.o...@intel.com]
> > Sent: Monday, January 12, 2015 8:59 AM
> > To: VanCutsem, Geoffroy
> > Cc: Kévin THIERRY; d...@lists.tizen.org; ivi@lists.tizen.org
> > Subject: Re: [IVI] [Dev] Tizen-Distro the Tizen build with Yocto Project is
> > available
> > 
> > On Fri, 2015-01-09 at 10:18 +, VanCutsem, Geoffroy wrote:
> > > Hi Kevin,
> > >
> > > I got past this error by installing pcre-devel on my Fedora dev
> > > machine (sudo yum install pcre-devel). Swig was then successfully
> > > compiled.
> > 
> > Was that swig-native or swig for the target architecture?
> I don't know, how can I find out?

The name of all native tools end with -native. In this case it was the
swig for the target that failed.

>  One might get
> > away with linking the native swig against the native pcre-devel, but
> > doing the same for the target is almost certainly wrong.
> > 
> > meta-oe/recipes-devtools/swig/swig.inc declares the dependency on
> > libpcre. A log of the actual build failure would be useful to determine
> > why it was not found.
> The log (do_configure) was attached to my previous mail, here it is again.

My bad. Somehow I managed to overlook both the attachment and your
comment about it.

Unfortunately the log doesn't show much about the state of the sysroot
at the time of the failure. But I was able to reproduce it:
libpcre-devel in Yocto installs only the .pc file, whereas swig is
looking for the older pcre-config. There is a patch replacing that with
pkg-config, but the swig recipe fails to re-generate configure after
patching configure.ac.

Looks like an upsteam meta-oe bug. I'll check in more detail tomorrow.


-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.



___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


Re: [IVI] [Dev] Tizen-Distro the Tizen build with Yocto Project is available

2015-01-12 Thread VanCutsem, Geoffroy
Hi Patrick,

> -Original Message-
> From: Patrick Ohly [mailto:patrick.o...@intel.com]
> Sent: Monday, January 12, 2015 8:59 AM
> To: VanCutsem, Geoffroy
> Cc: Kévin THIERRY; d...@lists.tizen.org; ivi@lists.tizen.org
> Subject: Re: [IVI] [Dev] Tizen-Distro the Tizen build with Yocto Project is
> available
> 
> On Fri, 2015-01-09 at 10:18 +, VanCutsem, Geoffroy wrote:
> > Hi Kevin,
> >
> > I got past this error by installing pcre-devel on my Fedora dev
> > machine (sudo yum install pcre-devel). Swig was then successfully
> > compiled.
> 
> Was that swig-native or swig for the target architecture?
I don't know, how can I find out?

 One might get
> away with linking the native swig against the native pcre-devel, but
> doing the same for the target is almost certainly wrong.
> 
> meta-oe/recipes-devtools/swig/swig.inc declares the dependency on
> libpcre. A log of the actual build failure would be useful to determine
> why it was not found.
The log (do_configure) was attached to my previous mail, here it is again.

HTH,
Geoffroy 



log.do_configure.4259
Description: log.do_configure.4259
___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


Re: [IVI] [Dev] Tizen-Distro the Tizen build with Yocto Project is available

2015-01-11 Thread Patrick Ohly
On Fri, 2015-01-09 at 10:18 +, VanCutsem, Geoffroy wrote:
> Hi Kevin,
> 
> I got past this error by installing pcre-devel on my Fedora dev
> machine (sudo yum install pcre-devel). Swig was then successfully
> compiled.

Was that swig-native or swig for the target architecture? One might get
away with linking the native swig against the native pcre-devel, but
doing the same for the target is almost certainly wrong.

meta-oe/recipes-devtools/swig/swig.inc declares the dependency on
libpcre. A log of the actual build failure would be useful to determine
why it was not found.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.



___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


Re: [IVI] [Dev] Tizen-Distro the Tizen build with Yocto Project is available

2015-01-09 Thread VanCutsem, Geoffroy
Hi Kevin,

I got past this error by installing pcre-devel on my Fedora dev machine (sudo 
yum install pcre-devel). Swig was then successfully compiled. The image build 
is still ongoing now and I will let you know if I hit any other issue.

You'll find the log file attached anyway in case you want to take a look at it.

Cheers,
Geoffroy

---
Intel Corporation NV/SA
Kings Square, Veldkant 31
2550 Kontich
RPM (Bruxelles) 0415.497.718. 
Citibank, Brussels, account 570/1031255/09


> -Original Message-
> From: Kévin THIERRY [mailto:kevin.thie...@open.eurogiciel.org]
> Sent: Friday, January 09, 2015 9:08 AM
> To: VanCutsem, Geoffroy
> Cc: Jeremiah Foster; ronan; d...@lists.tizen.org; ivi@lists.tizen.org
> Subject: Re: [Dev] [IVI] Tizen-Distro the Tizen build with Yocto Project is
> available
> 
> Hi Geoffroy,
> 
> Can you send us the logs regarding swig build failure ?
> 
> Thanks,
> Kevin
> 
> On 01/09/2015 12:42 AM, VanCutsem, Geoffroy wrote:
> >
> > Hi Jeremiah,
> >
> > There is a 'tizen-ivi-init-build-env' script available too in
> > tizen-distro [1]. I gave this a shot [2] earlier today but hit an
> > issue building 'swig'.
> >
> > [1]
> > https://review.tizen.org/git/?p=scm/bb/tizen-distro.git;a=blob;f=tizen-ivi-
> init-build-
> env;h=236f2592108d6e8c6a1163e9c4a509757fc68559;hb=refs/heads/tizen
> >
> > [2] On my Fedora 19 dev machine:
> >
> > #git clone tizen:scm/bb/tizen-distro
> > #cd tizen-distro
> > #source ./tizen-ivi-init-build-env
> > #bitbake tizen-ivi-core-image
> >
> > Other targets are available too.
> >
> > Geofroy
> >
> > ---
> >
> > Intel Corporation NV/SA
> >
> > Kings Square, Veldkant 31
> >
> > 2550 Kontich
> >
> > RPM (Bruxelles) 0415.497.718.
> >
> > Citibank, Brussels, account 570/1031255/09
> >
> > *From:*IVI [mailto:ivi-boun...@lists.tizen.org] *On Behalf Of
> > *Jeremiah Foster
> > *Sent:* Thursday, January 08, 2015 7:37 PM
> > *To:* ronan
> > *Cc:* d...@lists.tizen.org; ivi@lists.tizen.org
> > *Subject:* Re: [IVI] Tizen-Distro the Tizen build with Yocto Project
> > is available
> >
> > On Thu, Jan 8, 2015 at 4:57 PM, ronan
> >  > > wrote:
> >
> > Hi all,
> > We are glad to announce the availability of Tizen-Distro.
> >
> >  - https://wiki.tizen.org/wiki/Build_Tizen_with_Yocto_Project
> >
> > Tizen-distro provides all the meta-data needed to build Tizen Common
> > and Tizen IVI (Modello) images with yocto.
> >
> > https://wiki.tizen.org/wiki/Tizen-distro_on_Yocto_Project
> >
> > We strongly recommend to follow the wiki :) , but thanks to Yocto we
> > can build  a full Tizen common image from scratch with only 4 command
> > lines:
> >
> > #git clone git://review.tizen.org/scm/bb/tizen-distro
> > 
> > #cd tizen-distro build-common
> > #source ./tizen-common-init-build-env
> > #bitbake tizen-common-core-image-crosswalk-dev
> >
> > We are looking forward to enjoying your feedback experience on the
> > wiki Tizen
> >
> > I look forward to trying this out, it looks very interesting.
> > Congratulations on all the hard work!
> >
> > I wonder if there are specific builds for things like Tizen IVI?
> >
> > Cheers,
> >
> > Jeremiah
> >
> >
> > https://wiki.tizen.org/wiki/Tizen_on_Yocto_Project
> >
> > Ronan Le Martret
> > ___
> > IVI mailing list
> > IVI@lists.tizen.org 
> > https://lists.tizen.org/listinfo/ivi
> >
> >
> >
> > --
> >
> > Jeremiah C. Foster
> >
> > GENIVI COMMUNITY MANAGER
> >
> > Pelagicore AB
> >
> > Ekelundsgatan 4, 6tr, SE-411 18
> > Gothenburg, Sweden
> >
> > M: +46 (0)73 093 0506
> >
> > jeremiah.fos...@pelagicore.com
> 
> >
> >
> >
> > ___
> > Dev mailing list
> > d...@lists.tizen.org
> > https://lists.tizen.org/listinfo/dev



log.do_configure.4259
Description: log.do_configure.4259
___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


Re: [IVI] [Dev] Tizen-Distro the Tizen build with Yocto Project is available

2015-01-09 Thread Kévin THIERRY

Hi Geoffroy,

Can you send us the logs regarding swig build failure ?

Thanks,
Kevin

On 01/09/2015 12:42 AM, VanCutsem, Geoffroy wrote:


Hi Jeremiah,

There is a ‘tizen-ivi-init-build-env’ script available too in 
tizen-distro [1]. I gave this a shot [2] earlier today but hit an 
issue building ‘swig’.


[1] 
https://review.tizen.org/git/?p=scm/bb/tizen-distro.git;a=blob;f=tizen-ivi-init-build-env;h=236f2592108d6e8c6a1163e9c4a509757fc68559;hb=refs/heads/tizen


[2] On my Fedora 19 dev machine:

#git clone tizen:scm/bb/tizen-distro
#cd tizen-distro
#source ./tizen-ivi-init-build-env
#bitbake tizen-ivi-core-image

Other targets are available too.

Geofroy

---

Intel Corporation NV/SA

Kings Square, Veldkant 31

2550 Kontich

RPM (Bruxelles) 0415.497.718.

Citibank, Brussels, account 570/1031255/09

*From:*IVI [mailto:ivi-boun...@lists.tizen.org] *On Behalf Of 
*Jeremiah Foster

*Sent:* Thursday, January 08, 2015 7:37 PM
*To:* ronan
*Cc:* d...@lists.tizen.org; ivi@lists.tizen.org
*Subject:* Re: [IVI] Tizen-Distro the Tizen build with Yocto Project 
is available


On Thu, Jan 8, 2015 at 4:57 PM, ronan 
> wrote:


Hi all,
We are glad to announce the availability of Tizen-Distro.

 - https://wiki.tizen.org/wiki/Build_Tizen_with_Yocto_Project

Tizen-distro provides all the meta-data needed to build Tizen Common 
and Tizen IVI (Modello) images with yocto.


https://wiki.tizen.org/wiki/Tizen-distro_on_Yocto_Project

We strongly recommend to follow the wiki :) , but thanks to Yocto we 
can build  a full Tizen common image from scratch with only 4 command 
lines:


#git clone git://review.tizen.org/scm/bb/tizen-distro 


#cd tizen-distro build-common
#source ./tizen-common-init-build-env
#bitbake tizen-common-core-image-crosswalk-dev

We are looking forward to enjoying your feedback experience on the 
wiki Tizen


I look forward to trying this out, it looks very interesting. 
Congratulations on all the hard work!


I wonder if there are specific builds for things like Tizen IVI?

Cheers,

Jeremiah


https://wiki.tizen.org/wiki/Tizen_on_Yocto_Project

Ronan Le Martret
___
IVI mailing list
IVI@lists.tizen.org 
https://lists.tizen.org/listinfo/ivi



--

Jeremiah C. Foster

GENIVI COMMUNITY MANAGER

Pelagicore AB

Ekelundsgatan 4, 6tr, SE-411 18
Gothenburg, Sweden

M: +46 (0)73 093 0506

jeremiah.fos...@pelagicore.com 



___
Dev mailing list
d...@lists.tizen.org
https://lists.tizen.org/listinfo/dev


___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi