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 fails off AUR and git #612

Closed
Robert4S opened this issue Nov 11, 2024 · 3 comments
Closed

Build fails off AUR and git #612

Robert4S opened this issue Nov 11, 2024 · 3 comments

Comments

@Robert4S
Copy link

The build fails when building GUtils. From what I have read so far, my distutils is probably on an incorrect version, but nowhere in the build or docs seems to specify the correct version. Error:

FAILED: subprojects/gutils/GUtils-1.0.gir env PKG_CONFIG_PATH=/home/robert/.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/robert/.cache/yay/aylurs-gtk-shell/src/ags/subprojects/gutils -I/home/robert/.cache/yay/aylurs-gtk-shell/src/ags/build/subprojects/gutils --filelist=/home/robert/.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/robert/.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 25, in <module> from .ccompiler import CCompiler File "/usr/lib/gobject-introspection/giscanner/ccompiler.py", line 29, in <module> from distutils.msvccompiler import MSVCCompiler ModuleNotFoundError: No module named 'distutils.msvccompiler'

@Robert4S Robert4S changed the title Buiold fails off AUR and git Build fails off AUR and git Nov 11, 2024
@Aylur Aylur closed this as completed Nov 13, 2024
@Robert4S
Copy link
Author

Robert4S commented Nov 13, 2024

Is it possible to know why this was closed? It seems distutils.msvccompiler was deprecated over 2 years ago, and the module has since been removed from distutils completely. I could only get ags to build by removing the imports myself and creating a mock MSVCCompiler class with the same name as the one imported.

@Aylur
Copy link
Owner

Aylur commented Nov 13, 2024

#504

@kotontrion
Copy link
Contributor

also see #554

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