Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 730298 - media-gfx/digikam-6.4.0-r1 fails to build with qt-5.15.0 because of missing #includes
Summary: media-gfx/digikam-6.4.0-r1 fails to build with qt-5.15.0 because of missing #...
Status: RESOLVED DUPLICATE of bug 729446
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-06-30 21:03 UTC by Thomas Posch
Modified: 2020-06-30 22:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Add missing #includes for qt-5.15.0 (digikam_qt-5.15.0.patch,1.55 KB, patch)
2020-06-30 21:03 UTC, Thomas Posch
Details | Diff
emerge --info (emerge.info,23.02 KB, application/x-info)
2020-06-30 21:05 UTC, Thomas Posch
Details
build.log (digikam-6.4.0-r1:20200630-200201.log.gz,499.27 KB, application/gzip)
2020-06-30 21:06 UTC, Thomas Posch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Posch 2020-06-30 21:03:49 UTC
Created attachment 647250 [details, diff]
Add missing #includes for qt-5.15.0

media-gfx/digikam-6.4.0-r1 fails to build with qt-5.15.0 because of missing #includes in:
* core/dplugins/generic/view/presentation/opengl/presentationgl.cpp (QPainterPath & QPainterPathStroker)
* core/libs/dimg/filters/curves/curveswidget.cpp (QPainterPath)
* core/libs/dimg/filters/levels/histogrampainter.cpp (QPainterPath)

Attached patch adds the missing #includes.
Comment 1 Thomas Posch 2020-06-30 21:05:06 UTC
Created attachment 647252 [details]
emerge --info
Comment 2 Thomas Posch 2020-06-30 21:06:01 UTC
Created attachment 647254 [details]
build.log
Comment 3 Andreas Sturmlechner gentoo-dev 2020-06-30 21:06:29 UTC
Yes it does, upgrade to digikam-7.

*** This bug has been marked as a duplicate of bug 729446 ***
Comment 4 Andreas Sturmlechner gentoo-dev 2020-06-30 21:18:51 UTC
Thanks for the patch though, will add it with your credits after test-build finished successfully. :)
Comment 5 Thomas Posch 2020-06-30 22:35:21 UTC
I did try the easy way out and upgrade to digikam-7

Since media-libs/opencv USE="(-contrib) (-contribdnn)"
and digikam-7 DEPEND=">=media-libs/opencv-3.3.0:=[contrib,contribdnn]"
this went nowhere:
emerge: there are no ebuilds to satisfy ">=media-libs/opencv-3.3.0:=[contrib,contribdnn]".

Does this warrant a separate bug report?

Sorry for the duplicate, I failed to recognize that the default search dose not include resolved bugs. I did not spot it while reporting as well.
Comment 6 Andreas Sturmlechner gentoo-dev 2020-06-30 22:37:57 UTC
Both flags are stable-masked for opencv so a stable profile user would need to unmask the flags at first in /etc/portage/profile/package.use.stable.mask