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

[BUG] yay install fails #197

Closed
Tymon3310 opened this issue Aug 27, 2024 · 14 comments
Closed

[BUG] yay install fails #197

Tymon3310 opened this issue Aug 27, 2024 · 14 comments
Assignees
Labels
bug Something isn't working

Comments

@Tymon3310
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. yay -S ml4w-hyprland / ml4w-hyprland-git

Expected behavior

it builds successfully

Distribution:

  • Arch Linux

Additional context
Logs

Details yain ml4w-hyprland-git AUR Explicit (1): ml4w-hyprland-git-2.9.6.r0.g39611b4-1 AUR Dependency (3): waypaper-2.2-1, bibata-cursor-theme-2.0.7-1, aylurs-gtk-shell-1.8.2-3 AUR Make Dependency (1): python-clickgen-2.2.5-1 :: (1/5) Downloaded PKGBUILD: waypaper :: (2/5) Downloaded PKGBUILD: aylurs-gtk-shell :: (3/5) Downloaded PKGBUILD: python-clickgen :: (4/5) Downloaded PKGBUILD: bibata-cursor-theme :: (5/5) Downloaded PKGBUILD: ml4w-hyprland-git 5 aylurs-gtk-shell (Build Files Exist) 4 waypaper (Build Files Exist) 3 bibata-cursor-theme (Build Files Exist) 2 python-clickgen (Build Files Exist) 1 ml4w-hyprland-git (Build Files Exist) ==> Packages to cleanBuild? ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4) ==> 5 python-clickgen (Build Files Exist) 4 ml4w-hyprland-git (Build Files Exist) 3 aylurs-gtk-shell (Build Files Exist) 2 waypaper (Build Files Exist) 1 bibata-cursor-theme (Build Files Exist) ==> Diffs to show? ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4) ==> ==> Making package: ml4w-hyprland-git 2.9.6.r0.g39611b4-1 (wto, 27 sie 2024, 21:11:56) ==> Retrieving sources... -> Cloning ml4w-hyprland-git git repo... Cloning into bare repository '/home/tymon/.cache/yay/ml4w-hyprland-git/ml4w-hyprland-git'...

remote: Enumerating objects: 9940, done.
remote: Counting objects: 100% (2247/2247), done.
remote: Compressing objects: 100% (795/795), done.
remote: Total 9940 (delta 1466), reused 2075 (delta 1373), pack-reused 7693 (from 1)
Receiving objects: 100% (9940/9940), 323.68 MiB | 24.69 MiB/s, done.
Resolving deltas: 100% (6260/6260), done.
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with md5sums...
ml4w-hyprland-git ... Skipped
==> Making package: aylurs-gtk-shell 1.8.2-3 (wto, 27 sie 2024, 21:12:11)
==> Retrieving sources...
-> Downloading aylurs-gtk-shell-1.8.2.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 425k 100 425k 0 0 529k 0 --:--:-- --:--:-- --:--:-- 529k
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
aylurs-gtk-shell-1.8.2.tar.gz ... Passed
==> Making package: waypaper 2.2-1 (wto, 27 sie 2024, 21:12:13)
==> Retrieving sources...
-> Downloading waypaper-2.2.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 541k 0 541k 0 0 753k 0 --:--:-- --:--:-- --:--:-- 753k
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
waypaper-2.2.tar.gz ... Passed
==> Making package: bibata-cursor-theme 2.0.7-1 (wto, 27 sie 2024, 21:12:14)
==> Retrieving sources...
-> Downloading bibata-cursor-theme-2.0.7.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 207k 0 207k 0 0 231k 0 --:--:-- --:--:-- --:--:-- 654k
-> Downloading bibata-cursor-theme-2.0.7-bitmaps.zip...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 17.6M 100 17.6M 0 0 16.9M 0 0:00:01 0:00:01 --:--:-- 50.8M
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
bibata-cursor-theme-2.0.7.tar.gz ... Passed
bibata-cursor-theme-2.0.7-bitmaps.zip ... Passed
==> Making package: python-clickgen 2.2.5-1 (wto, 27 sie 2024, 21:12:16)
==> Retrieving sources...
-> Downloading clickgen-2.2.5.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 673k 0 673k 0 0 951k 0 --:--:-- --:--:-- --:--:-- 951k
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
clickgen-2.2.5.tar.gz ... Passed
:: Remove make dependencies after install? [y/N] :: (1/5) Parsing SRCINFO: bibata-cursor-theme
:: (2/5) Parsing SRCINFO: python-clickgen
:: (3/5) Parsing SRCINFO: ml4w-hyprland-git
:: (4/5) Parsing SRCINFO: aylurs-gtk-shell
:: (5/5) Parsing SRCINFO: waypaper
==> Making package: python-clickgen 2.2.5-1 (wto, 27 sie 2024, 21:12:18)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found clickgen-2.2.5.tar.gz
==> Validating source files with sha256sums...
clickgen-2.2.5.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting clickgen-2.2.5.tar.gz with bsdtar
==> Sources are ready.
==> Making package: python-clickgen 2.2.5-1 (wto, 27 sie 2024, 21:12:19)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
/home/tymon/.pyenv/versions/3.10.14/bin/python: No module named build
==> ERROR: A failure occurred in build().
Aborting...
-> Failed to install layer, rolling up to next layer.error:error making: python-clickgen - exit status 4
==> Making package: waypaper 2.2-1 (wto, 27 sie 2024, 21:12:19)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found waypaper-2.2.tar.gz
==> Validating source files with sha512sums...
waypaper-2.2.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting waypaper-2.2.tar.gz with bsdtar
==> Sources are ready.
==> Making package: waypaper 2.2-1 (wto, 27 sie 2024, 21:12:20)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
/home/tymon/.pyenv/versions/3.10.14/bin/python: No module named build
==> ERROR: A failure occurred in build().
Aborting...
-> Failed to install layer, rolling up to next layer.error:error making: waypaper - exit status 4
==> Making package: bibata-cursor-theme 2.0.7-1 (wto, 27 sie 2024, 21:12:21)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Missing dependencies:
-> python-clickgen>=2.0.0
==> ERROR: Could not resolve all dependencies.
-> error making: bibata-cursor-theme-exit status 8
==> Making package: aylurs-gtk-shell 1.8.2-3 (wto, 27 sie 2024, 21:12:21)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found aylurs-gtk-shell-1.8.2.tar.gz
==> Validating source files with sha256sums...
aylurs-gtk-shell-1.8.2.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting aylurs-gtk-shell-1.8.2.tar.gz with bsdtar
==> Sources are ready.
==> Making package: aylurs-gtk-shell 1.8.2-3 (wto, 27 sie 2024, 21:12:22)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...

added 166 packages, and audited 167 packages in 1s

33 packages are looking for funding
run npm fund for details

2 vulnerabilities (1 moderate, 1 high)

To address all issues, run:
npm audit fix

