Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2022 13:57:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 265775] audio/musescore: failure to compile with both qmake and qmake-qt5 installed
Message-ID:  <bug-265775-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265775

            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=3D235848&action=
=3Dedit
workaround, i.e. diff for files/patch-CMakeLists.txt.diff

Hello,

This port looks broken.=20
It stops with error on building.=20
I have both of qmake and qmake-qt5 installed.=20
The port looks trying to use qmake, not qmake-qt5.=20
I like to share an example of console output bellow.=20

As workaround, the attached modification works for me anyway=20
though I'm not sure if is correct or not.=20

Cheers

Mamoru Iwaki
Japan


---< an example of console output >---

root@dhcp72:/usr/ports/audio/musescore # make
=3D=3D=3D>  License GPLv2 accepted by the user
=3D=3D=3D>   musescore-3.6.1_3 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by musescore-3.6.1_3 for building
=3D=3D=3D>  Extracting for musescore-3.6.1_3
=3D> SHA256 Checksum OK for musescore-MuseScore-v3.6.1_GH0.tar.gz.
=3D=3D=3D>  Patching for musescore-3.6.1_3
=3D=3D=3D>  Applying FreeBSD patches for musescore-3.6.1_3 from
/usr/ports/audio/musescore/files
=3D=3D=3D>   musescore-3.6.1_3 depends on file: /usr/local/bin/cmake - found
=3D=3D=3D>   musescore-3.6.1_3 depends on executable: ninja - found
=3D=3D=3D>   musescore-3.6.1_3 depends on executable: update-desktop-databa=
se - found
=3D=3D=3D>   musescore-3.6.1_3 depends on package: pkgconf>=3D1.3.0_1 - fou=
nd
=3D=3D=3D>   musescore-3.6.1_3 depends on executable: update-mime-database =
- found
=3D=3D=3D>   musescore-3.6.1_3 depends on package: qt5-buildtools>=3D5.15 -=
 found
=3D=3D=3D>   musescore-3.6.1_3 depends on file: /usr/local/lib/qt5/bin/desi=
gner -
found
=3D=3D=3D>   musescore-3.6.1_3 depends on file:
/usr/local/lib/qt5/qml/QtGraphicalEffects/qmldir - found
=3D=3D=3D>   musescore-3.6.1_3 depends on file: /usr/local/lib/qt5/bin/lrel=
ease -
found
=3D=3D=3D>   musescore-3.6.1_3 depends on package: qt5-qmake>=3D5.15 - found
=3D=3D=3D>   musescore-3.6.1_3 depends on file: /usr/local/lib/qt5/libQt5Ui=
Tools.a -
found
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libmp3lame.so - f=
ound
(/usr/local/lib/libmp3lame.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libsndfile.so - f=
ound
(/usr/local/lib/libsndfile.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libvorbis.so - fo=
und
(/usr/local/lib/libvorbis.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libogg.so - found
(/usr/local/lib/libogg.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libfreetype.so - =
found
(/usr/local/lib/libfreetype.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libportaudio.so -=
 found
(/usr/local/lib/libportaudio.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libQt5Concurrent.=
so - found
(/usr/local/lib/qt5/libQt5Concurrent.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libQt5Core.so - f=
ound
(/usr/local/lib/qt5/libQt5Core.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libQt5Qml.so - fo=
und
(/usr/local/lib/qt5/libQt5Qml.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libQt5Gui.so - fo=
und
(/usr/local/lib/qt5/libQt5Gui.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libQt5Help.so - f=
ound
(/usr/local/lib/qt5/libQt5Help.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libQt5Location.so=
 - found
(/usr/local/lib/qt5/libQt5Location.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libQt5Network.so =
- found
(/usr/local/lib/qt5/libQt5Network.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libQt5OpenGL.so -=
 found
(/usr/local/lib/qt5/libQt5OpenGL.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libQt5PrintSuppor=
t.so -
found (/usr/local/lib/qt5/libQt5PrintSupport.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libQt5QuickContro=
ls2.so -
found (/usr/local/lib/qt5/libQt5QuickControls2.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libQt5ScriptTools=
.so -
found (/usr/local/lib/qt5/libQt5ScriptTools.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libQt5Sql.so - fo=
und
(/usr/local/lib/qt5/libQt5Sql.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libQt5Svg.so - fo=
und
(/usr/local/lib/qt5/libQt5Svg.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libQt5Test.so - f=
ound
(/usr/local/lib/qt5/libQt5Test.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libQt5WebChannel.=
so - found
(/usr/local/lib/qt5/libQt5WebChannel.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libQt5WebEngine.s=
o - found
(/usr/local/lib/qt5/libQt5WebEngine.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libQt5Widgets.so =
- found
(/usr/local/lib/qt5/libQt5Widgets.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libQt5Xml.so - fo=
und
(/usr/local/lib/qt5/libQt5Xml.so)
=3D=3D=3D>   musescore-3.6.1_3 depends on shared library: libQt5XmlPatterns=
.so -
found (/usr/local/lib/qt5/libQt5XmlPatterns.so)
=3D=3D=3D>  Configuring for musescore-3.6.1_3
=3D=3D=3D>  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 erro=
r.

  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 #

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265775-7788>