Created attachment 91 [details] perl log.do_compile After commit: commit fe59ca31ac267ecd2dc3a8f2fb9ad5297b88f62c Author: Tom Rini <tom_rini@mentor.com> Date: Fri Jan 28 14:07:21 2011 -0700 perl-native: Update for userelocatableinc and non-shared libperl the perl recipe fails in do_compile (log attached). Reverting the patch allows the build to continue. Steps to reproduce are a clean checkout of poky.git/master and: $ MACHINE=atom-pc bitbake poky-image-sato
Cc Tom and Nitin
Taking this over since it was my patch.
Is this resolved with the revert of the patch? Is there any further fixing planned?
So, that's a good question. There are two known issues here: - Somewhere after perl 5.10.1 and possibly before 5.11.7 but possibly unrelated, something broke with userelocatableinc and how it handles certain directories (namely, it stopped handling them) - Since introduction of userelocatableinc (5.10.x) there has been a bug with how perl handles the magical .../.. path it uses. Namely perl never escapes the '.'s in here when using that in a regex and thus TMPDIR=/OE/mystuff is broken (or /scratch/OE/ or anything else where '.../' would match as a regex). The second issue is fairly trivial I think to fix, in upstream perl. The first requires running git bisect to find out what did it. If someone can write a good script for this to pass to git bisect run it won't be too terrible to find out what broke it at least. Now, all of that said. Using create_wrapper and env vars to be relocatable rather than relying on upstream works today.
The patch causing this failure has been reverted from the master few weeks back.
Close this out.