Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
freecad-1.0_rc1 build fails to a dependency
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3344

PostPosted: Sat Sep 21, 2024 8:16 pm    Post subject: freecad-1.0_rc1 build fails to a dependency Reply with quote

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
View user's profile Send private message
AndrewAmmerlaan
Developer
Developer


Joined: 25 Jun 2014
Posts: 379
Location: Nijmegen

PostPosted: Sun Sep 22, 2024 2:28 pm    Post subject: Reply with quote

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.8.10-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
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3344

PostPosted: Sun Sep 22, 2024 7:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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