[riot-notifications] [RIOT-OS/RIOT] print_toolchain_versions: print system and make's default shell. (#10991)

Juan I Carrano notifications at github.com
Mon Feb 11 17:00:40 CET 2019

### Contribution description

Some systems use dash as system shell, others use bash. The shell used by make can also be different, and unrelated to the system shell. Differences in this variable can cause problems when testing PRs and
reporting bugs.

The default shell is important system information that should be reported.

I had several instances where code would work on my machine but travis would reject it. Recently #10889 showed what can happen when people use different shells.

### Testing procedure

Run `dist/tools/ci/print_toolchain_versions.sh`. Report your results.

<details><summary>Result on my system</summary>

Operating System Environment
       Operating System: "Arch Linux" 
                 Kernel: Linux 4.20.6-arch1-1-ARCH x86_64 unknown
           System shell: /usr/bin/bash
           make's SHELL: /usr/bin/bash

Installed compiler toolchains
             native gcc: gcc (GCC) 8.2.1 20181127
      arm-none-eabi-gcc: arm-none-eabi-gcc (Arch Repository) 8.2.0
                avr-gcc: missing
       mips-mti-elf-gcc: missing
             msp430-gcc: missing
   riscv-none-embed-gcc: missing
   xtensa-esp32-elf-gcc: missing
   xtensa-lx106-elf-gcc: missing
                  clang: clang version 7.0.1 (tags/RELEASE_701/final)

Installed compiler libs
   arm-none-eabi-newlib: "3.0.0"
    mips-mti-elf-newlib: missing
riscv-none-embed-newlib: missing
xtensa-esp32-elf-newlib: missing
xtensa-lx106-elf-newlib: missing
               avr-libc: missing (missing)

Installed development tools
                  cmake: cmake version 3.13.4
               cppcheck: Cppcheck 1.86
                doxygen: 1.8.15
                 flake8: 3.7.4 (mccabe: 0.6.1, pycodestyle: 2.5.0, pyflakes: 2.1.0) CPython 3.7.2 on Linux
                    git: git version 2.20.1
                   make: GNU Make 4.2.1
                openocd: Open On-Chip Debugger 0.10.0
                 python: Python 3.7.2
                python2: Python 2.7.15
                python3: Python 3.7.2
             coccinelle: missing


### Issues/PRs references

Part of #10990 .

You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * print_toolchain_versions: print system and make's default shell.

-- File Changes --

    M dist/tools/ci/print_toolchain_versions.sh (12)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190211/3dfa87f3/attachment.html>

More information about the notifications mailing list