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 2022/02/21 21:00:58 UTC

[GitHub] [incubator-nuttx] ptka opened a new pull request #5579: ci: get rust copied to final image.

ptka opened a new pull request #5579:
URL: https://github.com/apache/incubator-nuttx/pull/5579


   ## Summary
   Get rust copied to final image.
   
   ## Impact
   ci configuration
   
   ## Testing
   via ci itself
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] ptka commented on pull request #5579: ci: get rust copied to final image.

Posted by GitBox <gi...@apache.org>.
ptka commented on pull request #5579:
URL: https://github.com/apache/incubator-nuttx/pull/5579#issuecomment-1047326490


   Thanks for approving ... but it doesn't build. Still the rustc compiler is not found, when building sim:rust.
   
       Configuration/Tool: sim/rust
       ------------------------------------------------------------------------------------
         Cleaning...
         Configuring...
         Building NuttX...
       make[3]: rustc: Command not found
       make[3]: *** [/github/workspace/sources/apps/Application.mk:212: hello_rust_main.rs.github.workspace.sources.apps.examples.hello_rust.o] Error 127
       make[3]: Target 'all' not remade because of errors.
       make[2]: *** [Makefile:42: /github/workspace/sources/apps/examples/hello_rust_all] Error 2
       make[2]: Target '/github/workspace/sources/apps/libapps.a' not remade because of errors.
       make[1]: *** [Makefile:36: all] Error 2
       make: *** [tools/LibTargets.mk:210: /github/workspace/sources/apps/libapps.a] Error 2
       make: Target 'all' not remade because of errors.
       /github/workspace/sources/nuttx/tools/testbuild.sh: line 252: /github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or directory
         Normalize sim/rust
   
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] ptka commented on pull request #5579: ci: get rust copied to final image.

Posted by GitBox <gi...@apache.org>.
ptka commented on pull request #5579:
URL: https://github.com/apache/incubator-nuttx/pull/5579#issuecomment-1047352026


   Correct, that's most likely the solution ... I'm just tweaking my local set-up and will prepare PR.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] btashton commented on pull request #5579: ci: get rust copied to final image.

Posted by GitBox <gi...@apache.org>.
btashton commented on pull request #5579:
URL: https://github.com/apache/incubator-nuttx/pull/5579#issuecomment-1047344483


   Ok I think we are closer. Rustc is available but seems like there is more that is needed?
   ```
   Tool: sim/rust
   ------------------------------------------------------------------------------------
     Cleaning...
     Configuring...
     Building NuttX...
   error: no override and no default toolchain set
   make[3]: *** [/github/workspace/sources/apps/Application.mk:212: hello_rust_main.rs.github.workspace.sources.apps.examples.hello_rust.o] Error 1
   make[3]: Target 'all' not remade because of errors.
   make[2]: *** [Makefile:42: /github/workspace/sources/apps/examples/hello_rust_all] Error 2
   make[2]: Target '/github/workspace/sources/apps/libapps.a' not remade because of errors.
   make[1]: *** [Makefile:36: all] Error 2
   make: *** [tools/LibTargets.mk:210: /github/workspace/sources/apps/libapps.a] Error 2
   make: Target 'all' not remade because of errors.
   /github/workspace/sources/nuttx/tools/testbuild.sh: line 252: /github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or directory
     Normalize sim/rust
   ```


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] btashton commented on pull request #5579: ci: get rust copied to final image.

Posted by GitBox <gi...@apache.org>.
btashton commented on pull request #5579:
URL: https://github.com/apache/incubator-nuttx/pull/5579#issuecomment-1047351408


   > Okay ... root cause identified ... there's another folder, which is installed in the $HOME directory ... it's '.rustup' and contains the additional stuff. Need to check, if this can be relocated, too.
   
   
   Maybe just need RUSTUP_HOME set?
   
   https://rust-lang.github.io/rustup/environment-variables.html


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] ptka edited a comment on pull request #5579: ci: get rust copied to final image.

Posted by GitBox <gi...@apache.org>.
ptka edited a comment on pull request #5579:
URL: https://github.com/apache/incubator-nuttx/pull/5579#issuecomment-1047345568


   I saw it already ... not sure, what this is ... I never saw that error before. My current guess is, that it may relate to the copy operation, which copies rust installation after installation. This could break something which is hardcoded/configured on the initial installation.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] ptka commented on pull request #5579: ci: get rust copied to final image.

Posted by GitBox <gi...@apache.org>.
ptka commented on pull request #5579:
URL: https://github.com/apache/incubator-nuttx/pull/5579#issuecomment-1047349571


   Okay ... root cause identified ... there's another folder, which is installed in the $HOME directory ... it's '.rustup' and contains the additional stuff. Need to check, if this can be relocated, too.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] btashton commented on pull request #5579: ci: get rust copied to final image.

Posted by GitBox <gi...@apache.org>.
btashton commented on pull request #5579:
URL: https://github.com/apache/incubator-nuttx/pull/5579#issuecomment-1047328171


   The docker image used here will not be used until it is merged. (It is uploaded on the master pipeline and not the PR pipeline)


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] btashton merged pull request #5579: ci: get rust copied to final image.

Posted by GitBox <gi...@apache.org>.
btashton merged pull request #5579:
URL: https://github.com/apache/incubator-nuttx/pull/5579


   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] ptka commented on pull request #5579: ci: get rust copied to final image.

Posted by GitBox <gi...@apache.org>.
ptka commented on pull request #5579:
URL: https://github.com/apache/incubator-nuttx/pull/5579#issuecomment-1047345568


   I saw it already ... not sure, what this is ... I never saw that error before. My current guess is, that it maybe related to the copy operation, which copies rust installation after installation. This may break something.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org