Created attachment 441142 [details] build.log [ebuild N ] sys-cluster/slurm-2.6.3 USE="lua -maui -multiple-slurmd -munge -mysql -pam -perl -postgres -ssl -static-libs -torque -ypbind"
Created attachment 441144 [details] emerge --info
Ancient slurm version no longer in tree. Did you checked 16.05.02?
I've just tried the new version in the portage tree, it does not build either, but the bug is different. I'll submit a new report later.