Summary: | kde-plasma/kwin-5.8.4 : /.../logind.cpp:315:65: error: ‘major’ was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | josef64 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://git.reviewboard.kde.org/r/127662/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 575232 | ||
Attachments: |
emerge-history.txt
environment etc.portage.tbz2 kde-plasma:kwin-5.8.4:20161219-194043.log Quick&Dirty Patch to compile kwin-5.8.4 |
Description
Toralf Förster
2016-12-19 19:55:18 UTC
Created attachment 456776 [details]
emerge-history.txt
Created attachment 456778 [details]
environment
Created attachment 456780 [details]
etc.portage.tbz2
Created attachment 456782 [details]
kde-plasma:kwin-5.8.4:20161219-194043.log
Same PRoblem here, since emerge world update even kwin-5.8.3 (Which i have installed) won't build with the same error. Think the Problem is in one of the Updated Packages. (In reply to Oliver Hildebrandt from comment #5) > Same PRoblem here, since emerge world update even kwin-5.8.3 (Which i have > installed) won't build with the same error. Think the Problem is in one of > the Updated Packages. Even if i downgrade the qt5 libs to 5.6.X Versions this error occur, so it looks like it's not qt related. It is glibc related, see blocked bug. Created attachment 457376 [details, diff]
Quick&Dirty Patch to compile kwin-5.8.4
I have added the "#include <sys/sysmacros.h>" statement to logind.cpp. It compiled successful, when i finish my emerge world in the next few hours i will post a comment if kwin is running without Problems (In first sight).
(In reply to Oliver Hildebrandt from comment #8) > Created attachment 457376 [details, diff] [details, diff] > Quick&Dirty Patch to compile kwin-5.8.4 > > I have added the "#include <sys/sysmacros.h>" statement to logind.cpp. It > compiled successful, when i finish my emerge world in the next few hours i > will post a comment if kwin is running without Problems (In first sight). Patch works, kwin is running. Andreas previously landed a patch like this upstream, but it was since backed out because it broke build on FreeBSD. Can we please add this portage? It's quite annoying to put each and every new kwin ebuild into a separate overlay just to get kwin compiled. (In reply to Lars Wendler (Polynomial-C) from comment #11) > Can we please add this portage? It's quite annoying to put each and every > new kwin ebuild into a separate overlay just to get kwin compiled. Also note that all KDE ebuilds support epatch_user. Gave upstream another push and added proposed fix to Portage, git commit 35c1419142a37a2be44c1a66d91f57b9b84382b8 |