#756302 qtchooser breaks many many existing configuration scripts.

Package:
qtchooser
Source:
qtchooser
Description:
Wrapper to select between Qt development binary versions
Submitter:
Carlo Wood
Date:
2015-04-15 14:03:20 UTC
Severity:
important
#756302#5
Date:
2014-07-28 14:56:23 UTC
From:
To:
Dear Maintainer,

since I installed qtchooser, *every* project that uses qt has been
broken. The reason for that is that they run 'qmake' in order to
find out if it exists (and/or for an other query), but the 'qmake'
that is found (in the PATH) is (obviously) /usr/bin/qmake, which
is a symlink to qtchooser, which exits with an error (error code 1):

$ qmake
qmake: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/qmake': No such file or directory
$ echo $?
1

which then results in the configure script of that project to abort.

It doesn't seem an option to install whatever provides
/usr/lib/i386-linux-gnu/qt4/bin/qmake because that wants to delete half
of my (64bit) OS.

#756302#10
Date:
2014-07-28 15:13:03 UTC
From:
To:
forcemerge 712264 756302
thanks

On Monday 28 July 2014 16:56:23 Carlo Wood wrote:
[snip]

Hi Carlo! We have multiple issues here.

For a part of it, the real bug, is what #712264 "Does not depends on the
binaries it masks" is about. I'm so merging this bug with the aforementioned
one. Sadly this is wontfix.

Now let's take a look at the other part of your report.

If qtchooser is looking for /usr/lib/i386-linux-gnu/qt4/bin/qmake is because
you might have qt4:i386 stuff installed. Run qtchooser -l to see which
configurations you have at hand.

If you want to build qt4 stuff on amd64 you need libqt4-dev:amd64 installed.

This part is definitely not a bug but part of what qtchooser does. Feel free
to ask in debian-kde@lists.debian.org or in #debian-kde if in doubt.

Kinds regards, Lisandro.

#756302#21
Date:
2014-07-28 15:13:03 UTC
From:
To:
forcemerge 712264 756302
thanks

On Monday 28 July 2014 16:56:23 Carlo Wood wrote:
[snip]

Hi Carlo! We have multiple issues here.

For a part of it, the real bug, is what #712264 "Does not depends on the
binaries it masks" is about. I'm so merging this bug with the aforementioned
one. Sadly this is wontfix.

Now let's take a look at the other part of your report.

If qtchooser is looking for /usr/lib/i386-linux-gnu/qt4/bin/qmake is because
you might have qt4:i386 stuff installed. Run qtchooser -l to see which
configurations you have at hand.

If you want to build qt4 stuff on amd64 you need libqt4-dev:amd64 installed.

This part is definitely not a bug but part of what qtchooser does. Feel free
to ask in debian-kde@lists.debian.org or in #debian-kde if in doubt.

Kinds regards, Lisandro.

#756302#26
Date:
2014-09-17 12:57:51 UTC
From:
To:
Hello,

qtcreator won't install on debian wheezy-backports
because of modifications/new choices in qtchooser...

PLEASE ENSURE backports DO NOT BREAKS stable packages PLEASE !!!!!

This is bad for Debian !