Today's #Gentoo fun:
tmux fails to build with #libevent 2.2.1. It fails because of incompatible declaration of forkpty() in compat.h.
Looking into compat.h. forkpty() is declared there if HAVE_FORKPTY is false.
Looking into config.log. forkpty() is false because configure tries to link random test programs to -levent_core@CMAKE_DEBUG_POSTFIX@.
At this point, you can guess what the problem is: https://github.com/libevent/libevent/issues/1459
#gentoo #libevent #cmake #autotols