pacstall / pacstall-programs

Pacstall's official program repository
https://pacstall.dev/packages
MIT License
172 stars 134 forks source link

Broken: prismlauncher-git #4679

Closed roworu closed 4 months ago

roworu commented 10 months ago

Package name

prismlauncher-git

Version

7.2

Pacstall version

4.2.0

Relevant log output

roworu@ubuntu:~$ pacstall -I prismlauncher-git
(prismlauncher-git) Do you want to view/edit the pacscript? [y/N] 
[+] INFO: Sourcing pacscript
[+] INFO: prismlauncher-git requires qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libqt5core5a libqt5network5 libqt5gui5 cmake ninja-build extra-cmake-modules zlib1g-dev openjdk-17-jdk libgl1-mesa-dev scdoc to install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
qtbase5-dev is already the newest version (5.15.10+dfsg-3).
qtchooser is already the newest version (66-2build1).
qt5-qmake is already the newest version (5.15.10+dfsg-3).
qtbase5-dev-tools is already the newest version (5.15.10+dfsg-3).
libqt5core5a is already the newest version (5.15.10+dfsg-3).
libqt5network5 is already the newest version (5.15.10+dfsg-3).
libqt5gui5 is already the newest version (5.15.10+dfsg-3).
cmake is already the newest version (3.27.4-1).
ninja-build is already the newest version (1.11.1-2).
extra-cmake-modules is already the newest version (5.110.0-0ubuntu1).
zlib1g-dev is already the newest version (1:1.2.13.dfsg-1ubuntu5).
openjdk-17-jdk is already the newest version (17.0.9~6ea-1).
libgl1-mesa-dev is already the newest version (23.2.1-1ubuntu3).
scdoc is already the newest version (1.11.2-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[+] INFO: Retrieving packages
Checking object directories: 100% (256/256), done.
Checking objects: 100% (1904/1904), done.
[+] INFO: Running functions
    [>] Running prepare
Submodule 'flatpak/shared-modules' (https://github.com/flathub/shared-modules.git) registered for path 'flatpak/shared-modules'
Submodule 'libraries/cmark' (https://github.com/commonmark/cmark.git) registered for path 'libraries/cmark'
Submodule 'libraries/extra-cmake-modules' (https://github.com/KDE/extra-cmake-modules) registered for path 'libraries/extra-cmake-modules'
Submodule 'libraries/filesystem' (https://github.com/gulrak/filesystem) registered for path 'libraries/filesystem'
Submodule 'libraries/libnbtplusplus' (https://github.com/PrismLauncher/libnbtplusplus.git) registered for path 'libraries/libnbtplusplus'
Submodule 'libraries/quazip' (https://github.com/stachenov/quazip.git) registered for path 'libraries/quazip'
Submodule 'libraries/tomlplusplus' (https://github.com/marzer/tomlplusplus.git) registered for path 'libraries/tomlplusplus'
Submodule 'libraries/zlib' (https://github.com/madler/zlib.git) registered for path 'libraries/zlib'
Cloning into '/tmp/pacstall/PrismLauncher/flatpak/shared-modules'...
Cloning into '/tmp/pacstall/PrismLauncher/libraries/cmark'...
Cloning into '/tmp/pacstall/PrismLauncher/libraries/extra-cmake-modules'...
Cloning into '/tmp/pacstall/PrismLauncher/libraries/filesystem'...
Cloning into '/tmp/pacstall/PrismLauncher/libraries/libnbtplusplus'...
Cloning into '/tmp/pacstall/PrismLauncher/libraries/quazip'...
Cloning into '/tmp/pacstall/PrismLauncher/libraries/tomlplusplus'...
Cloning into '/tmp/pacstall/PrismLauncher/libraries/zlib'...
Submodule path 'flatpak/shared-modules': checked out '45094ca570be383d06df729b6972830ec63bd3df'
Submodule path 'libraries/cmark': checked out '5ba25ff40eba44c811f79ab6a792baf945b8307c'
Submodule path 'libraries/extra-cmake-modules': checked out 'bbcbaff78283270c2beee69afd8d5b91da854af8'
Submodule path 'libraries/filesystem': checked out '8a2edd6d92ed820521d42c94d179462bf06b5ed3'
Submodule path 'libraries/libnbtplusplus': checked out 'a5e8fd52b8bf4ab5d5bcc042b2a247867589985f'
Submodule path 'libraries/quazip': checked out '6117161af08e366c37499895b00ef62f93adc345'
Submodule path 'libraries/tomlplusplus': checked out '7eb2ffcc09f8e9890dc0b77ff8ab00fc53b1f2b8'
Submodule path 'libraries/zlib': checked out '04f42ceca40f73e2978b50e93806c2a18c1281fc'
    [>] Running build
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- 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
-- IPO / LTO enabled
-- Git commit: c638a63a03f60bd43975ad8d069950fbb43de895
-- Git tag: -128-NOTFOUND
-- Git refspec: refs/heads/develop
CMake Error at CMakeLists.txt:299 (find_package):
  By not providing "FindQt6.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt6", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt6" with any of
  the following names:

    Qt6Config.cmake
    qt6-config.cmake

  Add the installation prefix of "Qt6" to CMAKE_PREFIX_PATH or set "Qt6_DIR"
  to a directory containing one of the above files.  If "Qt6" provides a
  separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred!
ninja: error: loading 'build.ninja': No such file or directory
    [!] ERROR: Could not build prismlauncher-git properly
dpkg: warning: ignoring request to remove prismlauncher which isn't installed
[+] INFO: Cleaning up

Patch for package

No response

roworu commented 10 months ago

I would guess, that we just need to add QT6 to makedepends?

Elsie19 commented 10 months ago

Can you test it?