Created attachment 825437 [details] tools-Fix-build-after-y2038-changes-in-glibc.patch (In reply to Max Lin from comment #2) > Since bluez moved to another staging, the build fail log is now at > https://build.opensuse.org/package/show/openSUSE:Leap:15.2:Staging:N/bluez [ 106s] tools/rctest.c:507:19: error: 'SIOCGSTAMP' undeclared (first use in this function); did you mean 'SIOCGARP'? [ 106s] if (ioctl(sk, SIOCGSTAMP, &tv) < 0) { [ 106s] ^~~~~~~~~~ [ 106s] SIOCGARP [ 106s] tools/rctest.c:507:19: note: each undeclared identifier is reported only once for each function it appears in [ 106s] make[1]: *** [Makefile:5707: tools/rctest.o] Error 1 [ 106s] make[1]: *** Waiting for unfinished jobs.... [ 111s] make: *** [Makefile:3180: all] Error 2 [ 111s] error: Bad exit status from /var/tmp/rpm-tmp.WfRnTp (%build) f36f71f60 tools: Fix build after y2038 changes in glibc (tags/5.51) The 32-bit SIOCGSTAMP has been deprecated. Use the deprecated name to fix the build.