Package Details: glib 1.2.10-18

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.107612
First Submitted: 2014-05-22 01:43 (UTC)
Last Updated: 2021-05-03 09:55 (UTC)

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:

/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 gprimes.lo -MD -MP -MF .deps/gprimes.Tpo -c -o gprimes.lo gprimes.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 gprimes.lo -MD -MP -MF .deps/gprimes.Tpo -c gprimes.c  -fPIC -DPIC -o .libs/gprimes.o
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 gprimes.lo -MD -MP -MF .deps/gprimes.Tpo -c gprimes.c -o gprimes.o >/dev/null 2>&1
mv -f .deps/gprimes.Tpo .deps/gprimes.Plo
/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 '/build/glib/src/glib-1.2.10'
make[1]: *** [Makefile:847: all-recursive] Error 1
make[1]: Leaving directory '/build/glib/src/glib-1.2.10'
make: *** [Makefile:528: all] Error 2

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

makepkg -sc --needed
==> Making package: glib 1.2.10-16 (Sun May  2 10:58:40 2021)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found glib-1.2.10.tar.gz
  -> Found gcc340.patch
  -> Found aclocal-fixes.patch
  -> Found glib1-autotools.patch
==> Validating source files with sha1sums...
    glib-1.2.10.tar.gz ... Passed
    gcc340.patch ... Passed
    aclocal-fixes.patch ... Passed
    glib1-autotools.patch ... Passed
==> Extracting sources...
  -> Extracting glib-1.2.10.tar.gz with bsdtar