Run npm audit for details.

  • exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_pie=true -D python.bytecompile=1 build --libdir lib/ags -Dbuild_types=true
    The Meson build system
    Version: 1.5.1
    Source dir: /home/tymon/.cache/yay/aylurs-gtk-shell/src/ags
    Build dir: /home/tymon/.cache/yay/aylurs-gtk-shell/src/ags/build
    Build type: native build
    WARNING: You should add the boolean check kwarg to the run_command call.
    It currently defaults to false,
    but it will default to true in future releases of meson.
    See also: The check argument of run_command should be True by default mesonbuild/meson#9300
    Project name: ags
    Project version: 1.8.2
    C compiler for the host machine: ccache cc (gcc 14.2.1 "cc (GCC) 14.2.1 20240805")
    C linker for the host machine: cc ld.bfd 2.43.0
    Host machine cpu family: x86_64
    Host machine cpu: x86_64
    Found pkg-config: YES (/usr/bin/pkg-config) 2.1.1
    Run-time dependency glib-2.0 found: YES 2.80.5
    Run-time dependency gobject-introspection-1.0 found: YES 1.80.1
    Run-time dependency gio-2.0 found: YES 2.80.5
    Run-time dependency gjs-1.0 found: YES 1.80.2
    Run-time dependency gtk+-3.0 found: YES 3.24.43

Executing subproject gvc

gvc| Project name: gvc
gvc| Project version: undefined
gvc| C compiler for the host machine: ccache cc (gcc 14.2.1 "cc (GCC) 14.2.1 20240805")
gvc| C linker for the host machine: cc ld.bfd 2.43.0
gvc| Dependency glib-2.0 found: YES 2.80.5 (cached)
gvc| Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums)
gvc| Dependency glib-2.0 found: YES 2.80.5 (cached)
gvc| Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums)
gvc| Dependency gio-2.0 found: YES 2.80.5 (cached)
gvc| Run-time dependency gobject-2.0 found: YES 2.80.5
gvc| Run-time dependency libpulse found: YES 17.0
gvc| Run-time dependency libpulse-mainloop-glib found: YES 17.0
gvc| Dependency gobject-introspection-1.0 found: YES 1.80.1 (cached)
gvc| Dependency gobject-introspection-1.0 found: YES 1.80.1 (cached)
gvc| Program /usr/bin/g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
gvc| Dependency gobject-introspection-1.0 found: YES 1.80.1 (cached)
gvc| Program /usr/bin/g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
gvc| Configuring config.h using configuration
gvc| Build targets in project: 5
gvc| Subproject gvc finished.

Executing subproject gutils

gutils| Project name: pam
gutils| Project version: undefined
gutils| C compiler for the host machine: ccache cc (gcc 14.2.1 "cc (GCC) 14.2.1 20240805")
gutils| C linker for the host machine: cc ld.bfd 2.43.0
gutils| Dependency gobject-2.0 found: YES 2.80.5 (cached)
gutils| Dependency gio-2.0 found: YES 2.80.5 (cached)
gutils| Run-time dependency pam found: YES 1.6.1
gutils| Build targets in project: 8
gutils| Subproject gutils finished.

Program tsc found: YES (/usr/bin/tsc)
Program gjs found: YES (/usr/bin/gjs)
Configuring com.github.Aylur.ags using configuration
Dependency gio-2.0 found: YES 2.80.5 (cached)
Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Build targets in project: 10

ags 1.8.2

Subprojects
gutils : YES
gvc : YES

User defined options
auto_features : enabled
buildtype : plain
libdir : lib/ags
libexecdir : lib
prefix : /usr
sbindir : bin
wrap_mode : nodownload
python.bytecompile: 1
b_pie : true
build_types : true

