Package Details: libgdm-prime 46.0-1

Git Clone URL: https://aur.archlinux.org/gdm-prime.git (read-only, click to copy)
Package Base: gdm-prime
Description: Display manager and login screen - patched with Prime support for Optimus laptops - support library
Upstream URL: https://wiki.gnome.org/Projects/GDM
Licenses: GPL-2.0-or-later
Conflicts: libgdm
Provides: libgdm, libgdm.so
Submitter: Askannz
Maintainer: Askannz
Last Packager: Askannz
Votes: 27
Popularity: 0.175993
First Submitted: 2019-04-28 00:19 (UTC)
Last Updated: 2024-04-07 01:00 (UTC)

Required by (9)

Sources (3)

Latest Comments

1 2 3 4 5 6 Next › Last »

kemelzaidan commented on 2024-04-15 18:29 (UTC)

I'm having the following errors:

Making package: gdm-prime 46.0-1 (seg 15 abr 2024 15:24:24)
==> Retrieving sources...
  -> Cloning gdm git repo...
Cloning into bare repository '/home/kemel/.cache/yay/gdm-prime/gdm'...
remote: Enumerating objects: 67133, done.
remote: Counting objects: 100% (3409/3409), done.
remote: Compressing objects: 100% (1230/1230), done.
remote: Total 67133 (delta 2255), reused 3221 (delta 2120), pack-reused 63724
Receiving objects: 100% (67133/67133), 36.46 MiB | 8.64 MiB/s, done.
Resolving deltas: 100% (53456/53456), done.
  -> Found 0001-Xsession-Don-t-start-ssh-agent-by-default.patch
  -> Found 0002-nvidia-prime.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with b2sums...
    gdm ... NOT FOUND
    0001-Xsession-Don-t-start-ssh-agent-by-default.patch ... Passed
    0002-nvidia-prime.patch ... Passed
==> ERROR: One or more files did not pass the validity check!
 -> error downloading sources: /home/kemel/.cache/yay/gdm-prime
         context: exit status 1


:: (1/1) Parsing SRCINFO: gdm-prime
==> Making package: gdm-prime 46.0-1 (seg 15 abr 2024 15:24:41)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating gdm git repo...
  -> Found 0001-Xsession-Don-t-start-ssh-agent-by-default.patch
  -> Found 0002-nvidia-prime.patch
==> Validating source files with b2sums...
    gdm ... NOT FOUND
    0001-Xsession-Don-t-start-ssh-agent-by-default.patch ... Passed
    0002-nvidia-prime.patch ... Passed
==> ERROR: One or more files did not pass the validity check!
 -> error making: gdm-prime-exit status 1
 -> Failed to install the following packages. Manual intervention is required:
gdm-prime - exit status 1

rpi_luver commented on 2024-03-30 00:12 (UTC)

Hi all, while waiting for the maintainer to release the v46.0 update, feel free to take a look at my repo to update the GDM to v46.0, which I have tested and it works in GNOME 46.0. You can either makepkg -si or simply install the pkg.tar.zst files from my releases. Hope this helps!

ixdi commented on 2024-03-25 09:11 (UTC)

Not compatible with the last Gnome 46

CucumberSpace commented on 2024-03-24 17:25 (UTC)

pls update it, doesn't work with latest glib 2.2

spielcrypto commented on 2024-01-14 17:30 (UTC)

When I try to install the version gdm-prime 45.0.1-1 I get this error:

Preparando...
Clonando gdm-prime archivos de compilación...
Generando gdm-prime información...
Comprobando gdm-prime dependencias...
Resolviendo dependencias...
comprobando conflictos internos...

Construyendo gdm-prime...
==> Creando el paquete: gdm-prime 45.0.1-1 (dom 14 ene 2024 18:28:23)
==> Comprobando dependencias mientras se ejecuta...
==> Comprobando dependencias mientras se compila...
==> Recibiendo las fuentes...
  -> Actualizando gdm del repositorio git...
  -> 0001-Xsession-Don-t-start-ssh-agent-by-default.patch ha sido encontrado
  -> 0002-nvidia-prime.patch ha sido encontrado
==> Validando los archivos source con md5sums...
    gdm ... Omitido
    0001-Xsession-Don-t-start-ssh-agent-by-default.patch ... Aprobado
    0002-nvidia-prime.patch ... Aprobado
==> Eliminando el directorio $srcdir/...
==> Extrayendo las fuentes...
  -> Creando copia de trabajo de gdm del repositorio git...
