Description:
Source file include/hash.h is required for building mydumper tool (and I guess many others). But this file is not included in mysql-community-devel package.
Tested with CentOS 7 and MySQL 5.6.27.
How to repeat:
Try to build from sources mydumper tool (https://launchpad.net/mydumper) on centos/redhat developer machine with installed mysql-community-devel package from official mysql repo.
wget https://launchpad.net/mydumper/0.9/0.9.1/+download/mydumper-0.9.1.tar.gz
tar xzvf mydumper-0.9.1.tar.gz
cd mydumper-0.9.1
cmake -DWITH_BINLOG=ON
make
...
[ 14%] Building C object CMakeFiles/mydumper.dir/binlog.c.o
In file included from /opt/mydumper-0.9.1/binlog.c:27:0:
/usr/include/mysql/sql_common.h:26:18: fatal error: hash.h: No such file or directory
#include <hash.h>
Suggested fix:
It would be best to add include/hash.h is the mysql-community-devel package.
Simple workaround is getting hash.h file from the source (e.g. mysql-5.6.27.tar.gz) and putting it in /usr/include/mysql/.