All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Elvis Dowson <elvis.dowson@gmail.com>
Cc: Yocto Discussion Mailing List <yocto@yoctoproject.org>
Subject: Re: Incorrect warning: preferred version linux-libc-headers_3.3 of linux-libc-headers not available (for item linux-libc-headers)
Date: Thu, 9 Aug 2012 14:15:40 -0400	[thread overview]
Message-ID: <5023FE4C.3060109@windriver.com> (raw)
In-Reply-To: <D8B825F7-AFEB-4F98-B3D4-AAE9CC62A85D@gmail.com>

On 12-08-09 02:14 PM, Elvis Dowson wrote:
> HI,
>
> On Aug 9, 2012, at 6:58 PM, Bruce Ashfield wrote:
>
>> In my experience .. it is always just the version, not the package that
>> you want to specify, so from all of those, you'd drop the gcc_ .. etc,
>> from the string.
>>
>> Bruce
>>
>>>
>>> PREFERRED_VERSION_gcc = "gcc_4.6"
>>> PREFERRED_VERSION_gcc-cross = "gcc-cross_4.6"
>>> PREFERRED_VERSION_gcc-cross-initial = "gcc-cross-initial_4.6"
>>> PREFERRED_VERSION_gcc-cross-intermediate = "gcc-cross-intermediate_4.6"
>>> PREFERRED_VERSION_gcc-cross-canadian = "gcc-cross-canadian_4.6"
>>> PREFERRED_VERSION_gcc-crosssdk= "gcc-crosssdk_4.6"
>>> PREFERRED_VERSION_gcc-crosssdk-initial= "gcc-crosssdk-initial_4.6"
>>> PREFERRED_VERSION_gcc-crosssdk-intermediate=
>>> "gcc-crosssdk-intermediate_4.6"
>>> PREFERRED_VERSION_gcc-runtime = "gcc-runtime_4.6"
>>> PREFERRED_VERSION_libgcc = "libgcc_4.6"
>
> If I set the values as follows:
>
> PREFERRED_VERSION_gcc = "4.5"
> PREFERRED_VERSION_gcc-cross = "4.5"
> PREFERRED_VERSION_gcc-cross-initial = "4.5"
> PREFERRED_VERSION_gcc-cross-intermediate = "4.5"
> PREFERRED_VERSION_gcc-cross-canadian = "4.5"
> PREFERRED_VERSION_gcc-crosssdk= "4.5"
> PREFERRED_VERSION_gcc-crosssdk-initial= "4.5"
> PREFERRED_VERSION_gcc-crosssdk-intermediate= "4.5"
> PREFERRED_VERSION_gcc-runtime = "4.5"
> PREFERRED_VERSION_libgcc = "4.5"
>
> I get the following warnings:
>
> NOTE: preferred version 4.5 of gcc not available (for item gcc)
> NOTE: versions of gcc available: 4.5.4+svnr189152 4.6.3+svnr184847

You need wildcards:

PREFERRED_VERSION_gcc = "4.5%"

So it will match on 4.5.4+svnr189152, which is the actual version of
the 4.5 toolchain you have available.

Bruce