Clonando en 'gdm'...
hecho.
Cambiado a nueva rama 'makepkg'
==> Iniciando prepare()...
Parche aplicado a 'data/Xsession.in' limpiamente
Parche aplicado a 'common/gdm-common.c' limpiamente
Parche aplicado a 'daemon/gdm-session.c' limpiamente
Parche aplicado a 'daemon/gdm-x-session.c' limpiamente
Retrocediendo a la aplicación...
Retrocediendo a la aplicación...
Parche aplicado a 'data/meson.build' limpiamente
==> Iniciando pkgver()...
==> Eliminando el directorio $pkgdir/...
==> Iniciando build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true -D python.bytecompile=1 gdm build -D dbus-sys=/usr/share/dbus-1/system.d -D default-pam-config=arch -D default-path=/usr/local/bin:/usr/local/sbin:/usr/bin -D gdm-xsession=true -D ipv6=true -D run-dir=/run/gdm -D selinux=disabled
The Meson build system
Version: 1.3.1
Source dir: /var/tmp/pamac-build-spielrs/gdm-prime/src/gdm
Build dir: /var/tmp/pamac-build-spielrs/gdm-prime/src/build
Build type: native build
Project name: gdm
Project version: 45.0.1
C compiler for the host machine: cc (gcc 13.2.1 "cc (GCC) 13.2.1 20230801")
C linker for the host machine: cc ld.bfd 2.41.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 2.1.0
Run-time dependency udev found: YES 255
Run-time dependency gudev-1.0 found: YES 238
Run-time dependency glib-2.0 found: YES 2.78.3
Run-time dependency gobject-2.0 found: YES 2.78.3
Run-time dependency gio-2.0 found: YES 2.78.3
Run-time dependency gio-unix-2.0 found: YES 2.78.3
Run-time dependency gtk+-3.0 found: YES 3.24.39
Run-time dependency libcanberra-gtk3 found: YES 0.30
Run-time dependency accountsservice found: YES 23.13.0
Run-time dependency xcb found: YES 1.16
Run-time dependency libkeyutils found: YES 1.6.3
Dependency libselinux skipped: feature selinux disabled
gdm/meson.build:62: WARNING: Project targets '>= 0.57' but uses feature deprecated since '0.56.0': dependency.get_pkgconfig_variable. use dependency.get_variable(pkgconfig : ...) instead
Run-time dependency x11 found: YES 1.8.7
Run-time dependency xau found: YES 1.0.11
Run-time dependency xorg-server found: YES 21.1.10
Program build-aux/find-x-server.sh found: YES (/var/tmp/pamac-build-spielrs/gdm-prime/src/gdm/build-aux/find-x-server.sh)
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: https://github.com/mesonbuild/meson/issues/9300
Library Xdmcp found: YES
Run-time dependency systemd found: YES 255
Run-time dependency libsystemd found: YES 255
gdm/meson.build:111: WARNING: Project targets '>= 0.57' but uses feature deprecated since '0.56.0': dependency.get_pkgconfig_variable. use dependency.get_variable(pkgconfig : ...) instead
Program systemd-multi-seat-x found: NO
Run-time dependency ply-boot-client found: YES 24.02.0
Header "bsm/adt.h" has symbol "ADT_USER" : NO 
Run-time dependency audit found: YES 3.1.2
Run-time dependency check found: YES 0.15.2
Has header "security/pam_modutil.h" : YES 
Has header "security/pam_ext.h" : YES 
Checking for function "pam_syslog" : NO 
Has header "utmpx.h" : YES 
Has header "utmp.h" : YES 
Checking whether type "struct utmpx" has member "ut_host" : YES 
Checking whether type "struct utmpx" has member "ut_pid" : YES 
Checking whether type "struct utmpx" has member "ut_id" : YES 
Checking whether type "struct utmpx" has member "ut_name" : NO 
Checking whether type "struct utmpx" has member "ut_type" : YES 
Checking whether type "struct utmpx" has member "ut_exit.e_termination" : NO 
Checking whether type "struct utmpx" has member "ut_user" : YES 
Checking whether type "struct utmpx" has member "ut_time" : NO 
Checking whether type "struct utmpx" has member "ut_tv" : YES 
Checking whether type "struct utmpx" has member "ut_syslen" : NO 
Library pam found: YES
Header "security/pam_appl.h" has symbol "PAM_BINARY_PROMPT" : YES 
Checking for function "getutxent" : YES 
Checking for function "updwtmp" : YES 
Checking for function "updwtmpx" : YES 
Checking for function "login" : YES 
Checking for function "logout" : YES 
Checking for function "logwtmp" : YES 
Configuring config.h using configuration
Configuring mime-dummy-handler.desktop using configuration
Configuring mimeapps.list using configuration
Configuring orca-autostart.desktop using configuration
Configuring gdm using configuration
Program dconf found: YES (/usr/bin/dconf)
Configuring Init using configuration
Configuring PreSession using configuration
Configuring PostSession using configuration
Configuring Prime using configuration
Configuring PrimeOff using configuration
Configuring gdm.conf using configuration
Program dirname found: YES (/usr/bin/dirname)
Dependency gio-2.0 found: YES 2.78.3 (cached)
Program /usr/bin/glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
Configuring gdm.schemas using configuration
Configuring gnome-login.session using configuration
Configuring 61-gdm.rules using configuration
gdm/data/meson.build:173: WARNING: Project targets '>= 0.57' but uses feature deprecated since '0.56.0': dependency.get_pkgconfig_variable. use dependency.get_variable(pkgconfig : ...) instead
gdm/data/meson.build:183: WARNING: Project targets '>= 0.57' but uses feature deprecated since '0.56.0': dependency.get_pkgconfig_variable. use dependency.get_variable(pkgconfig : ...) instead
Configuring gdm.service using configuration
Configuring session.conf using configuration
Configuring Xsession using configuration
Dependency gio-2.0 found: YES 2.78.3 (cached)
Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen)
Dependency gio-2.0 found: YES 2.78.3 (cached)
Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen)
Dependency gio-2.0 found: YES 2.78.3 (cached)
Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen)
Dependency gio-2.0 found: YES 2.78.3 (cached)
Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen)
Dependency gio-2.0 found: YES 2.78.3 (cached)
Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen)
Dependency gio-2.0 found: YES 2.78.3 (cached)
Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen)
Dependency gio-2.0 found: YES 2.78.3 (cached)
Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen)
Dependency glib-2.0 found: YES 2.78.3 (cached)
Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums)
Dependency glib-2.0 found: YES 2.78.3 (cached)
Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums)
Dependency glib-2.0 found: YES 2.78.3 (cached)
Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums)
Dependency glib-2.0 found: YES 2.78.3 (cached)
Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums)
Dependency gio-2.0 found: YES 2.78.3 (cached)
Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen)
Dependency gio-2.0 found: YES 2.78.3 (cached)
Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen)
Run-time dependency gobject-introspection-1.0 found: YES 1.78.1
Dependency gobject-introspection-1.0 found: YES 1.78.1 (cached)
Program /usr/bin/g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
Dependency gobject-introspection-1.0 found: YES 1.78.1 (cached)
Program /usr/bin/g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
Program msgfmt found: YES (/usr/bin/msgfmt)
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Program itstool found: YES (/usr/bin/itstool)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program msgfmt found: YES (/usr/bin/msgfmt)
Dependency gio-2.0 found: YES 2.78.3 (cached)
Program /usr/bin/glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
Build targets in project: 235
NOTICE: Future-deprecated features used:
 * 0.64.0: {'copy arg in configure_file'}
