All of lore.kernel.org
 help / color / mirror / Atom feed
* Confusing error
@ 2015-05-05 14:44 Gary Thomas
  2015-05-05 15:21 ` Paul Eggleton
  0 siblings, 1 reply; 5+ messages in thread
From: Gary Thomas @ 2015-05-05 14:44 UTC (permalink / raw)
  To: Yocto Project

I'm getting a very confusing error from bitbake.  I'm using a snapshot
from Poky/Yocto (equivalent to 1.8 release) with my own $DISTRO

   $ bitbake nand-installer-image
   NOTE: Started PRServer with DBfile: /home/gary/tmp/p0381_2015-05-05/p0381_build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 41585, PID: 460
   Loading cache: 100% |###################################################################################| ETA:  00:00:00
   Loaded 1708 entries from dependency cache.
   NOTE: Resolving any missing task queue dependencies
   ERROR: Nothing RPROVIDES 'virtual/bootloader' (but /home/gary/tmp/p0381_2015-05-05/opt/amltd/poky/meta-amltd/packages/packagegroups /packagegroup-amltd.bb RDEPENDS on or 
otherwise requires it)
   NOTE: Runtime target 'virtual/bootloader' is unbuildable, removing...
   Missing or unbuildable dependency chain was: ['virtual/bootloader']
   NOTE: Runtime target 'packagegroup-amltd-boot' is unbuildable, removing...
   Missing or unbuildable dependency chain was: ['packagegroup-amltd-boot', 'virtual/bootloader']
   ERROR: Required build target 'nand-installer-image' has no buildable providers.
   Missing or unbuildable dependency chain was: ['nand-installer-image', 'packagegroup-amltd-boot', 'virtual/bootloader']

But, there is such a provider and I can build it (from the same build tree):
   $ bitbake virtual/bootloader
   NOTE: Started PRServer with DBfile: /home/gary/tmp/p0381_2015-05-05/p0381_build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 43428, PID: 515
   Loading cache: 100% |###################################################################################| ETA:  00:00:00
   Loaded 1708 entries from dependency cache.
   NOTE: Resolving any missing task queue dependencies

   Build Configuration:
   BB_VERSION        = "1.27.0"
   BUILD_SYS         = "i686-linux"
   NATIVELSBSTRING   = "Fedora-17"
   TARGET_SYS        = "arm-amltd-linux-gnueabi"
   MACHINE           = "teton-p0381"
   DISTRO            = "amltd"
   DISTRO_VERSION    = "1.8+snapshot-2015-05-05"
   TUNE_FEATURES     = "arm armv7a vfp neon callconvention-hard cortexa7"
   TARGET_FPU        = "vfp-neon"
   meta
   meta-oe
   meta-amltd
   meta-teton-ls1-p0381
   meta-fsl-arm
   meta-fsl-arm-extra
   meta-browser      = "<unknown>:<unknown>"

   NOTE: Preparing RunQueue
   NOTE: Executing SetScene Tasks
   NOTE: Executing RunQueue Tasks
         ...

After much research, I found that this is happening because I have
   MACHINE_EXTRA_RRECOMMENDS="virtual/bootloader linux-firmware-iwlwifi-5xxx"

If I remove the 'virtual/bootloader' from MACHINE_EXTRA_RRECOMMENDS,
the confusion (and error) go away.  Any ideas what's happening and why
I might be getting this confusing error?

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Confusing error
  2015-05-05 14:44 Confusing error Gary Thomas
@ 2015-05-05 15:21 ` Paul Eggleton
  2015-05-05 15:58   ` Gary Thomas
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Eggleton @ 2015-05-05 15:21 UTC (permalink / raw)
  To: Gary Thomas; +Cc: yocto

Hi Gary,

On Tuesday 05 May 2015 08:44:47 Gary Thomas wrote:
> I'm getting a very confusing error from bitbake.  I'm using a snapshot
> from Poky/Yocto (equivalent to 1.8 release) with my own $DISTRO
> 
>    $ bitbake nand-installer-image
>    NOTE: Started PRServer with DBfile:
> /home/gary/tmp/p0381_2015-05-05/p0381_build/cache/prserv.sqlite3, IP:
> 127.0.0.1, PORT: 41585, PID: 460 Loading cache: 100%
> |##########################################################################
> #########| ETA:  00:00:00 Loaded 1708 entries from dependency cache.
>    NOTE: Resolving any missing task queue dependencies
>    ERROR: Nothing RPROVIDES 'virtual/bootloader' (but
> /home/gary/tmp/p0381_2015-05-05/opt/amltd/poky/meta-amltd/packages/packageg
> roups /packagegroup-amltd.bb RDEPENDS on or otherwise requires it)
>    NOTE: Runtime target 'virtual/bootloader' is unbuildable, removing...
>    Missing or unbuildable dependency chain was: ['virtual/bootloader']
>    NOTE: Runtime target 'packagegroup-amltd-boot' is unbuildable,
> removing... Missing or unbuildable dependency chain was:
> ['packagegroup-amltd-boot', 'virtual/bootloader'] ERROR: Required build
> target 'nand-installer-image' has no buildable providers. Missing or
> unbuildable dependency chain was: ['nand-installer-image',
> 'packagegroup-amltd-boot', 'virtual/bootloader']
> 
> But, there is such a provider and I can build it (from the same build tree):
> $ bitbake virtual/bootloader
>    NOTE: Started PRServer with DBfile:
> /home/gary/tmp/p0381_2015-05-05/p0381_build/cache/prserv.sqlite3, IP:
> 127.0.0.1, PORT: 43428, PID: 515 Loading cache: 100%
> |##########################################################################
> #########| ETA:  00:00:00 Loaded 1708 entries from dependency cache.
>    NOTE: Resolving any missing task queue dependencies
> 
>    Build Configuration:
>    BB_VERSION        = "1.27.0"
>    BUILD_SYS         = "i686-linux"
>    NATIVELSBSTRING   = "Fedora-17"
>    TARGET_SYS        = "arm-amltd-linux-gnueabi"
>    MACHINE           = "teton-p0381"
>    DISTRO            = "amltd"
>    DISTRO_VERSION    = "1.8+snapshot-2015-05-05"
>    TUNE_FEATURES     = "arm armv7a vfp neon callconvention-hard cortexa7"
>    TARGET_FPU        = "vfp-neon"
>    meta
>    meta-oe
>    meta-amltd
>    meta-teton-ls1-p0381
>    meta-fsl-arm
>    meta-fsl-arm-extra
>    meta-browser      = "<unknown>:<unknown>"
> 
>    NOTE: Preparing RunQueue
>    NOTE: Executing SetScene Tasks
>    NOTE: Executing RunQueue Tasks
>          ...
> 
> After much research, I found that this is happening because I have
>    MACHINE_EXTRA_RRECOMMENDS="virtual/bootloader
> linux-firmware-iwlwifi-5xxx"
> 
> If I remove the 'virtual/bootloader' from MACHINE_EXTRA_RRECOMMENDS,
> the confusion (and error) go away.  Any ideas what's happening and why
> I might be getting this confusing error?

The confusion here is between runtime targets (package names, i.e. what you 
should specify in MACHINE_EXTRA_RRECOMMENDS) and build-time targets e.g. 
virtual/bootloader. virtual/bootloader is not a runtime target (hence "Nothing 
RPROVIDES ..." and thus doesn't belong in MACHINE_EXTRA_RRECOMMENDS. I suspect 
what you want instead is:

EXTRA_IMAGEDEPENDS += "virtual/bootloader"

Cheers,
Paul


-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Confusing error
  2015-05-05 15:21 ` Paul Eggleton
