You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "xiaoxiang781216 (via GitHub)" <gi...@apache.org> on 2024/10/17 01:27:33 UTC

[I] [BUG] ci output "/usr/bin/bash: line 1: p32-g++: command not found" [nuttx]

xiaoxiang781216 opened a new issue, #14374:
URL: https://github.com/apache/nuttx/issues/14374

   ### Description / Steps to reproduce the issue
   
   here is one of output:
   https://github.com/apache/nuttx/actions/runs/11365260351/job/31613141510?pr=14364
   
   ### On which OS does this issue occur?
   
   [OS: Linux]
   
   ### What is the version of your OS?
   
   Ubuntu
   
   ### NuttX Version
   
   master
   
   ### Issue Architecture
   
   [Arch: avr]
   
   ### Issue Area
   
   [Area: Build System]
   
   ### Verification
   
   - [X] I have verified before submitting the report.


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

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


Re: [I] [BUG] ci output "/usr/bin/bash: line 1: p32-g++: command not found" [nuttx]

Posted by "simbit18 (via GitHub)" <gi...@apache.org>.
simbit18 commented on issue #14374:
URL: https://github.com/apache/nuttx/issues/14374#issuecomment-2441241333

   @lupyuen if I'm not mistaken it seems to be solved
   here is not present
   https://github.com/apache/nuttx/actions/runs/11549938848/job/32143990355?pr=14528
   
   
   ```
   ====================================================================================
   Configuration/Tool: flipnclick-pic32mz/nsh,CONFIG_MIPS32_TOOLCHAIN_PINGUINOL
   2024-10-28 08:33:57
   ------------------------------------------------------------------------------------
     Cleaning...
     Configuring...
     Disabling CONFIG_MIPS32_TOOLCHAIN_GNU_ELF
     Enabling CONFIG_MIPS32_TOOLCHAIN_PINGUINOL
     Building NuttX...
     Normalize flipnclick-pic32mz/nsh
   ====================================================================================
   Configuration/Tool: flipnclick-pic32mz/nxlines,CONFIG_MIPS32_TOOLCHAIN_PINGUINOL
   2024-10-28 08:34:33
   ------------------------------------------------------------------------------------
     Cleaning...
     Configuring...
     Disabling CONFIG_MIPS32_TOOLCHAIN_GNU_ELF
     Enabling CONFIG_MIPS32_TOOLCHAIN_PINGUINOL
     Building NuttX...
     Normalize flipnclick-pic32mz/nxlines
   ====================================================================================
   
   ```


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


Re: [I] [BUG] ci output "/usr/bin/bash: line 1: p32-g++: command not found" [nuttx]

Posted by "lupyuen (via GitHub)" <gi...@apache.org>.
lupyuen commented on issue #14374:
URL: https://github.com/apache/nuttx/issues/14374#issuecomment-2441255684

   Thanks @simbit18! Wonder if this message could be caused by the same issue?
   ```text
   Configuration/Tool: c5471evm/nsh,CONFIG_ARM_TOOLCHAIN_GNU_EABI
   /usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
   ```
   https://github.com/NuttX/nuttx/actions/runs/11535897153/job/32116015943#step:7:242
   


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


Re: [I] [BUG] ci output "/usr/bin/bash: line 1: p32-g++: command not found" [nuttx]

