Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 766111 - media-sound/musescore-3.6.2 : CMake Error at build/functions.cmake:90 (message): Unable to find Qt (cmd: qmake)
Summary: media-sound/musescore-3.6.2 : CMake Error at build/functions.cmake:90 (messag...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 840903 844742 (view as bug list)
Depends on:
Blocks: qtbindir
  Show dependency tree
 
Reported: 2021-01-19 09:37 UTC by Toralf Förster
Modified: 2022-06-02 03:00 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.32 KB, text/plain)
2021-01-19 09:37 UTC, Toralf Förster
Details
CMakeOutput.log (CMakeOutput.log,48.66 KB, text/plain)
2021-01-19 09:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,598.78 KB, text/plain)
2021-01-19 09:38 UTC, Toralf Förster
Details
environment (environment,100.91 KB, text/plain)
2021-01-19 09:38 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,29.39 KB, application/x-bzip)
2021-01-19 09:38 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.63 KB, application/x-bzip)
2021-01-19 09:38 UTC, Toralf Förster
Details
media-sound:musescore-3.5.2:20210119-033725.log (media-sound:musescore-3.5.2:20210119-033725.log,4.47 KB, text/plain)
2021-01-19 09:38 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.54 KB, application/x-bzip)
2021-01-19 09:38 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-01-19 09:37:57 UTC
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at build/functions.cmake:90 (message):
  

  Unable to find Qt (cmd: qmake)

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20201228-133206

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.9 (fallback)
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems)
  [3]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.48.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.17.0 [icedtea-8]
2)	OpenJDK 8.272_p10 [openjdk-8]
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   openjdk-8 
  [3]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Jan 19 03:03:01 AM UTC 2021

emerge -qpvO media-sound/musescore
[ebuild  N    ] media-sound/musescore-3.5.2  USE="alsa mp3 sf3 -debug -jack -omr -osc -portaudio -portmidi -pulseaudio -sfz -webengine"
Comment 1 Toralf Förster gentoo-dev 2021-01-19 09:37:58 UTC
Created attachment 683722 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-01-19 09:38:00 UTC
Created attachment 683725 [details]
CMakeOutput.log
Comment 3 Toralf Förster gentoo-dev 2021-01-19 09:38:01 UTC
Created attachment 683728 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-01-19 09:38:03 UTC
Created attachment 683731 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-01-19 09:38:04 UTC
Created attachment 683734 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-01-19 09:38:05 UTC
Created attachment 683737 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-01-19 09:38:06 UTC
Created attachment 683740 [details]
media-sound:musescore-3.5.2:20210119-033725.log
Comment 8 Toralf Förster gentoo-dev 2021-01-19 09:38:07 UTC
Created attachment 683743 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2021-01-19 09:39:00 UTC
FWIW for the sake of the blocker qtchooser was not installed, only "provided"
Comment 10 Andreas Sturmlechner gentoo-dev 2021-01-19 22:18:07 UTC
What a mess.

- First it unnecessarily searches for a qmake binary just to detect Qt exists.
- It then includes some homegrown FindQt5 cmake module.
- That module also unnecessarily searches for qmake to query for all kinds of things instead of simply using CMake config shipped by Qt5.
Comment 11 Andreas Sturmlechner gentoo-dev 2021-01-19 22:26:33 UTC
Neither the problem description nor the "fix" used are inspiring confidence:

https://github.com/musescore/MuseScore/pull/7250/files
Comment 12 Larry the Git Cow gentoo-dev 2021-03-02 08:54:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a5b3bfc47e9e3abd77835f84560a77364aa4e9b

commit 6a5b3bfc47e9e3abd77835f84560a77364aa4e9b
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2021-03-02 08:54:05 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2021-03-02 08:54:21 +0000

    media-sound/musescore: removed obsolete 3.5.2
    
    Closes: https://bugs.gentoo.org/766111
    Package-Manager: Portage-3.0.16, Repoman-3.0.2
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/musescore/Manifest                     |   1 -
 .../files/musescore-3.5-lambda-capture-this.patch  |  13 ---
 ...usescore-3.5-remove-duplicite-declaration.patch |  12 ---
 media-sound/musescore/musescore-3.5.2.ebuild       | 118 ---------------------
 4 files changed, 144 deletions(-)
Comment 13 Andreas Sturmlechner gentoo-dev 2022-04-02 13:14:56 UTC
This is more pressing now that Qt 5.15.3 introduced our binary path changes downstream.
Comment 14 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-26 03:29:53 UTC
*** Bug 840903 has been marked as a duplicate of this bug. ***
Comment 15 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-15 01:40:23 UTC
*** Bug 844742 has been marked as a duplicate of this bug. ***
Comment 16 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-15 01:40:32 UTC
ping.
Comment 17 Agostino Sarubbo gentoo-dev 2022-05-28 06:55:07 UTC
tinderbox has reproduced this issue with version 3.6.2 - Updating summary.
Comment 18 Larry the Git Cow gentoo-dev 2022-06-02 03:00:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a461f04217706838471b36a5dc8233f2ed6853b

commit 7a461f04217706838471b36a5dc8233f2ed6853b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-02 02:45:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-02 02:59:59 +0000

    media-sound/musescore: fix finding qmake
    
    Upstream need to fix their Qt handling but w/e.
    
    Closes: https://bugs.gentoo.org/766111
    Signed-off-by: Sam James <sam@gentoo.org>

 media-sound/musescore/musescore-3.6.2.ebuild | 7 +++++--
 media-sound/musescore/musescore-9999.ebuild  | 7 +++++--
 2 files changed, 10 insertions(+), 4 deletions(-)