rc-4-3-91: configure problem with qt4 / qcollectiongenerator

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

rc-4-3-91: configure problem with qt4 / qcollectiongenerator

jbect
Hi,

I have seen the following make failure on Debian stretch :

GEN      doc/interpreter/octave_interpreter.qch
qcollectiongenerator: could not exec
'/usr/lib/x86_64-linux-gnu/qt4/bin/qcollectiongenerator': No such file
or directory


Similar problems were discussed in a recent thread :

http://octave.1599824.n4.nabble.com/doc-interpreter-octave-interpreter-qch-fails-on-ubnutu-16-04-in-stable-branch-td4687111.html

but Mike said that it was solved.


I fixed the problem by installing qt4-dev-tools, but I think that it
reveals a bug in configure:

configure:71344: checking for qcollectiongenerator-qt4
configure:71374: result: no
configure:71445: checking for qcollectiongenerator
configure:71461: found /usr/bin/qcollectiongenerator
configure:71472: result: qcollectiongenerator


@++
Julien


PS : with qt4-dev-tools installed I get

Summary:

   PASS                            14976
   FAIL                                0
   XFAIL (reported bug)               34
   SKIP (missing feature)             46
   SKIP (run-time condition)          12


Reply | Threaded
Open this post in threaded view
|

Re: rc-4-3-91: configure problem with qt4 / qcollectiongenerator

Mike Miller-4
On Sat, Apr 21, 2018 at 22:26:21 +0200, Julien Bect wrote:
> I fixed the problem by installing qt4-dev-tools, but I think that it reveals
> a bug in configure:
>
> configure:71344: checking for qcollectiongenerator-qt4
> configure:71374: result: no
> configure:71445: checking for qcollectiongenerator
> configure:71461: found /usr/bin/qcollectiongenerator
> configure:71472: result: qcollectiongenerator

The bug is that qtchooser installs itself as qcollectiongenerator even
when the actual executable is not installed under /usr/lib/.../qt4/bin:

>   GEN      doc/interpreter/octave_interpreter.qch
> qcollectiongenerator: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qcollectiongenerator': No such file or directory

In other words, the qtchooser tool considers Qt to be a monolithic
entity, while Debian and Ubuntu packaging separate the various utilities
into different subpackages.

Octave's configure correctly detects that there is a valid executable at
/usr/bin/qcollectiongenerator, and it assumes that it will be able to
use this executable when building.

If you think this needs to be fixed, please reopen or comment on bug
#53408.

I do not think it is important to fix for the 4.4 release.

--
mike

signature.asc (849 bytes) Download Attachment