WARNING: Deprecated features used:
 * 0.56.0: {'dependency.get_pkgconfig_variable'}

gdm 45.0.1

  Paths
    datadir                 : /usr/share
    sysconfdir              : /etc
    bindir                  : /usr/bin
    libdir                  : /usr/lib
    libexecdir              : /usr/lib
    logdir                  : /var/log/gdm
    System DBus             : /usr/share/dbus-1/system.d
    DM conf                 : /etc/dm
    GDM conf                : /etc/gdm
    GDM Screenshot          : /run/gdm/greeter
    GDM Xauth               : /run/gdm
    GDM RanOnceMarker       : /run/gdm
    GDM Run                 : /run/gdm
    GDM PID file            : /run/gdm/gdm.pid
    GDM Defaults config     : /usr/share/gdm/defaults.conf
    GDM Custom config       : /etc/gdm/custom.conf
    GDM Runtime config      : /run/gdm/custom.conf
    GDM Session default path: /usr/local/bin:/usr/local/sbin:/usr/bin
    GDM Working dir         : /var/lib/gdm
    GNOME locale            : /usr/share/locale
    GNOME Settings Daemon   : /usr/lib
    AT SPI registryd        : /usr/lib
    Lang config file        : /etc/locale.conf
    Pam MOD                 : /usr/lib/security
    Udev rules              : /usr/lib/udev/rules.d
    XServer                 : /usr/bin/X
    XPath                   : /usr/bin
    Systemd XServer         : /lib/systemd/systemd-multi-seat-x

  Features
    ADT                     : NO
    PAM Syslog              : NO
    Supports PAM Extensions : YES
    SeLinux                 : NO
    Logind Provider         : systemd
    Use GDM Xsession        : YES
    Use UserDisplayServer   : YES
    Use SystemdJournal      : YES
    Use WaylandSupport      : YES
    Use Profiling           : NO
    Initial VT              : 1
    Username                : gdm
    Groupname               : gdm
    Plymouth                : YES
    Use ipv6                : YES

  User defined options
    auto_features           : enabled
    buildtype               : plain
    libexecdir              : lib
    prefix                  : /usr
    sbindir                 : bin
    wrap_mode               : nodownload
    python.bytecompile      : 1
    b_lto                   : true
    b_pie                   : true
    dbus-sys                : /usr/share/dbus-1/system.d
    default-pam-config      : arch
    default-path            : /usr/local/bin:/usr/local/sbin:/usr/bin
    gdm-xsession            : true
    ipv6                    : true
    run-dir                 : /run/gdm
    selinux                 : disabled

