sys-cluster/glusterfs when building checks for existence of libaio and builds in different way in both cases. So it should have aio USE-flag and persis libaio dependency to not be broken if libaio will be depclean-ed. Here is middle of output during package building after configure: =========================== FUSE client : yes Infiniband verbs : no epoll IO multiplex : yes argp-standalone : no fusermount : no readline : yes georeplication : yes Linux-AIO : yes As you see it have option for AIO. Also after build with libaio present it have such dependency: # ldd /usr/lib64/glusterfs/3.3.1/xlator/storage/posix.so | grep aio libaio.so.1 => /lib64/libaio.so.1 (0x00007fa5c3a46000)
... and there were some more: libxml2 and openssl. Solved in 3.4.0, thanks!