Bug 15756

Summary: INHIBIT_AUTOTOOLS_DEPS is lacking documentation
Product: [Build System, Metadata & Runtime] OE-Core Reporter: kweihmann
Component: coreAssignee: Alper Ak <alperyasinak1>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alperyasinak1, antonin.godard, meta.mr.watcher, meta.watcher, randy.macleod, richard.purdie
Version: unspecified   
Target Milestone: 5.99   
Hardware: x86   
OS: Multiple   
Whiteboard: NEWCOMER
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description kweihmann 2025-02-16 10:18:22 UTC
INHIBIT_AUTOTOOLS_DEPS used by autotools is lacking
a default value and is entirely undocumented

> bitbake-getvar INHIBIT_AUTOTOOLS_DEPS

returns

> The variable 'INHIBIT_AUTOTOOLS_DEPS' is not defined

The code in autotools bbclass is doing a "if d.getVar('INHIBIT_AUTOTOOLS_DEPS'):" only,
so having a documented and defined empty value will not impact functionality
Comment 1 Richard Purdie 2025-02-17 12:55:55 UTC
As per several other bugs opened of this type, we are not adding default values for the sake of it.

I do agree we should document variables where possible.
Comment 2 Alper Ak 2025-05-18 14:53:21 UTC
Patch sent -> https://lists.yoctoproject.org/g/docs/message/6835
Comment 3 Alper Ak 2025-05-19 12:34:51 UTC
PATCH v3 -> https://lists.yoctoproject.org/g/docs/message/6841
Comment 4 Antonin Godard 2025-05-27 06:34:42 UTC
Patch merged (commit 18a2686b530ae428103653450d8963d38dcdef46 on yocto-docs).

Thanks!

Moving to Resolved Fixed.