distributePro / ovsrpro

A collection of 3rd party libraries.
MIT License
0 stars 4 forks source link

Qwt can fail to find qmake. #65

Open brobeson opened 4 years ago

brobeson commented 4 years ago

Sometimes, the Qwt project can fail because it cannot find qmake. Here is the error:

Scanning dependencies of target qwt_build
[ 24%] Performing configure step for 'qwt_build'
/bin/sh: 1: /home/user/repositories/ovsrpro/build/ovsrpro_user-dirtyrepo-19.01.1-9-g8445505-gcc921-64/qt5/bin/qmake: not found
make[2]: *** [CMakeFiles/qwt_build.dir/build.make:108: xpbase/Stamp/qwt_build/qwt_build-configure] Error 127
make[1]: *** [CMakeFiles/Makefile2:1639: CMakeFiles/qwt_build.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

The problem doesn't occur all the time, and I'm not yet sure of the exact steps to reproduce it.

brobeson commented 4 years ago

It looks like, if STAGE_DIR changes, the target qt5_install_files does not do anything. Then qwt_build looks in the new STAGE_DIR, but qmake is not there.