Packages possibly broken by linux-5.2 headers
|Reported by:||Owned by:||blfs-book|
Although qt, qtwebengine, bluez have already been fixed for the SIOCGSTAMP change in linux-5.2, this is a general ticket (to keep open until we release 9.0) for other packages which might be affected.
Looking through my own local source files (some of which are old), and in the knowledge that firefox https://bugs.gentoo.org/689808 and qemu have been reported to be broken, here is a list of what I found - excepting qt, qtwebengine, bluez.
gcc, glibc - I assume these are false positives defining the ioctl. man-pages - clearly just documentation
strace and valgrind appear to define the values for every linux architecture, so false positives
./compiler-rt-8.0.0.src/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc: _(SIOCGSTAMP, WRITE, timeval_sz);
./compiler-rt-8.0.0.src/lib/sanitizer_common/sanitizer_platform_limits_posix.cc: unsigned IOCTL_SIOCGSTAMP = SIOCGSTAMP;
./compiler-rt-8.0.0.src/lib/sanitizer_common/sanitizer_platform_limits_posix.h: extern unsigned IOCTL_SIOCGSTAMP;
only the second of those should be changed, i.e. ' SIOCGSTAMP;'
./firefox-68.0/media/webrtc/trunk/webrtc/rtc_base/physicalsocketserver.cc: int ret = ioctl(socket, SIOCGSTAMP, &tv_ioctl);
(also in 69-beta)
./NetworkManager-1.16.0/src/systemd/src/libsystemd-network/sd-lldp.c: if (ioctl(fd, SIOCGSTAMPNS, &ts) >= 0)
NOTE: the NS variant (0x8907)
./qemu-3.1.0/linux-user/ioctls.h: IOCTL(SIOCGSTAMP, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timeval)))
./qemu-3.1.0/linux-user/ioctls.h: IOCTL(SIOCGSTAMPNS, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timespec)))
./qemu-3.1.0/linux-user/syscall_defs.h:#define TARGET_SIOCGSTAMP 0x8906 /* Get stamp (timeval) */
./qemu-3.1.0/linux-user/syscall_defs.h:#define TARGET_SIOCGSTAMPNS 0x8907 /* Get stamp (timespec) */
NOTE: both plain and NS
./thunderbird-60.7.2/media/webrtc/trunk/webrtc/base/physicalsocketserver.cc: int ret = ioctl(socket, SIOCGSTAMP, &tv_ioctl);
(I know that is definitely the old version, I don't have the current version at the moment)