Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368279 - media-sound/sonic-visualiser-1.8 does not find qt4 qmake, tries to use qt3
Summary: media-sound/sonic-visualiser-1.8 does not find qt4 qmake, tries to use qt3
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-21 18:14 UTC by Jouni Rinne
Modified: 2011-11-26 16:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
sonic-visualiser-1.8 build.log (build.log,8.67 KB, text/plain)
2011-05-21 18:14 UTC, Jouni Rinne
Details
emerge --info (emerge_info,5.42 KB, text/plain)
2011-05-21 18:14 UTC, Jouni Rinne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jouni Rinne 2011-05-21 18:14:02 UTC
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.
Comment 1 Jouni Rinne 2011-05-21 18:14:53 UTC
Created attachment 274217 [details]
emerge --info
Comment 2 Rafał Mużyło 2011-05-21 21:16:00 UTC
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.
Comment 3 Tim Harder gentoo-dev 2011-05-22 03:47:54 UTC
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.
Comment 4 Talamona Francesco 2011-11-26 16:59:20 UTC
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