[FS#998] packages: "make packages/X/check" should print warnings without needing the verbose mode
LEDE Bugs
lede-bugs at lists.infradead.org
Sun Sep 3 04:17:30 PDT 2017
A new Flyspray task has been opened. Details are below.
User who did this - Baptiste Jonglez (bjonglez)
Attached to Project - LEDE Project
Summary - packages: "make packages/X/check" should print warnings without needing the verbose mode
Task Type - Bug Report
Category - Packages
Status - New
Assigned To - Felix Fietkau
Operating System - All
Severity - Low
Priority - Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Currently, when running "make check" on a single package, it does not print any warning. ''V=s'' is needed to see the warnings. The build system should print the warnings in all cases, because that's what the user asks for!
To reproduce:
$ make package/nlbwmon/check
make[1] package/nlbwmon/check
make[2] -C feeds/packages/net/nlbwmon check
$ make package/nlbwmon/check V=s
make[1]: Entering directory '/tmp/lede'
make[2]: Entering directory '/tmp/lede/feeds/packages/net/nlbwmon'
WARNING: nlbwmon-2017-08-02-32fc0925.tar.xz is missing, please run make download before re-running this check
make[2]: Leaving directory '/tmp/lede/feeds/packages/net/nlbwmon'
make[1]: Leaving directory '/tmp/lede'
The main target ''make check'' (without specifying any package) works fine, because it seems to run in verbose mode by default:
$ make check
make[3]: Entering directory '/tmp/lede/tools/gmp'
make[3]: Leaving directory '/tmp/lede/tools/gmp'
...
make[3]: Entering directory '/tmp/lede/package/network/utils/iwinfo'
WARNING: PKG_MIRROR_HASH is missing, set to 7bd294f50f8ec8c0497c5fbe5527f3ae098814cdfeecf4ccf78a2a8937611664
make[3]: Leaving directory '/tmp/lede/package/network/utils/iwinfo'
...
I tried to fix the issue myself but this is way above my understanding of make.
More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=998
More information about the lede-bugs
mailing list