Bug 14886

Summary: graphviz uses tclConfig.sh from buildhost
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Maxime Roussin-Bélanger <maxime.roussinbelanger>
Component: coreAssignee: Unassigned <unassigned>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Undecided CC: meta.mr.watcher, meta.watcher, randy.macleod
Version: 4.0.4   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Maxime Roussin-Bélanger 2022-08-11 19:30:31 UTC
Preconditions/Environment
-------------------------
Poky on latest kirkstone

Triggering Action/Cause
-----------------------
bitbake nativesdk-graphviz with tclConfig.sh on buildhost 

Expectation
-----------
nativesdk-graphviz should ignore tclConfig from buildhost.

Actual Result
-------------
triggers a build failure with segfault.

...
| /usr/lib//tcl8.6/tclConfig.sh: line 2: dpkg-architecture: command not found
| /usr/lib//tcl8.6/tclConfig.sh: line 2: dpkg-architecture: command not found
| Segmentation fault


Reproducibility
---------------
100%
Comment 1 Randy MacLeod 2022-08-18 14:37:18 UTC
This isn't a Yocto ( bitbake or oe-core ) bug since the recipe is in meta-openembedded.
Please post a patch or report the bug to the list where such things are handled: openembedded-devel@lists.openembedded.org

-- YP Triage meeting.