Re: [yocto] Incorrect warning: preferred version linux-libc-headers_3.3 of linux-libc-headers not available (for item linux-libc-headers)
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+
Re: [yocto] Incorrect warning: preferred version linux-libc-headers_3.3 of linux-libc-headers not available (for item linux-libc-headers)
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 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-
Re: [yocto] Incorrect warning: preferred version linux-libc-headers_3.3 of linux-libc-headers not available (for item linux-libc-headers)
On 12-08-09 10:55 AM, Elvis Dowson wrote: Hi Bruce, On Aug 9, 2012, at 6:50 PM, Bruce Ashfield wrote: On 12-08-09 10:48 AM, Elvis Dowson wrote: Hi, In my local.conf I have set the following variable PREFERRED_VERSION_linux-libc-headers = "linux-libc-headers_3.3" Have you tried dropping the "linux-libc-headers" ? i.e. PREFERRED_VERSION_linux-libc-headers = "3.3" Ahh, ok, that worked. Along similar lines, if I had to explicitly set the gcc version, is it correct to specify the following variables? 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" Best regards, Elvis Dowson ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Incorrect warning: preferred version linux-libc-headers_3.3 of linux-libc-headers not available (for item linux-libc-headers)
Hi Bruce, On Aug 9, 2012, at 6:50 PM, Bruce Ashfield wrote: > On 12-08-09 10:48 AM, Elvis Dowson wrote: >> Hi, >> >> In my local.conf I have set the following variable >> >> PREFERRED_VERSION_linux-libc-headers = "linux-libc-headers_3.3" > > Have you tried dropping the "linux-libc-headers" ? > > i.e. PREFERRED_VERSION_linux-libc-headers = "3.3" > Ahh, ok, that worked. Along similar lines, if I had to explicitly set the gcc version, is it correct to specify the following variables? 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" Best regards, Elvis Dowson ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Incorrect warning: preferred version linux-libc-headers_3.3 of linux-libc-headers not available (for item linux-libc-headers)
On 12-08-09 10:48 AM, Elvis Dowson wrote: Hi, In my local.conf I have set the following variable PREFERRED_VERSION_linux-libc-headers = "linux-libc-headers_3.3" Have you tried dropping the "linux-libc-headers" ? i.e. PREFERRED_VERSION_linux-libc-headers = "3.3" Bruce However, when I run bitbake linux-libc-headers -c fetchall, it complains that the preferred version is not available, even though I've created a linux-libc-headers_3.3.bb recipe and set the preferred version in my local.conf NOTE: preferred version linux-libc-headers_3.3 of linux-libc-headers not available (for item linux-libc-headers) NOTE: versions of linux-libc-headers available: 3.0.8 3.2 3.3 3.4.3 NOTE: Resolving any missing task queue dependencies NOTE: preferred version linux-libc-headers_3.3 of linux-libc-headers not available (for item linux-libc-headers-dev) NOTE: versions of linux-libc-headers available: 3.0.8 3.2 3.3 3.4.3 NOTE: Preparing runqueue NOTE: Executing RunQueue Tasks NOTE: Running task 2 of 3 (ID: 0, /tool/yocto/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_3.3.bb, do_fetch) NOTE: package linux-libc-headers-3.3-r0: task do_fetch: Started Why is this so? Best regards, Elvis Dowson ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto