View previous topic :: View next topic |
Author |
Message |
szatox Advocate
Joined: 27 Aug 2013 Posts: 3432
|
Posted: Sat Sep 21, 2024 8:16 pm Post subject: freecad-1.0_rc1 build fails to a dependency |
|
|
Code: | CMake Error at tests/CMakeLists.txt:9 (message):
The Google Test submodule is not available. Please run git submodule
update --init
|
I looked around on the internet a bit, and it looks like freecad is not even supposed to build tests as a part of user's build, so this dependency should be optional, and I don't really want to just pull it.
Still, it's been a few days since 1.0_rc1 got pushed to ::gentoo repo and I haven't seen anyone talking about this build failing, so I wonder if it's just me. _________________ Make Computing Fun Again |
|
Back to top |
|
|
Nowa Developer
Joined: 25 Jun 2014 Posts: 429 Location: Nijmegen
|
Posted: Sun Sep 22, 2024 2:28 pm Post subject: |
|
|
The ebuild has
Code: | -DBUILD_TEST=ON # always build test workbench for run-time testing |
Which would explain why it is trying to build this.
Can you please verify that installing dev-cpp/gtest resolves the problem?[/quote] _________________ OS: Gentoo 6.10.12-gentoo-dist, ~amd64, 23.0/desktop/plasma/systemd
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400 |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3432
|
Posted: Sun Sep 22, 2024 7:04 pm Post subject: |
|
|
Yes, with gtest installed it does build.
Funny thing, I had gtest binary package in cache, so something must have depended on it in the past. I kinda wonder what pulled it previously, since update from earlier version of freecad failed before I unmerged it and purged its dependencies to let emerge run unencumbered. Oh, well... Doesn't really matter, it's just a little something I noticed there. _________________ Make Computing Fun Again |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|