@ 2015-05-05 15:58   ` Gary Thomas
  0 siblings, 0 replies; 5+ messages in thread
From: Gary Thomas @ 2015-05-05 15:58 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: yocto

On 2015-05-05 09:21, Paul Eggleton wrote:
> Hi Gary,
>
> On Tuesday 05 May 2015 08:44:47 Gary Thomas wrote:
>> I'm getting a very confusing error from bitbake.  I'm using a snapshot
>> from Poky/Yocto (equivalent to 1.8 release) with my own $DISTRO
>>
>>     $ bitbake nand-installer-image
>>     NOTE: Started PRServer with DBfile:
>> /home/gary/tmp/p0381_2015-05-05/p0381_build/cache/prserv.sqlite3, IP:
>> 127.0.0.1, PORT: 41585, PID: 460 Loading cache: 100%
>> |##########################################################################
>> #########| ETA:  00:00:00 Loaded 1708 entries from dependency cache.
>>     NOTE: Resolving any missing task queue dependencies
>>     ERROR: Nothing RPROVIDES 'virtual/bootloader' (but
>> /home/gary/tmp/p0381_2015-05-05/opt/amltd/poky/meta-amltd/packages/packageg
>> roups /packagegroup-amltd.bb RDEPENDS on or otherwise requires it)
>>     NOTE: Runtime target 'virtual/bootloader' is unbuildable, removing...
>>     Missing or unbuildable dependency chain was: ['virtual/bootloader']
>>     NOTE: Runtime target 'packagegroup-amltd-boot' is unbuildable,
>> removing... Missing or unbuildable dependency chain was:
>> ['packagegroup-amltd-boot', 'virtual/bootloader'] ERROR: Required build
>> target 'nand-installer-image' has no buildable providers. Missing or
>> unbuildable dependency chain was: ['nand-installer-image',
>> 'packagegroup-amltd-boot', 'virtual/bootloader']
>>
>> But, there is such a provider and I can build it (from the same build tree):
>> $ bitbake virtual/bootloader
>>     NOTE: Started PRServer with DBfile:
>> /home/gary/tmp/p0381_2015-05-05/p0381_build/cache/prserv.sqlite3, IP:
>> 127.0.0.1, PORT: 43428, PID: 515 Loading cache: 100%
>> |##########################################################################
>> #########| ETA:  00:00:00 Loaded 1708 entries from dependency cache.
>>     NOTE: Resolving any missing task queue dependencies
>>
>>     Build Configuration:
>>     BB_VERSION        = "1.27.0"
>>     BUILD_SYS         = "i686-linux"
>>     NATIVELSBSTRING   = "Fedora-17"
>>     TARGET_SYS        = "arm-amltd-linux-gnueabi"
>>     MACHINE           = "teton-p0381"
>>     DISTRO            = "amltd"
>>     DISTRO_VERSION    = "1.8+snapshot-2015-05-05"
>>     TUNE_FEATURES     = "arm armv7a vfp neon callconvention-hard cortexa7"
>>     TARGET_FPU        = "vfp-neon"
>>     meta
>>     meta-oe
>>     meta-amltd
>>     meta-teton-ls1-p0381
>>     meta-fsl-arm
>>     meta-fsl-arm-extra
>>     meta-browser      = "<unknown>:<unknown>"
>>
>>     NOTE: Preparing RunQueue
>>     NOTE: Executing SetScene Tasks
>>     NOTE: Executing RunQueue Tasks
>>           ...
>>
>> After much research, I found that this is happening because I have
>>     MACHINE_EXTRA_RRECOMMENDS="virtual/bootloader
>> linux-firmware-iwlwifi-5xxx"
>>
>> If I remove the 'virtual/bootloader' from MACHINE_EXTRA_RRECOMMENDS,
>> the confusion (and error) go away.  Any ideas what's happening and why
>> I might be getting this confusing error?
>
> The confusion here is between runtime targets (package names, i.e. what you
> should specify in MACHINE_EXTRA_RRECOMMENDS) and build-time targets e.g.
> virtual/bootloader. virtual/bootloader is not a runtime target (hence "Nothing
> RPROVIDES ..." and thus doesn't belong in MACHINE_EXTRA_RRECOMMENDS. I suspect
> what you want instead is:
>
> EXTRA_IMAGEDEPENDS += "virtual/bootloader"

Thanks for the explanation, that fixes my problem.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Confusing error
@ 2017-01-12 10:19 Gary Thomas
  2017-01-12 10:25 ` Gary Thomas
  0 siblings, 1 reply; 5+ messages in thread
