https://bugs.kde.org/show_bug.cgi?id=365923
Bug ID: 365923 Summary: Solid udisks2 backend fails to compile on musl libc: dev_t requires sys/types.h Product: frameworks-solid Version: 5.24.0 Platform: Compiled Sources OS: Linux Status: UNCONFIRMED Severity: major Priority: NOR Component: general Assignee: lu...@kde.org Reporter: awil...@adelielinux.org CC: kdelibs-b...@kde.org The udisks2 backend of the Solid framework does not #include <sys/types.h>, which causes a compile-time error on the musl libc where dev_t is not defined in other headers. A patch is included that has solved this issue for us at Adélie Linux. Reproducible: Always Steps to Reproduce: 1. Use musl libc. 2. Attempt to build Solid. Actual Results: In file included from /usr/src/kde-frameworks/solid-5.21.0/work/solid-5.21.0/src/solid/devices/backends/udisks2/udisksdevice.cpp:24:0: /usr/src/kde-frameworks/solid-5.21.0/work/solid-5.21.0/src/solid/devices/backends/udisks2/udisksblock.h:48:5: error: ‘dev_t’ does not name a type dev_t m_devNum; ^ Expected Results: A successful build. -- You are receiving this mail because: You are watching all bug changes.