Package Details: glib 1.2.10-14

Git Clone URL: https://aur.archlinux.org/glib.git (read-only, click to copy)
Package Base: glib
Description: Common C routines used by Gtk+ and other libs
Upstream URL: http://www.gtk.org/
Licenses: LGPL
Submitter: ConnorBehan
Maintainer: ConnorBehan
Last Packager: ConnorBehan
Votes: 100
Popularity: 0.41
First Submitted: 2014-05-22 01:43
Last Updated: 2016-04-28 16:39

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

tommyjcarpenter commented on 2015-06-01 02:58

I confirm that bidulock's comment (adding that line during the 'edit packagebuild?" stage) works. Thank you!

bidulock commented on 2015-05-31 22:56

Easily fixed by adding the line:

sed 's,ifdef[[:space:]]*__OPTIMIZE__,if 0,' -i glib.h

to the end of prepare(), or simply use the PKGBUILD here:

https://gist.github.com/bbidulock/e7ec7d6622471142e248

It seems that glib does not predict gcc 5.1.0 behavior with
resprect to inline functions and "extern inline" in particular.

tommyjcarpenter commented on 2015-05-31 00:05

Sorry, that was 4.0.4-2*.

tommyjcarpenter commented on 2015-05-31 00:04

As of May 31st, 2015, with Linux 4.0.2-2, this build is broken. The end of the error is. glib is a requirement for GTK, which also now fails due to the below.

gutils.lo: In function `g_bit_storage':
gutils.c:(.text+0x70): multiple definition of `g_bit_storage'
garray.lo:garray.c:(.text+0x1a0): first defined here
collect2: error: ld returned 1 exit status
Makefile:593: recipe for target 'libglib.la' failed
make[2]: *** [libglib.la] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-tcarpent/aur-glib/src/glib-1.2.10'
Makefile:807: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-tcarpent/aur-glib/src/glib-1.2.10'
Makefile:494: recipe for target 'all' failed
make: *** [all] Error 2

ConnorBehan commented on 2015-04-19 20:10

Find an ftp PKGBUILD from which you can download (verifying that it's not a PEBKAC) and we have a deal.

pretzelface commented on 2015-04-19 01:49

For some reason, I can't get the source tarballs via ftp. Changing the PKGBUILD to http solves the problem.

Also affects gtk.

Anonymous comment on 2015-04-14 00:56

this compile with gcc 5.1? It use -std=gnu11 so, I'm not sure ig glib is compatible with the gnu++11/gnu11.

ConnorBehan commented on 2014-07-15 09:32

What doesn't work? Clicking the link in your browser or downloading it with makepkg? Both work for me.

pnorcks commented on 2014-07-14 18:14

The FTP link is broken for me too. I generally download GNOME sources from https://download.gnome.org/sources/ ...

ctag commented on 2014-06-15 01:22

The FTP link is broken for me, changing to HTTP:// resolves the issue and downloads correctly.