From: Gary Thomas @ 2017-01-12 10:19 UTC (permalink / raw)
  To: yocto@yoctoproject.org

Lately I've been seeing errors like these:

ERROR: When reparsing /local/poky-cutting-edge/meta/recipes-core/base-files/base-files_3.0.14.bb.do_install, the 
basehash value changed from 9505eae6877992fa6b9e3148cf3752eb to f19b1f7c30c515ab9ef905f96b6eaa5e. The metadata is not 
deterministic and this needs to be fixed.
ERROR: When reparsing /local/poky-cutting-edge/meta/recipes-core/base-files/base-files_3.0.14.bb.do_install, the 
basehash value changed from 9505eae6877992fa6b9e3148cf3752eb to f19b1f7c30c515ab9ef905f96b6eaa5e. The metadata is not 
deterministic and this needs to be fixed.
ERROR: When reparsing /local/poky-cutting-edge/meta/recipes-core/base-files/base-files_3.0.14.bb.do_install, the 
basehash value changed from 9505eae6877992fa6b9e3148cf3752eb to f19b1f7c30c515ab9ef905f96b6eaa5e. The metadata is not 
deterministic and this needs to be fixed.
WARNING: u-boot-fw-utils-2011.06-r1 do_package_qa: QA Issue: No GNU_HASH in the elf binary: 
'/build/p7619_2016-02-23/tmp/work/teton_p7620-amltd-linux-gnueabi/u-boot-fw-utils/2011.06-r1/packages-split/u-boot-fw-utils/sbin/fw_printenv'
No GNU_HASH in the elf binary: 
'/build/p7619_2016-02-23/tmp/work/teton_p7620-amltd-linux-gnueabi/u-boot-fw-utils/2011.06-r1/packages-split/u-boot-fw-utils/sbin/fw_setenv' 
[ldflags]
ERROR: When reparsing /local/poky-cutting-edge/meta/recipes-core/base-files/base-files_3.0.14.bb.do_install, the 
basehash value changed from 9505eae6877992fa6b9e3148cf3752eb to f19b1f7c30c515ab9ef905f96b6eaa5e. The metadata is not 
deterministic and this needs to be fixed.

