Package Details: glib2-git 2.89.4.r0.gfa41d35-1

Git Clone URL: https://aur.archlinux.org/glib2-git.git (read-only, click to copy)
Package Base: glib2-git
Description: Low level core library
Upstream URL: https://gitlab.gnome.org/GNOME/glib
Licenses: LGPL-2.1-or-later
Conflicts: glib2
Provides: glib2, libgio-2.0.so, libgirepository-2.0.so, libglib-2.0.so, libgmodule-2.0.so, libgobject-2.0.so, libgthread-2.0.so
Submitter: kfgz
Maintainer: a821
Last Packager: a821
Votes: 47
Popularity: 0.000000
First Submitted: 2010-09-20 13:24 (UTC)
Last Updated: 2026-08-24 07:57 (UTC)

Required by (4131)

Sources (8)

Latest Comments

1 2 3 4 Next › Last »

a821 commented on 2026-08-24 05:48 (UTC)

@lazerbeak12345: I just built it and works fine in a clean chroot. Maybe a temporary error since this is a git package?

lazerbeak12345 commented on 2026-08-23 19:26 (UTC)

I've been getting this compile error when I build this recently:


stdout: 331: UNKNOWN:     # random seed: R02Sd28fe6687aa6942bcbb6cece99942e45
stdout: 333: UNKNOWN:     # random seed: R02S87824bbee5fe5f9ba23766fb4fc6b0ac
stdout: 383: UNKNOWN:     # random seed: R02S3233424768d1eaf1cca7ea51baaf11b1
Unknown TAP output lines have been ignored. Please open a feature request to
implement them, or prefix them with a # if they are not TAP syntax.

408/408 gio - glib:gsubprocess                                                          OK             10.60s   84 subtests passed

Summary of Failures:

346/408 gio+no-valgrind - glib:gio-tool.py                                     FAIL            0.13s   exit status 1

Ok:                401
Fail:              1
Skipped:           6

Full log written to /home/████/.cache/yay/glib2-git/src/build/meson-logs/testlog.txt

linkmauve commented on 2025-01-31 18:07 (UTC)

Hi, it seems you’re missing the dtrace dependency. Also you get some deprecation messages:

DEPRECATION: Option 'gtk_doc' is replaced by 'documentation'
DEPRECATION: Option 'man' is replaced by 'man-pages'
DEPRECATION: Option 'man-pages' value 'true' is replaced by 'enabled'

truocolo commented on 2024-01-04 17:18 (UTC)

Hi,

I'm currently making "some" popular programs' PKGBUILDs seamlessly buildable in a non-x86_64 environment and while doing so I ended up updating glib too.

While latest revision still does not build on this partial gnu enviroment I'm on (and maybe I dont need to rebuild whole glib to get meld to work), it works normally on x86, so you may want to import some of the changes.

I have pushed the updated PKGBUILD on this repo.

A.J commented on 2022-01-19 08:56 (UTC)

i get an error :

 
FAILED: glib/libglib-2.0.so.0.7100.0.p/ggettext.c.o 
cc -Iglib/libglib-2.0.so.0.7100.0.p -Iglib -I../glib/glib -I. -I../glib -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -D_GNU_SOURCE -fno-strict-aliasing -DG_ENABLE_DEBUG -Wduplicated-branches -Wimplicit-fallthrough -Wmisleading-indentation -Wunused -Wno-unused-parameter -Wno-cast-function-type -Wno-pedantic -Wno-format-zero-length -Wno-variadic-macros -Werror=format=2 -Werror=init-self -Werror=missing-include-dirs -Werror=pointer-arith -Wstrict-prototypes -Wno-bad-function-cast -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=missing-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DG_DISABLE_CAST_CHECKS -fPIC -pthread '-DG_LOG_DOMAIN="GLib"' -DGLIB_COMPILATION -fvisibility=hidden -MD -MQ glib/libglib-2.0.so.0.7100.0.p/ggettext.c.o -MF glib/libglib-2.0.so.0.7100.0.p/ggettext.c.o.d -o glib/libglib-2.0.so.0.7100.0.p/ggettext.c.o -c ../glib/glib/ggettext.c
../glib/glib/ggettext.c: In function ‘g_dcgettext’:
../glib/glib/ggettext.c:429:10: error: implicit declaration of function ‘dcgettext’ [-Werror=implicit-function-declaration]
  429 |   return dcgettext (domain, msgid, category);
      |          ^~~~~~~~~
../glib/glib/ggettext.c:429:10: warning: incompatible implicit declaration of built-in function ‘dcgettext’ [-Wbuiltin-declaration-mismatch]
cc1: some warnings being treated as errors

tallero commented on 2021-02-08 06:37 (UTC)

Agreed on @ignapk. Updated PKGBUILD https://gitlab.com/tallero/glib2-git-aur

ignapk commented on 2021-02-05 02:36 (UTC)

Please add

provides+=(libgio-2.0.so libglib-2.0.so libgmodule-2.0.so libgobject-2.0.so libgthread-2.0.so)

in the package_glib2() function so it's possible to replace glib2 with this package.

shoober420 commented on 2020-10-06 18:57 (UTC)

Can you please add “ CFLAGS+=" -DG_DISABLE_CAST_CHECKS" to the “build()” section of the PKGBUILD to reflect the official repo options?