Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 621420 - media-gfx/krita-3.1.4 with Qt 5.9.0: QForeachContainer: No such file or directory
Summary: media-gfx/krita-3.1.4 with Qt 5.9.0: QForeachContainer: No such file or direc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://phabricator.kde.org/R37:2f59d...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2017-06-10 17:33 UTC by Vasco Gervasi
Modified: 2017-07-01 13:41 UTC (History)
1 user (show)

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


Attachments
build.log (build.zip,375.39 KB, application/zip)
2017-06-10 17:34 UTC, Vasco Gervasi
Details
emerge --info (emerge.info,17.60 KB, text/plain)
2017-06-10 17:34 UTC, Vasco Gervasi
Details
build.log - EN (build.zip,287.37 KB, application/zip)
2017-06-10 20:05 UTC, Vasco Gervasi
Details
Patch from Fedora (1094-Drop-QForeachContainer-include-and-fix-Qt-5.9-build.patch,737 bytes, patch)
2017-06-29 19:55 UTC, Vasco Gervasi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vasco Gervasi 2017-06-10 17:33:55 UTC
Hi,
due to an update to media-gfx/exiv2-0.26, requires to remerge krita-3.1.4 but gives me this error:

/var/tmp/portage/media-gfx/krita-3.1.4/work/krita-3.1.4/libs/ui/KisResourceBundleManifest.cpp:25:10: fatal error: QForeachContainer: File o directory non esistente
 #include <QForeachContainer>
          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [libs/ui/CMakeFiles/kritaui.dir/build.make:8443: libs/ui/CMakeFiles/kritaui.dir/KisResourceBundleManifest.cpp.o] Error 1
make[2]: *** Attesa per i processi non terminati....
make[2]: uscita dalla directory "/var/tmp/portage/media-gfx/krita-3.1.4/work/krita-3.1.4_build"
make[1]: *** [CMakeFiles/Makefile2:15674: libs/ui/CMakeFiles/kritaui.dir/all] Error 2
make[1]: uscita dalla directory "/var/tmp/portage/media-gfx/krita-3.1.4/work/krita-3.1.4_build"
make: *** [Makefile:141: all] Error 2

Thanks
Comment 1 Vasco Gervasi 2017-06-10 17:34:17 UTC
Created attachment 475926 [details]
build.log
Comment 2 Vasco Gervasi 2017-06-10 17:34:45 UTC
Created attachment 475928 [details]
emerge --info
Comment 3 Jonas Stein gentoo-dev 2017-06-10 19:48:59 UTC
Please make sure you always include error messages in English, even when your system language is set to something else. You can temporarily switch to English locale by prepending LC_ALL=C to the emerge command like this:
root #LC_ALL=C emerge sys-apps/foobar2

https://wiki.gentoo.org/wiki/Bugzilla/Guide#Set_locale_to_C_or_English

Did you recently upgrade gcc? Perhaps you need to rebuild a few more packages
https://wiki.gentoo.org/wiki/Upgrading_GCC
Comment 4 Vasco Gervasi 2017-06-10 20:05:53 UTC
Created attachment 475944 [details]
build.log - EN
Comment 5 Vasco Gervasi 2017-06-10 20:07:02 UTC
I don't think is gcc-7.1.0.
Infact I already compiled krita with this new version:

Sun May  7 18:49:43 2017 >>> sys-devel/gcc-7.1.0
Wed May 10 21:26:13 2017 >>> sys-devel/gcc-7.1.0-r1
Wed May 17 17:27:40 2017 >>> sys-devel/gcc-7.1.0-r1


Sat May 27 17:13:03 2017 >>> media-gfx/krita-3.1.4
Comment 6 Andreas Sturmlechner gentoo-dev 2017-06-10 20:10:55 UTC
Since you've added Qt overlay, what version of Qt is that?
Comment 7 Vasco Gervasi 2017-06-10 20:11:52 UTC
5.9.0
Comment 8 Andreas Sturmlechner gentoo-dev 2017-06-10 20:14:53 UTC
You know, that's the kind of vital information I expect in the top post.


# qt/profiles/package.mask
# Michael Palimaka <kensington@gentoo.org> (25 Jan 2017)
# Untested work in progress.
# Guaranteed to break your system horribly or your money back.
Comment 9 Vasco Gervasi 2017-06-10 20:17:09 UTC
I am sorry.
Comment 10 Vasco Gervasi 2017-06-10 20:18:19 UTC
I thought it was written in the emerge --info.
Comment 11 Andreas Sturmlechner gentoo-dev 2017-06-10 20:23:16 UTC
My point being that we do not even have to start speculating about what is the prime suspect on any Qt-related software bug that you file with 5.9.0 installed.
Comment 12 Vasco Gervasi 2017-06-29 19:55:57 UTC
Created attachment 478356 [details, diff]
Patch from Fedora

I found this patch from Fedora:

http://git.net/ml/scm-fedora-commits/2017-05/msg13090.html

that seems to work.

Thanks
Comment 13 Vasco Gervasi 2017-06-29 19:56:26 UTC
Fixed by attached patch.
Comment 14 Andreas Sturmlechner gentoo-dev 2017-07-01 13:41:55 UTC
Thanks for the follow-up, added the patch to tree in git commit a9d8edad93cd754f53112207483258f467ce1e27