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.
Created attachment 100224 [details] Add #include <sys/types.h> to udisksblock.h
Fixed in https://cgit.kde.org/solid.git/commit/?id=2382c3f8d3669c473130f4baefb68d244dcb5cbc