diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2021-06-14 17:25:05 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-06-15 11:18:26 +0200 |
| commit | 8022d7e3b101fe58ef712f73ea9de9516d1813f5 (patch) | |
| tree | aec89799cb16f95eccf0dbe76a0ace3a0404b256 /pkg | |
| parent | 1ba81399e2d03b53a7e631c4ab05f25af1fb1911 (diff) | |
pkg/build: recognize make's "No rule to make target" error
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/build/build.go | 1 | ||||
| -rw-r--r-- | pkg/build/build_test.go | 17 |
2 files changed, 17 insertions, 1 deletions
diff --git a/pkg/build/build.go b/pkg/build/build.go index ee64da447..9b0f9ded7 100644 --- a/pkg/build/build.go +++ b/pkg/build/build.go @@ -297,6 +297,7 @@ var buildFailureCauses = [...]buildFailureCause{ {pattern: regexp.MustCompile(`: not found`)}, {pattern: regexp.MustCompile(`^([a-zA-Z0-9_\-/.]+):[0-9]+:([0-9]+:)?.*(error|invalid|fatal|wrong)`)}, {pattern: regexp.MustCompile(`FAILED unresolved symbol`)}, + {pattern: regexp.MustCompile(`No rule to make target`)}, {weak: true, pattern: regexp.MustCompile(`: final link failed: `)}, {weak: true, pattern: regexp.MustCompile(`collect2: error: `)}, {weak: true, pattern: regexp.MustCompile(`FAILED: Build did NOT complete`)}, diff --git a/pkg/build/build_test.go b/pkg/build/build_test.go index 6aac857dc..7a7c2c1be 100644 --- a/pkg/build/build_test.go +++ b/pkg/build/build_test.go @@ -517,4 +517,19 @@ make: *** [Makefile:1292: vmlinux] Error 255 "FAILED unresolved symbol dctcp_update_alpha", "", "", - }} + }, + {` +scripts/kconfig/conf --syncconfig Kconfig + +*** Error during update of the configuration. + +make[2]: *** [scripts/kconfig/Makefile:41: syncconfig] Error 1 +make[1]: *** [Makefile:545: syncconfig] Error 2 +make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'. Stop. +make: *** Waiting for unfinished jobs.... +`, + "make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'. Stop.", + "", + "", + }, +} |