I'm not sure what triggers these errors - I do have more than
one bitbake build running (separate directories).  I have a local
copy of the metadata and it was not touched during these builds.

I'm using Poky/Yocto rev 840e221ea7c35177fda37af618c4727fa7754789
but I've seen them for a couple of months now.

Ideas?

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Confusing error
  2017-01-12 10:19 Gary Thomas
@ 2017-01-12 10:25 ` Gary Thomas
  0 siblings, 0 replies; 5+ messages in thread
From: Gary Thomas @ 2017-01-12 10:25 UTC (permalink / raw)
  To: yocto

On 2017-01-12 11:19, Gary Thomas wrote:
> Lately I've been seeing errors like these:
>
> ERROR: When reparsing /local/poky-cutting-edge/meta/recipes-core/base-files/base-files_3.0.14.bb.do_install, the
> basehash value changed from 9505eae6877992fa6b9e3148cf3752eb to f19b1f7c30c515ab9ef905f96b6eaa5e. The metadata is not
> deterministic and this needs to be fixed.
> ERROR: When reparsing /local/poky-cutting-edge/meta/recipes-core/base-files/base-files_3.0.14.bb.do_install, the
> basehash value changed from 9505eae6877992fa6b9e3148cf3752eb to f19b1f7c30c515ab9ef905f96b6eaa5e. The metadata is not
> deterministic and this needs to be fixed.
> ERROR: When reparsing /local/poky-cutting-edge/meta/recipes-core/base-files/base-files_3.0.14.bb.do_install, the
> basehash value changed from 9505eae6877992fa6b9e3148cf3752eb to f19b1f7c30c515ab9ef905f96b6eaa5e. The metadata is not
> deterministic and this needs to be fixed.
> WARNING: u-boot-fw-utils-2011.06-r1 do_package_qa: QA Issue: No GNU_HASH in the elf binary:
> '/build/p7619_2016-02-23/tmp/work/teton_p7620-amltd-linux-gnueabi/u-boot-fw-utils/2011.06-r1/packages-split/u-boot-fw-utils/sbin/fw_printenv'
>
> No GNU_HASH in the elf binary:
> '/build/p7619_2016-02-23/tmp/work/teton_p7620-amltd-linux-gnueabi/u-boot-fw-utils/2011.06-r1/packages-split/u-boot-fw-utils/sbin/fw_setenv'
> [ldflags]

Sorry, ignore this error (overly ambitious cut&paste).  My question for this
thread it just about the metadata errors...

> ERROR: When reparsing /local/poky-cutting-edge/meta/recipes-core/base-files/base-files_3.0.14.bb.do_install, the
> basehash value changed from 9505eae6877992fa6b9e3148cf3752eb to f19b1f7c30c515ab9ef905f96b6eaa5e. The metadata is not
> deterministic and this needs to be fixed.
>
> I'm not sure what triggers these errors - I do have more than
> one bitbake build running (separate directories).  I have a local
> copy of the metadata and it was not touched during these builds.
>
> I'm using Poky/Yocto rev 840e221ea7c35177fda37af618c4727fa7754789
> but I've seen them for a couple of months now.
>
> Ideas?
>
> Thanks
>


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-01-12 10:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-05 14:44 Confusing error Gary Thomas
2015-05-05 15:21 ` Paul Eggleton
2015-05-05 15:58   ` Gary Thomas
  -- strict thread matches above, loose matches on Subject: below --
2017-01-12 10:19 Gary Thomas
2017-01-12 10:25 ` Gary Thomas

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.