==> Starting prepare()...
patching file glib.h
patching file glib.m4
patching file configure.in
patching file gmodule/Makefile.am
==> Removing existing $pkgdir/ directory...
==> Starting build()...
autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in'
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:63: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:9482: AM_INIT_AUTOMAKE is expanded from...
configure.in:63: the top level
configure.in:66: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.in:66: You should use the 'AC_CONFIG_HEADERS' macro instead.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:9816: AM_CONFIG_HEADER is expanded from...
configure.in:66: the top level
configure.in:75: warning: The macro `AM_PROG_LIBTOOL' is obsolete.
configure.in:75: You should run autoupdate.
aclocal.m4:122: AM_PROG_LIBTOOL is expanded from...
configure.in:75: the top level
configure.in:157: warning: 'AM_PROG_CC_STDC': this macro is obsolete.
configure.in:157: You should simply use the 'AC_PROG_CC' macro instead.
configure.in:157: Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
configure.in:157: but upon 'ac_cv_prog_cc_stdc'.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:9822: AM_PROG_CC_STDC is expanded from...
configure.in:157: the top level
configure.in:190: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:190: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
configure.in:190: the top level
configure.in:185: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:185: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
configure.in:185: the top level
configure.in:207: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:207: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:207: the top level
configure.in:203: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:203: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:203: the top level
configure.in:214: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.in:214: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.in:214: the top level
configure.in:236: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:236: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
configure.in:236: the top level
configure.in:251: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:251: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
configure.in:251: the top level
configure.in:266: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:266: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
configure.in:266: the top level
configure.in:301: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:301: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.in:301: the top level
configure.in:313: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:313: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.in:313: the top level
configure.in:324: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:324: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:324: the top level
configure.in:334: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:334: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:334: the top level
configure.in:339: warning: The macro `AC_HEADER_EGREP' is obsolete.
configure.in:339: You should run autoupdate.
./lib/autoconf/oldnames.m4:37: AC_HEADER_EGREP is expanded from...
configure.in:339: the top level
configure.in:357: warning: The macro `AC_TRY_CPP' is obsolete.
configure.in:357: You should run autoupdate.
./lib/autoconf/general.m4:2762: AC_TRY_CPP is expanded from...
configure.in:357: the top level
configure.in:366: warning: The macro `AC_TRY_CPP' is obsolete.
configure.in:366: You should run autoupdate.
./lib/autoconf/general.m4:2762: AC_TRY_CPP is expanded from...
configure.in:366: the top level
configure.in:378: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:378: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.in:378: the top level
configure.in:401: warning: AC_CACHE_VAL(glib_cv_sane_realloc, ...): suspicious presence of an AC_DEFINE in the second argument, where no actions should be taken
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
configure.in:401: the top level
configure.in:401: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:401: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
configure.in:401: the top level
configure.in:422: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:422: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
configure.in:422: the top level
configure.in:444: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:444: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
configure.in:444: the top level
configure.in:466: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:466: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
configure.in:466: the top level
configure.in:529: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:529: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.in:529: the top level
configure.in:529: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:529: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.in:529: the top level
configure.in:559: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:559: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.in:559: the top level
configure.in:590: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:590: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
configure.in:590: the top level
configure.in:835: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:835: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
configure.in:835: the top level
configure.in:857: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:857: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:857: the top level
configure.in:870: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:870: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:870: the top level
configure.in:877: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:877: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
configure.in:877: the top level
configure.in:886: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:886: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
configure.in:886: the top level
configure.in:927: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:927: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
acglib.m4:29: GLIB_SIZEOF is expanded from...
configure.in:927: the top level
configure.in:931: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:931: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
acglib.m4:54: GLIB_BYTE_CONTENTS is expanded from...
configure.in:931: the top level
configure.in:943: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:943: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
acglib.m4:84: GLIB_SYSDEFS is expanded from...
configure.in:943: the top level
configure.in:955: warning: The macro `AC_OUTPUT_COMMANDS' is obsolete.
configure.in:955: You should run autoupdate.
./lib/autoconf/status.m4:1025: AC_OUTPUT_COMMANDS is expanded from...
configure.in:955: the top level
configure.in:1352: warning: AC_OUTPUT should be used without arguments.
configure.in:1352: You should run autoupdate.
autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoheader: warning: WARNING: Using auxiliary files such as 'acconfig.h', 'config.h.bot'
autoheader: WARNING: and 'config.h.top', to define templates for 'config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader: 
autoheader: WARNING: Using the third argument of 'AC_DEFINE_UNQUOTED' and
autoheader: WARNING: 'AC_DEFINE' allows one to define a template without
autoheader: WARNING: 'acconfig.h':
autoheader: 
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader:         [Define if a function 'main' is needed.])
autoheader: 
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:63: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:63: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:75: installing './compile'
configure.in:63: installing './missing'
Makefile.am:73: warning: BUILT_SOURCES multiply defined in condition TRUE ...
Makefile.am:11: ... 'BUILT_SOURCES' previously defined here
Makefile.am:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
Makefile.am: installing './depcomp'
gmodule/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
gthread/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
tests/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-unknown-linux-gnu-strip... no
checking for strip... strip
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-unknown-linux-gnu-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... no
checking for x86_64-unknown-linux-gnu-dumpbin... no
checking for x86_64-unknown-linux-gnu-link... no
checking for dumpbin... no
checking for link... link -dump
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64-unknown-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-unknown-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-unknown-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-unknown-linux-gnu-strip... strip
checking for x86_64-unknown-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse nm output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-unknown-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether to enable memory checking... no
checking whether to enable memory profiling... no
checking for x86_64-unknown-linux-gnu-gcc... gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for x86_64-unknown-linux-gnu-gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for extra flags to get ANSI library prototypes... ./configure: line 14773: ac_fn_c_try_run: command not found

configure: WARNING: No ANSI prototypes found in library. (-std1 didn't work.)
checking for extra flags for POSIX compliance... none needed
checking for egrep... (cached) /usr/bin/grep -E
checking for vprintf... yes
checking for atexit... yes
checking for on_exit... yes
checking size of char... 1
checking size of short... 2
checking size of long... 8
checking size of int... 4
checking size of void *... 8
checking size of long long... 8
checking for an ANSI C-conforming const... yes
checking for __inline... yes
checking for __inline__... yes
checking for inline... yes
checking whether byte ordering is bigendian... no
checking for float.h... yes
checking for limits.h... yes
checking for pwd.h... yes
checking for sys/param.h... yes
checking for sys/poll.h... yes
checking for sys/select.h... yes
checking for sys/time.h... yes
checking for sys/times.h... yes
checking for unistd.h... (cached) yes
checking for values.h... yes
checking for lstat... yes
checking for strerror... yes
checking for strsignal... yes
checking for memmove... yes
checking for vsnprintf... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for poll... yes
checking for sys_errlist... no
checking for sys_siglist... no
checking for sys_siglist declaration... no
checking for fd_set... yes, found in sys/types.h
checking for wchar.h... no
checking for wctype.h... no
checking for iswalnum... yes
checking if iswalnum() and friends are properly defined... yes
checking whether realloc (NULL,) will work... yes
checking for an implementation of va_copy()... yes
checking for an implementation of __va_copy()... yes
checking whether va_lists can be copied by value... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for dlsym in -ldl... yes
checking for RTLD_GLOBAL brokenness... no
checking for preceeding underscore in symbols... no
checking for dlerror... yes
checking for pthread.h... yes
checking for thread implementation... posix
checking for pthread_attr_init in -lpthread... yes
checking necessary linker options... -lpthread
configure: WARNING: I can't find the MACRO, that enables thread safety on your
            platform (normally it's _REENTRANT). I'll not use any flag on
            compilation now, but then your programs might not work.
            Please provide information on how it is done on your system.
checking necessary compiler options... 
checking for localtime_r... yes
checking for rand_r... yes
checking for getpwuid_r... no
checking whether pthread_getspecific is posix like... yes
checking whether pthread_mutex_trylock is posix like... yes
checking whether pthread_cond_timedwait is posix like... yes
configure: WARNING: the 'g_get_(user_name|real_name|home_dir|tmp_dir)'
        functions will not be MT-safe during their first call because
        there is no working 'getpwuid_r' on your system.
checking size of pthread_mutex_t... 40
checking byte contents of pthread_mutex_t... 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
checking system definitions for POLLIN POLLOUT POLLPRI POLLERR POLLHUP POLLNVAL... done
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating glib.spec
config.status: creating Makefile
config.status: creating glib-config
config.status: creating gmodule/gmoduleconf.h
config.status: creating gmodule/Makefile
config.status: creating gthread/Makefile
config.status: creating docs/Makefile
config.status: creating docs/glib-config.1
config.status: creating tests/Makefile
config.status: creating glib.pc
config.status: creating gmodule.pc
config.status: creating gthread.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
creating glibconfig.h
glibconfig.h is unchanged
config.status: executing default commands
CONFIG_FILES= CONFIG_HEADERS= CONFIG_OTHER=glibconfig.h ./config.status
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
creating glibconfig.h
glibconfig.h is unchanged
config.status: executing default commands
echo timestamp > stamp-gc-h
make  all-recursive
make[1]: Entering directory '/home/powabanga/Documents/trucs/pkbuilds/glib/src/glib-1.2.10'
Making all in .
make[2]: Entering directory '/home/powabanga/Documents/trucs/pkbuilds/glib/src/glib-1.2.10'
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 testglib.o -MD -MP -MF .deps/testglib.Tpo -c -o testglib.o testglib.c
testglib.c: In function 'main':
testglib.c:904:3: error: format not a string literal and no format arguments [-Werror=format-security]
  904 |   g_print (string);
      |   ^~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [Makefile:727: testglib.o] Error 1
make[2]: Leaving directory '/home/powabanga/Documents/trucs/pkbuilds/glib/src/glib-1.2.10'
make[1]: *** [Makefile:847: all-recursive] Error 1
make[1]: Leaving directory '/home/powabanga/Documents/trucs/pkbuilds/glib/src/glib-1.2.10'
make: *** [Makefile:528: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...