Found ninja-1.11.1 at /usr/bin/ninja

Generating targets:   0%|          | 0/235 eta ?


Writing build.ninja:   0%|          | 0/380 eta ?

ninja: Entering directory `/var/tmp/pamac-build-spielrs/gdm-prime/src/build'
[1/288] Generating data/dconf/greeter-dconf-defaults with a custom command
[2/288] Compiling gschemas data/gsettings-compile-data
[3/288] Compiling C object common/libgdmcommon.a.p/gdm-settings-backend.c.o
[4/288] Compiling C object common/libgdmcommon.a.p/gdm-settings-desktop-backend.c.o
[5/288] Compiling C object common/libgdmcommon.a.p/gdm-address.c.o
../gdm/common/gdm-address.c: En la función ‘gdm_address_get_sockaddr_storage’:
../gdm/common/gdm-address.c:137:9: aviso: ‘g_memdup’ es obsoleto: Use 'g_memdup2' instead [-Wdeprecated-declarations]
  137 |         ss = g_memdup (address->ss, sizeof (struct sockaddr_storage));
      |         ^~
En el fichero incluido desde /usr/include/glib-2.0/glib/gstring.h:37,
                 desde /usr/include/glib-2.0/glib/giochannel.h:36,
                 desde /usr/include/glib-2.0/glib.h:56,
                 desde /usr/include/glib-2.0/gobject/gbinding.h:30,
                 desde /usr/include/glib-2.0/glib-object.h:24,
                 desde ../gdm/common/gdm-address.c:51:
/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: nota: se declara aquí
  350 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
../gdm/common/gdm-address.c: En la función ‘gdm_address_copy’:
../gdm/common/gdm-address.c:532:9: aviso: ‘g_memdup’ es obsoleto: Use 'g_memdup2' instead [-Wdeprecated-declarations]
  532 |         addr->ss = g_memdup (address->ss, sizeof (struct sockaddr_storage));
      |         ^~~~
/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: nota: se declara aquí
  350 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
[6/288] Compiling C object common/libgdmcommon.a.p/gdm-settings-direct.c.o
[7/288] Compiling C object common/libgdmcommon.a.p/gdm-log.c.o
[8/288] Compiling C object common/libgdmcommon.a.p/gdm-profile.c.o
[9/288] Compiling C object common/test-log.p/test-log.c.o
[10/288] Generating gdbus source daemon/gdm-dbus-glue.c
FAILED: daemon/gdm-dbus-glue.c 
/usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.freedesktop.DBus --c-namespace GdmDBus --body --output daemon/gdm-dbus-glue.c ../gdm/daemon/org.freedesktop.DBus.xml
Traceback (most recent call last):
  File "/usr/bin/gdbus-codegen", line 53, in <module>
    from codegen import codegen_main
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1138, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1078, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1504, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1476, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1616, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1659, in _fill_cache
OSError: [Errno 74] Bad message: '/usr/share/glib-2.0/codegen'
[11/288] Generating gdbus source daemon/gdm-display-glue.c
FAILED: daemon/gdm-display-glue.c 
/usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.gnome.DisplayManager --c-namespace GdmDBus --body --output daemon/gdm-display-glue.c ../gdm/daemon/gdm-display.xml
Traceback (most recent call last):
  File "/usr/bin/gdbus-codegen", line 53, in <module>
    from codegen import codegen_main
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1138, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1078, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1504, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1476, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1616, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1659, in _fill_cache
OSError: [Errno 74] Bad message: '/usr/share/glib-2.0/codegen'
[12/288] Generating gdbus header daemon/gdm-display-glue.h
FAILED: daemon/gdm-display-glue.h 
/usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.gnome.DisplayManager --c-namespace GdmDBus --header --output daemon/gdm-display-glue.h ../gdm/daemon/gdm-display.xml
Traceback (most recent call last):
  File "/usr/bin/gdbus-codegen", line 53, in <module>
    from codegen import codegen_main
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1138, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1078, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1504, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1476, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1616, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1659, in _fill_cache
OSError: [Errno 74] Bad message: '/usr/share/glib-2.0/codegen'
[13/288] Generating gdbus header daemon/gdm-dbus-glue.h
FAILED: daemon/gdm-dbus-glue.h 
/usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.freedesktop.DBus --c-namespace GdmDBus --header --output daemon/gdm-dbus-glue.h ../gdm/daemon/org.freedesktop.DBus.xml
Traceback (most recent call last):
  File "/usr/bin/gdbus-codegen", line 53, in <module>
    from codegen import codegen_main
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1138, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1078, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1504, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1476, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1616, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1659, in _fill_cache
OSError: [Errno 74] Bad message: '/usr/share/glib-2.0/codegen'
[14/288] Compiling C object common/libgdmcommon.a.p/gdm-settings-utils.c.o
[15/288] Generating gdbus source daemon/gdm-local-display-glue.c
FAILED: daemon/gdm-local-display-glue.c 
/usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.gnome.DisplayManager --c-namespace GdmDBus --body --output daemon/gdm-local-display-glue.c ../gdm/daemon/gdm-local-display.xml
Traceback (most recent call last):
  File "/usr/bin/gdbus-codegen", line 53, in <module>
    from codegen import codegen_main
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1138, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1078, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1504, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1476, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1616, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1659, in _fill_cache
OSError: [Errno 74] Bad message: '/usr/share/glib-2.0/codegen'
[16/288] Generating gdbus header daemon/gdm-local-display-glue.h
FAILED: daemon/gdm-local-display-glue.h 
/usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.gnome.DisplayManager --c-namespace GdmDBus --header --output daemon/gdm-local-display-glue.h ../gdm/daemon/gdm-local-display.xml
Traceback (most recent call last):
  File "/usr/bin/gdbus-codegen", line 53, in <module>
    from codegen import codegen_main
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1138, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1078, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1504, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1476, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1616, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1659, in _fill_cache
OSError: [Errno 74] Bad message: '/usr/share/glib-2.0/codegen'
[17/288] Generating gdbus source daemon/gdm-local-display-factory-glue.c
FAILED: daemon/gdm-local-display-factory-glue.c 
/usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.gnome.DisplayManager --c-namespace GdmDBus --body --output daemon/gdm-local-display-factory-glue.c ../gdm/daemon/gdm-local-display-factory.xml
Traceback (most recent call last):
  File "/usr/bin/gdbus-codegen", line 53, in <module>
    from codegen import codegen_main
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1138, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1078, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1504, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1476, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1616, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1659, in _fill_cache
OSError: [Errno 74] Bad message: '/usr/share/glib-2.0/codegen'
[18/288] Compiling C object common/libgdmcommon.a.p/gdm-common.c.o
[19/288] Compiling C object common/libgdmcommon.a.p/gdm-settings.c.o
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /var/tmp/pamac-build-spielrs/gdm-prime/src/build
==> ERROR: Se produjo un fallo en build().
    Cancelando...

kiwiphysicist commented on 2022-11-03 19:28 (UTC)

@Askannz 43.0 version has resolved the problem for me. Thank you.

Askannz commented on 2022-11-03 10:42 (UTC)

@grandchild not sure where that's coming from, I just copied the official PKGBUILD. Does it still happen with the new 43.0 version?

grandchild commented on 2022-11-01 17:57 (UTC) (edited on 2022-11-01 18:04 (UTC) by grandchild)

You're missing the 'd' at the end of the pkgver:

diff --git a/PKGBUILD b/PKGBUILD
index 7484d40..72a6a3d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@

 pkgbase=gdm-prime
 pkgname=(gdm-prime libgdm-prime)
-pkgver=42.0+r11+g4a52f026
+pkgver=42.0+r11+g4a52f026d
 pkgrel=1
 pkgdesc="Display manager and login screen - patched with Prime support for Optimus laptops"
 url="https://wiki.gnome.org/Projects/GDM"

Maybe you have your local git configured somehow to output one less digit of the hash? Perhaps core.abbrev?

zyanjun commented on 2022-10-10 01:55 (UTC)

similar issue @yingyi

:: 1 Packages to upgrade.
1  aur/gdm-prime  42.0+r11+g4a52f026d-1 -> 42.0+r11+g4a52f026-1