All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems building different versions of perl
@ 2013-07-22 11:33 Gary Thomas
  2013-07-22 12:58 ` Gary Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: Gary Thomas @ 2013-07-22 11:33 UTC (permalink / raw)
  To: Yocto Project

In an effort to understand my problem (code built using Poky/Yocto doesn't
run but the same code built natively on a BeagleBoneBlack running Angstrom does),
I want to try a previous version of perl.  I picked up the recipes from the
Poky/Yocto tree rev 51cbb5ae7 (5.14.2-r12) and put them in one of my local layers.
I also set local.conf to have PREFERRED_VERSION_perl = "5.14.2"

Now I'm getting these errors:

NOTE: Resolving any missing task queue dependencies
NOTE: preferred version 5.14.2 of perl not available (for item perl-module-strict)
NOTE: versions of perl available: 5.14.3
NOTE: preferred version 5.14.2 of perl not available (for item perl-module-vars)
NOTE: versions of perl available: 5.14.3
NOTE: preferred version 5.14.2 of perl not available (for item perl-module-config)
NOTE: versions of perl available: 5.14.3
NOTE: preferred version 5.14.2 of perl not available (for item perl-module-warnings)
NOTE: versions of perl available: 5.14.3
NOTE: Preparing runqueue
ERROR: Multiple .bb files are due to be built which each provide perl (/home/local/poky-multi/meta-amltd/recipes-devtools/perl/perl_5.14.2.bb 
/home/local/poky-multi/meta/recipes-devtools/perl/perl_5.14.3.bb).
  This usually means one provides something the other doesn't and should.
ERROR: Multiple .bb files are due to be built which each provide libmodule-build-perl (/home/local/poky-multi/meta-amltd/recipes-devtools/perl/perl_5.14.2.bb 
/home/local/poky-multi/meta/recipes-devtools/perl/perl_5.14.3.bb).
  This usually means one provides something the other doesn't and should.

I don't see how I can be told on one line that 5.14.2 isn't available
but on the next that it will also be built :-(

The odd thing is that this process worked ONCE.  I was able to build using
5.14.2 with no errors.  I tried some stuff on my board and then needed to
see how 5.14.3 behaved.  Now when I want to go back to 5.14.2, I'm stuck
with these errors and bitbake insists on using 5.14.3.  I'm trying to go
back to 5.14.2-r12 because that's the version that's on the BBB,

How can I move forward?

Thanks

Note: my original problem is described in https://lists.yoctoproject.org/pipermail/yocto/2013-July/017297.html
but there hasn't been any discussion or replies...
-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

* Re: Problems building different versions of perl
  2013-07-22 11:33 Problems building different versions of perl Gary Thomas
@ 2013-07-22 12:58 ` Gary Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2013-07-22 12:58 UTC (permalink / raw)
  To: Yocto Project

On 2013-07-22 05:33, Gary Thomas wrote:
> In an effort to understand my problem (code built using Poky/Yocto doesn't
> run but the same code built natively on a BeagleBoneBlack running Angstrom does),
> I want to try a previous version of perl.  I picked up the recipes from the
> Poky/Yocto tree rev 51cbb5ae7 (5.14.2-r12) and put them in one of my local layers.
> I also set local.conf to have PREFERRED_VERSION_perl = "5.14.2"
>
> Now I'm getting these errors:
>
> NOTE: Resolving any missing task queue dependencies
> NOTE: preferred version 5.14.2 of perl not available (for item perl-module-strict)
> NOTE: versions of perl available: 5.14.3
> NOTE: preferred version 5.14.2 of perl not available (for item perl-module-vars)
> NOTE: versions of perl available: 5.14.3
> NOTE: preferred version 5.14.2 of perl not available (for item perl-module-config)
> NOTE: versions of perl available: 5.14.3
> NOTE: preferred version 5.14.2 of perl not available (for item perl-module-warnings)
> NOTE: versions of perl available: 5.14.3
> NOTE: Preparing runqueue
> ERROR: Multiple .bb files are due to be built which each provide perl (/home/local/poky-multi/meta-amltd/recipes-devtools/perl/perl_5.14.2.bb
> /home/local/poky-multi/meta/recipes-devtools/perl/perl_5.14.3.bb).
>   This usually means one provides something the other doesn't and should.
> ERROR: Multiple .bb files are due to be built which each provide libmodule-build-perl (/home/local/poky-multi/meta-amltd/recipes-devtools/perl/perl_5.14.2.bb
> /home/local/poky-multi/meta/recipes-devtools/perl/perl_5.14.3.bb).
>   This usually means one provides something the other doesn't and should.
>
> I don't see how I can be told on one line that 5.14.2 isn't available
> but on the next that it will also be built :-(
>
> The odd thing is that this process worked ONCE.  I was able to build using
> 5.14.2 with no errors.  I tried some stuff on my board and then needed to
> see how 5.14.3 behaved.  Now when I want to go back to 5.14.2, I'm stuck
> with these errors and bitbake insists on using 5.14.3.  I'm trying to go
> back to 5.14.2-r12 because that's the version that's on the BBB,
>
> How can I move forward?
>
> Thanks
>
> Note: my original problem is described in https://lists.yoctoproject.org/pipermail/yocto/2013-July/017297.html
> but there hasn't been any discussion or replies...

Interestingly, a build using the exact same meta-data does not yield these
warnings/errors and builds perl 5.14.2-r12 as I expected.  I've tried various
combinations of 'cleansstate', etc, to no avail.

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


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

end of thread, other threads:[~2013-07-22 12:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-22 11:33 Problems building different versions of perl Gary Thomas
2013-07-22 12:58 ` 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.