Found ninja-1.12.1 at /usr/bin/ninja
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /home/tymon/.cache/yay/aylurs-gtk-shell/src/ags/build
ninja: Entering directory `/home/tymon/.cache/yay/aylurs-gtk-shell/src/ags/build'
[1/22] Compiling C object subprojects/gutils/libgutils.so.p/pam.c.o
../subprojects/gutils/pam.c: In function ‘auth_thread’:
../subprojects/gutils/pam.c:50:34: warning: unused parameter ‘object’ [-Wunused-parameter]
50 | gpointer object,
| ~~~~~~~~~~~~~~~^~~~~~
../subprojects/gutils/pam.c:52:34: warning: unused parameter ‘cancellable’ [-Wunused-parameter]
52 | GCancellable *cancellable) {
| ~~~~~~~~~~~~~~~^~~~~~~~~~~
[8/22] Compiling C object subprojects/gvc/libgvc.so.p/gvc-mixer-card.c.o
../subprojects/gvc/gvc-mixer-card.c: In function ‘_pa_context_set_card_profile_by_index_cb’:
../subprojects/gvc/gvc-mixer-card.c:200:77: warning: unused parameter ‘context’ [-Wunused-parameter]
200 | _pa_context_set_card_profile_by_index_cb (pa_context *context,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
[12/22] Compiling C object subprojects/gvc/libgvc.so.p/gvc-mixer-control.c.o
../subprojects/gvc/gvc-mixer-control.c: In function ‘gvc_mixer_control_stream_restore_cb’:
../subprojects/gvc/gvc-mixer-control.c:170:50: warning: unused parameter ‘c’ [-Wunused-parameter]
170 | gvc_mixer_control_stream_restore_cb (pa_context *c,
| ~~~~~~~~~~~~^
../subprojects/gvc/gvc-mixer-control.c: In function ‘listify_hash_values_hfunc’:
../subprojects/gvc/gvc-mixer-control.c:738:37: warning: unused parameter ‘key’ [-Wunused-parameter]
738 | listify_hash_values_hfunc (gpointer key,
| ~~~~~~~~~^~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘on_default_source_port_notify’:
../subprojects/gvc/gvc-mixer-control.c:936:48: warning: unused parameter ‘pspec’ [-Wunused-parameter]
936 | GParamSpec *pspec,
| ~~~~~~~~~~~~~~~~^~~~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘on_default_sink_port_notify’:
../subprojects/gvc/gvc-mixer-control.c:1008:46: warning: unused parameter ‘pspec’ [-Wunused-parameter]
1008 | GParamSpec *pspec,
| ~~~~~~~~~~~~~~~~^~~~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘_stream_has_name’:
../subprojects/gvc/gvc-mixer-control.c:1085:35: warning: unused parameter ‘key’ [-Wunused-parameter]
1085 | _stream_has_name (gpointer key,
| ~~~~~~~~~~~~~~~~^~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘match_stream_with_devices’:
../subprojects/gvc/gvc-mixer-control.c:1254:46: warning: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’} [-Wsign-compare]
1254 | if (device_stream_id == stream_id) {
| ^~
../subprojects/gvc/gvc-mixer-control.c: In function ‘free_priv_port_names’:
../subprojects/gvc/gvc-mixer-control.c:2243:43: warning: unused parameter ‘control’ [-Wunused-parameter]
2243 | free_priv_port_names (GvcMixerControl *control)
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘gvc_mixer_control_set_headset_port’:
../subprojects/gvc/gvc-mixer-control.c:2256:59: warning: unused parameter ‘id’ [-Wunused-parameter]
2256 | guint id,
| ~~~~~~~~~~~~~~~~~~~~~~^~
../subprojects/gvc/gvc-mixer-control.c:2257:59: warning: unused parameter ‘choice’ [-Wunused-parameter]
2257 | GvcHeadsetPortChoice choice)
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘_pa_context_get_server_info_cb’:
../subprojects/gvc/gvc-mixer-control.c:2813:55: warning: unused parameter ‘context’ [-Wunused-parameter]
2813 | _pa_context_get_server_info_cb (pa_context *context,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘remove_event_role_stream’:
../subprojects/gvc/gvc-mixer-control.c:2829:44: warning: unused parameter ‘control’ [-Wunused-parameter]
2829 | remove_event_role_stream (GvcMixerControl *control)
| ~~~~~~~~~~~~~~~~~^~~~~~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘req_update_server_info’:
../subprojects/gvc/gvc-mixer-control.c:2940:42: warning: unused parameter ‘index’ [-Wunused-parameter]
2940 | int index)
| ~~~~~~~~~~~~~~~~~^~~~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘_pa_context_subscribe_cb’:
../subprojects/gvc/gvc-mixer-control.c:3280:56: warning: unused parameter ‘context’ [-Wunused-parameter]
3280 | _pa_context_subscribe_cb (pa_context *context,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
[15/22] Compiling C object subprojects/gvc/libgvc.so.p/gvc-mixer-stream.c.o
../subprojects/gvc/gvc-mixer-stream.c: In function ‘on_channel_map_volume_changed’:
../subprojects/gvc/gvc-mixer-stream.c:370:48: warning: unused parameter ‘channel_map’ [-Wunused-parameter]
370 | on_channel_map_volume_changed (GvcChannelMap *channel_map,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
../subprojects/gvc/gvc-mixer-stream.c: In function ‘gvc_mixer_stream_real_change_port’:
../subprojects/gvc/gvc-mixer-stream.c:817:52: warning: unused parameter ‘stream’ [-Wunused-parameter]
817 | gvc_mixer_stream_real_change_port (GvcMixerStream *stream,
| ~~~~~~~~~~~~~~~~^~~~~~
../subprojects/gvc/gvc-mixer-stream.c:818:52: warning: unused parameter ‘port’ [-Wunused-parameter]
818 | const char *port)
| ~~~~~~~~~~~~~~~~^~~~
../subprojects/gvc/gvc-mixer-stream.c: In function ‘gvc_mixer_stream_real_push_volume’:
../subprojects/gvc/gvc-mixer-stream.c:824:52: warning: unused parameter ‘stream’ [-Wunused-parameter]
824 | gvc_mixer_stream_real_push_volume (GvcMixerStream *stream, gpointer *op)
| ~~~~~~~~~~~~~~~~^~~~~~
../subprojects/gvc/gvc-mixer-stream.c:824:70: warning: unused parameter ‘op’ [-Wunused-parameter]
824 | gvc_mixer_stream_real_push_volume (GvcMixerStream *stream, gpointer *op)
| ~~~~~~~~~~^~
../subprojects/gvc/gvc-mixer-stream.c: In function ‘gvc_mixer_stream_real_change_is_muted’:
../subprojects/gvc/gvc-mixer-stream.c:830:56: warning: unused parameter ‘stream’ [-Wunused-parameter]
830 | gvc_mixer_stream_real_change_is_muted (GvcMixerStream *stream,
| ~~~~~~~~~~~~~~~~^~~~~~
../subprojects/gvc/gvc-mixer-stream.c:831:56: warning: unused parameter ‘is_muted’ [-Wunused-parameter]
831 | gboolean is_muted)
| ~~~~~~~~~~~~~~~~^~~~~~~~
[16/22] Generating subprojects/gutils/GUtils-1.0.gir with a custom command (wrapped by meson to set env)
FAILED: subprojects/gutils/GUtils-1.0.gir
env PKG_CONFIG_PATH=/home/tymon/.cache/yay/aylurs-gtk-shell/src/ags/build/meson-uninstalled PKG_CONFIG=/usr/bin/pkg-config 'CC=ccache cc' /usr/bin/g-ir-scanner --quiet --no-libtool --namespace=GUtils --nsversion=1.0 --warn-all --output subprojects/gutils/GUtils-1.0.gir -I/home/tymon/.cache/yay/aylurs-gtk-shell/src/ags/subprojects/gutils -I/home/tymon/.cache/yay/aylurs-gtk-shell/src/ags/build/subprojects/gutils --filelist=/home/tymon/.cache/yay/aylurs-gtk-shell/src/ags/build/subprojects/gutils/libgutils.so.p/GUtils_1.0_gir_filelist --include=GObject-2.0 --include=Gio-2.0 --symbol-prefix=gutils --identifier-prefix=GUtils --cflags-begin -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/security -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/usr/share/gir-1.0 -L/home/tymon/.cache/yay/aylurs-gtk-shell/src/ags/build/subprojects/gutils --library gutils -lgobject-2.0 -lglib-2.0 -lgio-2.0 -lpam -lgirepository-1.0
Traceback (most recent call last):
File "/usr/bin/g-ir-scanner", line 103, in
from giscanner.scannermain import scanner_main
File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 35, in
from giscanner.ast import Include, Namespace
File "/usr/lib/gobject-introspection/giscanner/ast.py", line 27, in
from .sourcescanner import CTYPE_TYPEDEF, CSYMBOL_TYPE_TYPEDEF
File "/usr/lib/gobject-introspection/giscanner/sourcescanner.py", line 31, in
from giscanner._giscanner import SourceScanner as CSourceScanner
ModuleNotFoundError: No module named 'giscanner._giscanner'
[18/22] Generating src/typescript-compile with a custom command
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
-> error making: aylurs-gtk-shell-exit status 4
==> Making package: python-clickgen 2.2.5-1 (wto, 27 sie 2024, 21:12:31)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found clickgen-2.2.5.tar.gz
==> Validating source files with sha256sums...
clickgen-2.2.5.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting clickgen-2.2.5.tar.gz with bsdtar
==> Sources are ready.
==> Making package: python-clickgen 2.2.5-1 (wto, 27 sie 2024, 21:12:32)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
/home/tymon/.pyenv/versions/3.10.14/bin/python: No module named build
==> ERROR: A failure occurred in build().
Aborting...
-> error making: python-clickgen-exit status 4
==> Making package: ml4w-hyprland-git 2.9.6.r0.g39611b4-1 (wto, 27 sie 2024, 21:12:33)
==> Checking runtime dependencies...
==> Missing dependencies:
-> aylurs-gtk-shell
-> waypaper
-> bibata-cursor-theme
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
-> error making: ml4w-hyprland-git-exit status 8
==> Making package: waypaper 2.2-1 (wto, 27 sie 2024, 21:12:33)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found waypaper-2.2.tar.gz
==> Validating source files with sha512sums...
waypaper-2.2.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting waypaper-2.2.tar.gz with bsdtar
==> Sources are ready.
==> Making package: waypaper 2.2-1 (wto, 27 sie 2024, 21:12:34)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
/home/tymon/.pyenv/versions/3.10.14/bin/python: No module named build
==> ERROR: A failure occurred in build().
Aborting...
-> error making: waypaper-exit status 4
-> Failed to install the following packages. Manual intervention is required:
bibata-cursor-theme - exit status 8
aylurs-gtk-shell - exit status 4
python-clickgen - exit status 4
ml4w-hyprland-git - exit status 8
waypaper - exit status 4

@Tymon3310 Tymon3310 added the bug Something isn't working label Aug 27, 2024
@Tymon3310 Tymon3310 changed the title [BUG] [BUG] yay install fails Aug 27, 2024
@mylinuxforwork
Copy link
Owner

Can you share a screenshot of your error message? Which distro are you using?

@Tymon3310
Copy link
Author

Arch ( with kde plasma)
(there are a lot of errors 1. ==> Starting build()... /home/tymon/.pyenv/versions/3.10.14/bin/python: No module named build ==> ERROR: A failure occurred in build(). Aborting... -> Failed to install layer, rolling up to next layer.error:error making: waypaper - exit status 4 ==> Making package: bibata-cursor-theme 2.0.7-1 (wto, 27 sie 2024, 21:12:21) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Missing dependencies: -> python-clickgen>=2.0.0 ==> ERROR: Could not resolve all dependencies. -> error making: bibata-cursor-theme-exit status 8
2. [16/22] Generating subprojects/gutils/GUtils-1.0.gir with a custom command (wrapped by meson to set env) FAILED: subprojects/gutils/GUtils-1.0.gir env PKG_CONFIG_PATH=/home/tymon/.cache/yay/aylurs-gtk-shell/src/ags/build/meson-uninstalled PKG_CONFIG=/usr/bin/pkg-config 'CC=ccache cc' /usr/bin/g-ir-scanner --quiet --no-libtool --namespace=GUtils --nsversion=1.0 --warn-all --output subprojects/gutils/GUtils-1.0.gir -I/home/tymon/.cache/yay/aylurs-gtk-shell/src/ags/subprojects/gutils -I/home/tymon/.cache/yay/aylurs-gtk-shell/src/ags/build/subprojects/gutils --filelist=/home/tymon/.cache/yay/aylurs-gtk-shell/src/ags/build/subprojects/gutils/libgutils.so.p/GUtils_1.0_gir_filelist --include=GObject-2.0 --include=Gio-2.0 --symbol-prefix=gutils --identifier-prefix=GUtils --cflags-begin -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/security -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/usr/share/gir-1.0 -L/home/tymon/.cache/yay/aylurs-gtk-shell/src/ags/build/subprojects/gutils --library gutils -lgobject-2.0 -lglib-2.0 -lgio-2.0 -lpam -lgirepository-1.0 Traceback (most recent call last): File "/usr/bin/g-ir-scanner", line 103, in <module> from giscanner.scannermain import scanner_main File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 35, in <module> from giscanner.ast import Include, Namespace File "/usr/lib/gobject-introspection/giscanner/ast.py", line 27, in <module> from .sourcescanner import CTYPE_TYPEDEF, CSYMBOL_TYPE_TYPEDEF File "/usr/lib/gobject-introspection/giscanner/sourcescanner.py", line 31, in <module> from giscanner._giscanner import SourceScanner as CSourceScanner ModuleNotFoundError: No module named 'giscanner._giscanner' [18/22] Generating src/typescript-compile with a custom command ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting... -> error making: aylurs-gtk-shell-exit status 4
3. ==> Starting build()... /home/tymon/.pyenv/versions/3.10.14/bin/python: No module named build ==> ERROR: A failure occurred in build().
4. ==> ERROR: Could not resolve all dependencies. -> error making: ml4w-hyprland-git-exit status 8
5. ==> Starting build()... /home/tymon/.pyenv/versions/3.10.14/bin/python: No module named build ==> ERROR: A failure occurred in build(). Aborting... -> error making: waypaper-exit status 4 -> Failed to install the following packages. Manual intervention is required: bibata-cursor-theme - exit status 8 aylurs-gtk-shell - exit status 4 python-clickgen - exit status 4 ml4w-hyprland-git - exit status 8 waypaper - exit status 4

@mylinuxforwork
Copy link
Owner

@Tymon3310 This looks really strange. Looks like an issue with waypaper. I will check as well.

@mylinuxforwork mylinuxforwork added the to be confirmed Issue is currently under review and has not been released label Aug 27, 2024
@Gobes214
Copy link

I'm having a very similar issue installing with yay. The first error I get (and the failure message at end of install) seem to be with gutils. Here's the output for that section of the install.


"[15/22] Generating subprojects/gutils/GUtils-1.0.gir with a custom command (wrapped by meson to set env)
FAILED: subprojects/gutils/GUtils-1.0.gir
env PKG_CONFIG_PATH=/home/neo/.cache/yay/aylurs-gtk-shell/src/ags/build/meson-uninstalled PKG_CONFIG=/usr/bin/pkg-config CC=cc /usr/bin/g-ir-scanner --quiet --no-libtool --namespace=GUtils --nsversion=1.0 --warn-all --output subprojects/gutils/GUtils-1.0.gir -I/home/neo/.cache/yay/aylurs-gtk-shell/src/ags/subprojects/gutils -I/home/neo/.cache/yay/aylurs-gtk-shell/src/ags/build/subprojects/gutils --filelist=/home/neo/.cache/yay/aylurs-gtk-shell/src/ags/build/subprojects/gutils/libgutils.so.p/GUtils_1.0_gir_filelist --include=GObject-2.0 --include=Gio-2.0 --symbol-prefix=gutils --identifier-prefix=GUtils --cflags-begin -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/security -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/usr/share/gir-1.0 -L/home/neo/.cache/yay/aylurs-gtk-shell/src/ags/build/subprojects/gutils --library gutils -lgobject-2.0 -lglib-2.0 -lgio-2.0 -lpam -lgirepository-1.0
Traceback (most recent call last):
File "/usr/bin/g-ir-scanner", line 103, in
from giscanner.scannermain import scanner_main
File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 35, in
from giscanner.ast import Include, Namespace
File "/usr/lib/gobject-introspection/giscanner/ast.py", line 27, in
from .sourcescanner import CTYPE_TYPEDEF, CSYMBOL_TYPE_TYPEDEF
File "/usr/lib/gobject-introspection/giscanner/sourcescanner.py", line 31, in
from giscanner._giscanner import SourceScanner as CSourceScanner
ModuleNotFoundError: No module named 'giscanner._giscanner'
[16/22] Compiling C object subprojects/gvc/libgvc.so.p/gvc-mixer-control.c.o
../subprojects/gvc/gvc-mixer-control.c: In function ‘gvc_mixer_control_stream_restore_cb’:
../subprojects/gvc/gvc-mixer-control.c:170:50: warning: unused parameter ‘c’ [-Wunused-parameter]
170 | gvc_mixer_control_stream_restore_cb (pa_context *c,
| ~~~~~~~~~~~~^
../subprojects/gvc/gvc-mixer-control.c: In function ‘listify_hash_values_hfunc’:
../subprojects/gvc/gvc-mixer-control.c:738:37: warning: unused parameter ‘key’ [-Wunused-parameter]
738 | listify_hash_values_hfunc (gpointer key,
| ~~~~~~~~~^~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘on_default_source_port_notify’:
../subprojects/gvc/gvc-mixer-control.c:936:48: warning: unused parameter ‘pspec’ [-Wunused-parameter]
936 | GParamSpec *pspec,
| ~~~~~~~~~~~~~~~~^~~~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘on_default_sink_port_notify’:
../subprojects/gvc/gvc-mixer-control.c:1008:46: warning: unused parameter ‘pspec’ [-Wunused-parameter]
1008 | GParamSpec *pspec,
| ~~~~~~~~~~~~~~~~^~~~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘_stream_has_name’:
../subprojects/gvc/gvc-mixer-control.c:1085:35: warning: unused parameter ‘key’ [-Wunused-parameter]
1085 | _stream_has_name (gpointer key,
| ~~~~~~~~~~~~~~~~^~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘match_stream_with_devices’:
../subprojects/gvc/gvc-mixer-control.c:1254:46: warning: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’} [-Wsign-compare]
1254 | if (device_stream_id == stream_id) {
| ^~
../subprojects/gvc/gvc-mixer-control.c: In function ‘free_priv_port_names’:
../subprojects/gvc/gvc-mixer-control.c:2243:43: warning: unused parameter ‘control’ [-Wunused-parameter]
2243 | free_priv_port_names (GvcMixerControl *control)
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘gvc_mixer_control_set_headset_port’:
../subprojects/gvc/gvc-mixer-control.c:2256:59: warning: unused parameter ‘id’ [-Wunused-parameter]
2256 | guint id,
| ~~~~~~~~~~~~~~~~~~~~~~^~
../subprojects/gvc/gvc-mixer-control.c:2257:59: warning: unused parameter ‘choice’ [-Wunused-parameter]
2257 | GvcHeadsetPortChoice choice)
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘_pa_context_get_server_info_cb’:
../subprojects/gvc/gvc-mixer-control.c:2813:55: warning: unused parameter ‘context’ [-Wunused-parameter]
2813 | _pa_context_get_server_info_cb (pa_context *context,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘remove_event_role_stream’:
../subprojects/gvc/gvc-mixer-control.c:2829:44: warning: unused parameter ‘control’ [-Wunused-parameter]
2829 | remove_event_role_stream (GvcMixerControl *control)
| ~~~~~~~~~~~~~~~~~^~~~~~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘req_update_server_info’:
../subprojects/gvc/gvc-mixer-control.c:2940:42: warning: unused parameter ‘index’ [-Wunused-parameter]
2940 | int index)
| ~~~~~~~~~~~~~~~~~^~~~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘_pa_context_subscribe_cb’:
../subprojects/gvc/gvc-mixer-control.c:3280:56: warning: unused parameter ‘context’ [-Wunused-parameter]
3280 | _pa_context_subscribe_cb (pa_context *context,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
[17/22] Generating src/typescript-compile with a custom command
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
-> Failed to install layer, rolling up to next layer.error:error making: aylurs-gtk-shell - exit status 4
warning: hypridle-0.1.2-1 is up to date -- reinstalling
warning: hyprlock-0.4.1-1 is up to date -- reinstalling
warning: hyprpaper-0.7.1-1 is up to date -- reinstalling
warning: xdg-desktop-portal-hyprland-1.3.3-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (4) hypridle-0.1.2-1 hyprlock-0.4.1-1 hyprpaper-0.7.1-1 xdg-desktop-portal-hyprland-1.3.3-2

Total Installed Size: 1.26 MiB
Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n] "


It seems to roll past this and continue the rest of the install, but then fails at the end with the following output


"16/22] Generating subprojects/gutils/GUtils-1.0.gir with a custom command (wrapped by meson to set env)
FAILED: subprojects/gutils/GUtils-1.0.gir
env PKG_CONFIG_PATH=/home/neo/.cache/yay/aylurs-gtk-shell/src/ags/build/meson-uninstalled PKG_CONFIG=/usr/bin/pkg-config CC=cc /usr/bin/g-ir-scanner --quiet --no-libtool --namespace=GUtils --nsversion=1.0 --warn-all --output subprojects/gutils/GUtils-1.0.gir -I/home/neo/.cache/yay/aylurs-gtk-shell/src/ags/subprojects/gutils -I/home/neo/.cache/yay/aylurs-gtk-shell/src/ags/build/subprojects/gutils --filelist=/home/neo/.cache/yay/aylurs-gtk-shell/src/ags/build/subprojects/gutils/libgutils.so.p/GUtils_1.0_gir_filelist --include=GObject-2.0 --include=Gio-2.0 --symbol-prefix=gutils --identifier-prefix=GUtils --cflags-begin -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/security -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/usr/share/gir-1.0 -L/home/neo/.cache/yay/aylurs-gtk-shell/src/ags/build/subprojects/gutils --library gutils -lgobject-2.0 -lglib-2.0 -lgio-2.0 -lpam -lgirepository-1.0
Traceback (most recent call last):
File "/usr/bin/g-ir-scanner", line 103, in
from giscanner.scannermain import scanner_main
File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 35, in
from giscanner.ast import Include, Namespace
File "/usr/lib/gobject-introspection/giscanner/ast.py", line 27, in
from .sourcescanner import CTYPE_TYPEDEF, CSYMBOL_TYPE_TYPEDEF
File "/usr/lib/gobject-introspection/giscanner/sourcescanner.py", line 31, in
from giscanner._giscanner import SourceScanner as CSourceScanner
ModuleNotFoundError: No module named 'giscanner._giscanner'
[18/22] Generating src/typescript-compile with a custom command
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
-> Failed to install layer, rolling up to next layer.error:error making: aylurs-gtk-shell - exit status 4
==> Making package: aylurs-gtk-shell 1.8.2-3 (Tue 27 Aug 2024 10:36:20 PM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found aylurs-gtk-shell-1.8.2.tar.gz
==> Validating source files with sha256sums...
aylurs-gtk-shell-1.8.2.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting aylurs-gtk-shell-1.8.2.tar.gz with bsdtar
==> Sources are ready.
==> Making package: aylurs-gtk-shell 1.8.2-3 (Tue 27 Aug 2024 10:36:22 PM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...

added 166 packages, and audited 167 packages in 940ms

33 packages are looking for funding
run npm fund for details

2 vulnerabilities (1 moderate, 1 high)

To address all issues, run:
npm audit fix

Run npm audit for details.

  • exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_pie=true -D python.bytecompile=1 build --libdir lib/ags -Dbuild_types=true
    The Meson build system
    Version: 1.5.1
    Source dir: /home/neo/.cache/yay/aylurs-gtk-shell/src/ags
    Build dir: /home/neo/.cache/yay/aylurs-gtk-shell/src/ags/build
    Build type: native build
    WARNING: You should add the boolean check kwarg to the run_command call.
    It currently defaults to false,
    but it will default to true in future releases of meson.
    See also: The check argument of run_command should be True by default mesonbuild/meson#9300
    Project name: ags
    Project version: 1.8.2
    C compiler for the host machine: cc (gcc 14.2.1 "cc (GCC) 14.2.1 20240805")
    C linker for the host machine: cc ld.bfd 2.43.0
    Host machine cpu family: x86_64
    Host machine cpu: x86_64
    Found pkg-config: YES (/usr/bin/pkg-config) 2.1.1
    Run-time dependency glib-2.0 found: YES 2.80.5
    Run-time dependency gobject-introspection-1.0 found: YES 1.80.1
    Run-time dependency gio-2.0 found: YES 2.80.5
    Run-time dependency gjs-1.0 found: YES 1.80.2
    Run-time dependency gtk+-3.0 found: YES 3.24.43

Executing subproject gvc

gvc| Project name: gvc
gvc| Project version: undefined
gvc| C compiler for the host machine: cc (gcc 14.2.1 "cc (GCC) 14.2.1 20240805")
gvc| C linker for the host machine: cc ld.bfd 2.43.0
gvc| Dependency glib-2.0 found: YES 2.80.5 (cached)
gvc| Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums)
gvc| Dependency glib-2.0 found: YES 2.80.5 (cached)
gvc| Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums)
gvc| Dependency gio-2.0 found: YES 2.80.5 (cached)
gvc| Run-time dependency gobject-2.0 found: YES 2.80.5
gvc| Run-time dependency libpulse found: YES 17.0
gvc| Run-time dependency libpulse-mainloop-glib found: YES 17.0
gvc| Dependency gobject-introspection-1.0 found: YES 1.80.1 (cached)
gvc| Dependency gobject-introspection-1.0 found: YES 1.80.1 (cached)
gvc| Program /usr/bin/g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
gvc| Dependency gobject-introspection-1.0 found: YES 1.80.1 (cached)
gvc| Program /usr/bin/g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
gvc| Configuring config.h using configuration
gvc| Build targets in project: 5
gvc| Subproject gvc finished.

Executing subproject gutils

gutils| Project name: pam
gutils| Project version: undefined
gutils| C compiler for the host machine: cc (gcc 14.2.1 "cc (GCC) 14.2.1 20240805")
gutils| C linker for the host machine: cc ld.bfd 2.43.0
gutils| Dependency gobject-2.0 found: YES 2.80.5 (cached)
gutils| Dependency gio-2.0 found: YES 2.80.5 (cached)
gutils| Run-time dependency pam found: YES 1.6.1
gutils| Build targets in project: 8
gutils| Subproject gutils finished.

Program tsc found: YES (/usr/bin/tsc)
Program gjs found: YES (/usr/bin/gjs)
Configuring com.github.Aylur.ags using configuration
Dependency gio-2.0 found: YES 2.80.5 (cached)
Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Build targets in project: 10

ags 1.8.2

Subprojects
gutils : YES
gvc : YES

User defined options
auto_features : enabled
buildtype : plain
libdir : lib/ags
libexecdir : lib
prefix : /usr
sbindir : bin
wrap_mode : nodownload
python.bytecompile: 1
b_pie : true
build_types : true

Found ninja-1.12.1 at /usr/bin/ninja
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /home/neo/.cache/yay/aylurs-gtk-shell/src/ags/build
ninja: Entering directory `/home/neo/.cache/yay/aylurs-gtk-shell/src/ags/build'
[3/22] Compiling C object subprojects/gutils/libgutils.so.p/pam.c.o
../subprojects/gutils/pam.c: In function ‘auth_thread’:
../subprojects/gutils/pam.c:50:34: warning: unused parameter ‘object’ [-Wunused-parameter]
50 | gpointer object,
| ~~~~~~~~~~~~~~~^~~~~~
../subprojects/gutils/pam.c:52:34: warning: unused parameter ‘cancellable’ [-Wunused-parameter]
52 | GCancellable *cancellable) {
| ~~~~~~~~~~~~~~~^~~~~~~~~~~
[12/22] Compiling C object subprojects/gvc/libgvc.so.p/gvc-mixer-stream.c.o
../subprojects/gvc/gvc-mixer-stream.c: In function ‘on_channel_map_volume_changed’:
../subprojects/gvc/gvc-mixer-stream.c:370:48: warning: unused parameter ‘channel_map’ [-Wunused-parameter]
370 | on_channel_map_volume_changed (GvcChannelMap *channel_map,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
../subprojects/gvc/gvc-mixer-stream.c: In function ‘gvc_mixer_stream_real_change_port’:
../subprojects/gvc/gvc-mixer-stream.c:817:52: warning: unused parameter ‘stream’ [-Wunused-parameter]
817 | gvc_mixer_stream_real_change_port (GvcMixerStream *stream,
| ~~~~~~~~~~~~~~~~^~~~~~
../subprojects/gvc/gvc-mixer-stream.c:818:52: warning: unused parameter ‘port’ [-Wunused-parameter]
818 | const char *port)
| ~~~~~~~~~~~~~~~~^~~~
../subprojects/gvc/gvc-mixer-stream.c: In function ‘gvc_mixer_stream_real_push_volume’:
../subprojects/gvc/gvc-mixer-stream.c:824:52: warning: unused parameter ‘stream’ [-Wunused-parameter]
824 | gvc_mixer_stream_real_push_volume (GvcMixerStream *stream, gpointer *op)
| ~~~~~~~~~~~~~~~~^~~~~~
../subprojects/gvc/gvc-mixer-stream.c:824:70: warning: unused parameter ‘op’ [-Wunused-parameter]
824 | gvc_mixer_stream_real_push_volume (GvcMixerStream *stream, gpointer *op)
| ~~~~~~~~~~^~
../subprojects/gvc/gvc-mixer-stream.c: In function ‘gvc_mixer_stream_real_change_is_muted’:
../subprojects/gvc/gvc-mixer-stream.c:830:56: warning: unused parameter ‘stream’ [-Wunused-parameter]
830 | gvc_mixer_stream_real_change_is_muted (GvcMixerStream *stream,
| ~~~~~~~~~~~~~~~~^~~~~~
../subprojects/gvc/gvc-mixer-stream.c:831:56: warning: unused parameter ‘is_muted’ [-Wunused-parameter]
831 | gboolean is_muted)
| ~~~~~~~~~~~~~~~~^~~~~~~~
[13/22] Compiling C object subprojects/gvc/libgvc.so.p/gvc-mixer-card.c.o
../subprojects/gvc/gvc-mixer-card.c: In function ‘_pa_context_set_card_profile_by_index_cb’:
../subprojects/gvc/gvc-mixer-card.c:200:77: warning: unused parameter ‘context’ [-Wunused-parameter]
200 | _pa_context_set_card_profile_by_index_cb (pa_context *context,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
[15/22] Generating subprojects/gutils/GUtils-1.0.gir with a custom command (wrapped by meson to set env)
FAILED: subprojects/gutils/GUtils-1.0.gir
env PKG_CONFIG_PATH=/home/neo/.cache/yay/aylurs-gtk-shell/src/ags/build/meson-uninstalled PKG_CONFIG=/usr/bin/pkg-config CC=cc /usr/bin/g-ir-scanner --quiet --no-libtool --namespace=GUtils --nsversion=1.0 --warn-all --output subprojects/gutils/GUtils-1.0.gir -I/home/neo/.cache/yay/aylurs-gtk-shell/src/ags/subprojects/gutils -I/home/neo/.cache/yay/aylurs-gtk-shell/src/ags/build/subprojects/gutils --filelist=/home/neo/.cache/yay/aylurs-gtk-shell/src/ags/build/subprojects/gutils/libgutils.so.p/GUtils_1.0_gir_filelist --include=GObject-2.0 --include=Gio-2.0 --symbol-prefix=gutils --identifier-prefix=GUtils --cflags-begin -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/security -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/usr/share/gir-1.0 -L/home/neo/.cache/yay/aylurs-gtk-shell/src/ags/build/subprojects/gutils --library gutils -lgobject-2.0 -lglib-2.0 -lgio-2.0 -lpam -lgirepository-1.0
Traceback (most recent call last):
File "/usr/bin/g-ir-scanner", line 103, in
from giscanner.scannermain import scanner_main
File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 35, in
from giscanner.ast import Include, Namespace
File "/usr/lib/gobject-introspection/giscanner/ast.py", line 27, in
from .sourcescanner import CTYPE_TYPEDEF, CSYMBOL_TYPE_TYPEDEF
File "/usr/lib/gobject-introspection/giscanner/sourcescanner.py", line 31, in
from giscanner._giscanner import SourceScanner as CSourceScanner
ModuleNotFoundError: No module named 'giscanner._giscanner'
[16/22] Compiling C object subprojects/gvc/libgvc.so.p/gvc-mixer-control.c.o
../subprojects/gvc/gvc-mixer-control.c: In function ‘gvc_mixer_control_stream_restore_cb’:
../subprojects/gvc/gvc-mixer-control.c:170:50: warning: unused parameter ‘c’ [-Wunused-parameter]
170 | gvc_mixer_control_stream_restore_cb (pa_context *c,
| ~~~~~~~~~~~~^
../subprojects/gvc/gvc-mixer-control.c: In function ‘listify_hash_values_hfunc’:
../subprojects/gvc/gvc-mixer-control.c:738:37: warning: unused parameter ‘key’ [-Wunused-parameter]
738 | listify_hash_values_hfunc (gpointer key,
| ~~~~~~~~~^~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘on_default_source_port_notify’:
../subprojects/gvc/gvc-mixer-control.c:936:48: warning: unused parameter ‘pspec’ [-Wunused-parameter]
936 | GParamSpec *pspec,
| ~~~~~~~~~~~~~~~~^~~~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘on_default_sink_port_notify’:
../subprojects/gvc/gvc-mixer-control.c:1008:46: warning: unused parameter ‘pspec’ [-Wunused-parameter]
1008 | GParamSpec *pspec,
| ~~~~~~~~~~~~~~~~^~~~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘_stream_has_name’:
../subprojects/gvc/gvc-mixer-control.c:1085:35: warning: unused parameter ‘key’ [-Wunused-parameter]
1085 | _stream_has_name (gpointer key,
| ~~~~~~~~~~~~~~~~^~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘match_stream_with_devices’:
../subprojects/gvc/gvc-mixer-control.c:1254:46: warning: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’} [-Wsign-compare]
1254 | if (device_stream_id == stream_id) {
| ^~
../subprojects/gvc/gvc-mixer-control.c: In function ‘free_priv_port_names’:
../subprojects/gvc/gvc-mixer-control.c:2243:43: warning: unused parameter ‘control’ [-Wunused-parameter]
2243 | free_priv_port_names (GvcMixerControl *control)
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘gvc_mixer_control_set_headset_port’:
../subprojects/gvc/gvc-mixer-control.c:2256:59: warning: unused parameter ‘id’ [-Wunused-parameter]
2256 | guint id,
| ~~~~~~~~~~~~~~~~~~~~~~^~
../subprojects/gvc/gvc-mixer-control.c:2257:59: warning: unused parameter ‘choice’ [-Wunused-parameter]
2257 | GvcHeadsetPortChoice choice)
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘_pa_context_get_server_info_cb’:
../subprojects/gvc/gvc-mixer-control.c:2813:55: warning: unused parameter ‘context’ [-Wunused-parameter]
2813 | _pa_context_get_server_info_cb (pa_context *context,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘remove_event_role_stream’:
../subprojects/gvc/gvc-mixer-control.c:2829:44: warning: unused parameter ‘control’ [-Wunused-parameter]
2829 | remove_event_role_stream (GvcMixerControl *control)
| ~~~~~~~~~~~~~~~~~^~~~~~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘req_update_server_info’:
../subprojects/gvc/gvc-mixer-control.c:2940:42: warning: unused parameter ‘index’ [-Wunused-parameter]
2940 | int index)
| ~~~~~~~~~~~~~~~~~^~~~~
../subprojects/gvc/gvc-mixer-control.c: In function ‘_pa_context_subscribe_cb’:
../subprojects/gvc/gvc-mixer-control.c:3280:56: warning: unused parameter ‘context’ [-Wunused-parameter]
3280 | _pa_context_subscribe_cb (pa_context *context,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
[17/22] Generating src/typescript-compile with a custom command
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
-> error making: aylurs-gtk-shell-exit status 4
==> Making package: ml4w-hyprland 2.9.6-1 (Tue 27 Aug 2024 10:36:30 PM CDT)
==> Checking runtime dependencies...
==> Missing dependencies:
-> aylurs-gtk-shell
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
-> error making: ml4w-hyprland-exit status 8
-> Failed to install the following packages. Manual intervention is required:
aylurs-gtk-shell - exit status 4
ml4w-hyprland - exit status 8"


I hope that's helpful, let me know if there's anything else I can provide.

@mylinuxforwork
Copy link
Owner

@Tymon3310 Cannot confirm this issue.
I have just installed the dotfiles successfully without any issue with

yay -S --noconfirm ml4w-hyprland

Can you try again?

@mylinuxforwork
Copy link
Owner

@Tymon3310 And please make sure that all packages are up-to-date before installing the ML4W Dotfiles.

@Tymon3310
Copy link
Author

==> ERROR: Could not resolve all dependencies.
-> error making: ml4w-hyprland-exit status 8
-> Failed to install the following packages. Manual intervention is required:
waypaper - exit status 4
bibata-cursor-theme - exit status 8
aylurs-gtk-shell - exit status 4
python-clickgen - exit status 4
ml4w-hyprland - exit status 8
┌─[tymon@archlinux] - [~] - [śro sie 28, 11:28]
└─[$] <> flatpak update; yaupg
Looking for updates…

Nothing to do.
[sudo] password for tymon:
:: Synchronizing package databases...
core-testing is up to date
core is up to date
extra-testing is up to date
extra is up to date
multilib-testing is up to date
multilib is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
-> ell: local (0.68-1) is newer than extra (0.67-1)
-> Flagged Out Of Date AUR Packages: bun-bin
-> docker-desktop: local (4.33.0-160616) is newer than AUR (4.33.0-1)
there is nothing to do

@mylinuxforwork
Copy link
Owner

@Tymon3310 can you try yay -S waypaper

This is not a dotfiles issue I guess.

@mylinuxforwork
Copy link
Owner

@Tymon3310 Please make sure that your system is up-to-date with

sudo pacman -Syu

Then repeat the installation again.

@mylinuxforwork mylinuxforwork removed the to be confirmed Issue is currently under review and has not been released label Aug 29, 2024
@PSGitHubUser1
Copy link

==> ERROR: Could not resolve all dependencies.
-> error making: ml4w-hyprland-exit status 8
-> Failed to install the following packages. Manual intervention is required:
waypaper - exit status 4
bibata-cursor-theme - exit status 8
aylurs-gtk-shell - exit status 4
python-clickgen - exit status 4
ml4w-hyprland - exit status 8
┌─[tymon@archlinux] - [~] - [śro sie 28, 11:28]
└─[$] <> flatpak update; yaupg
Looking for updates…

Nothing to do.
[sudo] password for tymon:
:: Synchronizing package databases...
core-testing is up to date
core is up to date
extra-testing is up to date
extra is up to date
multilib-testing is up to date
multilib is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
-> ell: local (0.68-1) is newer than extra (0.67-1)
-> Flagged Out Of Date AUR Packages: bun-bin
-> docker-desktop: local (4.33.0-160616) is newer than AUR (4.33.0-1)
there is nothing to do

Clean the cache

yay -Scc && yay -Sy && yay -Syu

@Gobes214
Copy link

@Tymon3310 @mylinuxforwork -- I was able to resolve the issue, Tymon I am hoping this will help you as well.

So I was having the exact same failure that was in your original log, particularly this part:


"FAILED: subprojects/gutils/GUtils-1.0.gir
env PKG_CONFIG_PATH=/home/neo/.cache/yay/aylurs-gtk-shell/src/ags/build/meson-uninstalled PKG_CONFIG=/usr/bin/pkg-config CC=cc /usr/bin/g-ir-scanner --quiet --no-libtool --namespace=GUtils --nsversion=1.0 --warn-all --output subprojects/gutils/GUtils-1.0.gir -I/home/neo/.cache/yay/aylurs-gtk-shell/src/ags/subprojects/gutils -I/home/neo/.cache/yay/aylurs-gtk-shell/src/ags/build/subprojects/gutils --filelist=/home/neo/.cache/yay/aylurs-gtk-shell/src/ags/build/subprojects/gutils/libgutils.so.p/GUtils_1.0_gir_filelist --include=GObject-2.0 --include=Gio-2.0 --symbol-prefix=gutils --identifier-prefix=GUtils --cflags-begin -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/security -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/usr/share/gir-1.0 -L/home/neo/.cache/yay/aylurs-gtk-shell/src/ags/build/subprojects/gutils --library gutils -lgobject-2.0 -lglib-2.0 -lgio-2.0 -lpam -lgirepository-1.0
Traceback (most recent call last):
File "/usr/bin/g-ir-scanner", line 103, in
from giscanner.scannermain import scanner_main
File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 35, in
from giscanner.ast import Include, Namespace
File "/usr/lib/gobject-introspection/giscanner/ast.py", line 27, in
from .sourcescanner import CTYPE_TYPEDEF, CSYMBOL_TYPE_TYPEDEF
File "/usr/lib/gobject-introspection/giscanner/sourcescanner.py", line 31, in
from giscanner._giscanner import SourceScanner as CSourceScanner
ModuleNotFoundError: No module named 'giscanner._giscanner'"


So the clue that led me to a solution was that last line "No module named 'giscanner._giscanner'" and was happening when trying to install aylurs-gtk-shell. I confirmed this by trying to install aylurs-gtk-shell by itself and was met with the exact same failure.

So following the path in the traceback I navigated to /usr/lib/gobject-introspection/giscanner/ and took a look inside sourcescanner.py and specifically at line 31.

Well, line 31 is calling _giscanner but for me the file in the directory was named _giscanner.cpython-312-x86_64-linux-gnu.so.
Why there's a suffix before .so I am not sure, maybe because I have multiple versions of python installed?? Just a wild and unconfirmed guess, but lets move on.

Well.. the install error is saying there's no module named "giscanner._giscanner" so lets see if we can correct that.

SOLUTION

To do so was actually very simple. Make sure you have navigated in terminal to /usr/lib/gobject-introspection/giscanner/ and then we'll create a softlink so that sourcescanner.py finds the correct file. use ls to find the exact name of your _giscanner file in case yours is different, but mine was _giscanner.cpython-312-x86_64-linux-gnu.so. Then link it to just be _giscanner.so

For me the exact command was:

sudo ln /usr/lib/gobject-introspection/giscanner/_giscanner.cpython-312-x86_64-linux-gnu.so /usr/lib/gobject-introspection/giscanner/_giscanner.so

ls again and you should now have a file named _giscanner.so in the directory.

Now just yay -S ml4w-hyprland and the install went off without a hitch. Really hope this solution works for you too!

@mylinuxforwork
Copy link
Owner

@PSGitHubUser1 @Gobes214 Thanks for sharing the result. The question is why does it happening on your system and not on mine. Installed today the dotfiles several times on Arch and EndeavourOS without any issues.

@Gobes214
Copy link

So, this is just a guess and could very well turn out to be wrong, but maybe it's because I have multiple versions of python installed? If that turns out to be correct, then I would assume you are not having issues because you are testing from a clean install of arch with only one python version installed.

What I think might be happening is that when gobject-introspection installs it is seeing SOMETHING different about my system python and for whatever reason it is appending that python info to the _giscanner.so file name as a suffix (leading to a file named _giscanner.cpython-312-x86_64-linux-gnu.so in my case) but it is not updating sourcescanner.py to point at the correct file, leaving line 31 to just simply call for _giscanner.so which doesn't exist in the directory.. or rather it does exist but under the wrong name.

Again, I am just spitballing here and honestly don't know why it's appending my python info to the end of that file, but creating a softlink resolved the issue so I know I am at least on the right track.

I suppose to test my theory you could try installing an additional version of python and python-virtualenv to a clean install of arch before running the ml4w-hyprland install and see if that reproduces the issue? In addition to the system default python of 3.12.5, I also have 3.10.6 installed and am using python-virtualenv.

If that doesn't recreate the issue on your end then I'm not sure what else could be causing it.. the fact that it is appending the name of that file to something out of the ordinary is very strange. Do let me know if there's any information about my system that could help you track it down.

@mylinuxforwork
Copy link
Owner

Thank you so much for testing. Your theory sounds realistic to me. But I don't know how to install different versions of python.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants