package-pack.mk's use of $(info ...) broke pigeonhole package
W. Michael Petullo
mike at flyn.org
Tue Dec 30 17:32:15 PST 2025
The pigeonhole package has used the following to determine the version
of dovecot, which is needed to build pigeonhole:
PKG_VERSION_DOVECOT:=$(shell make --no-print-directory -C ../dovecot/ val.PKG_VERSION V=s)
However, OpenWrt commit 18029977 added "$$(info $(1) fused dependencies: $$(Package/$(1)/DEPENDS))"
to include/package-pack.mk. This causes the make command above to print
more than just dovecot's version. Here is the result:
dovecot fused dependencies: libc, libopenssl3, librt, zlib, libbz2-1.0, libcap
dovecot-utils fused dependencies: libc, dovecot2.3.21
2.3.21
The breaks the definition of "PKG_VERSION_DOVECOT", which expects only
"2.3.21".
Was this verbosity related to fused dependencies intentional? Could it
be made subject to V=x?
An alternative is to add "| grep -v 'fused dependencies'" to pigeonhole's
Makefile line, but this seems fragile. It would not handle similar
additions in the future.
--
Mike
:wq
More information about the openwrt-devel
mailing list