Cmake Error on Ubuntu 20.04
envgap__sonic-pi-net__sonic-pi-3124
01 / FAILURE SIGNATURE
As reported upstream
Target "sonic-pi" links to target "Qt::PrintSupport" but the target was not
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
cc686b75936df2e361fc2fd02c40c7f42211cce8- Manifest
app/gui/qt/CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
sonic-pi-net/sonic-pi #3124 · read the original issue
Trying to install from source on Ubuntu 20.04 and getting this (partial log)... ``` Creating build directory... Generating makefiles... -- CMakeLists: Sonic Pi -- The C compiler identification is GNU 9.4.0 -- The CXX compiler identification is GNU 9.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- TARGET_LINUX -- System: Linux-5.13.0-52-generic -- Compiler: GNU -- Compiler Version: 9.4.0 -- Debug Flags: -g -D_DEBUG -DDEBUG -- Release Flags: -O3 -DNDEBUG -- Aubio Builder -- ERLANG_INCLUDE_PATH: /home/bjorn/.asdf/installs/erlang/25.0.2/erts-13.0.2/include -- USE_SYSTEM_LIBS: OFF -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- ImGui Interface: ON -- CMakeLists: Sonic Pi -- App Root: /home/bjorn/dev/sonic-pi/app -- Configuring done CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:573 (_add_executable): Target "sonic-pi" links to target "Qt::PrintSupport" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): gui/qt/CMakeLists.txt:203 (add_executable) CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:573 (_add_executable): Target "sonic-pi" links to target "Qt::Widgets" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): gui/qt/CMakeLists.txt:203 (add_executable) CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:573 (_add_executable): Target "sonic-pi" links to target "Qt::OpenGL" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): gui/qt/CMakeLists.txt:203 (add_executable) CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:573 (_add_executable): Target "sonic-pi" links to target "Qt::Xml" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): gui/qt/CMakeLists.txt:203 (add_executable) CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:573 (_add_executable): Target "sonic-pi" links to target "Qt::Core" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): gui/qt/CMakeLists.txt:203 (add_executable) CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:573 (_add_executable): Target "sonic-pi" links to target "Qt::Gui" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): gui/qt/CMakeLists.txt:203 (add_executable) CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:573 (_add_executable): Target "sonic-pi" links to target "Qt::Widgets" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): gui/qt/CMakeLists.txt:203 (add_executable) CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:573 (_add_executable): Target "sonic-pi" links to target "Qt::OpenGL" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): gui/qt/CMakeLists.txt:203 (add_executable) CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:573 (_add_executable): Target "sonic-pi" links to target "Qt::Concurrent" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): gui/qt/CMakeLists.txt:203 (add_executable) CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:573 (_add_executable): Target "sonic-pi" links to target "Qt::Network" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): gui/qt/CMakeLists.txt:203 (add_executable) CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:613 (_add_library): Target "QScintilla" links to target "Qt::PrintSupport" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): gui/qt/QScintilla_src-2.13.3/CMakeLists.txt:283 (add_library) CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:613 (_add_library): Target "QScintilla" links to target "Qt::Widgets" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): gui/qt/QScintilla_src-2.13.3/CMakeLists.txt:283 (add_library) CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:613 (_add_library): Target "QScintilla" links to target "Qt::OpenGL" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): gui/qt/QScintilla_src-2.13.3/CMakeLists.txt:283 (add_library) CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:613 (_add_library): Target "QScintilla" links to target "Qt::Xml" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): gui/qt/QScintilla_src-2.13.3/CMakeLists.txt:283 (add_library) -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. ```
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]