Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libast.spec'], chrootPath='/var/lib/mock/f42-build-56808915-6546277/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oji7fgjk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oji7fgjk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2bd9084f37ee4865beaa6d54c2904dcd', '-D', '/var/lib/mock/f42-build-56808915-6546277/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oji7fgjk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libast.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721260800 Wrote: /builddir/build/SRPMS/libast-0.7.1-0.42.20080502cvs.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libast.spec'], chrootPath='/var/lib/mock/f42-build-56808915-6546277/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oji7fgjk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oji7fgjk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'bff8e0feca23488fab85b2334fb3173b', '-D', '/var/lib/mock/f42-build-56808915-6546277/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oji7fgjk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libast.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721260800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.h0BZXq + umask 022 + cd /builddir/build/BUILD/libast-0.7.1-build + test -d /builddir/build/BUILD/libast-0.7.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/libast-0.7.1-build + /usr/bin/rm -rf /builddir/build/BUILD/libast-0.7.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/libast-0.7.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/libast-0.7.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.T5V5h0 + umask 022 + cd /builddir/build/BUILD/libast-0.7.1-build + cd /builddir/build/BUILD/libast-0.7.1-build + rm -rf libast-20080502 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libast-20080502.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libast-20080502 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libast-m4-include.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libast-configure-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.z3C03E + umask 022 + cd /builddir/build/BUILD/libast-0.7.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libast-20080502 + ./autogen.sh Generating configuration files for libast, please wait.... + libtoolize -c -f libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: You should add the contents of the following files to 'aclocal.m4': libtoolize: '/usr/share/aclocal/libtool.m4' libtoolize: '/usr/share/aclocal/ltoptions.m4' libtoolize: '/usr/share/aclocal/ltsugar.m4' libtoolize: '/usr/share/aclocal/ltversion.m4' libtoolize: '/usr/share/aclocal/lt~obsolete.m4' 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 -I . aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' + autoconf configure.in:22: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9636: AM_INIT_AUTOMAKE is expanded from... configure.in:22: the top level configure.in:24: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.in:24: You should use the 'AC_CONFIG_HEADERS' macro instead. aclocal.m4:9950: AM_CONFIG_HEADER is expanded from... configure.in:24: the top level configure.in:51: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET ./lib/autoconf/general.m4:2057: AC_CANONICAL_TARGET is expanded from... configure.in:51: the top level configure.in:56: warning: The macro 'AC_AIX' is obsolete. configure.in:56: You should run autoupdate. ./lib/autoconf/specific.m4:722: AC_AIX is expanded from... libast.m4:251: AST_STD_CHECKS is expanded from... configure.in:56: the top level configure.in:56: warning: The macro 'AC_ISC_POSIX' is obsolete. configure.in:56: You should run autoupdate. ./lib/autoconf/specific.m4:732: AC_ISC_POSIX is expanded from... libast.m4:251: AST_STD_CHECKS is expanded from... configure.in:56: the top level configure.in:56: warning: The macro 'AC_MINIX' is obsolete. configure.in:56: You should run autoupdate. ./lib/autoconf/specific.m4:727: AC_MINIX is expanded from... libast.m4:251: AST_STD_CHECKS is expanded from... configure.in:56: the top level configure.in:56: warning: The macro 'AC_CYGWIN' is obsolete. configure.in:56: You should run autoupdate. ./lib/autoconf/specific.m4:496: AC_CYGWIN is expanded from... libast.m4:251: AST_STD_CHECKS is expanded from... configure.in:56: the top level configure.in:56: warning: The macro 'AM_PROG_LIBTOOL' is obsolete. configure.in:56: You should run autoupdate. aclocal.m4:123: AM_PROG_LIBTOOL is expanded from... libast.m4:251: AST_STD_CHECKS is expanded from... configure.in:56: the top level configure.in:56: warning: The macro 'AC_GCC_TRADITIONAL' is obsolete. configure.in:56: You should run autoupdate. ./lib/autoconf/oldnames.m4:59: AC_GCC_TRADITIONAL is expanded from... libast.m4:251: AST_STD_CHECKS is expanded from... configure.in:56: the top level configure.in:56: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete. configure.in:56: You should run autoupdate. ./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from... ./lib/autoconf/oldnames.m4:59: AC_GCC_TRADITIONAL is expanded from... libast.m4:251: AST_STD_CHECKS is expanded from... configure.in:56: the top level configure.in:57: warning: The macro 'AC_LN_S' is obsolete. configure.in:57: You should run autoupdate. ./lib/autoconf/oldnames.m4:62: AC_LN_S is expanded from... libast.m4:287: AST_PROG_CHECKS is expanded from... configure.in:57: the top level configure.in:59: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.in:59: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... libast.m4:319: AST_HEADER_CHECKS is expanded from... configure.in:59: the top level configure.in:61: warning: The macro 'AC_TYPE_SIGNAL' is obsolete. configure.in:61: You should run autoupdate. ./lib/autoconf/types.m4:805: AC_TYPE_SIGNAL is expanded from... libast.m4:326: AST_FUNC_CHECKS is expanded from... configure.in:61: the top level configure.in:61: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:61: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... libast.m4:438: dps_snprintf_oflow is expanded from... libast.m4:326: AST_FUNC_CHECKS is expanded from... configure.in:61: the top level configure.in:61: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:61: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... libast.m4:475: dps_vsnprintf_oflow is expanded from... libast.m4:326: AST_FUNC_CHECKS is expanded from... configure.in:61: the top level configure.in:61: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:61: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... libast.m4:521: dps_symlink_open_bug is expanded from... libast.m4:326: AST_FUNC_CHECKS is expanded from... configure.in:61: the top level configure.in:61: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:61: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... libast.m4:595: dps_rlimit_nproc is expanded from... libast.m4:326: AST_FUNC_CHECKS is expanded from... configure.in:61: the top level configure.in:61: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:61: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... libast.m4:643: dps_rlimit_memlock is expanded from... libast.m4:326: AST_FUNC_CHECKS is expanded from... configure.in:61: the top level configure.in:63: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.in:63: You should run autoupdate. aclocal.m4:122: AC_PROG_LIBTOOL is expanded from... configure.in:63: the top level configure.in:67: warning: The macro 'AC_WARN' is obsolete. configure.in:67: You should run autoupdate. ./lib/autoconf/oldnames.m4:33: AC_WARN is expanded from... configure.in:67: the top level configure.in:68: warning: The macro 'AC_WARN' is obsolete. configure.in:68: You should run autoupdate. ./lib/autoconf/oldnames.m4:33: AC_WARN is expanded from... configure.in:68: the top level configure.in:82: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:82: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... configure.in:82: the top level configure.in:96: warning: The macro 'AC_WARN' is obsolete. configure.in:96: You should run autoupdate. ./lib/autoconf/oldnames.m4:33: AC_WARN is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from... libast.m4:183: AST_IMLIB2_SUPPORT is expanded from... configure.in:96: the top level configure.in:100: warning: The macro 'AC_LANG_C' is obsolete. configure.in:100: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... libast.m4:693: AST_PTHREADS is expanded from... configure.in:100: the top level configure.in:100: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:100: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... libast.m4:693: AST_PTHREADS is expanded from... configure.in:100: the top level configure.in:102: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:102: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... libast.m4:885: LIBCURL_CHECK_CONFIG is expanded from... configure.in:102: the top level configure.in:102: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: 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... libast.m4:885: LIBCURL_CHECK_CONFIG is expanded from... configure.in:102: the top level configure.in:112: warning: AC_OUTPUT should be used without arguments. configure.in:112: You should run autoupdate. + autoheader autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' + automake -a -c automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:22: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:22: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:53: installing './compile' configure.in:49: installing './config.guess' configure.in:49: installing './config.sub' configure.in:22: installing './install-sh' configure.in:22: installing './missing' src/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/Makefile.am: installing './depcomp' test/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') + ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes 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 xargs -n works... yes checking for preferred libtoolize... libtoolize checking for preferred aclocal... aclocal checking for preferred autoconf... autoconf checking for preferred autoheader... autoheader checking for preferred automake... automake checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu 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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E 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 wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking how to print strings... printf 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)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) 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-pc-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 file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ranlib... ranlib checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking command to parse /usr/bin/nm -B 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 mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking how to run the C preprocessor... gcc -E checking for library containing strerror... none required 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... no 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 build environment is sane... yes checking whether to enable maintainer-specific portions of Makefiles... no checking if malloc debugging is wanted... no checking for sed... /usr/bin/sed checking for rm... rm -f checking for cp... cp -f checking for chmod... chmod checking for tar... tar checking for mkdir... mkdir checking for ctags... ctags checking for ar... ar checking for mv... mv -f checking whether ln -s works... yes checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for termios.h... yes checking for sys/ioctl.h... yes checking for sys/select.h... yes checking for sys/time.h... (cached) yes checking for sys/sockio.h... no checking for sys/byteorder.h... no checking for malloc.h... yes checking for utmpx.h... yes checking for unistd.h... (cached) yes checking for bsd/signal.h... no checking for stdarg.h... yes checking for errno.h... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for uid_t... yes checking for gid_t... yes checking return type of signal handlers... void checking for memmove... yes checking for putenv... yes checking for strsep... yes checking for memmem... yes checking for usleep... yes checking for snprintf... yes checking for vsnprintf... yes checking for strcasestr... yes checking for strcasechr... no checking for strcasepbrk... no checking for strrev... no checking for strnlen... yes checking for library containing hstrerror... none required checking whether snprintf ignores n... no, snprintf is ok checking whether vsnprintf ignores n... no, vsnprintf is ok checking security of interaction between symlink and open... secure checking for working RLIMIT_NPROC resource limit... no checking for working RLIMIT_MEMLOCK resource limit... no checking for debugging level... 4 checking if STRICT_ISO_C99 required... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for imlib2-config... no checking for pow in -lm... yes checking for dlopen in -ldl... yes checking for FT_Init_FreeType in -lfreetype... yes checking for imlib_create_image in -lImlib2... yes checking for MMX support... yes checking for pcre.h... no checking for pcre/pcre.h... no checking for library containing pcre_compile... no checking for regex.h... yes checking for library containing regcomp... none required checking for regular expression support... posix checking if backquote execution support should be enabled... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc checking for gawk... (cached) gawk checking for curl-config... no checking whether libcurl is usable... no checking that generated files are newer than configure... done checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating include/libast/types.h config.status: creating Makefile config.status: creating include/Makefile config.status: creating include/libast/Makefile config.status: creating src/Makefile config.status: creating test/Makefile config.status: creating libast-config config.status: creating config.h config.status: creating include/libast/sysdefs.h config.status: executing depfiles commands config.status: executing libtool commands libast 0.7.1 Configuration: -------------- Source code location: . Host System Type: x86_64-pc-linux-gnu Preprocessor: gcc Compiler: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer Linker: gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lImlib2 -lfreetype -lX11 -lSM -lICE -ldl -lm Install path: /usr/local Now type 'make' to build libast 0.7.1. + autoupdate autoupdate: warning: autoconf input should be named 'configure.ac', not 'configure.in' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2025-01-28 22:54:13.798707003 +0000 +++ ./configure 2025-01-28 22:54:27.262915251 +0000 @@ -7715,7 +7715,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -19730,7 +19730,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-regexp=posix checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes 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 xargs -n works... yes checking for preferred libtoolize... libtoolize checking for preferred aclocal... aclocal checking for preferred autoconf... autoconf checking for preferred autoheader... autoheader checking for preferred automake... automake checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu checking for x86_64-redhat-linux-gnu-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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E 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 wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking how to print strings... printf 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)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7721: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory 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-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking how to run the C preprocessor... gcc -E checking for library containing strerror... none required 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... no 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 build environment is sane... yes checking whether to enable maintainer-specific portions of Makefiles... no checking if malloc debugging is wanted... no checking for sed... /usr/bin/sed checking for rm... rm -f checking for cp... cp -f checking for chmod... chmod checking for tar... tar checking for mkdir... mkdir checking for ctags... ctags checking for ar... ar checking for mv... mv -f checking whether ln -s works... yes checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for termios.h... yes checking for sys/ioctl.h... yes checking for sys/select.h... yes checking for sys/time.h... (cached) yes checking for sys/sockio.h... no checking for sys/byteorder.h... no checking for malloc.h... yes checking for utmpx.h... yes checking for unistd.h... (cached) yes checking for bsd/signal.h... no checking for stdarg.h... yes checking for errno.h... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for uid_t... yes checking for gid_t... yes checking return type of signal handlers... void checking for memmove... yes checking for putenv... yes checking for strsep... yes checking for memmem... yes checking for usleep... yes checking for snprintf... yes checking for vsnprintf... yes checking for strcasestr... yes checking for strcasechr... no checking for strcasepbrk... no checking for strrev... no checking for strnlen... yes checking for library containing hstrerror... none required checking whether snprintf ignores n... no, snprintf is ok checking whether vsnprintf ignores n... no, vsnprintf is ok checking security of interaction between symlink and open... secure checking for working RLIMIT_NPROC resource limit... no checking for working RLIMIT_MEMLOCK resource limit... no checking for debugging level... 4 checking if STRICT_ISO_C99 required... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for imlib2-config... no checking for pow in -lm... yes checking for dlopen in -ldl... yes checking for FT_Init_FreeType in -lfreetype... yes checking for imlib_create_image in -lImlib2... yes checking for MMX support... yes checking for regex.h... yes checking for library containing regcomp... none required checking for regular expression support... posix checking if backquote execution support should be enabled... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc checking for gawk... (cached) gawk checking for curl-config... no checking whether libcurl is usable... no checking that generated files are newer than configure... done checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating include/libast/types.h config.status: creating Makefile config.status: creating include/Makefile config.status: creating include/libast/Makefile config.status: creating src/Makefile config.status: creating test/Makefile config.status: creating libast-config config.status: creating config.h config.status: config.h is unchanged config.status: creating include/libast/sysdefs.h config.status: include/libast/sysdefs.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands libast 0.7.1 Configuration: -------------- Source code location: . Host System Type: x86_64-redhat-linux-gnu Preprocessor: gcc -I/usr/include Compiler: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer Linker: gcc -L/usr/lib64 -L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lImlib2 -lfreetype -lX11 -lSM -lICE -ldl -lm Install path: /usr Now type 'make' to build libast 0.7.1. + /usr/bin/make -O -j6 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in include Making all in libast make[3]: Entering directory '/builddir/build/BUILD/libast-0.7.1-build/libast-20080502/include/libast' make[3]: Leaving directory '/builddir/build/BUILD/libast-0.7.1-build/libast-20080502/include/libast' Makefile:577: warning: overriding recipe for target 'types.h' Makefile:352: warning: ignoring old recipe for target 'types.h' /usr/bin/make all-am make[4]: Entering directory '/builddir/build/BUILD/libast-0.7.1-build/libast-20080502/include/libast' make[4]: Leaving directory '/builddir/build/BUILD/libast-0.7.1-build/libast-20080502/include/libast' Makefile:577: warning: overriding recipe for target 'types.h' Makefile:352: warning: ignoring old recipe for target 'types.h' make[4]: Nothing to be done for 'all-am'. make[3]: Nothing to be done for 'all-am'. Making all in src make[2]: Entering directory '/builddir/build/BUILD/libast-0.7.1-build/libast-20080502/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o debug.lo debug.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c debug.c -fPIC -DPIC -o .libs/debug.o make[2]: Leaving directory '/builddir/build/BUILD/libast-0.7.1-build/libast-20080502/src' In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from ../include/libast.h:42, from ../include/libast_internal.h:53, from debug.c:41: /usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../include/libast.h:111: ../include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ ../include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards make[2]: *** [Makefile:516: debug.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/libast-0.7.1-build/libast-20080502/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o builtin_hashes.lo builtin_hashes.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c builtin_hashes.c -fPIC -DPIC -o .libs/builtin_hashes.o make[2]: Leaving directory '/builddir/build/BUILD/libast-0.7.1-build/libast-20080502/src' In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from ../include/libast.h:42, from ../include/libast_internal.h:53, from builtin_hashes.c:30: /usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../include/libast.h:111: ../include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ ../include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards builtin_hashes.c: In function 'spifhash_jenkinsLE': ../include/libast/types.h:239:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) | ^ builtin_hashes.c:181:10: note: in expansion of macro 'SPIF_CAST' 181 | if ((SPIF_CAST(uint32) key) & 3) { | ^~~~~~~~~ make[2]: *** [Makefile:516: builtin_hashes.lo] Error 1 make[2]: Entering directory '/builddir/build/BUILD/libast-0.7.1-build/libast-20080502/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o file.lo file.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c file.c -fPIC -DPIC -o .libs/file.o make[2]: Leaving directory '/builddir/build/BUILD/libast-0.7.1-build/libast-20080502/src' In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from ../include/libast.h:42, from ../include/libast_internal.h:53, from file.c:41: /usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../include/libast.h:111: ../include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ ../include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards file.c: In function 'spiftool_temp_file': ../include/libast/types.h:393:91: error: 'TRUE' undeclared (first use in this function) 393 | #define SPIF_PTR_ISNULL(p) ((SPIF_CAST(ptr) (p) == SPIF_NULL_TYPE(ptr)) ? (TRUE) : (FALSE)) | ^~~~ ../include/libast.h:520:43: note: in definition of macro 'ASSERT_RVAL' 520 | # define ASSERT_RVAL(x, val) do {if (!(x)) {if (DEBUG_LEVEL>=1) {libast_fatal_error("ASSERT failed in %s() at %s:%d: %s\n", __FUNCTION__, __FILE__, __LINE__, #x);} \ | ^ file.c:70:18: note: in expansion of macro 'SPIF_PTR_ISNULL' 70 | ASSERT_RVAL(!SPIF_PTR_ISNULL(ftemplate), SPIF_CAST_C(int) -1); | ^~~~~~~~~~~~~~~ ../include/libast/types.h:393:91: note: each undeclared identifier is reported only once for each function it appears in 393 | #define SPIF_PTR_ISNULL(p) ((SPIF_CAST(ptr) (p) == SPIF_NULL_TYPE(ptr)) ? (TRUE) : (FALSE)) | ^~~~ ../include/libast.h:520:43: note: in definition of macro 'ASSERT_RVAL' 520 | # define ASSERT_RVAL(x, val) do {if (!(x)) {if (DEBUG_LEVEL>=1) {libast_fatal_error("ASSERT failed in %s() at %s:%d: %s\n", __FUNCTION__, __FILE__, __LINE__, #x);} \ | ^ file.c:70:18: note: in expansion of macro 'SPIF_PTR_ISNULL' 70 | ASSERT_RVAL(!SPIF_PTR_ISNULL(ftemplate), SPIF_CAST_C(int) -1); | ^~~~~~~~~~~~~~~ ../include/libast/types.h:393:100: error: 'FALSE' undeclared (first use in this function) 393 | #define SPIF_PTR_ISNULL(p) ((SPIF_CAST(ptr) (p) == SPIF_NULL_TYPE(ptr)) ? (TRUE) : (FALSE)) | ^~~~~ ../include/libast.h:520:43: note: in definition of macro 'ASSERT_RVAL' 520 | # define ASSERT_RVAL(x, val) do {if (!(x)) {if (DEBUG_LEVEL>=1) {libast_fatal_error("ASSERT failed in %s() at %s:%d: %s\n", __FUNCTION__, __FILE__, __LINE__, #x);} \ | ^ file.c:70:18: note: in expansion of macro 'SPIF_PTR_ISNULL' 70 | ASSERT_RVAL(!SPIF_PTR_ISNULL(ftemplate), SPIF_CAST_C(int) -1); | ^~~~~~~~~~~~~~~ make[2]: *** [Makefile:516: file.lo] Error 1 make[2]: Entering directory '/builddir/build/BUILD/libast-0.7.1-build/libast-20080502/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o conf.lo conf.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c conf.c -fPIC -DPIC -o .libs/conf.o make[2]: Leaving directory '/builddir/build/BUILD/libast-0.7.1-build/libast-20080502/src' In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from ../include/libast.h:42, from ../include/libast_internal.h:53, from conf.c:40: /usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../include/libast.h:111: ../include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ ../include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards conf.c: In function 'spifconf_register_context': ../include/libast/types.h:393:91: error: 'TRUE' undeclared (first use in this function) 393 | #define SPIF_PTR_ISNULL(p) ((SPIF_CAST(ptr) (p) == SPIF_NULL_TYPE(ptr)) ? (TRUE) : (FALSE)) | ^~~~ ../include/libast.h:520:43: note: in definition of macro 'ASSERT_RVAL' 520 | # define ASSERT_RVAL(x, val) do {if (!(x)) {if (DEBUG_LEVEL>=1) {libast_fatal_error("ASSERT failed in %s() at %s:%d: %s\n", __FUNCTION__, __FILE__, __LINE__, #x);} \ | ^ conf.c:113:18: note: in expansion of macro 'SPIF_PTR_ISNULL' 113 | ASSERT_RVAL(!SPIF_PTR_ISNULL(name), SPIF_CAST_C(unsigned char) -1); | ^~~~~~~~~~~~~~~ ../include/libast/types.h:393:91: note: each undeclared identifier is reported only once for each function it appears in 393 | #define SPIF_PTR_ISNULL(p) ((SPIF_CAST(ptr) (p) == SPIF_NULL_TYPE(ptr)) ? (TRUE) : (FALSE)) | ^~~~ ../include/libast.h:520:43: note: in definition of macro 'ASSERT_RVAL' 520 | # define ASSERT_RVAL(x, val) do {if (!(x)) {if (DEBUG_LEVEL>=1) {libast_fatal_error("ASSERT failed in %s() at %s:%d: %s\n", __FUNCTION__, __FILE__, __LINE__, #x);} \ | ^ conf.c:113:18: note: in expansion of macro 'SPIF_PTR_ISNULL' 113 | ASSERT_RVAL(!SPIF_PTR_ISNULL(name), SPIF_CAST_C(unsigned char) -1); | ^~~~~~~~~~~~~~~ ../include/libast/types.h:393:100: error: 'FALSE' undeclared (first use in this function) 393 | #define SPIF_PTR_ISNULL(p) ((SPIF_CAST(ptr) (p) == SPIF_NULL_TYPE(ptr)) ? (TRUE) : (FALSE)) | ^~~~~ ../include/libast.h:520:43: note: in definition of macro 'ASSERT_RVAL' 520 | # define ASSERT_RVAL(x, val) do {if (!(x)) {if (DEBUG_LEVEL>=1) {libast_fatal_error("ASSERT failed in %s() at %s:%d: %s\n", __FUNCTION__, __FILE__, __LINE__, #x);} \ | ^ conf.c:113:18: note: in expansion of macro 'SPIF_PTR_ISNULL' 113 | ASSERT_RVAL(!SPIF_PTR_ISNULL(name), SPIF_CAST_C(unsigned char) -1); | ^~~~~~~~~~~~~~~ conf.c:119:64: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 119 | context = (ctx_t *) REALLOC(context, sizeof(ctx_t) * ctx_cnt); ../include/libast.h:1149:51: note: in definition of macro 'REALLOC' 1149 | # define REALLOC(mem,sz) ((sz) ? ((mem) ? (realloc((mem), (sz))) : (malloc(sz))) : ((mem) ? (free(mem), NULL) : (NULL))) | ^~ conf.c: In function 'spifconf_register_fstate': ../include/libast/types.h:393:91: error: 'TRUE' undeclared (first use in this function) 393 | #define SPIF_PTR_ISNULL(p) ((SPIF_CAST(ptr) (p) == SPIF_NULL_TYPE(ptr)) ? (TRUE) : (FALSE)) | ^~~~ ../include/libast.h:520:43: note: in definition of macro 'ASSERT_RVAL' 520 | # define ASSERT_RVAL(x, val) do {if (!(x)) {if (DEBUG_LEVEL>=1) {libast_fatal_error("ASSERT failed in %s() at %s:%d: %s\n", __FUNCTION__, __FILE__, __LINE__, #x);} \ | ^ conf.c:134:18: note: in expansion of macro 'SPIF_PTR_ISNULL' 134 | ASSERT_RVAL(!SPIF_PTR_ISNULL(fp), SPIF_CAST_C(unsigned char) -1); | ^~~~~~~~~~~~~~~ ../include/libast/types.h:393:100: error: 'FALSE' undeclared (first use in this function) 393 | #define SPIF_PTR_ISNULL(p) ((SPIF_CAST(ptr) (p) == SPIF_NULL_TYPE(ptr)) ? (TRUE) : (FALSE)) | ^~~~~ ../include/libast.h:520:43: note: in definition of macro 'ASSERT_RVAL' 520 | # define ASSERT_RVAL(x, val) do {if (!(x)) {if (DEBUG_LEVEL>=1) {libast_fatal_error("ASSERT failed in %s() at %s:%d: %s\n", __FUNCTION__, __FILE__, __LINE__, #x);} \ | ^ conf.c:134:18: note: in expansion of macro 'SPIF_PTR_ISNULL' 134 | ASSERT_RVAL(!SPIF_PTR_ISNULL(fp), SPIF_CAST_C(unsigned char) -1); | ^~~~~~~~~~~~~~~ conf.c:139:64: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 139 | fstate = (fstate_t *) REALLOC(fstate, sizeof(fstate_t) * fstate_cnt); ../include/libast.h:1149:51: note: in definition of macro 'REALLOC' 1149 | # define REALLOC(mem,sz) ((sz) ? ((mem) ? (realloc((mem), (sz))) : (malloc(sz))) : ((mem) ? (free(mem), NULL) : (NULL))) | ^~ conf.c: In function 'spifconf_register_builtin': ../include/libast/types.h:393:91: error: 'TRUE' undeclared (first use in this function) 393 | #define SPIF_PTR_ISNULL(p) ((SPIF_CAST(ptr) (p) == SPIF_NULL_TYPE(ptr)) ? (TRUE) : (FALSE)) | ^~~~ ../include/libast.h:520:43: note: in definition of macro 'ASSERT_RVAL' 520 | # define ASSERT_RVAL(x, val) do {if (!(x)) {if (DEBUG_LEVEL>=1) {libast_fatal_error("ASSERT failed in %s() at %s:%d: %s\n", __FUNCTION__, __FILE__, __LINE__, #x);} \ | ^ conf.c:153:18: note: in expansion of macro 'SPIF_PTR_ISNULL' 153 | ASSERT_RVAL(!SPIF_PTR_ISNULL(name), SPIF_CAST_C(unsigned char) -1); | ^~~~~~~~~~~~~~~ ../include/libast/types.h:393:100: error: 'FALSE' undeclared (first use in this function) 393 | #define SPIF_PTR_ISNULL(p) ((SPIF_CAST(ptr) (p) == SPIF_NULL_TYPE(ptr)) ? (TRUE) : (FALSE)) | ^~~~~ ../include/libast.h:520:43: note: in definition of macro 'ASSERT_RVAL' 520 | # define ASSERT_RVAL(x, val) do {if (!(x)) {if (DEBUG_LEVEL>=1) {libast_fatal_error("ASSERT failed in %s() at %s:%d: %s\n", __FUNCTION__, __FILE__, __LINE__, #x);} \ | ^ conf.c:153:18: note: in expansion of macro 'SPIF_PTR_ISNULL' 153 | ASSERT_RVAL(!SPIF_PTR_ISNULL(name), SPIF_CAST_C(unsigned char) -1); | ^~~~~~~~~~~~~~~ conf.c:159:82: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 159 | builtins = (spifconf_func_t *) REALLOC(builtins, sizeof(spifconf_func_t) * builtin_cnt); ../include/libast.h:1149:51: note: in definition of macro 'REALLOC' 1149 | # define REALLOC(mem,sz) ((sz) ? ((mem) ? (realloc((mem), (sz))) : (malloc(sz))) : ((mem) ? (free(mem), NULL) : (NULL))) | ^~ conf.c: In function 'spifconf_register_context_state': conf.c:170:76: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 170 | ctx_state = (ctx_state_t *) REALLOC(ctx_state, sizeof(ctx_state_t) * ctx_state_cnt); ../include/libast.h:1149:51: note: in definition of macro 'REALLOC' 1149 | # define REALLOC(mem,sz) ((sz) ? ((mem) ? (realloc((mem), (sz))) : (malloc(sz))) : ((mem) ? (free(mem), NULL) : (NULL))) | ^~ conf.c: In function 'spifconf_free_var': ../include/libast/types.h:393:91: error: 'TRUE' undeclared (first use in this function) 393 | #define SPIF_PTR_ISNULL(p) ((SPIF_CAST(ptr) (p) == SPIF_NULL_TYPE(ptr)) ? (TRUE) : (FALSE)) | ^~~~ ../include/libast.h:518:33: note: in definition of macro 'ASSERT' 518 | # define ASSERT(x) do {if (!(x)) {if (DEBUG_LEVEL>=1) {libast_fatal_error("ASSERT failed in %s() at %s:%d: %s\n", __FUNCTION__, __FILE__, __LINE__, #x);} \ | ^ conf.c:213:13: note: in expansion of macro 'SPIF_PTR_ISNULL' 213 | ASSERT(!SPIF_PTR_ISNULL(v)); | ^~~~~~~~~~~~~~~ ../include/libast/types.h:393:100: error: 'FALSE' undeclared (first use in this function) 393 | #define SPIF_PTR_ISNULL(p) ((SPIF_CAST(ptr) (p) == SPIF_NULL_TYPE(ptr)) ? (TRUE) : (FALSE)) | ^~~~~ ../include/libast.h:518:33: note: in definition of macro 'ASSERT' 518 | # define ASSERT(x) do {if (!(x)) {if (DEBUG_LEVEL>=1) {libast_fatal_error("ASSERT failed in %s() at %s:%d: %s\n", __FUNCTION__, __FILE__, __LINE__, #x);} \ | ^ conf.c:213:13: note: in expansion of macro 'SPIF_PTR_ISNULL' 213 | ASSERT(!SPIF_PTR_ISNULL(v)); | ^~~~~~~~~~~~~~~ conf.c: In function 'spifconf_get_var': ../include/libast/types.h:393:91: error: 'TRUE' undeclared (first use in this function) 393 | #define SPIF_PTR_ISNULL(p) ((SPIF_CAST(ptr) (p) == SPIF_NULL_TYPE(ptr)) ? (TRUE) : (FALSE)) | ^~~~ ../include/libast.h:520:43: note: in definition of macro 'ASSERT_RVAL' 520 | # define ASSERT_RVAL(x, val) do {if (!(x)) {if (DEBUG_LEVEL>=1) {libast_fatal_error("ASSERT failed in %s() at %s:%d: %s\n", __FUNCTION__, __FILE__, __LINE__, #x);} \ | ^ conf.c:228:18: note: in expansion of macro 'SPIF_PTR_ISNULL' 228 | ASSERT_RVAL(!SPIF_PTR_ISNULL(var), SPIF_NULL_TYPE_C(spif_charptr_t)); | ^~~~~~~~~~~~~~~ ../include/libast/types.h:393:100: error: 'FALSE' undeclared (first use in this function) 393 | #define SPIF_PTR_ISNULL(p) ((SPIF_CAST(ptr) (p) == SPIF_NULL_TYPE(ptr)) ? (TRUE) : (FALSE)) | ^~~~~ ../include/libast.h:520:43: note: in definition of macro 'ASSERT_RVAL' 520 | # define ASSERT_RVAL(x, val) do {if (!(x)) {if (DEBUG_LEVEL>=1) {libast_fatal_error("ASSERT failed in %s() at %s:%d: %s\n", __FUNCTION__, __FILE__, __LINE__, #x);} \ | ^ conf.c:228:18: note: in expansion of macro 'SPIF_PTR_ISNULL' 228 | ASSERT_RVAL(!SPIF_PTR_ISNULL(var), SPIF_NULL_TYPE_C(spif_charptr_t)); | ^~~~~~~~~~~~~~~ conf.c: In function 'builtin_random': ../include/libast/types.h:393:91: error: 'TRUE' undeclared (first use in this function) 393 | #define SPIF_PTR_ISNULL(p) ((SPIF_CAST(ptr) (p) == SPIF_NULL_TYPE(ptr)) ? (TRUE) : (FALSE)) | ^~~~ ../include/libast.h:554:51: note: in definition of macro 'REQUIRE_RVAL' 554 | # define REQUIRE_RVAL(x, v) do {if (!(x)) {if (DEBUG_LEVEL>=1) {__DEBUG(); libast_dprintf("REQUIRE failed: %s\n", #x);} return (v);}} while (0) | ^ conf.c:297:19: note: in expansion of macro 'SPIF_PTR_ISNULL' 297 | REQUIRE_RVAL(!SPIF_PTR_ISNULL(param), SPIF_NULL_TYPE_C(spif_charptr_t)); | ^~~~~~~~~~~~~~~ ../include/libast/types.h:393:100: error: 'FALSE' undeclared (first use in this function) 393 | #define SPIF_PTR_ISNULL(p) ((SPIF_CAST(ptr) (p) == SPIF_NULL_TYPE(ptr)) ? (TRUE) : (FALSE)) | ^~~~~ ../include/libast.h:554:51: note: in definition of macro 'REQUIRE_RVAL' 554 | # define REQUIRE_RVAL(x, v) do {if (!(x)) {if (DEBUG_LEVEL>=1) {__DEBUG(); libast_dprintf("REQUIRE failed: %s\n", #x);} return (v);}} while (0) | ^ conf.c:297:19: note: in expansion of macro 'SPIF_PTR_ISNULL' 297 | REQUIRE_RVAL(!SPIF_PTR_ISNULL(param), SPIF_NULL_TYPE_C(spif_charptr_t)); | ^~~~~~~~~~~~~~~ conf.c: In function 'builtin_exec': ../include/libast/types.h:393:91: error: 'TRUE' undeclared (first use in this function) 393 | #define SPIF_PTR_ISNULL(p) ((SPIF_CAST(ptr) (p) == SPIF_NULL_TYPE(ptr)) ? (TRUE) : (FALSE)) | ^~~~ ../include/libast.h:554:51: note: in definition of macro 'REQUIRE_RVAL' 554 | # define REQUIRE_RVAL(x, v) do {if (!(x)) {if (DEBUG_LEVEL>=1) {__DEBUG(); libast_dprintf("REQUIRE failed: %s\n", #x);} return (v);}} while (0) | ^ conf.c:320:19: note: in expansion of macro 'SPIF_PTR_ISNULL' 320 | REQUIRE_RVAL(!SPIF_PTR_ISNULL(param), SPIF_NULL_TYPE_C(spif_charptr_t)); | ^~~~~~~~~~~~~~~ ../include/libast/types.h:393:100: error: 'FALSE' undeclared (first use in this function) 393 | #define SPIF_PTR_ISNULL(p) ((SPIF_CAST(ptr) (p) == SPIF_NULL_TYPE(ptr)) ? (TRUE) : (FALSE)) | ^~~~~ ../include/libast.h:554:51: note: in definition of macro 'REQUIRE_RVAL' 554 | # define REQUIRE_RVAL(x, v) do {if (!(x)) {if (DEBUG_LEVEL>=1) {__DEBUG(); libast_dprintf("REQUIRE failed: %s\n", #x);} return (v);}} while (0) | ^ conf.c:320:19: note: in expansion of macro 'SPIF_PTR_ISNULL' 320 | REQUIRE_RVAL(!SPIF_PTR_ISNULL(param), SPIF_NULL_TYPE_C(spif_charptr_t)); | ^~~~~~~~~~~~~~~ ../include/libast.h:320:35: warning: the address of 'OutFile' will always evaluate as 'true' [-Waddress] 320 | #define NONULL(x) (((char *) (x)) ? ((char *) (x)) : ((char *) ("<" #x " null>"))) | ^ conf.c:357:95: note: in expansion of macro 'NONULL' 357 | libast_print_warning("Output file %s could not be created. (line %lu of file %s)\n", NONULL(OutFile), file_peek_line(), file_peek_path()); | ^~~~~~ conf.c: In function 'builtin_dirscan': conf.c:418:9: warning: variable 'i' set but not used [-Wunused-but-set-variable] 418 | int i; | ^ conf.c: In function 'spifconf_open_file': ../include/libast/types.h:393:91: error: 'TRUE' undeclared (first use in this function) 393 | #define SPIF_PTR_ISNULL(p) ((SPIF_CAST(ptr) (p) == SPIF_NULL_TYPE(ptr)) ? (TRUE) : (FALSE)) | ^~~~ conf.c:837:9: note: in expansion of macro 'SPIF_PTR_ISNULL' 837 | if (SPIF_PTR_ISNULL(end_ptr)) { | ^~~~~~~~~~~~~~~ ../include/libast/types.h:393:100: error: 'FALSE' undeclared (first use in this function) 393 | #define SPIF_PTR_ISNULL(p) ((SPIF_CAST(ptr) (p) == SPIF_NULL_TYPE(ptr)) ? (TRUE) : (FALSE)) | ^~~~~ conf.c:837:9: note: in expansion of macro 'SPIF_PTR_ISNULL' 837 | if (SPIF_PTR_ISNULL(end_ptr)) { | ^~~~~~~~~~~~~~~ conf.c: In function 'parse_null': ../include/libast/types.h:393:91: error: 'TRUE' undeclared (first use in this function) 393 | #define SPIF_PTR_ISNULL(p) ((SPIF_CAST(ptr) (p) == SPIF_NULL_TYPE(ptr)) ? (TRUE) : (FALSE)) | ^~~~ ../include/libast.h:520:43: note: in definition of macro 'ASSERT_RVAL' 520 | # define ASSERT_RVAL(x, val) do {if (!(x)) {if (DEBUG_LEVEL>=1) {libast_fatal_error("ASSERT failed in %s() at %s:%d: %s\n", __FUNCTION__, __FILE__, __LINE__, #x);} \ | ^ conf.c:1008:18: note: in expansion of macro 'SPIF_PTR_ISNULL' 1008 | ASSERT_RVAL(!SPIF_PTR_ISNULL(buff), SPIF_NULL_TYPE(ptr)); | ^~~~~~~~~~~~~~~ ../include/libast/types.h:393:100: error: 'FALSE' undeclared (first use in this function) 393 | #define SPIF_PTR_ISNULL(p) ((SPIF_CAST(ptr) (p) == SPIF_NULL_TYPE(ptr)) ? (TRUE) : (FALSE)) | ^~~~~ ../include/libast.h:520:43: note: in definition of macro 'ASSERT_RVAL' 520 | # define ASSERT_RVAL(x, val) do {if (!(x)) {if (DEBUG_LEVEL>=1) {libast_fatal_error("ASSERT failed in %s() at %s:%d: %s\n", __FUNCTION__, __FILE__, __LINE__, #x);} \ | ^ conf.c:1008:18: note: in expansion of macro 'SPIF_PTR_ISNULL' 1008 | ASSERT_RVAL(!SPIF_PTR_ISNULL(buff), SPIF_NULL_TYPE(ptr)); | ^~~~~~~~~~~~~~~ conf.c: In function 'builtin_exec': conf.c:340:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 340 | system(SPIF_CAST_C(char *) Command); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.c:347:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 347 | fread(Output, fsize, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.c: In function 'spifconf_find_file': conf.c:734:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 734 | getcwd(SPIF_CAST_C(char *) name, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.c: In function 'spifconf_open_file': conf.c:820:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 820 | fgets(SPIF_CAST_C(char *) buff, 256, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.c: In function 'spifconf_parse_line': conf.c:907:15: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 907 | system(SPIF_CAST_C(char *) cmd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.c: In function 'spifconf_parse': conf.c:962:17: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 962 | getcwd(SPIF_CAST_C(char *) orig_dir, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.c:965:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 965 | chdir(SPIF_CAST_C(char *) name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.c:999:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 999 | chdir(SPIF_CAST_C(char *) orig_dir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:516: conf.lo] Error 1 make[2]: Entering directory '/builddir/build/BUILD/libast-0.7.1-build/libast-20080502/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o array.lo array.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c array.c -fPIC -DPIC -o .libs/array.o make[2]: Leaving directory '/builddir/build/BUILD/libast-0.7.1-build/libast-20080502/src' In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from ../include/libast.h:42, from ../include/libast_internal.h:53, from array.c:30: /usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../include/libast.h:111: ../include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ ../include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards array.c: In function 'spif_array_list_init': array.c:200:43: error: 'FALSE' undeclared (first use in this function) 200 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ array.c:200:43: note: each undeclared identifier is reported only once for each function it appears in 200 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ array.c:208:12: error: 'TRUE' undeclared (first use in this function) 208 | return TRUE; | ^~~~ array.c: In function 'spif_array_vector_init': array.c:240:43: error: 'FALSE' undeclared (first use in this function) 240 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ array.c:248:12: error: 'TRUE' undeclared (first use in this function) 248 | return TRUE; | ^~~~ array.c: In function 'spif_array_map_init': array.c:254:43: error: 'FALSE' undeclared (first use in this function) 254 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ array.c:262:12: error: 'TRUE' undeclared (first use in this function) 262 | return TRUE; | ^~~~ array.c: In function 'spif_array_done': array.c:270:43: error: 'FALSE' undeclared (first use in this function) 270 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->cls)->del'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:536:59: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 536 | #define SPIF_OBJ_DEL(o) SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) | ^~~~~~~~~~~~~~~~~~~~ array.c:273:13: note: in expansion of macro 'SPIF_OBJ_DEL' 273 | SPIF_OBJ_DEL(self->items[i]); | ^~~~~~~~~~~~ In file included from ../include/libast.h:112: ../include/libast/obj.h:715:17: note: declared here 715 | spif_func_t del; | ^~~ ../include/libast/types.h:239:42: warning: value computed is not used [-Wunused-value] 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:536:42: note: in expansion of macro 'SPIF_CAST' 536 | #define SPIF_OBJ_DEL(o) SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) | ^~~~~~~~~ array.c:273:13: note: in expansion of macro 'SPIF_OBJ_DEL' 273 | SPIF_OBJ_DEL(self->items[i]); | ^~~~~~~~~~~~ array.c:278:12: error: 'TRUE' undeclared (first use in this function) 278 | return TRUE; | ^~~~ array.c: In function 'spif_array_del': array.c:286:43: error: 'FALSE' undeclared (first use in this function) 286 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ array.c: In function 'spif_array_show': ../include/libast.h:320:35: warning: the address of 'tmp' will always evaluate as 'true' [-Waddress] 320 | #define NONULL(x) (((char *) (x)) ? ((char *) (x)) : ((char *) ("<" #x " null>"))) | ^ ../include/libast/obj.h:647:57: note: in expansion of macro 'NONULL' 647 | NONULL(n)); \ | ^~~~~~ array.c:321:17: note: in expansion of macro 'SPIF_OBJ_SHOW_NULL' 321 | SPIF_OBJ_SHOW_NULL(obj, tmp, buff, indent + 2, tmp2); | ^~~~~~~~~~~~~~~~~~ ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)o)->cls)->show'; expected 0, have 4 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ array.c:323:24: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 323 | buff = SPIF_OBJ_CALL_METHOD(o, show)(o, tmp, buff, indent + 2); | ^~~~~~~~~~~~~~~~~~~~ ../include/libast/obj.h:716:17: note: declared here 716 | spif_func_t show; | ^~~~ array.c: In function 'spif_array_comp': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ array.c:350:13: note: in expansion of macro 'SPIF_OBJ_COMP' 350 | c = SPIF_OBJ_COMP(self->items[i], other->items[i]); | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ array.c: In function 'spif_array_list_dup': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->cls)->dup'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:579:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 579 | #define SPIF_OBJ_DUP(o) SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) | ^~~~~~~~~~~~~~~~~~~~ array.c:371:40: note: in expansion of macro 'SPIF_OBJ_DUP' 371 | tmp->items[i] = SPIF_CAST(obj) SPIF_OBJ_DUP(SPIF_OBJ(self->items[i])); | ^~~~~~~~~~~~ ../include/libast/obj.h:718:17: note: declared here 718 | spif_func_t dup; | ^~~ array.c: In function 'spif_array_vector_dup': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->cls)->dup'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:579:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 579 | #define SPIF_OBJ_DUP(o) SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) | ^~~~~~~~~~~~~~~~~~~~ array.c:389:40: note: in expansion of macro 'SPIF_OBJ_DUP' 389 | tmp->items[i] = SPIF_CAST(obj) SPIF_OBJ_DUP(SPIF_OBJ(self->items[i])); | ^~~~~~~~~~~~ ../include/libast/obj.h:718:17: note: declared here 718 | spif_func_t dup; | ^~~ array.c: In function 'spif_array_map_dup': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->cls)->dup'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:579:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 579 | #define SPIF_OBJ_DUP(o) SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) | ^~~~~~~~~~~~~~~~~~~~ array.c:407:40: note: in expansion of macro 'SPIF_OBJ_DUP' 407 | tmp->items[i] = SPIF_CAST(obj) SPIF_OBJ_DUP(SPIF_OBJ(self->items[i])); | ^~~~~~~~~~~~ ../include/libast/obj.h:718:17: note: declared here 718 | spif_func_t dup; | ^~~ array.c: In function 'spif_array_append': array.c:422:43: error: 'FALSE' undeclared (first use in this function) 422 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ array.c:425:89: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 425 | self->items = SPIF_CAST_C(spif_obj_t *) REALLOC(self->items, sizeof(spif_obj_t) * self->len); ../include/libast.h:1149:51: note: in definition of macro 'REALLOC' 1149 | # define REALLOC(mem,sz) ((sz) ? ((mem) ? (realloc((mem), (sz))) : (malloc(sz))) : ((mem) ? (free(mem), NULL) : (NULL))) | ^~ array.c:430:12: error: 'TRUE' undeclared (first use in this function) 430 | return TRUE; | ^~~~ array.c: In function 'spif_array_list_contains': array.c:436:43: error: 'FALSE' undeclared (first use in this function) 436 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ array.c:437:78: error: 'TRUE' undeclared (first use in this function) 437 | return ((SPIF_LIST_ISNULL(spif_array_list_find(self, obj))) ? (FALSE) : (TRUE)); | ^~~~ array.c: In function 'spif_array_vector_contains': array.c:443:43: error: 'FALSE' undeclared (first use in this function) 443 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ array.c:444:82: error: 'TRUE' undeclared (first use in this function) 444 | return ((SPIF_VECTOR_ISNULL(spif_array_vector_find(self, obj))) ? (FALSE) : (TRUE)); | ^~~~ array.c: In function 'spif_array_count': ../include/libast/types.h:239:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) | ^ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ ../include/libast/types.h:305:43: note: in expansion of macro 'SPIF_CAST' 305 | #define SPIF_NULL_TYPE(type) (SPIF_CAST(type) (NULL)) | ^~~~~~~~~ array.c:450:43: note: in expansion of macro 'SPIF_NULL_TYPE' 450 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), SPIF_NULL_TYPE(listidx)); | ^~~~~~~~~~~~~~ array.c: In function 'spif_array_list_find': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/types.h:874:37: note: in definition of macro 'SPIF_CMP_IS_EQUAL' 874 | #define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) | ^~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ array.c:465:31: note: in expansion of macro 'SPIF_OBJ_COMP' 465 | if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(self->items[i], obj))) { | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ array.c: In function 'spif_array_vector_find': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)mid * 8)))->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ array.c:484:16: note: in expansion of macro 'SPIF_OBJ_COMP' 484 | diff = SPIF_OBJ_COMP(self->items[mid], obj); | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ array.c: In function 'spif_array_map_get': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)mid * 8)))->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ array.c:521:16: note: in expansion of macro 'SPIF_OBJ_COMP' 521 | diff = SPIF_OBJ_COMP(self->items[mid], key); | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ In file included from ../include/libast/tok.h:27, from ../include/libast.h:121: array.c: In function 'spif_array_get_keys': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)((spif_const_objpair_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->key)->cls)->dup'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/list_if.h:57:114: note: in definition of macro 'SPIF_LIST_APPEND' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:579:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 579 | #define SPIF_OBJ_DUP(o) SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) | ^~~~~~~~~~~~~~~~~~~~ array.c:547:36: note: in expansion of macro 'SPIF_OBJ_DUP' 547 | SPIF_LIST_APPEND(key_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->items[i])->key)); | ^~~~~~~~~~~~ ../include/libast/obj.h:718:17: note: declared here 718 | spif_func_t dup; | ^~~ ../include/libast/list_if.h:45:75: error: too many arguments to function '((spif_const_listclass_t *)((spif_const_obj_t *)key_list)->cls)->append'; expected 0, have 2 45 | #define SPIF_LIST_CALL_METHOD(o, meth) SPIF_LIST_CLASS(o)->meth | ^ ../include/libast/list_if.h:57:75: note: in expansion of macro 'SPIF_LIST_CALL_METHOD' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~~~~~~~~~~~~~~~~~~ array.c:547:9: note: in expansion of macro 'SPIF_LIST_APPEND' 547 | SPIF_LIST_APPEND(key_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->items[i])->key)); | ^~~~~~~~~~~~~~~~ ../include/libast/list_if.h:78:17: note: declared here 78 | spif_func_t append; | ^~~~~~ ../include/libast/types.h:239:42: warning: value computed is not used [-Wunused-value] 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/list_if.h:57:57: note: in expansion of macro 'SPIF_CAST' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~~~~~~ array.c:547:9: note: in expansion of macro 'SPIF_LIST_APPEND' 547 | SPIF_LIST_APPEND(key_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->items[i])->key)); | ^~~~~~~~~~~~~~~~ array.c: In function 'spif_array_get_pairs': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->cls)->dup'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/list_if.h:57:114: note: in definition of macro 'SPIF_LIST_APPEND' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:579:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 579 | #define SPIF_OBJ_DUP(o) SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) | ^~~~~~~~~~~~~~~~~~~~ array.c:563:37: note: in expansion of macro 'SPIF_OBJ_DUP' 563 | SPIF_LIST_APPEND(pair_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->items[i]))); | ^~~~~~~~~~~~ ../include/libast/obj.h:718:17: note: declared here 718 | spif_func_t dup; | ^~~ ../include/libast/list_if.h:45:75: error: too many arguments to function '((spif_const_listclass_t *)((spif_const_obj_t *)pair_list)->cls)->append'; expected 0, have 2 45 | #define SPIF_LIST_CALL_METHOD(o, meth) SPIF_LIST_CLASS(o)->meth | ^ ../include/libast/list_if.h:57:75: note: in expansion of macro 'SPIF_LIST_CALL_METHOD' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~~~~~~~~~~~~~~~~~~ array.c:563:9: note: in expansion of macro 'SPIF_LIST_APPEND' 563 | SPIF_LIST_APPEND(pair_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->items[i]))); | ^~~~~~~~~~~~~~~~ ../include/libast/list_if.h:78:17: note: declared here 78 | spif_func_t append; | ^~~~~~ ../include/libast/types.h:239:42: warning: value computed is not used [-Wunused-value] 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/list_if.h:57:57: note: in expansion of macro 'SPIF_CAST' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~~~~~~ array.c:563:9: note: in expansion of macro 'SPIF_LIST_APPEND' 563 | SPIF_LIST_APPEND(pair_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->items[i]))); | ^~~~~~~~~~~~~~~~ array.c: In function 'spif_array_get_values': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)((spif_const_objpair_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->value)->cls)->dup'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/list_if.h:57:114: note: in definition of macro 'SPIF_LIST_APPEND' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:579:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 579 | #define SPIF_OBJ_DUP(o) SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) | ^~~~~~~~~~~~~~~~~~~~ array.c:579:38: note: in expansion of macro 'SPIF_OBJ_DUP' 579 | SPIF_LIST_APPEND(value_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->items[i])->value)); | ^~~~~~~~~~~~ ../include/libast/obj.h:718:17: note: declared here 718 | spif_func_t dup; | ^~~ ../include/libast/list_if.h:45:75: error: too many arguments to function '((spif_const_listclass_t *)((spif_const_obj_t *)value_list)->cls)->append'; expected 0, have 2 45 | #define SPIF_LIST_CALL_METHOD(o, meth) SPIF_LIST_CLASS(o)->meth | ^ ../include/libast/list_if.h:57:75: note: in expansion of macro 'SPIF_LIST_CALL_METHOD' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~~~~~~~~~~~~~~~~~~ array.c:579:9: note: in expansion of macro 'SPIF_LIST_APPEND' 579 | SPIF_LIST_APPEND(value_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->items[i])->value)); | ^~~~~~~~~~~~~~~~ ../include/libast/list_if.h:78:17: note: declared here 78 | spif_func_t append; | ^~~~~~ ../include/libast/types.h:239:42: warning: value computed is not used [-Wunused-value] 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/list_if.h:57:57: note: in expansion of macro 'SPIF_CAST' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~~~~~~ array.c:579:9: note: in expansion of macro 'SPIF_LIST_APPEND' 579 | SPIF_LIST_APPEND(value_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->items[i])->value)); | ^~~~~~~~~~~~~~~~ array.c: In function 'spif_array_has_key': array.c:587:64: error: 'FALSE' undeclared (first use in this function) 587 | return ((SPIF_OBJ_ISNULL(spif_array_map_get(self, key))) ? FALSE : TRUE); | ^~~~~ array.c:587:72: error: 'TRUE' undeclared (first use in this function) 587 | return ((SPIF_OBJ_ISNULL(spif_array_map_get(self, key))) ? FALSE : TRUE); | ^~~~ array.c: In function 'spif_array_has_value': array.c:595:44: error: 'FALSE' undeclared (first use in this function) 595 | ASSERT_RVAL(!SPIF_VECTOR_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ array.c:602:20: error: 'TRUE' undeclared (first use in this function) 602 | return TRUE; | ^~~~ ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)pair->value)->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/types.h:874:37: note: in definition of macro 'SPIF_CMP_IS_EQUAL' 874 | #define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) | ^~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ array.c:603:38: note: in expansion of macro 'SPIF_OBJ_COMP' 603 | } else if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(pair->value, value))) { | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ array.c: In function 'spif_array_index': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/types.h:874:37: note: in definition of macro 'SPIF_CMP_IS_EQUAL' 874 | #define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) | ^~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ array.c:623:31: note: in expansion of macro 'SPIF_OBJ_COMP' 623 | if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(self->items[i], obj))) { | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ array.c: In function 'spif_array_insert': array.c:635:43: error: 'FALSE' undeclared (first use in this function) 635 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ array.c:638:89: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 638 | self->items = SPIF_CAST_C(spif_obj_t *) REALLOC(self->items, sizeof(spif_obj_t) * (self->len + 1)); ../include/libast.h:1149:51: note: in definition of macro 'REALLOC' 1149 | # define REALLOC(mem,sz) ((sz) ? ((mem) ? (realloc((mem), (sz))) : (malloc(sz))) : ((mem) ? (free(mem), NULL) : (NULL))) | ^~ ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)obj)->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/types.h:889:37: note: in definition of macro 'SPIF_CMP_IS_GREATER' 889 | #define SPIF_CMP_IS_GREATER(cmp) ((cmp) == SPIF_CMP_GREATER) | ^~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ array.c:643:54: note: in expansion of macro 'SPIF_OBJ_COMP' 643 | for (i = 0; i < self->len && SPIF_CMP_IS_GREATER(SPIF_OBJ_COMP(obj, self->items[i])); i++); | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ array.c:650:12: error: 'TRUE' undeclared (first use in this function) 650 | return TRUE; | ^~~~ array.c: In function 'spif_array_insert_at': array.c:658:43: error: 'FALSE' undeclared (first use in this function) 658 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ array.c:675:89: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 675 | self->items = SPIF_CAST_C(spif_obj_t *) REALLOC(self->items, sizeof(spif_obj_t) * (self->len + 1)); ../include/libast.h:1149:51: note: in definition of macro 'REALLOC' 1149 | # define REALLOC(mem,sz) ((sz) ? ((mem) ? (realloc((mem), (sz))) : (malloc(sz))) : ((mem) ? (free(mem), NULL) : (NULL))) | ^~ array.c:690:12: error: 'TRUE' undeclared (first use in this function) 690 | return TRUE; | ^~~~ array.c: In function 'spif_array_prepend': array.c:703:43: error: 'FALSE' undeclared (first use in this function) 703 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ array.c:706:89: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 706 | self->items = SPIF_CAST_C(spif_obj_t *) REALLOC(self->items, sizeof(spif_obj_t) * (self->len + 1)); ../include/libast.h:1149:51: note: in definition of macro 'REALLOC' 1149 | # define REALLOC(mem,sz) ((sz) ? ((mem) ? (realloc((mem), (sz))) : (malloc(sz))) : ((mem) ? (free(mem), NULL) : (NULL))) | ^~ array.c:714:12: error: 'TRUE' undeclared (first use in this function) 714 | return TRUE; | ^~~~ array.c: In function 'spif_array_remove': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)item)->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/types.h:874:37: note: in definition of macro 'SPIF_CMP_IS_EQUAL' 874 | #define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) | ^~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ array.c:725:53: note: in expansion of macro 'SPIF_OBJ_COMP' 725 | for (i = 0; i < self->len && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(item, self->items[i])); i++); | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ array.c:734:78: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 734 | self->items = SPIF_CAST_PTR(obj) REALLOC(self->items, sizeof(spif_obj_t) * self->len); ../include/libast.h:1149:51: note: in definition of macro 'REALLOC' 1149 | # define REALLOC(mem,sz) ((sz) ? ((mem) ? (realloc((mem), (sz))) : (malloc(sz))) : ((mem) ? (free(mem), NULL) : (NULL))) | ^~ array.c: In function 'spif_array_map_remove': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/types.h:874:37: note: in definition of macro 'SPIF_CMP_IS_EQUAL' 874 | #define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) | ^~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ array.c:747:53: note: in expansion of macro 'SPIF_OBJ_COMP' 747 | for (i = 0; i < self->len && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(self->items[i], item)); i++); | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ array.c:756:85: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 756 | self->items = SPIF_CAST_C(spif_obj_t *) REALLOC(self->items, sizeof(spif_obj_t) * self->len); ../include/libast.h:1149:51: note: in definition of macro 'REALLOC' 1149 | # define REALLOC(mem,sz) ((sz) ? ((mem) ? (realloc((mem), (sz))) : (malloc(sz))) : ((mem) ? (free(mem), NULL) : (NULL))) | ^~ array.c: In function 'spif_array_remove_at': array.c:780:85: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 780 | self->items = SPIF_CAST_C(spif_obj_t *) REALLOC(self->items, sizeof(spif_obj_t) * self->len); ../include/libast.h:1149:51: note: in definition of macro 'REALLOC' 1149 | # define REALLOC(mem,sz) ((sz) ? ((mem) ? (realloc((mem), (sz))) : (malloc(sz))) : ((mem) ? (free(mem), NULL) : (NULL))) | ^~ array.c: In function 'spif_array_reverse': array.c:790:43: error: 'FALSE' undeclared (first use in this function) 790 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ array.c:794:12: error: 'TRUE' undeclared (first use in this function) 794 | return TRUE; | ^~~~ array.c: In function 'spif_array_set': array.c:802:42: error: 'FALSE' undeclared (first use in this function) 802 | ASSERT_RVAL(!SPIF_LIST_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/types.h:874:37: note: in definition of macro 'SPIF_CMP_IS_EQUAL' 874 | #define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) | ^~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ array.c:810:53: note: in expansion of macro 'SPIF_OBJ_COMP' 810 | for (i = 0; i < self->len && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(self->items[i], key)); i++); | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)value)->cls)->dup'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:579:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 579 | #define SPIF_OBJ_DUP(o) SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) | ^~~~~~~~~~~~~~~~~~~~ array.c:815:62: note: in expansion of macro 'SPIF_OBJ_DUP' 815 | spif_objpair_set_value(SPIF_OBJPAIR(self->items[i]), SPIF_OBJ_DUP(value)); | ^~~~~~~~~~~~ ../include/libast/obj.h:718:17: note: declared here 718 | spif_func_t dup; | ^~~ array.c:816:16: error: 'TRUE' undeclared (first use in this function) 816 | return TRUE; | ^~~~ array.c: In function 'spif_array_iterator_init': array.c:850:46: error: 'FALSE' undeclared (first use in this function) 850 | ASSERT_RVAL(!SPIF_ITERATOR_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ array.c:858:12: error: 'TRUE' undeclared (first use in this function) 858 | return TRUE; | ^~~~ array.c: In function 'spif_array_iterator_done': array.c:864:46: error: 'FALSE' undeclared (first use in this function) 864 | ASSERT_RVAL(!SPIF_ITERATOR_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ array.c:867:12: error: 'TRUE' undeclared (first use in this function) 867 | return TRUE; | ^~~~ array.c: In function 'spif_array_iterator_del': array.c:875:46: error: 'FALSE' undeclared (first use in this function) 875 | ASSERT_RVAL(!SPIF_ITERATOR_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ array.c: In function 'spif_array_iterator_has_next': array.c:951:46: error: 'FALSE' undeclared (first use in this function) 951 | ASSERT_RVAL(!SPIF_ITERATOR_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ array.c:957:16: error: 'TRUE' undeclared (first use in this function) 957 | return TRUE; | ^~~~ array.c: In function 'spif_array_reverse': array.c:795:1: warning: control reaches end of non-void function [-Wreturn-type] 795 | } | ^ array.c: In function 'spif_array_prepend': array.c:715:1: warning: control reaches end of non-void function [-Wreturn-type] 715 | } | ^ array.c: In function 'spif_array_iterator_init': array.c:859:1: warning: control reaches end of non-void function [-Wreturn-type] 859 | } | ^ array.c: In function 'spif_array_insert_at': array.c:691:1: warning: control reaches end of non-void function [-Wreturn-type] 691 | } | ^ array.c: In function 'spif_array_insert': array.c:651:1: warning: control reaches end of non-void function [-Wreturn-type] 651 | } | ^ array.c: In function 'spif_array_list_contains': array.c:438:1: warning: control reaches end of non-void function [-Wreturn-type] 438 | } | ^ array.c: In function 'spif_array_append': array.c:431:1: warning: control reaches end of non-void function [-Wreturn-type] 431 | } | ^ array.c: In function 'spif_array_done': array.c:279:1: warning: control reaches end of non-void function [-Wreturn-type] 279 | } | ^ array.c: In function 'spif_array_list_init': array.c:209:1: warning: control reaches end of non-void function [-Wreturn-type] 209 | } | ^ array.c: In function 'spif_array_vector_contains': array.c:445:1: warning: control reaches end of non-void function [-Wreturn-type] 445 | } | ^ array.c: In function 'spif_array_vector_init': array.c:249:1: warning: control reaches end of non-void function [-Wreturn-type] 249 | } | ^ array.c: In function 'spif_array_set': array.c:818:1: warning: control reaches end of non-void function [-Wreturn-type] 818 | } | ^ array.c: In function 'spif_array_has_value': array.c:608:1: warning: control reaches end of non-void function [-Wreturn-type] 608 | } | ^ array.c: In function 'spif_array_has_key': array.c:588:1: warning: control reaches end of non-void function [-Wreturn-type] 588 | } | ^ array.c: In function 'spif_array_map_init': array.c:263:1: warning: control reaches end of non-void function [-Wreturn-type] 263 | } | ^ array.c: In function 'spif_array_iterator_has_next': array.c:959:1: warning: control reaches end of non-void function [-Wreturn-type] 959 | } | ^ array.c: In function 'spif_array_iterator_done': array.c:868:1: warning: control reaches end of non-void function [-Wreturn-type] 868 | } | ^ make[2]: *** [Makefile:516: array.lo] Error 1 make[2]: Entering directory '/builddir/build/BUILD/libast-0.7.1-build/libast-20080502/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o dlinked_list.lo dlinked_list.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c dlinked_list.c -fPIC -DPIC -o .libs/dlinked_list.o make[2]: Leaving directory '/builddir/build/BUILD/libast-0.7.1-build/libast-20080502/src' RPM build errors: In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from ../include/libast.h:42, from ../include/libast_internal.h:53, from dlinked_list.c:30: /usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../include/libast.h:111: ../include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ ../include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards dlinked_list.c: In function 'spif_dlinked_list_item_init': dlinked_list.c:231:55: error: 'FALSE' undeclared (first use in this function) 231 | ASSERT_RVAL(!SPIF_DLINKED_LIST_ITEM_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ dlinked_list.c:231:55: note: each undeclared identifier is reported only once for each function it appears in 231 | ASSERT_RVAL(!SPIF_DLINKED_LIST_ITEM_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ dlinked_list.c:235:12: error: 'TRUE' undeclared (first use in this function) 235 | return TRUE; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_item_done': dlinked_list.c:241:55: error: 'FALSE' undeclared (first use in this function) 241 | ASSERT_RVAL(!SPIF_DLINKED_LIST_ITEM_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)self->data)->cls)->del'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:536:59: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 536 | #define SPIF_OBJ_DEL(o) SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) | ^~~~~~~~~~~~~~~~~~~~ dlinked_list.c:243:9: note: in expansion of macro 'SPIF_OBJ_DEL' 243 | SPIF_OBJ_DEL(self->data); | ^~~~~~~~~~~~ In file included from ../include/libast.h:112: ../include/libast/obj.h:715:17: note: declared here 715 | spif_func_t del; | ^~~ ../include/libast/types.h:239:42: warning: value computed is not used [-Wunused-value] 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:536:42: note: in expansion of macro 'SPIF_CAST' 536 | #define SPIF_OBJ_DEL(o) SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) | ^~~~~~~~~ dlinked_list.c:243:9: note: in expansion of macro 'SPIF_OBJ_DEL' 243 | SPIF_OBJ_DEL(self->data); | ^~~~~~~~~~~~ dlinked_list.c:248:12: error: 'TRUE' undeclared (first use in this function) 248 | return TRUE; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_item_del': dlinked_list.c:254:55: error: 'FALSE' undeclared (first use in this function) 254 | ASSERT_RVAL(!SPIF_DLINKED_LIST_ITEM_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ dlinked_list.c:257:12: error: 'TRUE' undeclared (first use in this function) 257 | return TRUE; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_item_show': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)self->data)->cls)->show'; expected 0, have 4 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:552:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 552 | #define SPIF_OBJ_SHOW(o, b, i) SPIF_CAST(str) (SPIF_OBJ_CALL_METHOD((o), show)(o, #o, b, i)) | ^~~~~~~~~~~~~~~~~~~~ dlinked_list.c:283:16: note: in expansion of macro 'SPIF_OBJ_SHOW' 283 | buff = SPIF_OBJ_SHOW(self->data, buff, 0); | ^~~~~~~~~~~~~ ../include/libast/obj.h:716:17: note: declared here 716 | spif_func_t show; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_item_comp': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)self->data)->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ dlinked_list.c:292:12: note: in expansion of macro 'SPIF_OBJ_COMP' 292 | return SPIF_OBJ_COMP(SPIF_OBJ(self->data), SPIF_OBJ(other->data)); | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_item_dup': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)self->data)->cls)->dup'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:579:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 579 | #define SPIF_OBJ_DUP(o) SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) | ^~~~~~~~~~~~~~~~~~~~ dlinked_list.c:302:17: note: in expansion of macro 'SPIF_OBJ_DUP' 302 | tmp->data = SPIF_OBJ_DUP(self->data); | ^~~~~~~~~~~~ ../include/libast/obj.h:718:17: note: declared here 718 | spif_func_t dup; | ^~~ dlinked_list.c: In function 'spif_dlinked_list_item_set_data': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)self->data)->cls)->del'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:536:59: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 536 | #define SPIF_OBJ_DEL(o) SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) | ^~~~~~~~~~~~~~~~~~~~ ../include/libast/obj.h:200:13: note: in expansion of macro 'SPIF_OBJ_DEL' 200 | SPIF_OBJ_DEL(self->name); \ | ^~~~~~~~~~~~ dlinked_list.c:313:1: note: in expansion of macro 'SPIF_DEFINE_PROPERTY_FUNC' 313 | SPIF_DEFINE_PROPERTY_FUNC(dlinked_list_item, obj, data) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/libast/obj.h:715:17: note: declared here 715 | spif_func_t del; | ^~~ ../include/libast/types.h:239:42: warning: value computed is not used [-Wunused-value] 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:536:42: note: in expansion of macro 'SPIF_CAST' 536 | #define SPIF_OBJ_DEL(o) SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) | ^~~~~~~~~ ../include/libast/obj.h:200:13: note: in expansion of macro 'SPIF_OBJ_DEL' 200 | SPIF_OBJ_DEL(self->name); \ | ^~~~~~~~~~~~ dlinked_list.c:313:1: note: in expansion of macro 'SPIF_DEFINE_PROPERTY_FUNC' 313 | SPIF_DEFINE_PROPERTY_FUNC(dlinked_list_item, obj, data) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/libast/obj.h:203:16: error: 'TRUE' undeclared (first use in this function) 203 | return TRUE; \ | ^~~~ dlinked_list.c:313:1: note: in expansion of macro 'SPIF_DEFINE_PROPERTY_FUNC' 313 | SPIF_DEFINE_PROPERTY_FUNC(dlinked_list_item, obj, data) | ^~~~~~~~~~~~~~~~~~~~~~~~~ dlinked_list.c: In function 'spif_dlinked_list_item_set_prev': ../include/libast/obj.h:227:16: error: 'TRUE' undeclared (first use in this function) 227 | return TRUE; \ | ^~~~ dlinked_list.c:314:1: note: in expansion of macro 'SPIF_DEFINE_PROPERTY_FUNC_NONOBJ' 314 | SPIF_DEFINE_PROPERTY_FUNC_NONOBJ(dlinked_list_item, dlinked_list_item, prev) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dlinked_list.c: In function 'spif_dlinked_list_item_set_next': ../include/libast/obj.h:227:16: error: 'TRUE' undeclared (first use in this function) 227 | return TRUE; \ | ^~~~ dlinked_list.c:315:1: note: in expansion of macro 'SPIF_DEFINE_PROPERTY_FUNC_NONOBJ' 315 | SPIF_DEFINE_PROPERTY_FUNC_NONOBJ(dlinked_list_item, dlinked_list_item, next) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dlinked_list.c: In function 'spif_dlinked_list_init': dlinked_list.c:360:42: error: 'FALSE' undeclared (first use in this function) 360 | ASSERT_RVAL(!SPIF_LIST_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ dlinked_list.c:366:12: error: 'TRUE' undeclared (first use in this function) 366 | return TRUE; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_vector_init': dlinked_list.c:372:44: error: 'FALSE' undeclared (first use in this function) 372 | ASSERT_RVAL(!SPIF_VECTOR_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ dlinked_list.c:378:12: error: 'TRUE' undeclared (first use in this function) 378 | return TRUE; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_map_init': dlinked_list.c:384:41: error: 'FALSE' undeclared (first use in this function) 384 | ASSERT_RVAL(!SPIF_MAP_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ dlinked_list.c:390:12: error: 'TRUE' undeclared (first use in this function) 390 | return TRUE; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_done': dlinked_list.c:398:42: error: 'FALSE' undeclared (first use in this function) 398 | ASSERT_RVAL(!SPIF_LIST_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ dlinked_list.c:411:12: error: 'TRUE' undeclared (first use in this function) 411 | return TRUE; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_del': dlinked_list.c:417:42: error: 'FALSE' undeclared (first use in this function) 417 | ASSERT_RVAL(!SPIF_LIST_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ dlinked_list.c:420:12: error: 'TRUE' undeclared (first use in this function) 420 | return TRUE; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_append': dlinked_list.c:541:42: error: 'FALSE' undeclared (first use in this function) 541 | ASSERT_RVAL(!SPIF_LIST_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ dlinked_list.c:557:12: error: 'TRUE' undeclared (first use in this function) 557 | return TRUE; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_contains': dlinked_list.c:563:42: error: 'FALSE' undeclared (first use in this function) 563 | ASSERT_RVAL(!SPIF_LIST_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ dlinked_list.c:564:80: error: 'TRUE' undeclared (first use in this function) 564 | return ((SPIF_LIST_ISNULL(spif_dlinked_list_find(self, obj))) ? (FALSE) : (TRUE)); | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_vector_contains': dlinked_list.c:570:44: error: 'FALSE' undeclared (first use in this function) 570 | ASSERT_RVAL(!SPIF_VECTOR_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ dlinked_list.c:571:87: error: 'TRUE' undeclared (first use in this function) 571 | return ((SPIF_LIST_ISNULL(spif_dlinked_list_vector_find(self, obj))) ? (FALSE) : (TRUE)); | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_count': dlinked_list.c:577:42: error: 'FALSE' undeclared (first use in this function) 577 | ASSERT_RVAL(!SPIF_LIST_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ dlinked_list.c: In function 'spif_dlinked_list_find': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)obj)->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/types.h:874:37: note: in definition of macro 'SPIF_CMP_IS_EQUAL' 874 | #define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) | ^~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ dlinked_list.c:589:31: note: in expansion of macro 'SPIF_OBJ_COMP' 589 | if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(obj, current->data))) { | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_vector_find': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)obj)->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ dlinked_list.c:606:13: note: in expansion of macro 'SPIF_OBJ_COMP' 606 | c = SPIF_OBJ_COMP(obj, current->data); | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_map_get': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)current->data)->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ dlinked_list.c:651:13: note: in expansion of macro 'SPIF_OBJ_COMP' 651 | c = SPIF_OBJ_COMP(current->data, key); | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ In file included from ../include/libast/tok.h:27, from ../include/libast.h:121: dlinked_list.c: In function 'spif_dlinked_list_get_keys': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)((spif_const_objpair_t *)current->data)->key)->cls)->dup'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/list_if.h:57:114: note: in definition of macro 'SPIF_LIST_APPEND' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:579:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 579 | #define SPIF_OBJ_DUP(o) SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) | ^~~~~~~~~~~~~~~~~~~~ dlinked_list.c:672:36: note: in expansion of macro 'SPIF_OBJ_DUP' 672 | SPIF_LIST_APPEND(key_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->data)->key)); | ^~~~~~~~~~~~ ../include/libast/obj.h:718:17: note: declared here 718 | spif_func_t dup; | ^~~ ../include/libast/list_if.h:45:75: error: too many arguments to function '((spif_const_listclass_t *)((spif_const_obj_t *)key_list)->cls)->append'; expected 0, have 2 45 | #define SPIF_LIST_CALL_METHOD(o, meth) SPIF_LIST_CLASS(o)->meth | ^ ../include/libast/list_if.h:57:75: note: in expansion of macro 'SPIF_LIST_CALL_METHOD' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~~~~~~~~~~~~~~~~~~ dlinked_list.c:672:9: note: in expansion of macro 'SPIF_LIST_APPEND' 672 | SPIF_LIST_APPEND(key_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->data)->key)); | ^~~~~~~~~~~~~~~~ ../include/libast/list_if.h:78:17: note: declared here 78 | spif_func_t append; | ^~~~~~ ../include/libast/types.h:239:42: warning: value computed is not used [-Wunused-value] 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/list_if.h:57:57: note: in expansion of macro 'SPIF_CAST' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~~~~~~ dlinked_list.c:672:9: note: in expansion of macro 'SPIF_LIST_APPEND' 672 | SPIF_LIST_APPEND(key_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->data)->key)); | ^~~~~~~~~~~~~~~~ dlinked_list.c: In function 'spif_dlinked_list_get_pairs': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)current->data)->cls)->dup'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/list_if.h:57:114: note: in definition of macro 'SPIF_LIST_APPEND' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:579:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 579 | #define SPIF_OBJ_DUP(o) SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) | ^~~~~~~~~~~~~~~~~~~~ dlinked_list.c:688:37: note: in expansion of macro 'SPIF_OBJ_DUP' 688 | SPIF_LIST_APPEND(pair_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->data))); | ^~~~~~~~~~~~ ../include/libast/obj.h:718:17: note: declared here 718 | spif_func_t dup; | ^~~ ../include/libast/list_if.h:45:75: error: too many arguments to function '((spif_const_listclass_t *)((spif_const_obj_t *)pair_list)->cls)->append'; expected 0, have 2 45 | #define SPIF_LIST_CALL_METHOD(o, meth) SPIF_LIST_CLASS(o)->meth | ^ ../include/libast/list_if.h:57:75: note: in expansion of macro 'SPIF_LIST_CALL_METHOD' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~~~~~~~~~~~~~~~~~~ dlinked_list.c:688:9: note: in expansion of macro 'SPIF_LIST_APPEND' 688 | SPIF_LIST_APPEND(pair_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->data))); | ^~~~~~~~~~~~~~~~ ../include/libast/list_if.h:78:17: note: declared here 78 | spif_func_t append; | ^~~~~~ ../include/libast/types.h:239:42: warning: value computed is not used [-Wunused-value] 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/list_if.h:57:57: note: in expansion of macro 'SPIF_CAST' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~~~~~~ dlinked_list.c:688:9: note: in expansion of macro 'SPIF_LIST_APPEND' 688 | SPIF_LIST_APPEND(pair_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->data))); | ^~~~~~~~~~~~~~~~ dlinked_list.c: In function 'spif_dlinked_list_get_values': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)((spif_const_objpair_t *)current->data)->value)->cls)->dup'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/list_if.h:57:114: note: in definition of macro 'SPIF_LIST_APPEND' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:579:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 579 | #define SPIF_OBJ_DUP(o) SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) | ^~~~~~~~~~~~~~~~~~~~ dlinked_list.c:704:38: note: in expansion of macro 'SPIF_OBJ_DUP' 704 | SPIF_LIST_APPEND(value_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->data)->value)); | ^~~~~~~~~~~~ ../include/libast/obj.h:718:17: note: declared here 718 | spif_func_t dup; | ^~~ ../include/libast/list_if.h:45:75: error: too many arguments to function '((spif_const_listclass_t *)((spif_const_obj_t *)value_list)->cls)->append'; expected 0, have 2 45 | #define SPIF_LIST_CALL_METHOD(o, meth) SPIF_LIST_CLASS(o)->meth | ^ ../include/libast/list_if.h:57:75: note: in expansion of macro 'SPIF_LIST_CALL_METHOD' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~~~~~~~~~~~~~~~~~~ dlinked_list.c:704:9: note: in expansion of macro 'SPIF_LIST_APPEND' 704 | SPIF_LIST_APPEND(value_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->data)->value)); | ^~~~~~~~~~~~~~~~ ../include/libast/list_if.h:78:17: note: declared here 78 | spif_func_t append; | ^~~~~~ ../include/libast/types.h:239:42: warning: value computed is not used [-Wunused-value] 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/list_if.h:57:57: note: in expansion of macro 'SPIF_CAST' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~~~~~~ dlinked_list.c:704:9: note: in expansion of macro 'SPIF_LIST_APPEND' 704 | SPIF_LIST_APPEND(value_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->data)->value)); | ^~~~~~~~~~~~~~~~ dlinked_list.c: In function 'spif_dlinked_list_has_key': dlinked_list.c:712:71: error: 'FALSE' undeclared (first use in this function) 712 | return ((SPIF_OBJ_ISNULL(spif_dlinked_list_map_get(self, key))) ? FALSE : TRUE); | ^~~~~ dlinked_list.c:712:79: error: 'TRUE' undeclared (first use in this function) 712 | return ((SPIF_OBJ_ISNULL(spif_dlinked_list_map_get(self, key))) ? FALSE : TRUE); | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_has_value': dlinked_list.c:720:44: error: 'FALSE' undeclared (first use in this function) 720 | ASSERT_RVAL(!SPIF_VECTOR_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ dlinked_list.c:728:20: error: 'TRUE' undeclared (first use in this function) 728 | return TRUE; | ^~~~ ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)pair->value)->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/types.h:874:37: note: in definition of macro 'SPIF_CMP_IS_EQUAL' 874 | #define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) | ^~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ dlinked_list.c:729:38: note: in expansion of macro 'SPIF_OBJ_COMP' 729 | } else if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(pair->value, value))) { | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_index': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)obj)->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/types.h:874:37: note: in definition of macro 'SPIF_CMP_IS_EQUAL' 874 | #define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) | ^~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ dlinked_list.c:743:69: note: in expansion of macro 'SPIF_OBJ_COMP' 743 | for (current = self->head, i = 0; current && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(obj, current->data)); i++, current = current->next); | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_insert': dlinked_list.c:752:42: error: 'FALSE' undeclared (first use in this function) 752 | ASSERT_RVAL(!SPIF_LIST_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ dlinked_list.c:776:12: error: 'TRUE' undeclared (first use in this function) 776 | return TRUE; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_insert_at': dlinked_list.c:785:42: error: 'FALSE' undeclared (first use in this function) 785 | ASSERT_RVAL(!SPIF_LIST_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ dlinked_list.c:820:12: error: 'TRUE' undeclared (first use in this function) 820 | return TRUE; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_prepend': dlinked_list.c:835:42: error: 'FALSE' undeclared (first use in this function) 835 | ASSERT_RVAL(!SPIF_LIST_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ dlinked_list.c:850:12: error: 'TRUE' undeclared (first use in this function) 850 | return TRUE; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_remove': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)item)->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/types.h:874:37: note: in definition of macro 'SPIF_CMP_IS_EQUAL' 874 | #define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) | ^~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ dlinked_list.c:863:62: note: in expansion of macro 'SPIF_OBJ_COMP' 863 | for (current = self->head; current && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(item, current->data)); current = current->next); | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_map_remove': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)self->head->data)->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/types.h:874:37: note: in definition of macro 'SPIF_CMP_IS_EQUAL' 874 | #define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) | ^~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ dlinked_list.c:897:34: note: in expansion of macro 'SPIF_OBJ_COMP' 897 | } else if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(self->head->data, item))) { | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)current->next->data)->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/types.h:874:37: note: in definition of macro 'SPIF_CMP_IS_EQUAL' 874 | #define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) | ^~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ dlinked_list.c:901:72: note: in expansion of macro 'SPIF_OBJ_COMP' 901 | for (current = self->head; current->next && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(current->next->data, item)); current = current->next); | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_reverse': dlinked_list.c:971:42: error: 'FALSE' undeclared (first use in this function) 971 | ASSERT_RVAL(!SPIF_LIST_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ dlinked_list.c:978:12: error: 'TRUE' undeclared (first use in this function) 978 | return TRUE; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_set': dlinked_list.c:986:42: error: 'FALSE' undeclared (first use in this function) 986 | ASSERT_RVAL(!SPIF_LIST_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)current->data)->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/types.h:874:37: note: in definition of macro 'SPIF_CMP_IS_EQUAL' 874 | #define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) | ^~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ dlinked_list.c:994:31: note: in expansion of macro 'SPIF_OBJ_COMP' 994 | if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(current->data, key))) { | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)value)->cls)->dup'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:579:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 579 | #define SPIF_OBJ_DUP(o) SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) | ^~~~~~~~~~~~~~~~~~~~ dlinked_list.c:1003:61: note: in expansion of macro 'SPIF_OBJ_DUP' 1003 | spif_objpair_set_value(SPIF_OBJPAIR(current->data), SPIF_OBJ_DUP(value)); | ^~~~~~~~~~~~ ../include/libast/obj.h:718:17: note: declared here 718 | spif_func_t dup; | ^~~ dlinked_list.c:1004:16: error: 'TRUE' undeclared (first use in this function) 1004 | return TRUE; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_set_len': ../include/libast/obj.h:227:16: error: 'TRUE' undeclared (first use in this function) 227 | return TRUE; \ | ^~~~ dlinked_list.c:1023:1: note: in expansion of macro 'SPIF_DEFINE_PROPERTY_FUNC_NONOBJ' 1023 | SPIF_DEFINE_PROPERTY_FUNC_NONOBJ(dlinked_list, listidx, len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dlinked_list.c: In function 'spif_dlinked_list_set_head': ../include/libast/obj.h:227:16: error: 'TRUE' undeclared (first use in this function) 227 | return TRUE; \ | ^~~~ dlinked_list.c:1024:1: note: in expansion of macro 'SPIF_DEFINE_PROPERTY_FUNC_NONOBJ' 1024 | SPIF_DEFINE_PROPERTY_FUNC_NONOBJ(dlinked_list, dlinked_list_item, head) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dlinked_list.c: In function 'spif_dlinked_list_set_tail': ../include/libast/obj.h:227:16: error: 'TRUE' undeclared (first use in this function) 227 | return TRUE; \ | ^~~~ dlinked_list.c:1025:1: note: in expansion of macro 'SPIF_DEFINE_PROPERTY_FUNC_NONOBJ' 1025 | SPIF_DEFINE_PROPERTY_FUNC_NONOBJ(dlinked_list, dlinked_list_item, tail) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dlinked_list.c: In function 'spif_dlinked_list_iterator_init': dlinked_list.c:1044:46: error: 'FALSE' undeclared (first use in this function) 1044 | ASSERT_RVAL(!SPIF_ITERATOR_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ dlinked_list.c:1053:12: error: 'TRUE' undeclared (first use in this function) 1053 | return TRUE; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_iterator_done': dlinked_list.c:1059:46: error: 'FALSE' undeclared (first use in this function) 1059 | ASSERT_RVAL(!SPIF_ITERATOR_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ dlinked_list.c:1062:12: error: 'TRUE' undeclared (first use in this function) 1062 | return TRUE; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_iterator_del': dlinked_list.c:1068:46: error: 'FALSE' undeclared (first use in this function) 1068 | ASSERT_RVAL(!SPIF_ITERATOR_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ dlinked_list.c:1071:12: error: 'TRUE' undeclared (first use in this function) 1071 | return TRUE; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_iterator_has_next': dlinked_list.c:1133:46: error: 'FALSE' undeclared (first use in this function) 1133 | ASSERT_RVAL(!SPIF_ITERATOR_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:522:56: note: in definition of macro 'ASSERT_RVAL' 522 | return (val);}} while (0) | ^~~ dlinked_list.c:1137:16: error: 'TRUE' undeclared (first use in this function) 1137 | return TRUE; | ^~~~ dlinked_list.c: In function 'spif_dlinked_list_iterator_set_subject': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)self->subject)->cls)->del'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:536:59: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 536 | #define SPIF_OBJ_DEL(o) SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) | ^~~~~~~~~~~~~~~~~~~~ ../include/libast/obj.h:200:13: note: in expansion of macro 'SPIF_OBJ_DEL' 200 | SPIF_OBJ_DEL(self->name); \ | ^~~~~~~~~~~~ dlinked_list.c:1156:1: note: in expansion of macro 'SPIF_DEFINE_PROPERTY_FUNC' 1156 | SPIF_DEFINE_PROPERTY_FUNC(dlinked_list_iterator, dlinked_list, subject) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/libast/obj.h:715:17: note: declared here 715 | spif_func_t del; | ^~~ ../include/libast/types.h:239:42: warning: value computed is not used [-Wunused-value] 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:536:42: note: in expansion of macro 'SPIF_CAST' 536 | #define SPIF_OBJ_DEL(o) SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) | ^~~~~~~~~ ../include/libast/obj.h:200:13: note: in expansion of macro 'SPIF_OBJ_DEL' 200 | SPIF_OBJ_DEL(self->name); \ | ^~~~~~~~~~~~ dlinked_list.c:1156:1: note: in expansion of macro 'SPIF_DEFINE_PROPERTY_FUNC' 1156 | SPIF_DEFINE_PROPERTY_FUNC(dlinked_list_iterator, dlinked_list, subject) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/libast/obj.h:203:16: error: 'TRUE' undeclared (first use in this function) 203 | return TRUE; \ | ^~~~ dlinked_list.c:1156:1: note: in expansion of macro 'SPIF_DEFINE_PROPERTY_FUNC' 1156 | SPIF_DEFINE_PROPERTY_FUNC(dlinked_list_iterator, dlinked_list, subject) | ^~~~~~~~~~~~~~~~~~~~~~~~~ dlinked_list.c: In function 'spif_dlinked_list_iterator_set_current': ../include/libast/obj.h:227:16: error: 'TRUE' undeclared (first use in this function) 227 | return TRUE; \ | ^~~~ dlinked_list.c:1157:1: note: in expansion of macro 'SPIF_DEFINE_PROPERTY_FUNC_NONOBJ' 1157 | SPIF_DEFINE_PROPERTY_FUNC_NONOBJ(dlinked_list_iterator, dlinked_list_item, current) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dlinked_list.c: In function 'spif_dlinked_list_item_del': dlinked_list.c:258:1: warning: control reaches end of non-void function [-Wreturn-type] 258 | } | ^ dlinked_list.c: In function 'spif_dlinked_list_item_done': dlinked_list.c:249:1: warning: control reaches end of non-void function [-Wreturn-type] 249 | } | ^ dlinked_list.c: In function 'spif_dlinked_list_item_init': dlinked_list.c:236:1: warning: control reaches end of non-void function [-Wreturn-type] 236 | } | ^ dlinked_list.c: In function 'spif_dlinked_list_reverse': dlinked_list.c:979:1: warning: control reaches end of non-void function [-Wreturn-type] 979 | } | ^ dlinked_list.c: In function 'spif_dlinked_list_prepend': dlinked_list.c:851:1: warning: control reaches end of non-void function [-Wreturn-type] 851 | } | ^ dlinked_list.c: In function 'spif_dlinked_list_iterator_init': dlinked_list.c:1054:1: warning: control reaches end of non-void function [-Wreturn-type] 1054 | } | ^ dlinked_list.c: In function 'spif_dlinked_list_insert_at': dlinked_list.c:821:1: warning: control reaches end of non-void function [-Wreturn-type] 821 | } | ^ dlinked_list.c: In function 'spif_dlinked_list_insert': dlinked_list.c:777:1: warning: control reaches end of non-void function [-Wreturn-type] 777 | } | ^ dlinked_list.c: In function 'spif_dlinked_list_contains': dlinked_list.c:565:1: warning: control reaches end of non-void function [-Wreturn-type] 565 | } | ^ dlinked_list.c: In function 'spif_dlinked_list_append': dlinked_list.c:558:1: warning: control reaches end of non-void function [-Wreturn-type] 558 | } | ^ dlinked_list.c: In function 'spif_dlinked_list_del': dlinked_list.c:421:1: warning: control reaches end of non-void function [-Wreturn-type] 421 | } | ^ dlinked_list.c: In function 'spif_dlinked_list_done': dlinked_list.c:412:1: warning: control reaches end of non-void function [-Wreturn-type] 412 | } | ^ dlinked_list.c: In function 'spif_dlinked_list_init': dlinked_list.c:367:1: warning: control reaches end of non-void function [-Wreturn-type] 367 | } | ^ dlinked_list.c: In function 'spif_dlinked_list_vector_contains': dlinked_list.c:572:1: warning: control reaches end of non-void function [-Wreturn-type] 572 | } | ^ dlinked_list.c: In function 'spif_dlinked_list_vector_init': dlinked_list.c:379:1: warning: control reaches end of non-void function [-Wreturn-type] 379 | } | ^ dlinked_list.c: In function 'spif_dlinked_list_set': dlinked_list.c:1006:1: warning: control reaches end of non-void function [-Wreturn-type] 1006 | } | ^ dlinked_list.c: In function 'spif_dlinked_list_has_value': dlinked_list.c:734:1: warning: control reaches end of non-void function [-Wreturn-type] 734 | } | ^ dlinked_list.c: In function 'spif_dlinked_list_has_key': dlinked_list.c:713:1: warning: control reaches end of non-void function [-Wreturn-type] 713 | } | ^ dlinked_list.c: In function 'spif_dlinked_list_map_init': dlinked_list.c:391:1: warning: control reaches end of non-void function [-Wreturn-type] 391 | } | ^ dlinked_list.c: In function 'spif_dlinked_list_iterator_has_next': dlinked_list.c:1141:1: warning: control reaches end of non-void function [-Wreturn-type] 1141 | } | ^ dlinked_list.c: In function 'spif_dlinked_list_iterator_del': dlinked_list.c:1072:1: warning: control reaches end of non-void function [-Wreturn-type] 1072 | } | ^ dlinked_list.c: In function 'spif_dlinked_list_iterator_done': dlinked_list.c:1063:1: warning: control reaches end of non-void function [-Wreturn-type] 1063 | } | ^ dlinked_list.c: In function 'spif_dlinked_list_item_set_data': ../include/libast/obj.h:204:5: warning: control reaches end of non-void function [-Wreturn-type] 204 | } | ^ dlinked_list.c:313:1: note: in expansion of macro 'SPIF_DEFINE_PROPERTY_FUNC' 313 | SPIF_DEFINE_PROPERTY_FUNC(dlinked_list_item, obj, data) | ^~~~~~~~~~~~~~~~~~~~~~~~~ dlinked_list.c: In function 'spif_dlinked_list_item_set_prev': ../include/libast/obj.h:228:5: warning: control reaches end of non-void function [-Wreturn-type] 228 | } | ^ dlinked_list.c:314:1: note: in expansion of macro 'SPIF_DEFINE_PROPERTY_FUNC_NONOBJ' 314 | SPIF_DEFINE_PROPERTY_FUNC_NONOBJ(dlinked_list_item, dlinked_list_item, prev) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dlinked_list.c: In function 'spif_dlinked_list_item_set_next': ../include/libast/obj.h:228:5: warning: control reaches end of non-void function [-Wreturn-type] 228 | } | ^ dlinked_list.c:315:1: note: in expansion of macro 'SPIF_DEFINE_PROPERTY_FUNC_NONOBJ' 315 | SPIF_DEFINE_PROPERTY_FUNC_NONOBJ(dlinked_list_item, dlinked_list_item, next) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dlinked_list.c: In function 'spif_dlinked_list_set_len': ../include/libast/obj.h:228:5: warning: control reaches end of non-void function [-Wreturn-type] 228 | } | ^ dlinked_list.c:1023:1: note: in expansion of macro 'SPIF_DEFINE_PROPERTY_FUNC_NONOBJ' 1023 | SPIF_DEFINE_PROPERTY_FUNC_NONOBJ(dlinked_list, listidx, len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dlinked_list.c: In function 'spif_dlinked_list_set_head': ../include/libast/obj.h:228:5: warning: control reaches end of non-void function [-Wreturn-type] 228 | } | ^ dlinked_list.c:1024:1: note: in expansion of macro 'SPIF_DEFINE_PROPERTY_FUNC_NONOBJ' 1024 | SPIF_DEFINE_PROPERTY_FUNC_NONOBJ(dlinked_list, dlinked_list_item, head) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dlinked_list.c: In function 'spif_dlinked_list_set_tail': ../include/libast/obj.h:228:5: warning: control reaches end of non-void function [-Wreturn-type] 228 | } | ^ dlinked_list.c:1025:1: note: in expansion of macro 'SPIF_DEFINE_PROPERTY_FUNC_NONOBJ' 1025 | SPIF_DEFINE_PROPERTY_FUNC_NONOBJ(dlinked_list, dlinked_list_item, tail) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dlinked_list.c: In function 'spif_dlinked_list_iterator_set_subject': ../include/libast/obj.h:204:5: warning: control reaches end of non-void function [-Wreturn-type] 204 | } | ^ dlinked_list.c:1156:1: note: in expansion of macro 'SPIF_DEFINE_PROPERTY_FUNC' 1156 | SPIF_DEFINE_PROPERTY_FUNC(dlinked_list_iterator, dlinked_list, subject) | ^~~~~~~~~~~~~~~~~~~~~~~~~ dlinked_list.c: In function 'spif_dlinked_list_iterator_set_current': ../include/libast/obj.h:228:5: warning: control reaches end of non-void function [-Wreturn-type] 228 | } | ^ dlinked_list.c:1157:1: note: in expansion of macro 'SPIF_DEFINE_PROPERTY_FUNC_NONOBJ' 1157 | SPIF_DEFINE_PROPERTY_FUNC_NONOBJ(dlinked_list_iterator, dlinked_list_item, current) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:516: dlinked_list.lo] Error 1 make[1]: *** [Makefile:514: all-recursive] Error 1 make: *** [Makefile:409: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.z3C03E (%build) Bad exit status from /var/tmp/rpm-tmp.z3C03E (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M bff8e0feca23488fab85b2334fb3173b -D /var/lib/mock/f42-build-56808915-6546277/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.oji7fgjk:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libast.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M bff8e0feca23488fab85b2334fb3173b -D /var/lib/mock/f42-build-56808915-6546277/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.oji7fgjk:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libast.spec'