You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/10/13 22:22:25 UTC
[GitHub] [incubator-nuttx] patacongo opened a new issue #1985: Commit 567962bd626 broke the Ubuntu on Windows build
patacongo opened a new issue #1985:
URL: https://github.com/apache/incubator-nuttx/issues/1985
Eduard Niesner reported this problem: When building for Ubuntu on Windows, the build fails because all of the host tools are build with the .exe extension, in particulare, tools/mkconfig.exe. That fails because the binary with that extension is not recognized.
Steps to replicate:
- make distclean
- ./tools/configure.sh -u nucleo-h743zi:nsh
- make
Resulting error:
- /bin/sh: 1: tools/mkconfig: not found
- tools/Makefile.unix:247: recipe for target 'include/nuttx/config.h' failed
- make: *** [include/nuttx/config.h] Error 127
This error occurrs because the definitons of HOSTEXEXT is WRONG in tools/Config.mk:
116 ifeq ($(CONFIG_HOST_WINDOWS),y)
117 HOSTEXEEXT ?= .exe
118 endif
When Ubuntu it selects `CONFIG_HOST_WINDOWS=y` but the `HOSTEXEEXT` should be an empty string, not `.exe`. That is the root cause of the problem.
Commit 567962bd626 introduced this error
commit 567962bd6263bf8809fb63c739f6ec668c69c416
Author: Xiang Xiao <xi...@xiaomi.com>
Date: Tue May 19 18:29:28 2020 +0800
build: Move the extension definition to common place
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
This should be fixed in the 10.0 release.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] Ouss4 closed issue #1985: Commit 567962bd626 broke the Ubuntu on Windows build
Posted by GitBox <gi...@apache.org>.
Ouss4 closed issue #1985:
URL: https://github.com/apache/incubator-nuttx/issues/1985
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org