package-pack.mk's use of $(info ...) broke pigeonhole package

Eric evil.function at proton.me
Tue Dec 30 17:51:00 PST 2025


On Tuesday, December 30th, 2025 at 17:42, W. Michael Petullo <mike at flyn.org> wrote:
> 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.

Hi Mike,

That "fused dependencies" line will be removed when this gets committed:

https://github.com/openwrt/openwrt/pull/21288

Eric



More information about the openwrt-devel mailing list