Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error on CachyOS #2

Open
mogro0022 opened this issue Dec 12, 2024 · 4 comments
Open

Build Error on CachyOS #2

mogro0022 opened this issue Dec 12, 2024 · 4 comments

Comments

@mogro0022
Copy link

I'm unable to build hyprland-qtutils ever since it released. I get the following errors:

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

I have installed all dependencies (qt6, qt6-declarative, qqc2-desktop-style) and tried going through the build directory for potential clues but am unable to find anything.

@vaxerski
Copy link
Member

@outfoxxed any idea?

@outfoxxed
Copy link
Member

going to have to see more of the build log

@mogro0022
Copy link
Author

Here is the progress during build compilation including the error:

[  6%] Running qmlimportscanner for hyprland-dialog
[  8%] Built target hyprland-dialog_tooling
[  8%] Built target hyprland-update-screen_tooling
[ 10%] Running qmlimportscanner for hyprland-update-screen
[ 10%] Built target hyprland-update-screen_qmlimportscan
[ 10%] Built target hyprland-dialog_qmlimportscan
[ 10%] Built target hyprland-update-screen_autogen_timestamp_deps
[ 10%] Built target hyprland-dialog_autogen_timestamp_deps
[ 13%] Automatic MOC and UIC for target hyprland-update-screen
[ 15%] Automatic MOC and UIC for target hyprland-dialog
[ 15%] Built target hyprland-update-screen_autogen
[ 15%] Built target hyprland-dialog_autogen
[ 26%] Running rcc for resource qmake_org_hyprland_dialog
[ 26%] Generating .rcc/qmlcache/hyprland-update-screen_qmlcache_loader.cpp
[ 26%] Running rcc for resource hyprland-update-screen_raw_qml_0
[ 26%] Generating .rcc/qmlcache/hyprland-dialog_qmlcache_loader.cpp
[ 26%] Running AUTOMOC file extraction for target hyprland-dialog
[ 30%] Running rcc for resource qmake_org_hyprland_update-screen
[ 30%] Running rcc for resource hyprland-dialog_raw_qml_0
[ 32%] Running AUTOMOC file extraction for target hyprland-update-screen
[ 36%] Running moc --collect-json for target hyprland-update-screen
[ 36%] Running moc --collect-json for target hyprland-dialog
Error generating loader stub: No such file or directory
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:253: utils/dialog/CMakeFiles/hyprland-dialog.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:670: utils/update-screen/CMakeFiles/hyprland-update-screen.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

And here is a trace of cmake:

[ 15%] Automatic QML type registration for target hyprland-dialog
cd /home/akhil/hyprland-qtutils-git/src/hyprland-qtutils/build/utils/dialog && /usr/lib/qt6/qmltyperegistrar --generate-qmltypes=/home/akhil/hyprland-qtutils-git/src/hyprland-qtutils/build/utils/dialog/org/hyprland/dialog/hyprland-dialog.qmltypes --import-name=org.hyprland.dialog --major-version=1 --minor-version=0 @/home/akhil/hyprland-qtutils-git/src/hyprland-qtutils/build/utils/dialog/qmltypes/hyprland-dialog_foreign_types.txt -o /home/akhil/hyprland-qtutils-git/src/hyprland-qtutils/build/utils/dialog/hyprland-dialog_qmltyperegistrations.cpp /home/akhil/hyprland-qtutils-git/src/hyprland-qtutils/build/utils/dialog/meta_types/qt6hyprland-dialog_debug_metatypes.json
Error: /home/akhil/hyprland-qtutils-git/src/hyprland-qtutils/build/utils/dialog/org/hyprland/dialog/hyprland-dialog.qmltypes:: Cannot generate qmltypes file
make[2]: *** [utils/dialog/CMakeFiles/hyprland-dialog.dir/build.make:94: utils/dialog/hyprland-dialog_qmltyperegistrations.cpp] Error 1
make[2]: *** Deleting file 'utils/dialog/hyprland-dialog_qmltyperegistrations.cpp'
make[2]: Leaving directory '/home/akhil/hyprland-qtutils-git/src/hyprland-qtutils/build'
make[1]: *** [CMakeFiles/Makefile2:253: utils/dialog/CMakeFiles/hyprland-dialog.dir/all] Error 2
make[1]: Leaving directory '/home/akhil/hyprland-qtutils-git/src/hyprland-qtutils/build'
make: *** [Makefile:136: all] Error 2

@mogro0022
Copy link
Author

I managed to build after logging into TTY1 without running Hyprland.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants