Bug 428921

Summary: error: ‘class KWayland::Client::DataOffer’ has no member named ‘accept’
Product: [Frameworks and Libraries] kwayland Reporter: Parker Reed <parker.l.reed>
Component: serverAssignee: Martin Flöser <mgraesslin>
Status: RESOLVED FIXED    
Severity: normal CC: kde, kwin-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Build log

Description Parker Reed 2020-11-10 07:56:32 UTC
Created attachment 133191 [details]
Build log

Fails to build on latest master

Arch Linux
gcc 10.2.0-3


STEPS TO REPRODUCE
1. Clone kwayland-server from git
2. Build

OBSERVED RESULT

Errors out at a missing member

EXPECTED RESULT

Build successful
 
Log attached
Comment 1 David Edmundson 2020-11-10 09:39:48 UTC
Odd, builds here and on our CI

Can you confirm what frameworks you have?
Comment 2 Parker Reed 2020-11-10 09:46:40 UTC
plasma-framework-git r15640.8b7b4f74c-1

https://invent.kde.org/frameworks/plasma-framework/-/commit/8b7b4f74c6bdfd51fe9247fec28e71c377004045

Only does it if I leave the default cmake BUILD_TESTS enabled. Disabling tests lets it compile successfully.
Comment 3 Parker Reed 2020-11-21 06:18:19 UTC
This appears to be working now. Built fine on the same install with the default options.