[Bug 265775] audio/musescore: failure to compile with both qmake and qmake-qt5 installed
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 11 Aug 2022 13:57:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265775 Bug ID: 265775 Summary: audio/musescore: failure to compile with both qmake and qmake-qt5 installed Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: adridg@freebsd.org Reporter: 1wkmmr@gmail.com Assignee: adridg@freebsd.org Flags: maintainer-feedback?(adridg@freebsd.org) Created attachment 235848 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235848&action=edit workaround, i.e. diff for files/patch-CMakeLists.txt.diff Hello, This port looks broken. It stops with error on building. I have both of qmake and qmake-qt5 installed. The port looks trying to use qmake, not qmake-qt5. I like to share an example of console output bellow. As workaround, the attached modification works for me anyway though I'm not sure if is correct or not. Cheers Mamoru Iwaki Japan ---< an example of console output >--- root@dhcp72:/usr/ports/audio/musescore # make ===> License GPLv2 accepted by the user ===> musescore-3.6.1_3 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by musescore-3.6.1_3 for building ===> Extracting for musescore-3.6.1_3 => SHA256 Checksum OK for musescore-MuseScore-v3.6.1_GH0.tar.gz. ===> Patching for musescore-3.6.1_3 ===> Applying FreeBSD patches for musescore-3.6.1_3 from /usr/ports/audio/musescore/files ===> musescore-3.6.1_3 depends on file: /usr/local/bin/cmake - found ===> musescore-3.6.1_3 depends on executable: ninja - found ===> musescore-3.6.1_3 depends on executable: update-desktop-database - found ===> musescore-3.6.1_3 depends on package: pkgconf>=1.3.0_1 - found ===> musescore-3.6.1_3 depends on executable: update-mime-database - found ===> musescore-3.6.1_3 depends on package: qt5-buildtools>=5.15 - found ===> musescore-3.6.1_3 depends on file: /usr/local/lib/qt5/bin/designer - found ===> musescore-3.6.1_3 depends on file: /usr/local/lib/qt5/qml/QtGraphicalEffects/qmldir - found ===> musescore-3.6.1_3 depends on file: /usr/local/lib/qt5/bin/lrelease - found ===> musescore-3.6.1_3 depends on package: qt5-qmake>=5.15 - found ===> musescore-3.6.1_3 depends on file: /usr/local/lib/qt5/libQt5UiTools.a - found ===> musescore-3.6.1_3 depends on shared library: libmp3lame.so - found (/usr/local/lib/libmp3lame.so) ===> musescore-3.6.1_3 depends on shared library: libsndfile.so - found (/usr/local/lib/libsndfile.so) ===> musescore-3.6.1_3 depends on shared library: libvorbis.so - found (/usr/local/lib/libvorbis.so) ===> musescore-3.6.1_3 depends on shared library: libogg.so - found (/usr/local/lib/libogg.so) ===> musescore-3.6.1_3 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so) ===> musescore-3.6.1_3 depends on shared library: libportaudio.so - found (/usr/local/lib/libportaudio.so) ===> musescore-3.6.1_3 depends on shared library: libQt5Concurrent.so - found (/usr/local/lib/qt5/libQt5Concurrent.so) ===> musescore-3.6.1_3 depends on shared library: libQt5Core.so - found (/usr/local/lib/qt5/libQt5Core.so) ===> musescore-3.6.1_3 depends on shared library: libQt5Qml.so - found (/usr/local/lib/qt5/libQt5Qml.so) ===> musescore-3.6.1_3 depends on shared library: libQt5Gui.so - found (/usr/local/lib/qt5/libQt5Gui.so) ===> musescore-3.6.1_3 depends on shared library: libQt5Help.so - found (/usr/local/lib/qt5/libQt5Help.so) ===> musescore-3.6.1_3 depends on shared library: libQt5Location.so - found (/usr/local/lib/qt5/libQt5Location.so) ===> musescore-3.6.1_3 depends on shared library: libQt5Network.so - found (/usr/local/lib/qt5/libQt5Network.so) ===> musescore-3.6.1_3 depends on shared library: libQt5OpenGL.so - found (/usr/local/lib/qt5/libQt5OpenGL.so) ===> musescore-3.6.1_3 depends on shared library: libQt5PrintSupport.so - found (/usr/local/lib/qt5/libQt5PrintSupport.so) ===> musescore-3.6.1_3 depends on shared library: libQt5QuickControls2.so - found (/usr/local/lib/qt5/libQt5QuickControls2.so) ===> musescore-3.6.1_3 depends on shared library: libQt5ScriptTools.so - found (/usr/local/lib/qt5/libQt5ScriptTools.so) ===> musescore-3.6.1_3 depends on shared library: libQt5Sql.so - found (/usr/local/lib/qt5/libQt5Sql.so) ===> musescore-3.6.1_3 depends on shared library: libQt5Svg.so - found (/usr/local/lib/qt5/libQt5Svg.so) ===> musescore-3.6.1_3 depends on shared library: libQt5Test.so - found (/usr/local/lib/qt5/libQt5Test.so) ===> musescore-3.6.1_3 depends on shared library: libQt5WebChannel.so - found (/usr/local/lib/qt5/libQt5WebChannel.so) ===> musescore-3.6.1_3 depends on shared library: libQt5WebEngine.so - found (/usr/local/lib/qt5/libQt5WebEngine.so) ===> musescore-3.6.1_3 depends on shared library: libQt5Widgets.so - found (/usr/local/lib/qt5/libQt5Widgets.so) ===> musescore-3.6.1_3 depends on shared library: libQt5Xml.so - found (/usr/local/lib/qt5/libQt5Xml.so) ===> musescore-3.6.1_3 depends on shared library: libQt5XmlPatterns.so - found (/usr/local/lib/qt5/libQt5XmlPatterns.so) ===> Configuring for musescore-3.6.1_3 ===> Performing out-of-source build /bin/mkdir -p /usr/ports/audio/musescore/work/.build -- The C compiler identification is Clang 14.0.5 -- The CXX compiler identification is Clang 14.0.5 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done Qmake version: 1.07a (Qt 3.3.8) Qmake is free software from Trolltech ASA. CMake Error at build/functions.cmake:73 (message): Error running Qt with command: /usr/local/bin/qmake --version Console output directly above may provide more information about the error. Do you have the correct version of Qt installed? Is it available in your PATH environment variable? See https://musescore.org/en/handbook/developers-handbook/compilation Call Stack (most recent call first): CMakeLists.txt:28 (fn__require_program) -- Configuring incomplete, errors occurred! See also "/usr/ports/audio/musescore/work/.build/CMakeFiles/CMakeOutput.log". *** Error code 1 Stop. make[1]: stopped in /usr/ports/audio/musescore *** Error code 1 Stop. make: stopped in /usr/ports/audio/musescore root@dhcp72:/usr/ports/audio/musescore # pkg info | grep qmake qmake-3.3.8_2 The build utility of the Qt 3 project qt5-qmake-5.15.5p165 Qt Makefile generator (KDE patched) root@dhcp72:/usr/ports/audio/musescore # -- You are receiving this mail because: You are the assignee for the bug.