Bug 14925

Summary: perl-native sstate tainting
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: devtools / tool chainAssignee: Ross Burton <ross.burton>
Status: RESOLVED OBSOLETE QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, raj.khem, randy.macleod, richard.purdie, steve
Version: 3.1.25   
Target Milestone: 3.1.34   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2022-10-10 14:27:52 UTC
I just did a build using the autobuilder sstate with dunfell. It re-used perl-native from sstate, tried to build liberror-perl, and failed:

| DEBUG: Executing shell function do_configure
| Can't locate Config_heavy-target.pl:   /home/pokybuild/yocto-worker/qemuarm64-ptest/build/build/tmp/work/aarch64-linux/perl-native/5.30.1-r0/recipe-sysroot-native/usr/lib/perl5/site_perl/5.30.1/aarch64-linux/Config_heavy-target.pl: Permission denied at /home/ross/poky/build/tmp/work/core2-64-poky-linux/liberror-perl/0.17029-r0/recipe-sysroot-native/usr/bin/perl-native/../../../usr/lib/perl5/5.30.1/aarch64-linux/Config.pm line 88.
| Compilation failed in require at /home/ross/poky/build/tmp/work/core2-64-poky-linux/liberror-perl/0.17029-r0/recipe-sysroot-native/usr/bin/perl-native/../../../usr/lib/perl5/5.30.1/ExtUtils/MakeMaker.pm line 9.

Permission Denied because I'm not running as pokybuild, but it's trying to access that user's home directory.
Comment 1 Khem Raj 2022-10-13 18:49:53 UTC
see a similar report from past https://www.openembedded.org/pipermail/openembedded-core/2016-November/247137.html
Comment 3 Ross Burton 2024-05-07 09:17:12 UTC
Dunfell is EOL and I've not seen this since, so maybe that did fix it.