Building rev 5866 on Ubuntu Trusty amd64 I get the following error (which seems not to matter, but I'm relating it anyway):

scripts/os-detect.sh: 12: [: Ubuntu: unexpected operator
scripts/os-detect.sh: 12: [: Ubuntu: unexpected operator
Configuring build of QMC2 v0.44