See attached build log. (Please do not complain about the need for looking at the build log until you can provide an easy way to open bugs with the correct data picked out of a tinderbox log. Thanks.)
Created attachment 244571 [details] Build log
Attaching patches for bpmdetect-0.6.1 ebuild and SConscript. Thanks.
Created attachment 254085 [details, diff] bpmdetect-0.6.1.ebuild-ldflags.patch
Created attachment 254087 [details, diff] bpmdetect-0.6.1-SConscript.patch
Please add the patches to the tree.
Compile line: x86_64-pc-linux-gnu-g++ -o build/moc_dlgtestbpm.o -c -march=native -mtune=native -O2 -pipe -frecord-gcc-switches -fdiagnostics-color=always -Wformat -Werror=format-security -DQT_GUI_LIB -DNDEBUG -DNO_DEBUG -DHAVE_TAGLIB -DQT_SHARED -I/usr/include/taglib -Ibuild -Isrc -I. -Iincludes -I/usr/lib64/include -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore build/moc_dlgtestbpm.cc Link line: x86_64-pc-linux-gnu-g++ -o build/bpmdetect -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--no-undefined build/progressbar.o build/qdroplistview.o build/dlgbpmdetect.o build/dlgtestbpm.o build/main.o build/BPMDetect.o build/PeakFinder.o build/FIFOSampleBuffer.o build/track.o build/trackproxy.o build/trackfmod.o build/moc_progressbar.o build/moc_qdroplistview.o build/moc_dlgbpmdetect.o build/moc_dlgtestbpm.o -L/usr/lib -Lbuild -Lsrc -Llibs -L/opt/fmodex/api/lib -L/usr/lib64/lib -L/usr/lib64/qt4 -ltag -lid3 -lfmodex -lz -lQtGui -lQtCore seems alright to me now. Thanks Gavin for the patch. commit cfb62d0d06d25269c935b7029a1ca656ceecf86f Author: David Seifert <soap@gentoo.org> Date: Wed Jan 27 19:42:56 2016 +0100 media-sound/bpmdetect: Add patch to respect user flags Gentoo-Bug: 334465 * EAPI=6 * Added patch by Gavin Pryke to respect all user flags * Fixed QA issues caused by non-compliant .desktop file * Fixed QA issues caused by wrong printf() handling