[yocto] Trying to add a recipe for ROOT

Giordon Stark kratsg at gmail.com
Wed Jan 6 13:27:32 PST 2016


Ping - any updates on this? I've tried a lot of ways to fix it, but I can't
seem to get it to compile at all...

On Wed, Dec 30, 2015 at 3:28 PM Giordon Stark <kratsg at gmail.com> wrote:

> Here's an update set of logs:
>
> (output) https://gist.github.com/anonymous/56f904b65feeb3346db6
> (CMakeError.log) https://gist.github.com/anonymous/d5d766badcee1df5efc1
>
> for the current recipe here:
> https://github.com/kratsg/meta-l1calo/blob/master/recipes-core/root/root_6.04.12.bb
>
> On Wed, Dec 30, 2015 at 2:10 PM Giordon Stark <kratsg at gmail.com> wrote:
>
>> Actually -- if you look here -- I'm already using pkg-config?
>>
>>
>> https://github.com/kratsg/meta-l1calo/blob/master/recipes-core/root/root_6.04.12.bb#L9
>>
>> Is there something wrong with the configuration then?
>>
>> On Wed, Dec 30, 2015 at 2:07 PM Giordon Stark <kratsg at gmail.com> wrote:
>>
>>> I'm unable to disable the internal build. I'm working on the pkg-config
>>> however.
>>>
>>> On Wed, Dec 30, 2015 at 1:34 PM Khem Raj <raj.khem at gmail.com> wrote:
>>>
>>>> On Wed, Dec 30, 2015 at 10:27 AM, Giordon Stark <kratsg at gmail.com>
>>>> wrote:
>>>> > I'll look at pkg-config examples. How do I fix the llvm issue though?
>>>> I
>>>> > don't know enough about bitbake to fix that.
>>>>
>>>> disable, internal build _somehow_
>>>> then add DEPENDS += "llvm3" to recipe
>>>> >
>>>> > Giordon
>>>> >
>>>> > On Wed, Dec 30, 2015 at 1:26 PM Khem Raj <raj.khem at gmail.com> wrote:
>>>> >>
>>>> >> you mostly have one of these issues
>>>> >>
>>>> >> | ERROR:
>>>> >> /home/osboxes/poky/build/tmp/sysroots/i686-linux/usr/bin/pcre-config
>>>> >> should not be used, use an alternative such as pkg-config
>>>> >> | ERROR:
>>>> >> /home/osboxes/poky/build/tmp/sysroots/i686-linux/usr/bin/pcre-config
>>>> >> should not be used, use an alternative such as pkg-config
>>>> >> | ERROR:
>>>> >> /home/osboxes/poky/build/tmp/sysroots/i686-linux/usr/bin/pcre-config
>>>> >> should not be used, use an alternative such as pkg-config
>>>> >> | ERROR:
>>>> >> /home/osboxes/poky/build/tmp/sysroots/i686-linux/usr/bin/pcre-config
>>>> >> should not be used, use an alternative such as pkg-config
>>>> >>
>>>> >> so you need to replace the use of pcre-config with pkg-config, there
>>>> >> are example how it has been done for some other recipes in OE
>>>> >>
>>>> >> second problem seems to be that its trying to compile its own version
>>>> >> of llvm and thats failing because the native compiler its finding
>>>> does
>>>> >> not support c++11 or atleast the config tests think that way. Again
>>>> >> this components build system needs to fix that. You might be better
>>>> >> off using llvm provided bt meta-oe instead of internal version.
>>>> >>
>>>> >> On Wed, Dec 30, 2015 at 9:35 AM, Giordon Stark <kratsg at gmail.com>
>>>> wrote:
>>>> >> > https://gist.github.com/anonymous/adec2839deecce33702a
>>>> >> >
>>>> >> > Giordon
>>>> >> >
>>>> >> > On Wed, Dec 23, 2015 at 9:25 PM Khem Raj <raj.khem at gmail.com>
>>>> wrote:
>>>> >> >>
>>>> >> >> can you post output of
>>>> root/6.04.12-r0/build/CMakeFiles/CMakeError.log
>>>> >> >>
>>>> >> >> On Wed, Dec 9, 2015 at 12:00 PM, Giordon Stark <kratsg at gmail.com>
>>>> >> >> wrote:
>>>> >> >> > Hi all,
>>>> >> >> >
>>>> >> >> > I'm trying to add a recipe for ROOT (from CERN) but I'm running
>>>> into
>>>> >> >> > various
>>>> >> >> > issues with just trying to get compilers working.
>>>> >> >> >
>>>> >> >> > Current recipe:
>>>> >> >> >
>>>> >> >> >
>>>> >> >> >
>>>> https://github.com/kratsg/meta-l1calo/blob/master/recipes-core/root/root_6.04.12.bb
>>>> >> >> >
>>>> >> >> > Current log:
>>>> https://gist.github.com/kratsg/cd3184a167676eb69067
>>>> >> >> >
>>>> >> >> > Note that the goal is to have the bare-minimum with PyROOT
>>>> (enable
>>>> >> >> > python
>>>> >> >> > support). So I'm following:
>>>> >> >> > - https://root.cern.ch/building-root
>>>> >> >> > - https://root.cern.ch/build-prerequisites
>>>> >> >> >
>>>> >> >> > Thanks,
>>>> >> >> >
>>>> >> >> > Giordon
>>>> >> >> >
>>>> >> >> > --
>>>> >> >> > _______________________________________________
>>>> >> >> > yocto mailing list
>>>> >> >> > yocto at yoctoproject.org
>>>> >> >> > https://lists.yoctoproject.org/listinfo/yocto
>>>> >> >> >
>>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160106/ff2c37a1/attachment.html>


More information about the yocto mailing list