Search Criteria
Package Details: glib 1.2.10-18
Package Actions
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: | 104 |
Popularity: | 0.084119 |
First Submitted: | 2014-05-22 01:43 (UTC) |
Last Updated: | 2021-05-03 09:55 (UTC) |
Dependencies (2)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- sh (dashbinshAUR, bash-devel-static-gitAUR, zshbinshAUR, bash-devel-gitAUR, busybox-coreutilsAUR, bash-gitAUR, bash)
Required by (9)
- abr2gbr
- abr2gbr (make)
- demolition
- epsxe-plugin-gpu-xgl2
- gtk
- imlib
- kmd-git
- lib32-gtk (make)
- xdelta
Latest Comments
1 2 3 4 Next › Last »
mokkurkalve commented on 2021-05-03 09:40 (UTC)
Yes. Just adding CFLAGS="-Wno-format-security" in front of ./configure in the PKGBUILD is enough to make the package build.
micwoj92 commented on 2021-05-02 23:39 (UTC)
Thank you for maintaining all these legacy packages!
ConnorBehan commented on 2021-05-02 22:36 (UTC)
Can someone please check if it's enough to change ./configure to CFLAGS="-Wno-format-security" ./configure? Thanks.
begemot69 commented on 2021-05-02 21:31 (UTC) (edited on 2021-05-02 21:38 (UTC) by begemot69)
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DG_LOG_DOMAIN=g_log_domain_glib -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2,-D_GLIBCXX_ASSERTIONS -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wall -MT grel.lo -MD -MP -MF .deps/grel.Tpo -c -o grel.lo grel.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DG_LOG_DOMAIN=g_log_domain_glib -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2,-D_GLIBCXX_ASSERTIONS -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wall -MT grel.lo -MD -MP -MF .deps/grel.Tpo -c grel.c -fPIC -DPIC -o .libs/grel.o grel.c: In function ‘g_relation_print_one’: grel.c:416:3: error: format not a string literal and no format arguments [-Werror=format-security] 416 | g_log (g_log_domain_glib, G_LOG_LEVEL_INFO, gstring->str); | ^~~~~ cc1: some warnings being treated as errors make[2]: *** [Makefile:741: grel.lo] Error 1 make[2]: Leaving directory '/tmp/yaourt-tmp-klm/aur-glib/src/glib-1.2.10' make[1]: *** [Makefile:847: all-recursive] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-klm/aur-glib/src/glib-1.2.10' make: *** [Makefile:528: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build glib.
frankspace commented on 2021-05-02 16:55 (UTC)
Even building in a clean chroot, with pkgrel=17, I am still encountering a similiar warning to the one reported by @PowaBanga, last few lines as follows:
So from what very little I know of programming, a different file, I think. It does compile if I use
!buildflags
and specify my own flags substituting-Wformat-security
in place of the default-Werror=format-security
, although I have to stress I'm not the most clever or knowledgeable, so I have no idea whether that's safe or the proper way to do it.ConnorBehan commented on 2021-05-02 09:18 (UTC)
This is code that deliberately generates a warning. Let's just remove it.
PowaBanga commented on 2021-05-02 08:56 (UTC) (edited on 2021-05-02 08:59 (UTC) by PowaBanga)
Error in main.c
1 2 3 4 Next › Last »