Package Details: hyprland-qtutils-git 0.0.1.r14.3833097-1

Git Clone URL: https://aur.archlinux.org/hyprland-qtutils-git.git (read-only, click to copy)
Package Base: hyprland-qtutils-git
Description: Hyprland QT/qml utility apps
Upstream URL: https://github.com/hyprwm/hyprland-qtutils
Licenses: BSD-3-Clause
Conflicts: hyprland-qtutils
Provides: hyprland-qtutils
Submitter: alba4k
Maintainer: alba4k (Vaxry)
Last Packager: alba4k
Votes: 3
Popularity: 1.95
First Submitted: 2024-10-27 14:52 (UTC)
Last Updated: 2024-12-17 21:16 (UTC)

Latest Comments

sigurd4 commented on 2024-12-15 04:47 (UTC) (edited on 2024-12-15 04:54 (UTC) by sigurd4)

Managed to make it build successfully by adding this to my /etc/makepkg.conf:

LDFLAGS=${LDFLAGS/-Wl,-z,now/}

And not adding any other flags other than those that come by default.

sigurd4 commented on 2024-12-15 02:15 (UTC) (edited on 2024-12-15 02:57 (UTC) by sigurd4)

Fixed the previous error by installing qt6-wayland and then reinstalling qt6-base. Now i'm getting a new error:

[ 97%] Built target hyprland-update-screen
/usr/bin/ld: /tmp/ccH8wrOE.ltrans0.ltrans.o: in function `main':
/usr/src/debug/hyprland-qtutils-git/hyprland-qtutils/utils/dialog/main.cpp:64:(.text.startup+0x28c): undefined reference to `Hyprutils::String::CVarList::CVarList(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, char, bool)'
/usr/bin/ld: /tmp/ccH8wrOE.ltrans1.ltrans.o: in function `CDialog::onButtonPress(QString) [clone .isra.0]':
/usr/src/debug/hyprland-qtutils-git/hyprland-qtutils/utils/dialog/Dialog.cpp:11:(.text+0x6338): undefined reference to `Hyprutils::String::trim(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [utils/dialog/CMakeFiles/hyprland-dialog.dir/build.make:308: utils/dialog/hyprland-dialog] Error 1
make[1]: *** [CMakeFiles/Makefile2:254: utils/dialog/CMakeFiles/hyprland-dialog.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Changing the linker to lld i get this:

ld.lld: error: undefined symbol: Hyprutils::String::CVarList::CVarList(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long, char, bool)
>>> referenced by main.cpp:64 (/usr/src/debug/hyprland-qtutils-git/hyprland-qtutils/utils/dialog/main.cpp:64)
>>>               hyprland-dialog.lto.o:(main)

ld.lld: error: undefined symbol: Hyprutils::String::trim(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
>>> referenced by Dialog.cpp:11 (/usr/src/debug/hyprland-qtutils-git/hyprland-qtutils/utils/dialog/Dialog.cpp:11)
>>>               hyprland-dialog.lto.o:(CDialog::onButtonPress(QString))
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

sigurd4 commented on 2024-12-15 01:40 (UTC)

Getting this build error on install:

--   Found hyprutils, version 0.2.6
/usr/lib/qt6/qmlimportscanner: symbol lookup error: /usr/lib/qt6/../libQt6Qml.so.6: undefined symbol: _ZNK14QObjectPrivate15flagsForDumpingB5cxx11Ev, version Qt_6_PRIVATE_API
CMake Error at /usr/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:3926 (message):
  Failed to scan target hyprland-dialog for QML imports: 127
Call Stack (most recent call first):
  /usr/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:3968 (_qt_internal_scan_qml_imports)
  /usr/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:745 (qt6_import_qml_plugins)
  /usr/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:745 (cmake_language)
  /usr/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:823 (_qt_internal_finalize_executable)
  /usr/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:792:EVAL:1 (qt6_finalize_target)
  utils/dialog/CMakeLists.txt:DEFERRED


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: hyprland-qtutils-git-exit status 4

mogro0022 commented on 2024-12-08 20:56 (UTC) (edited on 2024-12-12 17:44 (UTC) by mogro0022)

I'm getting the following error when I try to install:

Error generating loader stub: No such file or directory
make[2]: *** [utils/dialog/CMakeFiles/hyprland-dialog.dir/build.make:112: utils/dialog/.rcc/qmlcache/hyprland-dialog_qmlcache_loader.cpp] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [utils/update-screen/CMakeFiles/hyprland-update-screen.dir/build.make:112: utils/update-screen/.rcc/qmlcache/hyprland-update-screen_qmlcache_loader.cpp] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:670: utils/update-screen/CMakeFiles/hyprland-update-screen.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:253: utils/dialog/CMakeFiles/hyprland-dialog.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

alba4k commented on 2024-12-08 09:19 (UTC)

huh, yes that was likely a mistake on my end while writing the pkgbuild.

Thansk for noticing, will fix that

Insprill commented on 2024-12-08 09:03 (UTC)

Please depend on hyprutils-git instead of hyprutils. It doesn't match all the other hypr*-git packages which all depend on the other git versions, and is causing some dependency conflicts for me.