From: Angelo Compagnucci <angelo.compagnucci@gmail.com>
To: buildroot@buildroot.org
Cc: "Joseph Kogut" <joseph.kogut@gmail.com>,
"Marcus Folkesson" <marcus.folkesson@gmail.com>,
"Leo Yu-Chi Liang" <ycliang@andestech.com>,
"Romain Naour" <romain.naour@gmail.com>,
"Antoine Tenart" <atenart@kernel.org>,
"José Luis Salvador Rufo" <salvador.joseluis@gmail.com>,
"Ricardo Martincoski" <ricardo.martincoski@datacom.com.br>,
"Fabrice Fontaine" <fontaine.fabrice@gmail.com>,
"Maxim Kochetkov" <fido_max@inbox.ru>,
"Angelo Compagnucci" <angelo.compagnucci@gmail.com>,
"Francois Perrad" <francois.perrad.86@gmail.com>,
"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
"James Knight" <james.d.knight@live.com>,
"Giulio Benetti" <giulio.benetti@benettiengineering.com>,
"Bernd Kuhls" <bernd@kuhls.net>
Subject: [Buildroot] [PATCH v4 00/15] check-package: warn about symbols not recognized by a package infra, support inline flags
Date: Sat, 7 Nov 2026 17:33:59 +0100 [thread overview]
Message-ID: <20261107163414.560896-1-angelo.compagnucci@gmail.com> (raw)
In-Reply-To: <20230903163509.614740-1-ricardo.martincoski@gmail.com>
This series resurrects two check-package series sent by Ricardo
Martincoski in 2023, which never got a review and have been sitting on
patchwork since then:
- "check-package: warn about symbols not recognized by a package
infra" (January 2023): the fixes of the tree and patch 29 were
applied, but the two new checks, patches 27 and 28, were not;
- "check-package: support inline flags" v3 (September 2023), which
lets a file enable special rules of a check with a comment, and
removes the list of Config.in files hard-coded in lib_config:Indent.
Both are rebased on current master and sent together, since they
touch the same code. This is v4 after the inline flags series; the two
checks were only sent once, as v1.
Patches 1 to 3 are the inline flags series, with only a conflict
solved in the first one.
Patches 14 and 15 are the two checks: TypoInVariableSuffix warns about
variables that the package infra used in the file does not know and
that nothing else uses, DisabledInstall about install hooks that never
run because the installation step is disabled. After almost four years, the
lists of variables known by each infra were outdated, and the checks
gave about 250 warnings on the current tree, so they are updated in
patch 14 with the variables added to the infras in the meantime.
The remaining warnings are all real problems: variables misspelled or
left behind by conversions to another infra. Rather than adding these
files to .checkpackageignore, patches 4 to 13 fix them, as the original
series did with its first 24 patches, so that the checks can go in with
no new entry in the ignore list but one:
- the license file of andes-spi-burn was never saved nor checked;
- the configure options of usbip were never passed;
- linux-pam has not been linked with libintl and libatomic since its
move to meson, which breaks the build with an external libintl, as
seen by the autobuilders (also in 2026.02.x);
- fbv, postgresql, libselinux, zfs, mesa3d, nxp-mwifiex and
libglib2-bootstrap only had dead variables, removed with no change
in the build.
The one entry left in .checkpackageignore is gcc-final: its m68k
ColdFire libgcc fixup hook is registered under a wrong name since
2023, so it never runs, but fixing it changes the ColdFire internal
toolchain and deserves its own patch and test.
This series supersedes the following patches, which can be marked as
superseded on patchwork:
- [27/29] utils/check-package: warn about symbols not recognized by a
package infra (patch 14 of this series)
https://patchwork.buildroot.org/project/buildroot/patch/20230101233653.487175-28-ricardo.martincoski@gmail.com/
- [28/29] utils/check-package: warn about disabled install (patch 15)
https://patchwork.buildroot.org/project/buildroot/patch/20230101233653.487175-29-ricardo.martincoski@gmail.com/
- [next,v3,1/3] utils/check-package: factor-out check_disabled()
(patch 1)
https://patchwork.buildroot.org/project/buildroot/patch/20230903163509.614740-2-ricardo.martincoski@gmail.com/
- [next,v3,2/3] utils/check-package: support inline flags (patch 2)
https://patchwork.buildroot.org/project/buildroot/patch/20230903163509.614740-3-ricardo.martincoski@gmail.com/
- [next,v3,3/3] utils/check-package: remove hard-coded list from
lib_config:Indent (patch 3)
https://patchwork.buildroot.org/project/buildroot/patch/20230903163509.614740-4-ricardo.martincoski@gmail.com/
Each patch has its own "Changes" notes.
Angelo Compagnucci (10):
package/andes-spi-burn: fix the license files variable
package/fbv: drop the unused configure options
package/usbip: fix the configure options variable
package/postgresql: drop the unused install-world options
package/libselinux: drop the unused make environment
package/zfs: drop the unused module subdirectories
package/mesa3d: drop the unused host Vulkan drivers
package/nxp-mwifiex: drop the unused make options
package/libglib2/libglib2-bootstrap: drop unused variables
package/linux-pam: fix linking with the NLS and atomic libraries
James Knight (1):
utils/check-package: remove hard-coded list from lib_config:Indent
Ricardo Martincoski (4):
utils/check-package: factor-out check_disabled()
utils/check-package: support inline flags
utils/check-package: warn about symbols not recognized by a package
infra
utils/check-package: warn about disabled install
.checkpackageignore | 1 +
fs/initramfs/initramfs.mk | 1 +
linux/linux-ext-xenomai.mk | 2 +-
package/Config.in | 2 +
package/Config.in.host | 2 +
package/andes-spi-burn/andes-spi-burn.hash | 2 +-
package/andes-spi-burn/andes-spi-burn.mk | 2 +-
package/fbv/fbv.mk | 13 +-
package/kodi/Config.in | 2 +
.../libglib2-bootstrap/libglib2-bootstrap.mk | 3 -
package/libselinux/libselinux.mk | 3 -
package/linux-pam/linux-pam.mk | 2 +-
package/luarocks/luarocks.mk | 2 +
package/mesa3d/mesa3d.mk | 1 -
package/nxp-mwifiex/nxp-mwifiex.mk | 2 -
package/postgresql/postgresql.mk | 2 -
package/usbip/usbip.mk | 2 +-
package/x11r7/Config.in | 2 +
package/zfs/zfs.mk | 12 -
toolchain/toolchain.mk | 2 +
utils/check-package | 21 +-
utils/checkpackagelib/base.py | 21 +-
utils/checkpackagelib/lib_config.py | 8 +-
utils/checkpackagelib/lib_mk.py | 209 +++++++
utils/checkpackagelib/pkg_infra.py | 322 ++++++++++
utils/checkpackagelib/test_base.py | 131 +++++
utils/checkpackagelib/test_lib_mk.py | 555 ++++++++++++++++++
utils/checkpackagelib/test_util.py | 5 +-
28 files changed, 1279 insertions(+), 53 deletions(-)
create mode 100644 utils/checkpackagelib/pkg_infra.py
create mode 100644 utils/checkpackagelib/test_base.py
--
2.53.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-11-07 16:34 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-03 16:35 [Buildroot] [next v3 0/3] check-package: support inline flags v3 Ricardo Martincoski
2023-09-03 16:35 ` [Buildroot] [next v3 1/3] utils/check-package: factor-out check_disabled() Ricardo Martincoski
2023-09-03 16:35 ` [Buildroot] [next v3 2/3] utils/check-package: support inline flags Ricardo Martincoski
2023-09-03 16:35 ` [Buildroot] [next v3 3/3] utils/check-package: remove hard-coded list from lib_config:Indent Ricardo Martincoski
2026-11-07 16:33 ` Angelo Compagnucci [this message]
2026-11-07 16:34 ` [Buildroot] [PATCH v4 01/15] utils/check-package: factor-out check_disabled() Angelo Compagnucci
2026-11-07 16:34 ` [Buildroot] [PATCH v4 02/15] utils/check-package: support inline flags Angelo Compagnucci
2026-11-07 16:34 ` [Buildroot] [PATCH v4 03/15] utils/check-package: remove hard-coded list from lib_config:Indent Angelo Compagnucci
2026-11-07 16:34 ` [Buildroot] [PATCH v4 04/15] package/andes-spi-burn: fix the license files variable Angelo Compagnucci
2026-11-07 16:34 ` [Buildroot] [PATCH v4 05/15] package/fbv: drop the unused configure options Angelo Compagnucci
2026-11-07 16:34 ` [Buildroot] [PATCH v4 06/15] package/usbip: fix the configure options variable Angelo Compagnucci
2026-11-07 16:34 ` [Buildroot] [PATCH v4 07/15] package/postgresql: drop the unused install-world options Angelo Compagnucci
2026-11-09 7:13 ` Maxim Kochetkov via buildroot
2026-11-07 16:34 ` [Buildroot] [PATCH v4 08/15] package/libselinux: drop the unused make environment Angelo Compagnucci
2026-11-07 16:34 ` [Buildroot] [PATCH v4 09/15] package/zfs: drop the unused module subdirectories Angelo Compagnucci
2026-11-10 12:52 ` José Luis Salvador Rufo
2026-11-07 16:34 ` [Buildroot] [PATCH v4 10/15] package/mesa3d: drop the unused host Vulkan drivers Angelo Compagnucci
2026-11-07 16:34 ` [Buildroot] [PATCH v4 11/15] package/nxp-mwifiex: drop the unused make options Angelo Compagnucci
2026-11-07 16:34 ` [Buildroot] [PATCH v4 12/15] package/libglib2/libglib2-bootstrap: drop unused variables Angelo Compagnucci
2026-11-11 22:46 ` Fiona Klute via buildroot
2026-11-07 16:34 ` [Buildroot] [PATCH v4 13/15] package/linux-pam: fix linking with the NLS and atomic libraries Angelo Compagnucci
2026-11-07 16:34 ` [Buildroot] [PATCH v4 14/15] utils/check-package: warn about symbols not recognized by a package infra Angelo Compagnucci
2026-11-07 16:34 ` [Buildroot] [PATCH v4 15/15] utils/check-package: warn about disabled install Angelo Compagnucci
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261107163414.560896-1-angelo.compagnucci@gmail.com \
--to=angelo.compagnucci@gmail.com \
--cc=atenart@kernel.org \
--cc=bernd@kuhls.net \
--cc=buildroot@buildroot.org \
--cc=fido_max@inbox.ru \
--cc=fontaine.fabrice@gmail.com \
--cc=francois.perrad.86@gmail.com \
--cc=giulio.benetti@benettiengineering.com \
--cc=james.d.knight@live.com \
--cc=joseph.kogut@gmail.com \
--cc=marcus.folkesson@gmail.com \
--cc=ricardo.martincoski@datacom.com.br \
--cc=romain.naour@gmail.com \
--cc=salvador.joseluis@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=ycliang@andestech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox