Bug 14925 - perl-native sstate tainting
Summary: perl-native sstate tainting
Status: RESOLVED OBSOLETE
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 3.1.25
Hardware: x86 Multiple
: Medium normal
Target Milestone: 3.1.34
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2022-10-10 14:27 UTC by Ross Burton
Modified: 2024-05-07 09:17 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.