https://bugs.winehq.org/show_bug.cgi?id=44327
--- Comment #2 from Zhenya Zenitur@yandex.ru --- I'd prepared a VirtualBox image to help you reproduce my bug. Download link: https://yadi.sk/d/AxWNQd1W3Pmtso Size: 2,6 Gb, unpacked size: 16 Gb. My file-roller archiver can't unpack it, so I'm using "xz -d SLE_11_SP4.vdi.xz" for that.
First of all, look on a screenshots: https://imgur.com/a/nYOBo
When I search "SCHED_IDLE" in my /usr/include, I'd found two files made in 2015 and 2017. Second file is a part of Glibc 2.17. So if downgrade Glibc to the default 2.11 version, the defined SCHED_IDLE will disappear.
Steps to reproduce this bug:
1). Open YAST2 (root password is "sourceengine2"). 2). Open "Repositories" tab and select "Glibc" 3). Delete glibc-extra 4). Switch all installed packages to their default versions 5). Delete libgnutls-devel (bug 43971). 6). Reboot the VM 6). Type:
cd /usr/src/packages/SPECS rpmbuild -ba --nodeps wine-staging.spec