Posted by "simbit18 (via GitHub)" <gi...@apache.org>.
simbit18 commented on issue #14374:
URL: https://github.com/apache/nuttx/issues/14374#issuecomment-2444454233

   @lupyuen This warning appears in board-configs that have defconfig with enabled
   CONFIG_ARM_TOOLCHAIN_BUILDROOT=y
   or 
   CONFIG_ARM_TOOLCHAIN_BUILDROOT_OABI=y
   attach list [boards.txt](https://github.com/user-attachments/files/17557859/boards.txt).
   
   
   The warning occurs when in refresh.sh runs 
   [make olddefconfig](https://github.com/apache/nuttx/blob/d42f16939ebf5907e1be4461e01a2bff96291e6e/tools/refresh.sh#L238)
   
   ```
   make -C /__w/nuttx-testing/nuttx-testing/nuttxspace/apps preconfig
   make[2]: Entering directory '/__w/nuttx-testing/nuttx-testing/nuttxspace/apps'
   make[2]: Nothing to be done for 'preconfig'.
   make[2]: Leaving directory '/__w/nuttx-testing/nuttx-testing/nuttxspace/apps'
   make[1]: Leaving directory '/__w/nuttx-testing/nuttx-testing/nuttxspace/nuttx'
   APPSDIR=../apps EXTERNALDIR=dummy APPSBINDIR=../apps BINDIR=/__w/nuttx-testing/nuttx-testing/nuttxspace/nuttx olddefconfig 2> >(grep -v "set more than once" | tee kwarning) | cat && if [ -s kwarning ]; then rm kwarning; exit 1; else rm kwarning; fi
   Loaded configuration '.config'
   Configuration saved to '.config'
   /bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
   make -C /__w/nuttx-testing/nuttx-testing/nuttxspace/apps preconfig
   make[1]: Entering directory '/__w/nuttx-testing/nuttx-testing/nuttxspace/apps'
   /bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
   make[1]: Nothing to be done for 'preconfig'.
   make[1]: Leaving directory '/__w/nuttx-testing/nuttx-testing/nuttxspace/apps'
   APPSDIR="../apps" EXTERNALDIR=dummy APPSBINDIR="../apps" BINDIR=/__w/nuttx-testing/nuttx-testing/nuttxspace/nuttx savedefconfig --out defconfig.tmp 2> >(grep -v "set more than once" | tee kwarning) | cat && if [ -s kwarning ]; then rm kwarning; exit 1; else rm kwarning; fi
   Loaded configuration '.config'
   Minimal configuration saved to 'defconfig.tmp'
   ```
   here it looks for arm-nuttx-eabi-gcc which of course is not present
   
   [NuttX buildroot - arch/arm/src/common/Toolchain.def](https://github.com/apache/nuttx/blob/083f9d162eacfef3c446f319a4747bd2f5b8eda3/arch/arm/src/common/Toolchain.defs#L134)
   see this work by Greg @patacongo 
   Building the Nuttx Toolchain - Buildroot
   https://bitbucket.org/nuttx/buildroot/src/master/
   
   This warning is harmless !!! 
   Possible solution is to remove  CONFIG_ARM_TOOLCHAIN_BUILDROOT=y or 
   CONFIG_ARM_TOOLCHAIN_BUILDROOT_OABI=y from defconfig


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


Re: [I] [BUG] ci output "/usr/bin/bash: line 1: p32-g++: command not found" [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on issue #14374:
URL: https://github.com/apache/nuttx/issues/14374#issuecomment-2444678393

   why not? or we add nuttx toolchain to docker image?


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


Re: [I] [BUG] ci output "/usr/bin/bash: line 1: p32-g++: command not found" [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on issue #14374:
URL: https://github.com/apache/nuttx/issues/14374#issuecomment-2418304993

   @lupyuen could you look at this problem?


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


Re: [I] [BUG] ci output "/usr/bin/bash: line 1: p32-g++: command not found" [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on issue #14374:
URL: https://github.com/apache/nuttx/issues/14374#issuecomment-2444521766

   should we hide this harmless warning from script.


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


Re: [I] [BUG] ci output "/usr/bin/bash: line 1: p32-g++: command not found" [nuttx]

Posted by "lupyuen (via GitHub)" <gi...@apache.org>.
lupyuen commented on issue #14374:
URL: https://github.com/apache/nuttx/issues/14374#issuecomment-2421008928

   Seems to be caused by [tools/refresh.sh](https://github.com/apache/nuttx/blob/master/tools/refresh.sh). The same kind of messages appear when we run `tools/refresh.sh` in our CI. Will track down some more.
   
   ```text
   ./tools/refresh.sh --silent c5471evm/httpd
     Normalize c5471evm/httpd
   /usr/bin/bash: line 1: arm-nuttx-eabi-g++: command not found
   ```
   
   https://github.com/lupyuen5/label-nuttx/actions/runs/11343543363/job/31546412794
   


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


Re: [I] [BUG] ci output "/usr/bin/bash: line 1: p32-g++: command not found" [nuttx]

Posted by "simbit18 (via GitHub)" <gi...@apache.org>.
simbit18 commented on issue #14374:
URL: https://github.com/apache/nuttx/issues/14374#issuecomment-2444743819

   > or we add nuttx toolchain to docker image?
   
   This might be a good alternative to remove the warning. However, being busy with my work, I have little time to test and add in the docker image.
   
   


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


Re: [I] [BUG] ci output "/usr/bin/bash: line 1: p32-g++: command not found" [nuttx]

Posted by "lupyuen (via GitHub)" <gi...@apache.org>.
lupyuen commented on issue #14374:
URL: https://github.com/apache/nuttx/issues/14374#issuecomment-2441122253

   Sorry @simbit18: Would you have any idea why [tools/refresh.sh](https://github.com/apache/nuttx/blob/master/tools/refresh.sh) is showing this message? Thanks!


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


Re: [I] [BUG] ci output "/usr/bin/bash: line 1: p32-g++: command not found" [nuttx]

Posted by "simbit18 (via GitHub)" <gi...@apache.org>.
simbit18 commented on issue #14374:
URL: https://github.com/apache/nuttx/issues/14374#issuecomment-2444558930

   @xiaoxiang781216 I don't think so.


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


Re: [I] [BUG] ci output "/usr/bin/bash: line 1: p32-g++: command not found" [nuttx]

Posted by "simbit18 (via GitHub)" <gi...@apache.org>.
simbit18 commented on issue #14374:
URL: https://github.com/apache/nuttx/issues/14374#issuecomment-2441295791

   I need to understand better but this warning seems related to the TOOLCHAIN change
   
   Disabling CONFIG_ARM_TOOLCHAIN_BUILDROOT
   Enabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
   
   https://nuttx.apache.org/docs/latest/platforms/arm/c5471/boards/c5471evm/index.html
   3. By default, all configurations assume the NuttX Buildroot toolchain
        under Linux (should work under Windows with Cygwin as well).  This
        is easily reconfigured:
   
           CONFIG_HOST_LINUX=y
           CONFIG_ARM_TOOLCHAIN_BUILDROOT=y
   


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