open-simulation-platform / libcosim

OSP C++ co-simulation library
https://open-simulation-platform.github.io/libcosim
Mozilla Public License 2.0
53 stars 10 forks source link

GCC8 runner failing #706

Closed markaren closed 1 year ago

markaren commented 2 years ago
Run docker run --rm --env GITHUB_REF="$GITHUB_REF" -v $(pwd):/mnt/source:ro osp-builder
#!/bin/bash -v
set -eu
cd /mnt/source
conan remote add osp https://osp.jfrog.io/artifactory/api/conan/conan-local --force
WARN: Remotes registry file missing, creating default one in /home/conan/.conan/remotes.json
REFNAME="${GITHUB_REF#refs/*/}"
VERSION="v$(<version.txt)"
if [[ $GITHUB_REF == refs/tags/* ]] && [[ $REFNAME == $VERSION ]]; then CHANNEL="stable"
elif [[ $REFNAME == master ]]; then CHANNEL="testing"
else
  SHORT_REFNAME="${REFNAME:0:[4](https://github.com/open-simulation-platform/libcosim/runs/7018928043?check_suite_focus=true#step:6:5)0}"
  CHANNEL="testing-${SHORT_REFNAME//\//_}"
fi
conan create -s build_type=Debug -s compiler.version=8 -s compiler.libcxx=libstdc++11 -o proxyfmu=True -o shared=False -b missing . osp/${CHANNEL}
Auto detecting your dev setup to initialize the default profile (/home/conan/.conan/profiles/default)
CC and CXX: /usr/bin/gcc, /usr/bin/g++ 
Found gcc 8
gcc>=[5](https://github.com/open-simulation-platform/libcosim/runs/7018928043?check_suite_focus=true#step:6:6), using the major as version
************************* WARNING: GCC OLD ABI COMPATIBILITY ***********************
Conan detected a GCC version > 5 but has adjusted the 'compiler.libcxx' setting to
'libstdc++' for backwards compatibility.
Your compiler is likely using the new CXX11 ABI by default (libstdc++11).
If you want Conan to use the new ABI for the default profile, run:
    $ conan profile update settings.compiler.libcxx=libstdc++11 default
Or edit '/home/conan/.conan/profiles/default' and set compiler.libcxx=libstdc++11
************************************************************************************
Default settings
    os=Linux
    os_build=Linux
    arch=x8[6](https://github.com/open-simulation-platform/libcosim/runs/7018928043?check_suite_focus=true#step:6:7)_64
    arch_build=x[8](https://github.com/open-simulation-platform/libcosim/runs/7018928043?check_suite_focus=true#step:6:9)6_64
    compiler=gcc
    compiler.version=8
    compiler.libcxx=libstdc++
    build_type=Release
*** You can change them in /home/conan/.conan/profiles/default ***
*** Or override with -s compiler='other' -s ...s***
Exporting package recipe
libcosim/0.[10](https://github.com/open-simulation-platform/libcosim/runs/7018928043?check_suite_focus=true#step:6:11).0@osp/testing-update-yaml-cpp exports: Copied 1 '.txt' file: version.txt
[HOOK - attribute_checker.py] pre_export(): WARN: Conanfile doesn't have 'url'. It is recommended to add it as attribute
[HOOK - attribute_checker.py] pre_export(): WARN: Conanfile doesn't have 'license'. It is recommended to add it as attribute
[HOOK - attribute_checker.py] pre_export(): WARN: Conanfile doesn't have 'description'. It is recommended to add it as attribute
ERROR: '/mnt/source' is not a valid 'git' repository or 'git' not found.
Error: Process completed with exit code 1.
markaren commented 2 years ago

The reason why we have gcc8 is because some of the OSP partners use it right? Otherwise remove it?