> 4.7.1.0+git1+1653160670db186c6243997447ecbe6ce5056648
> NOTE: Resolving any missing task queue dependencies
> NOTE: preferred version 4.5 of gcc-cross not available (for item
> virtual/powerpc-poky-linux-gcc)
> NOTE: versions of gcc-cross available: 4.5.4+svnr189152 4.6.3+svnr184847
> 4.7.1.0+git1+1653160670db186c6243997447ecbe6ce5056648
> NOTE: preferred version 4.5 of gcc-runtime not available (for item
> virtual/powerpc-poky-linux-compilerlibs)
> NOTE: versions of gcc-runtime available: 4.5.4+svnr189152
> 4.6.3+svnr184847 4.7.1.0+git1+1653160670db186c6243997447ecbe6ce5056648
> NOTE: preferred version 4.5 of gcc not available (for item gcc)
> NOTE: versions of gcc available: 4.5.4+svnr189152 4.6.3+svnr184847
> 4.7.1.0+git1+1653160670db186c6243997447ecbe6ce5056648
> NOTE: preferred version 4.5 of gcc-cross not available (for item
> virtual/powerpc-poky-linux-g++)
> NOTE: versions of gcc-cross available: 4.5.4+svnr189152 4.6.3+svnr184847
> 4.7.1.0+git1+1653160670db186c6243997447ecbe6ce5056648
> NOTE: preferred version 4.5 of libgcc not available (for item libgcc)
> NOTE: versions of libgcc available: 4.5.4+svnr189152 4.6.3+svnr184847
> 4.7.1.0+git1+1653160670db186c6243997447ecbe6ce5056648
> NOTE: preferred version 4.5 of gcc-cross-intermediate not available (for
> item virtual/powerpc-poky-linux-gcc-intermediate)
> NOTE: versions of gcc-cross-intermediate available: 4.5.4+svnr189152
> 4.6.3+svnr184847 4.7.1.0+git1+1653160670db186c6243997447ecbe6ce5056648
> NOTE: preferred version 4.5 of libgcc not available (for item libgcc)
> NOTE: versions of libgcc available: 4.5.4+svnr189152 4.6.3+svnr184847
> 4.7.1.0+git1+1653160670db186c6243997447ecbe6ce5056648
> NOTE: preferred version 4.5 of gcc-cross-initial not available (for item
> virtual/powerpc-poky-linux-gcc-initial)
> NOTE: versions of gcc-cross-initial available: 4.5.4+svnr189152
> 4.6.3+svnr184847 4.7.1.0+git1+1653160670db186c6243997447ecbe6ce5056648
>
> I've now got 3 gcc variants, 4.7 (in poky), 4.6 and 4.5 (in
> meta-openembedded), and it's automatically picking up 4.6, from the
> meta-openembedded/toolchain-layer.
>
> After gcc_4.6 recipe builds, and I attempt to re-run gcc_4.5, I get the
> following output:
>
> NOTE: preferred version 4.5 of gcc not available (for item gcc)
> NOTE: versions of gcc available: 4.5.4+svnr189152 4.6.3+svnr184847
> 4.7.1.0+git1+1653160670db186c6243997447ecbe6ce5056648
> NOTE: Resolving any missing task queue dependencies
> NOTE: preferred version 4.5 of gcc-cross not available (for item
> virtual/powerpc-poky-linux-gcc)
> NOTE: versions of gcc-cross available: 4.5.4+svnr189152 4.6.3+svnr184847
> 4.7.1.0+git1+1653160670db186c6243997447ecbe6ce5056648
> NOTE: preferred version 4.5 of gcc-runtime not available (for item
> virtual/powerpc-poky-linux-compilerlibs)
> NOTE: versions of gcc-runtime available: 4.5.4+svnr189152
> 4.6.3+svnr184847 4.7.1.0+git1+1653160670db186c6243997447ecbe6ce5056648
> NOTE: preferred version 4.5 of gcc not available (for item gcc)
> NOTE: versions of gcc available: 4.5.4+svnr189152 4.6.3+svnr184847
> 4.7.1.0+git1+1653160670db186c6243997447ecbe6ce5056648
> NOTE: preferred version 4.5 of gcc-cross not available (for item
> virtual/powerpc-poky-linux-g++)
> NOTE: versions of gcc-cross available: 4.5.4+svnr189152 4.6.3+svnr184847
> 4.7.1.0+git1+1653160670db186c6243997447ecbe6ce5056648
> NOTE: preferred version 4.5 of libgcc not available (for item libgcc)
> NOTE: versions of libgcc available: 4.5.4+svnr189152 4.6.3+svnr184847
> 4.7.1.0+git1+1653160670db186c6243997447ecbe6ce5056648
> NOTE: preferred version 4.5 of gcc-cross-intermediate not available (for
> item virtual/powerpc-poky-linux-gcc-intermediate)
> NOTE: versions of gcc-cross-intermediate available: 4.5.4+svnr189152
> 4.6.3+svnr184847 4.7.1.0+git1+1653160670db186c6243997447ecbe6ce5056648
> NOTE: preferred version 4.5 of libgcc not available (for item libgcc)
> NOTE: versions of libgcc available: 4.5.4+svnr189152 4.6.3+svnr184847
> 4.7.1.0+git1+1653160670db186c6243997447ecbe6ce5056648
> NOTE: preferred version 4.5 of gcc-cross-initial not available (for item
> virtual/powerpc-poky-linux-gcc-initial)
> NOTE: versions of gcc-cross-initial available: 4.5.4+svnr189152
> 4.6.3+svnr184847 4.7.1.0+git1+1653160670db186c6243997447ecbe6ce5056648
> NOTE: Preparing runqueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> NOTE: Tasks Summary: Attempted 938 tasks of which 938 didn't need to be
> rerun and all succeeded.
> elvis@eos:/tool/yocto/poky/build$
>
>
> At this stage, 4.7.1, 4.6.3 have been built, but it doesn't allow me to
> build gcc_4.5 recipe.
>
>
> Best regards,
>
> Elvis Dowson
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



      reply	other threads:[~2012-08-09 18:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-09 14:48 Incorrect warning: preferred version linux-libc-headers_3.3 of linux-libc-headers not available (for item linux-libc-headers) Elvis Dowson
2012-08-09 14:50 ` Bruce Ashfield
2012-08-09 14:55   ` Elvis Dowson
2012-08-09 14:58     ` Bruce Ashfield
2012-08-09 18:14       ` Elvis Dowson
2012-08-09 18:15         ` Bruce Ashfield [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5023FE4C.3060109@windriver.com \
    --to=bruce.ashfield@windriver.com \
    --cc=elvis.dowson@gmail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.