Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 580042

Summary: kde-plasma/kwin-5.6.2 fails to build against sys-libs/glibc-2.23-r1
Product: Gentoo Linux Reporter: jospezial <jospezial>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: phantom4
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 575232    

Description jospezial 2016-04-15 07:25:28 UTC
/var/tmp/portage/kde-plasma/kwin-9999/work/kwin-9999/logind.cpp: In member function ‘int KWin::LogindIntegration::takeDevice(const char*)’:
/var/tmp/portage/kde-plasma/kwin-9999/work/kwin-9999/logind.cpp:273:65: error: ‘major’ was not declared in this scope
     message.setArguments(QVariantList({QVariant(major(st.st_rdev)), QVariant(minor(st.st_rdev))}));
                                                                 ^
/var/tmp/portage/kde-plasma/kwin-9999/work/kwin-9999/logind.cpp:273:94: error: ‘minor’ was not declared in this scope
     message.setArguments(QVariantList({QVariant(major(st.st_rdev)), QVariant(minor(st.st_rdev))}));
                                                                                              ^
/var/tmp/portage/kde-plasma/kwin-9999/work/kwin-9999/logind.cpp:273:97: error: no matching function for call to ‘QList<QVariant>::QList(<brace-enclosed initializer list>)’
     message.setArguments(QVariantList({QVariant(major(st.st_rdev)), QVariant(minor(st.st_rdev))}));
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2016-04-15 09:13:01 UTC
Latest testing version in tree is affected too.
Comment 2 Marcus 2016-04-19 14:52:12 UTC
This is fixed for me with glibc-2.23-r2.
Comment 3 Johannes Huber (RETIRED) gentoo-dev 2016-04-19 14:57:12 UTC
(In reply to Marcus from comment #2)
> This is fixed for me with glibc-2.23-r2.

Because the patch for glibc future change is only included in -r1. Problem still exists in next release when patch is merged upstream.
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2016-04-19 18:00:05 UTC
Thanks all. Patch added downstream with KDE Plasma 5.6.3. Patch by Andreas Sturmlechner.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f9d0e9c17863c7e543d1262245a4e70ef52b43b