I tried to use 'make O=...' from an unclean source tree. This triggered the error path of setlocalversion. But by printing to STDOUT, it created a broken localversion which then caused another (unrelated) error: "4.7.0-rc2Error: kernelrelease not valid - run make prepare to update it" exceeds 64 characters After printing to STDERR, the true build error gets displayed later: /home/wsa/Kernel/linux is not clean, please run 'make mrproper' in the '/home/wsa/Kernel/linux' directory.
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -143,7 +143,7 @@ fi · 142 unmodified lines | |||
| 143 | if test -e include/config/auto.conf; then | 143 | if test -e include/config/auto.conf; then |
| 144 | . include/config/auto.conf | 144 | . include/config/auto.conf |
| 145 | else | 145 | else |
| 146 | echo "Error: kernelrelease not valid - run 'make prepare' to update it" | 146 | echo "Error: kernelrelease not valid - run 'make prepare' to update it" >&2 |
| 147 | exit 1 | 147 | exit 1 |
| 148 | fi | 148 | fi |
| 149 | 149 | ||