MSYS provided protobuf version 3.16 is quite old and causes issues during build of !78 (merged) (see also #128 (closed)).
We should upgrade to a newer protobuf version (via conan).
Designs
Child items
0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items
0
Link issues together to show that they're related or that one is blocking others.
Learn more.
For the local use of conan (building openPASS with MSYS and conan), Michael and I decided to disable the conan center, where conan tries to download artifacts instead of builing FMI and OSI. But may we could use conan as pacman alternative for the CI?
And another update.. - I just realized that this (the latest status of conan for openPASS) is on this branch!72 (merged) which was not merged end of 2021.
I tried to locally build the openPASS v0.9 "release candidate" with Conan, but I get this error:
ERROR: OSI/3.3.1: Invalid configuration: WORKSPACE environment variable has to be set
I figured that this WORKSPACE is set in the CI script 15_prepare_thirdParty.sh - which I don't need for building openPASS with Conan. Is there any way to set it manually?
I have to admit, I only had the shell script CI build in mind when applying recent changes. Never built openPass itself using conan. You should be able to build locally by mimicking the CI environment and using the shell script based build:
Create a workspace folder (e.g. ~/op-workspace)
Checkout of repository in repo subfolder (e.g. `~/op-workspace/repo)
run ~/op-workspace/repo/utils/ci/scripts/run_all.sh
The WORKSPACE environment variable is currently required to be able to point the OSI conan build to the protobuf installation (outside of the conan profile/cache directories). Otherwise we didn't manage to use unmodified versions of the protobuf recipes. But maybe we have to look into that again.
Do you consider a working openPASS conan build as mandatory for 0.9?
No, a working Conan build is not necessary for 0.9. The supported / suggested way to build openPASS is with Cmake. In the WG, we discussed to list further options, if they are stable and useful.