The new asapcat component is built on all platforms but will not compile on Windows since there is no fcntl function which breaks asapcat\session.cpp. Removing add_subdirectory(asapcat) from CMakeLists.txt allows akonadi to compile properly. Reproducible: Always Steps to Reproduce: 1. Compile akonadi on Windows (fail) 2. Remove 'add_subdirectory(asapcat)' from akonadi CMakeLists.txt 3. Compile akonadi on Windows (success!) Actual Results: Compilation fails Expected Results: Compilation succeeds Is there Qt solution to fcntl non-blocking pipes? Perhaps for now, if this isn't necessary functionality, asapcat could be disabled for WIN32 until a cross-platform version is available.
Building asapcat on Windows has been disabled (some time ago). There does not seem to be any simple drop-in alternative to fcntl for Windows, but since it's a developer tool and all devs are using Linux right now, it's probably not a big problem.