Skip to contentSkip to conversation

release-notes-5.2.rst: add information about autotools changes

PATCH In review Ross Burton 2 participants 2 messages Feb 27, 2025 – Mar 3, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 release-notes-5.2.rst: add information about autotools changes

---
 documentation/migration-guides/release-notes-5.2.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)
documentation/migration-guides/release-notes-5.2.rst +10 -0
index 417b202cd..75d860aff 100644
@@ -299,6 +299,16 @@ New Features / Enhancements in |yocto-ver|
       currently prints warning message for every unpatched CVE the
       :ref:`ref-classes-cve-check` class finds.
 
+-  :ref:`ref-classes-autotools` changes:
+
+   - Changes to how ``aclocal`` is invoked means that ``ACLOCALDIR`` and
+     ``ACLOCALEXTRAPATH`` are no longer used.
+
+   - Directories containing m4 files are no longer found automatically and
+     passed to ``autoreconf``. If a recipe fails to configure because it cannot find
+     m4 macros, then usually the solution is to set ``EXTRA_AUTORECONF += "-I
+     path/to/m4"`` in the recipe.
+
 -  New :term:`PACKAGECONFIG` options for individual recipes:
 
       -  ``perf``: ``zstd``
Signature · 1 line
2.43.0
#1 lore raw

Hi Ross,

Quoted 10 lines · Ross Burton via lists.yoctoproject.org
---
 documentation/migration-guides/release-notes-5.2.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)
documentation/migration-guides/release-notes-5.2.rst +0 -0
index 417b202cd..75d860aff 100644

documentation/migration-guides/release-notes-5.2.rst New Features / Enhancements in |yocto-ver| · line 305

Quoted 7 lines
documentation/migration-guides/release-notes-5.2.rst +4 -0
@@ -299,6 +299,16 @@ New Features / Enhancements in |yocto-ver|
       currently prints warning message for every unpatched CVE the
       :ref:`ref-classes-cve-check` class finds.
 
+-  :ref:`ref-classes-autotools` changes:
+
+   - Changes to how ``aclocal`` is invoked means that ``ACLOCALDIR`` and
+     ``ACLOCALEXTRAPATH`` are no longer used.

Nit: this bullet and the next would need to be indented by 2.

documentation/migration-guides/release-notes-5.2.rst New Features / Enhancements in |yocto-ver| · line 314

Quoted 9 lines
documentation/migration-guides/release-notes-5.2.rst +6 -0
+
+   - Directories containing m4 files are no longer found automatically and
+     passed to ``autoreconf``. If a recipe fails to configure because it cannot find
+     m4 macros, then usually the solution is to set ``EXTRA_AUTORECONF += "-I
+     path/to/m4"`` in the recipe.
+
 -  New :term:`PACKAGECONFIG` options for individual recipes:
 
       -  ``perf``: ``zstd``

I think this would fit better in the migration guide since this is potentially a breaking change (documentation/migration-guides/migration-5.2.rst).

Thanks,
Antonin

Signature · 3 lines
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com