Created attachment 274215 [details] sonic-visualiser-1.8 build.log Building sonic-visualiser-1.8 breaks because it fails to find qt4 qmake, trying to use qt3 qmake instead. checking for qmake-qt4... no checking for qmake... /usr/qt/3/bin/qmake Qmake version: 1.07a (Qt 3.3.8b) Qmake is free software from Trolltech ASA. configure: WARNING: *** The version of qmake found in "/usr/qt/3/bin/qmake" looks like it might be from the wrong version of Qt (Qt4 is required). Please check that this is the correct version of qmake for Qt4 builds. I suppose this happens only on systems with both qt3 and qt4 installed.
Created attachment 274217 [details] emerge --info
Well, while the macro they use is a bit error prone and in other part at least potentially broken (in et_EE locale), it doesn't change the fact, that kde-sunset is explicitly unsupported.
Closing as wontfix since we don't support kde-sunset as mentioned in comment 2. However, don't let that dissuade you from fixing the macro and pushing it upstream if having a system with both qt3/qt4 is that important to you.
Here's a 4 step work-around: 1) make sure you have qmake from qt4: /usr/bin/qmake -v QMake version 2.01a Using Qt version 4.7.2 in /usr/lib64/qt4 2) put aside old qmake and replace it mv /usr/qt/3/bin/qmake /usr/qt/3/bin/qmake.bak ln -s /usr/bin/qmake /usr/qt/3/bin/qmake 3) emerge sonic-visualizer emerge sonic-visualiser 4) rollback qmake rm /usr/qt/3/bin/qmake mv /usr/qt/3/bin/qmake.bak /usr/qt/3/bin/qmake