Open petronny opened 1 year ago
Building cork with g++
instead of the default clang++
fixes the problem.
The latest AUR should fix this.
The error still exists: https://github.com/arch4edu/cactus/actions/runs/5745740445/job/15574181043
Still exists.
Also having this issue:
Apparently, commit https://github.com/bartoszek/AUR-cloudcompare/commit/8159e2b579f7da38abdb2b093a7c3cb7182b8970# causes this issue; By just re-adding CXX="g++"
it builds fine.
diff --git a/PKGBUILD b/PKGBUILD
index b93f398..8555512 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -117,7 +117,7 @@ build() {
-DJsonCpp_LIBRARY=/usr/lib
)
msg2 "Build Cork lib"
- make -C "${srcdir}/${name}-cork" CXXFLAGS="$CXXFLAGS -DSUPPORT_TOPO_STREAM_OPERATORS -fPIC"
+ make -C "${srcdir}/${name}-cork" CXXFLAGS="$CXXFLAGS -DSUPPORT_TOPO_STREAM_OPERATORS -fPIC" CXX="g++"
msg2 "Build CloudCompare"
cmake -B build -S "${srcdir}/${name}" -G Ninja "${CMAKE_FLAGS[@]}"
# shellcheck disable=SC2086 # allow slitting for MAKEFLAGS carrying multiple flags.
https://github.com/arch4edu/cactus/actions/runs/3583606576/jobs/6033047190