Bug 14845 - llvm non reproducible (host pygments and pyyaml leak in)
Summary: llvm non reproducible (host pygments and pyyaml leak in)
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 4.1 M2
Assignee: Luca Ceresoli
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2022-06-22 12:24 UTC by Luca Ceresoli
Modified: 2022-08-09 06:53 UTC (History)
3 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 Luca Ceresoli 2022-06-22 12:24:45 UTC
LLVM reproducible builds failed on opensuse154-ty-1:

https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/1043/steps/13/logs/stdio

The reason is the llvm CMake configuration detects the pygments and pyyaml modules installed on the host, and those are present on some workers, but not all.

Here is the code detecting these modules (thanks to Richard for finding it): https://github.com/llvm/llvm-project/blob/main/llvm/cmake/config-ix.cmake#L693

The result is a difference in the computed LLVM_HAVE_OPT_VIEWER_MODULES value: http://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20220621-s2cncw_b/packages/diff-html/
Comment 2 Luca Ceresoli 2022-08-09 06:53:21 UTC
Applied to master, commit 78b6a08db4e8eb3b4e1d52fcdb39a5b3415f5a3f