Building mbed os in an offline environment is not possible because of the mandatory greentea-client defined in /extern/CMakeLists.txt even if no BUILD_GREENTEA_TESTS is defined
[1/9] Creating directories for 'greentea-client-populate'
[1/9] Performing download step (git clone) for 'greentea-client-populate'
Cloning into 'greentea-client-src'...
fatal: unable to access 'https://github.com/ARMmbed/greentea-client.git/': Failed to connect to github.com port 443: Connection timed out
Cloning into 'greentea-client-src'...
fatal: unable to access 'https://github.com/ARMmbed/greentea-client.git/': Failed to connect to github.com port 443: Connection timed out
Cloning into 'greentea-client-src'...
fatal: unable to access 'https://github.com/ARMmbed/greentea-client.git/': Failed to connect to github.com port 443: Connection timed out
-- Had to git clone more than once:
3 times.
CMake Error at greentea-client-subbuild/greentea-client-populate-prefix/tmp/greentea-client-populate-gitclone.cmake:31 (message):
Failed to clone repository:
'https://github.com/ARMmbed/greentea-client.git'
Target(s) affected by this defect ?
all targets
Toolchain(s) (name and version) displaying this defect ?
mbed-tools --version
7.53.0
What version of Mbed-os are you using (tag or sha) ?
mbed-os: 6.15.1
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
Description of defect
Building mbed os in an offline environment is not possible because of the mandatory greentea-client defined in /extern/CMakeLists.txt even if no BUILD_GREENTEA_TESTS is defined
resulting the following error:
Target(s) affected by this defect ?
all targets
Toolchain(s) (name and version) displaying this defect ?
What version of Mbed-os are you using (tag or sha) ?
mbed-os: 6.15.1
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
How is this defect reproduced ?
disconnect internet, clean build mbed os project