Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kde-apps/spectacle-24.08.3 fails build
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
theluckyone17
n00b
n00b


Joined: 03 Dec 2005
Posts: 56

PostPosted: Thu Jan 09, 2025 12:47 am    Post subject: kde-apps/spectacle-24.08.3 fails build Reply with quote

Spectacle is failing to build properly on my desktop, though it works fine on my laptop. Poring over the build.log, it's throwing a fit about an include directory not existing, */src/src. but */src appears to be included, so I'm not sure that's relevant. I'll take some time tomorrow to rebuild on the laptop and compare the build log, as well. Until then:
Build log: https://pastebin.com/tirUXP5D
emerge --info: https://pastebin.com/QsDpFnXE
emerge -pqv: https://pastebin.com/cffT29nL
environment: https://pastebin.com/tbhaLx9n
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2099

PostPosted: Thu Jan 09, 2025 12:50 am    Post subject: Reply with quote

The error is:
Code:

/var/tmp/portage/kde-apps/spectacle-24.08.3/work/spectacle-24.08.3/src/QtCV.h:61:16: error: could not convert ‘nullptr’ from ‘std::nullptr_t’ to ‘cv::Ptr<cv::Mat>’
   61 |         return nullptr;
      |                ^~~~~~~
      |                |
      |                std::nullptr_t
At global scope:


What version of media-libs/opencv is installed?
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2099

PostPosted: Thu Jan 09, 2025 12:51 am    Post subject: Reply with quote

Ah:
Quote:

-- Found OpenCV: /usr/local (found version "3.4.11") found components: core imgproc.


Please delete any junk you have in /usr/local.
Back to top
View user's profile Send private message
theluckyone17
n00b
n00b


Joined: 03 Dec 2005
Posts: 56

PostPosted: Thu Jan 09, 2025 1:35 am    Post subject: Reply with quote

Oh, not only are you quick, but you are good!

Uninstalling that local install of opencv resolved it. Spectacle built fine afterwards. I believe that local copy was involved in my attempt to get a recent version of OpenTrack working with the neuralnet tracker. I'll find out if it was important the next time I go to rebuild it. :lol:

I know just enough to get myself in trouble...

Thanks for the help!
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23034

PostPosted: Thu Jan 09, 2025 1:46 am    Post subject: Reply with quote

If you need a special version of a package, either put it in your home directory or wrap it in an ebuild so that Portage knows about it and can take it into account for dependency resolution.
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