From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f48.google.com (mail-yw0-f48.google.com [209.85.213.48]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 863DAE013B2 for ; Thu, 9 Aug 2012 07:48:47 -0700 (PDT) Received: by yhfq46 with SMTP id q46so582979yhf.35 for ; Thu, 09 Aug 2012 07:48:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:subject:date:message-id:to:mime-version:x-mailer; bh=utdfQ517yT3eteVv2w/oLbn0kvhuEdMqx6wJQwGZcJk=; b=Qn6f9KGL2ejHx4L/qPj9Vbn/8c2F3UXNkwVgZvBm1EehoLk9BqOGL5EKOAMnFNRxRc zvDumu0/cLwY56e3kUOLxXs13SL6WQyM0W+u/UNa+9SDZmTZWjFlYSqri/tMldErO8P3 g36yv8e5bKBHqCTZ1ONna0/zM+hjVhRx//5CoKo/SggrF+4FyrY7Kai/blJqbFKLUG+Q ynxq8jwt0Yi9AgMV5YFP1uIc4eSC4oH3poIJJMnd7d3bqZC5X0WrARMzWEiKn++Bdi4B jONaTbqAKsn8UoColTrF1PleFTDzkfjIfAN4u+arboOGXcANdtgOBTP5FYlMNwJM5vpB kqZA== Received: by 10.66.83.161 with SMTP id r1mr42263933pay.69.1344523726648; Thu, 09 Aug 2012 07:48:46 -0700 (PDT) Received: from [192.168.1.101] ([94.205.108.162]) by mx.google.com with ESMTPS id rz10sm1277469pbc.32.2012.08.09.07.48.44 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 09 Aug 2012 07:48:45 -0700 (PDT) From: Elvis Dowson Date: Thu, 9 Aug 2012 18:48:40 +0400 Message-Id: To: Yocto Discussion Mailing List Mime-Version: 1.0 (Apple Message framework v1278) X-Mailer: Apple Mail (2.1278) Subject: Incorrect warning: preferred version linux-libc-headers_3.3 of linux-libc-headers not available (for item linux-libc-headers) X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2012 14:48:47 -0000 Content-Type: multipart/alternative; boundary="Apple-Mail=_0B70F5B9-4507-4543-A102-4C5BD0A716F7" --Apple-Mail=_0B70F5B9-4507-4543-A102-4C5BD0A716F7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, In my local.conf I have set the following variable PREFERRED_VERSION_linux-libc-headers =3D "linux-libc-headers_3.3" 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= --Apple-Mail=_0B70F5B9-4507-4543-A102-4C5BD0A716F7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii PREFERRED_VERSION_linux-libc-headers =3D = "linux-libc-headers_3.3"

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
= --Apple-Mail=_0B70F5B9-4507-4543-A102-4C5BD0A716F7-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id CA43EE013A6 for ; Thu, 9 Aug 2012 07:50:48 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.3) with ESMTP id q79EolDS027233 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 9 Aug 2012 07:50:47 -0700 (PDT) Received: from [128.224.146.67] (128.224.146.67) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.2.309.2; Thu, 9 Aug 2012 07:50:47 -0700 Message-ID: <5023CE44.4060406@windriver.com> Date: Thu, 9 Aug 2012 10:50:44 -0400 From: Bruce Ashfield User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Elvis Dowson References: In-Reply-To: Cc: Yocto Discussion Mailing List Subject: Re: Incorrect warning: preferred version linux-libc-headers_3.3 of linux-libc-headers not available (for item linux-libc-headers) X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2012 14:50:48 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f48.google.com (mail-pb0-f48.google.com [209.85.160.48]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 69821E013B2 for ; Thu, 9 Aug 2012 07:55:54 -0700 (PDT) Received: by pbbrp16 with SMTP id rp16so113073pbb.35 for ; Thu, 09 Aug 2012 07:55:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; bh=h3A9B3DA3zkVyY+pp5j7QT2/6YV9FNUFgRP39Q+THeE=; b=yyXWNdojXsU1O2+KSQv80r/Z8GybpvnfSQanbPCDPSmp0/ucTrOmR0luu7JIzWkdIL vsYyjvwX7nuffOa5+EV9wdbOU/wTaFxfSUqxO3csHXN5yjgSCLU3cnrKhAieandEk8EZ AmSk+VB1A3zhXutPiSncjV8H3ZxkL2kAjXbGK+kxAZ0aA+5vgbsjOzOQEjoaXYozRwO0 QLZNPjhHWKBpj+Xh+KmdC3WQP0JT0gW7rC14zFcfNBX7ybXyBhOKaMx+hZtvnmwgAkUs YpCnF/XgAqwkVaGdJN0MXO1HAOCB7A94JtHHzsDGqcqgOuUFmZucPBPrQdoLB9UkMM07 Hbuw== Received: by 10.68.216.136 with SMTP id oq8mr4853227pbc.68.1344524154222; Thu, 09 Aug 2012 07:55:54 -0700 (PDT) Received: from [192.168.1.101] ([94.205.108.162]) by mx.google.com with ESMTPS id rd7sm1277933pbc.70.2012.08.09.07.55.51 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 09 Aug 2012 07:55:53 -0700 (PDT) From: Elvis Dowson Mime-Version: 1.0 (Apple Message framework v1278) Date: Thu, 9 Aug 2012 18:55:48 +0400 In-Reply-To: <5023CE44.4060406@windriver.com> To: Yocto Discussion Mailing List References: <5023CE44.4060406@windriver.com> Message-Id: X-Mailer: Apple Mail (2.1278) Subject: Re: Incorrect warning: preferred version linux-libc-headers_3.3 of linux-libc-headers not available (for item linux-libc-headers) X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2012 14:55:54 -0000 Content-Type: multipart/alternative; boundary="Apple-Mail=_25B59A02-477A-40BD-BF1C-FB3491014550" --Apple-Mail=_25B59A02-477A-40BD-BF1C-FB3491014550 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Hi Bruce, On Aug 9, 2012, at 6:50 PM, Bruce Ashfield wrote: > On 12-08-09 10:48 AM, Elvis Dowson wrote: >> Hi, >>=20 >> In my local.conf I have set the following variable >>=20 >> PREFERRED_VERSION_linux-libc-headers =3D "linux-libc-headers_3.3" >=20 > Have you tried dropping the "linux-libc-headers" ? >=20 > i.e. PREFERRED_VERSION_linux-libc-headers =3D "3.3" >=20 Ahh, ok, that worked.=20 Along similar lines, if I had to explicitly set the gcc version, is it = correct to specify the following variables? PREFERRED_VERSION_gcc =3D "gcc_4.6" PREFERRED_VERSION_gcc-cross =3D "gcc-cross_4.6" PREFERRED_VERSION_gcc-cross-initial =3D "gcc-cross-initial_4.6" PREFERRED_VERSION_gcc-cross-intermediate =3D = "gcc-cross-intermediate_4.6" PREFERRED_VERSION_gcc-cross-canadian =3D "gcc-cross-canadian_4.6" PREFERRED_VERSION_gcc-crosssdk=3D "gcc-crosssdk_4.6" PREFERRED_VERSION_gcc-crosssdk-initial=3D "gcc-crosssdk-initial_4.6" PREFERRED_VERSION_gcc-crosssdk-intermediate=3D = "gcc-crosssdk-intermediate_4.6" PREFERRED_VERSION_gcc-runtime =3D "gcc-runtime_4.6" PREFERRED_VERSION_libgcc =3D "libgcc_4.6" Best regards, Elvis Dowson --Apple-Mail=_25B59A02-477A-40BD-BF1C-FB3491014550 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 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 =3D = "linux-libc-headers_3.3"

Have you tried dropping the = "linux-libc-headers" ?

i.e. PREFERRED_VERSION_linux-libc-headers = =3D "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 =3D = "gcc_4.6"
PREFERRED_VERSION_gcc-cross =3D = "gcc-cross_4.6"
PREFERRED_VERSION_gcc-cross-initial =3D = "gcc-cross-initial_4.6"
PREFERRED_VERSION_gcc-cross-intermediate =3D = "gcc-cross-intermediate_4.6"
PREFERRED_VERSION_gcc-cross-canadian =3D = "gcc-cross-canadian_4.6"
PREFERRED_VERSION_gcc-crosssdk=3D = "gcc-crosssdk_4.6"
PREFERRED_VERSION_gcc-crosssdk-initial=3D = "gcc-crosssdk-initial_4.6"
PREFERRED_VERSION_gcc-crosssdk-intermediate=3D = "gcc-crosssdk-intermediate_4.6"
PREFERRED_VERSION_gcc-runtime =3D = "gcc-runtime_4.6"
PREFERRED_VERSION_libgcc =3D = "libgcc_4.6"

Best = regards,

Elvis = Dowson

= --Apple-Mail=_25B59A02-477A-40BD-BF1C-FB3491014550-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 396C4E013B2 for ; Thu, 9 Aug 2012 07:58:59 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.3) with ESMTP id q79Eww8p028844 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 9 Aug 2012 07:58:58 -0700 (PDT) Received: from [128.224.146.67] (128.224.146.67) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.2.309.2; Thu, 9 Aug 2012 07:58:58 -0700 Message-ID: <5023D02E.6060908@windriver.com> Date: Thu, 9 Aug 2012 10:58:54 -0400 From: Bruce Ashfield User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Elvis Dowson References: <5023CE44.4060406@windriver.com> In-Reply-To: Cc: Yocto Discussion Mailing List Subject: Re: Incorrect warning: preferred version linux-libc-headers_3.3 of linux-libc-headers not available (for item linux-libc-headers) X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2012 14:58:59 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f48.google.com (mail-pb0-f48.google.com [209.85.160.48]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 8702EE0044A for ; Thu, 9 Aug 2012 11:14:07 -0700 (PDT) Received: by pbbrp16 with SMTP id rp16so412780pbb.35 for ; Thu, 09 Aug 2012 11:14:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; bh=FTTIHUwO0gpF4Z1YnvTKW+Nva2LBhv654Gh3Heqio48=; b=X+V5bKHalkZXtsTK7KJfLT4uPV6FX8UgYszr+1uRM9EdcA9wzl7uKVc/s0IokEfWp4 tukwxR0x9v5jfHCm5Is8na8kuwJ1PbcdogiSPFUqxqReh32MngSShEwV3alKsOl7Vj5K pOyDejjiULtUFuWCWZw+ShKIufN1MjczLLjxgQ7G670h/VFP3DiKhBNVbFt89bpwpvoL a7Di40K2x0UZP5HWdsZ6Y8FMnV0CgK3QPvkowsNwLcOhM29LIknFCRPLOG1Fu0IJJXzy 9cFdR9ymxKYi4zEMR9o9Nn9bsYrVhRp3Me/mx5/9NqQpLNn9Mbcnrrsv/7z+cRfZhDkP DDYw== Received: by 10.68.134.105 with SMTP id pj9mr5848785pbb.136.1344536047315; Thu, 09 Aug 2012 11:14:07 -0700 (PDT) Received: from [192.168.1.101] ([94.205.108.162]) by mx.google.com with ESMTPS id wi6sm1579175pbc.35.2012.08.09.11.14.04 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 09 Aug 2012 11:14:06 -0700 (PDT) From: Elvis Dowson Mime-Version: 1.0 (Apple Message framework v1278) Date: Thu, 9 Aug 2012 22:14:00 +0400 In-Reply-To: <5023D02E.6060908@windriver.com> To: Yocto Discussion Mailing List References: <5023CE44.4060406@windriver.com> <5023D02E.6060908@windriver.com> Message-Id: X-Mailer: Apple Mail (2.1278) Subject: Re: Incorrect warning: preferred version linux-libc-headers_3.3 of linux-libc-headers not available (for item linux-libc-headers) X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2012 18:14:07 -0000 Content-Type: multipart/alternative; boundary="Apple-Mail=_892BF625-5BEC-4106-9460-582141B12BCE" --Apple-Mail=_892BF625-5BEC-4106-9460-582141B12BCE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 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. >=20 > Bruce >=20 >>=20 >> PREFERRED_VERSION_gcc =3D "gcc_4.6" >> PREFERRED_VERSION_gcc-cross =3D "gcc-cross_4.6" >> PREFERRED_VERSION_gcc-cross-initial =3D "gcc-cross-initial_4.6" >> PREFERRED_VERSION_gcc-cross-intermediate =3D = "gcc-cross-intermediate_4.6" >> PREFERRED_VERSION_gcc-cross-canadian =3D "gcc-cross-canadian_4.6" >> PREFERRED_VERSION_gcc-crosssdk=3D "gcc-crosssdk_4.6" >> PREFERRED_VERSION_gcc-crosssdk-initial=3D "gcc-crosssdk-initial_4.6" >> PREFERRED_VERSION_gcc-crosssdk-intermediate=3D = "gcc-crosssdk-intermediate_4.6" >> PREFERRED_VERSION_gcc-runtime =3D "gcc-runtime_4.6" >> PREFERRED_VERSION_libgcc =3D "libgcc_4.6" If I set the values as follows: PREFERRED_VERSION_gcc =3D "4.5" PREFERRED_VERSION_gcc-cross =3D "4.5" PREFERRED_VERSION_gcc-cross-initial =3D "4.5" PREFERRED_VERSION_gcc-cross-intermediate =3D "4.5" PREFERRED_VERSION_gcc-cross-canadian =3D "4.5" PREFERRED_VERSION_gcc-crosssdk=3D "4.5" PREFERRED_VERSION_gcc-crosssdk-initial=3D "4.5" PREFERRED_VERSION_gcc-crosssdk-intermediate=3D "4.5" PREFERRED_VERSION_gcc-runtime =3D "4.5" PREFERRED_VERSION_libgcc =3D "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-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$=20 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= --Apple-Mail=_892BF625-5BEC-4106-9460-582141B12BCE Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
 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 =3D = "gcc_4.6"
PREFERRED_VERSION_gcc-cross =3D = "gcc-cross_4.6"
PREFERRED_VERSION_gcc-cross-initial =3D = "gcc-cross-initial_4.6"
PREFERRED_VERSION_gcc-cross-intermediate =3D = "gcc-cross-intermediate_4.6"
PREFERRED_VERSION_gcc-cross-canadian =3D = "gcc-cross-canadian_4.6"
PREFERRED_VERSION_gcc-crosssdk=3D = "gcc-crosssdk_4.6"
PREFERRED_VERSION_gcc-crosssdk-initial=3D = "gcc-crosssdk-initial_4.6"
PREFERRED_VERSION_gcc-crosssdk-intermediate=3D = "gcc-crosssdk-intermediate_4.6"
PREFERRED_VERSION_gcc-runtime =3D = "gcc-runtime_4.6"
PREFERRED_VERSION_libgcc =3D = "libgcc_4.6"

If I set = the values as follows:

PREFERRED_VERSION_gcc =3D "4.5"
PREFERRED_VERSION_gcc-cross =3D "4.5"
PREFERRED_VERSION_gcc-cross-initial =3D = "4.5"
PREFERRED_VERSION_gcc-cross-intermediate =3D = "4.5"
PREFERRED_VERSION_gcc-cross-canadian =3D = "4.5"
PREFERRED_VERSION_gcc-crosssdk=3D = "4.5"
PREFERRED_VERSION_gcc-crosssdk-initial=3D = "4.5"
PREFERRED_VERSION_gcc-crosssdk-intermediate=3D = "4.5"
PREFERRED_VERSION_gcc-runtime =3D = "4.5"
PREFERRED_VERSION_libgcc =3D = "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-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
= --Apple-Mail=_892BF625-5BEC-4106-9460-582141B12BCE-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 3CC8DE0044A for ; Thu, 9 Aug 2012 11:15:45 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.3) with ESMTP id q79IFiD0008159 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 9 Aug 2012 11:15:44 -0700 (PDT) Received: from [128.224.146.67] (128.224.146.67) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.2.309.2; Thu, 9 Aug 2012 11:15:44 -0700 Message-ID: <5023FE4C.3060109@windriver.com> Date: Thu, 9 Aug 2012 14:15:40 -0400 From: Bruce Ashfield User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Elvis Dowson References: <5023CE44.4060406@windriver.com> <5023D02E.6060908@windriver.com> In-Reply-To: Cc: Yocto Discussion Mailing List Subject: Re: Incorrect warning: preferred version linux-libc-headers_3.3 of linux-libc-headers not available (for item linux-libc-headers) X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2012 18:15:45 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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