View previous topic :: View next topic |
Author |
Message |
theluckyone17 n00b
Joined: 03 Dec 2005 Posts: 56
|
Posted: Thu Jan 09, 2025 12:47 am Post subject: kde-apps/spectacle-24.08.3 fails build |
|
|
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 |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 2099
|
Posted: Thu Jan 09, 2025 12:50 am Post subject: |
|
|
The error is:
Code: |
[01m[K/var/tmp/portage/kde-apps/spectacle-24.08.3/work/spectacle-24.08.3/src/QtCV.h:61:16:[m[K [01;31m[Kerror: [m[Kcould not convert ‘[01m[Knullptr[m[K’ from ‘[01m[Kstd::nullptr_t[m[K’ to ‘[01m[Kcv::Ptr<cv::Mat>[m[K’
61 | return [01;31m[Knullptr[m[K;
| [01;31m[K^~~~~~~[m[K
| [01;31m[K|[m[K
| [01;31m[Kstd::nullptr_t[m[K
At global scope:
|
What version of media-libs/opencv is installed? |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 2099
|
Posted: Thu Jan 09, 2025 12:51 am Post subject: |
|
|
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 |
|
|
theluckyone17 n00b
Joined: 03 Dec 2005 Posts: 56
|
Posted: Thu Jan 09, 2025 1:35 am Post subject: |
|
|
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.
I know just enough to get myself in trouble...
Thanks for the help! |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23034
|
Posted: Thu Jan 09, 2025 1:46 am Post subject: |
|
|
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 |
|
|
|