Mock Version: 6.2 Mock Version: 6.2 Mock Version: 6.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/expat.spec'], chrootPath='/var/lib/mock/dist-an23-build-556566-89844/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=86400uid=989gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/expat.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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1784851200 Wrote: /builddir/build/SRPMS/expat-2.5.0-17.an23.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/expat.spec'], chrootPath='/var/lib/mock/dist-an23-build-556566-89844/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=86400uid=989gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/expat.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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1784851200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.B0Vkrd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf expat-2.5.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/expat-2.5.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd expat-2.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-fix-CVE-2024-45490.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-fix-CVE-2024-45491.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-fix-CVE-2024-45492.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0004-fix-CVE-2024-28757.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0005-fix-CVE-2024-50602.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1000-fix-CVE-2023-52425.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1001-fix-CVE-2024-8176.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1002-fix-CVE-2023-52426.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1003-stop-updating-event-pointer-on-exit-for-reentry.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2025-59375-1.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2025-59375-2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2025-59375-3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2025-59375-4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2025-59375-5.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2025-59375-6.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2025-59375-7.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2025-59375-pre-8.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2025-59375-8.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2025-59375-9.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2025-59375-10.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2025-59375-11.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2025-59375-12.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2025-59375-13.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/backport-CVE-2024-8176-CVE-2025-59375-lib-Fix-detection-of-asynchronous-tags-in-entities.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0006-fix-CVE-2026-24515.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0007-fix-CVE-2026-25210.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2026-32776.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2026-32777.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0008-fix-CVE-2026-32778.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0009-fix-CVE-2026-45186_1.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0010-fix-CVE-2026-45186_2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0011-fix-CVE-2026-45186_3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2026-50219-1.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2026-50219-2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2026-50219-3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2026-50219-4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2026-50219-5.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2026-50219-6.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2026-50219-7.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2026-50219-8.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2026-50219-9.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2026-50219-10.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2026-56131.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2026-56406-1.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2026-56406-2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2026-56132_1.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2026-56132_2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2026-56132_3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-CVE-2026-56132_4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/001004-bugfix-for-CVE-2026-56412.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/001005-bugfix-for-CVE-2026-56405.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i s/install-data-hook/do-nothing-please/ lib/Makefile.am + ./buildconf.sh autoreconf: export WARNINGS=all autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal -I m4 autoreconf: running: /usr/bin/autoconf configure.ac:106: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:106: You should run autoupdate. ./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from... configure.ac:106: the top level autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force autoreconf: Leaving directory '.' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xJ3IbD + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd expat-2.5.0 + export 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC' + export 'DOCBOOK_TO_MAN=xmlto man' + DOCBOOK_TO_MAN='xmlto man' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + 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 --- ./configure.backup 2026-07-24 16:41:01.460264759 +0800 +++ ./configure 2026-07-24 16:41:02.191292583 +0800 @@ -1783,7 +1783,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /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 2026-07-24 16:41:02.191292583 +0800 +++ ./configure 2026-07-24 16:41:02.211293345 +0800 @@ -7642,7 +7642,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'" @@ -20621,7 +20621,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 ./conftools/config.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f ./conftools/config.guess ++ basename ./conftools/config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./conftools/config.guess '/usr/lib/rpm/anolis/config.guess' -> './conftools/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./conftools/config.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f ./conftools/config.sub ++ basename ./conftools/config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub ./conftools/config.sub '/usr/lib/rpm/anolis/config.sub' -> './conftools/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-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/anolis/anolis-hardened-ld"~' ./conftools/ltmain.sh ++ dirname ./configure + /usr/lib/rpm/anolis/force-as-needed-for-shared-lib-in-libtool . Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/anolis/fix-libtool-ltmain-from-overlinking ++ dirname ./configure + /usr/lib/rpm/anolis/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/anolis/fix-dlsearch-path-in-libtool . lib64 Forcing run-time library search path definition in configure to prevent libtool from adding rpath for standard directories (configure was generated with libtool without support for autodetection) + ./configure --build=x86_64-Anolis-linux --host=x86_64-Anolis-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking build system type... x86_64-Anolis-linux-gnu checking host system type... x86_64-Anolis-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c 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 whether make supports the include directive... yes (GNU style) checking for x86_64-Anolis-linux-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for x86_64-Anolis-linux-ar... no checking for x86_64-Anolis-linux-lib... no checking for x86_64-Anolis-linux-link... no checking for ar... ar checking the archiver (ar) interface... ar checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes 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 the maximum length of command line arguments... 1572864 checking how to convert x86_64-Anolis-linux-gnu file names to x86_64-Anolis-linux-gnu format... func_convert_file_noop checking how to convert x86_64-Anolis-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-Anolis-linux-file... no checking for file... file checking for x86_64-Anolis-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-Anolis-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-Anolis-linux-ar... ar checking for archiver @FILE support... @ checking for x86_64-Anolis-linux-strip... no checking for strip... strip checking for x86_64-Anolis-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7648: -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-Anolis-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/param.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... 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 C compiler accepts -Wall... yes checking whether C compiler accepts -Wextra... yes checking whether C compiler accepts -fexceptions... yes checking whether C compiler accepts -fno-strict-aliasing... yes checking whether C compiler accepts -Wmissing-prototypes... yes checking whether C compiler accepts -Wstrict-prototypes... yes checking whether C compiler accepts -pedantic... yes checking whether C compiler accepts -Wduplicated-cond... yes checking whether C compiler accepts -Wduplicated-branches... yes checking whether C compiler accepts -Wlogical-op... yes checking whether C compiler accepts -Wrestrict... yes checking whether C compiler accepts -Wnull-dereference... yes checking whether C compiler accepts -Wjump-misses-init... yes checking whether C compiler accepts -Wdouble-promotion... yes checking whether C compiler accepts -Wshadow... yes checking whether C compiler accepts -Wformat=2... yes checking whether C compiler accepts -Wno-pedantic-ms-format... yes checking whether C compiler accepts -Wmisleading-indentation... yes checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether C++ compiler accepts -Wall... yes checking whether C++ compiler accepts -Wextra... yes checking whether C++ compiler accepts -fexceptions... yes checking whether C++ compiler accepts -fno-strict-aliasing... yes checking whether the linker accepts -fno-strict-aliasing... yes checking whether compiler supports visibility... yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for size_t... yes checking for cos in -lm... yes checking for arc4random_buf (BSD or libbsd)... yes checking for getrandom (Linux 3.17+, glibc 2.25+)... yes checking for syscall SYS_getrandom (Linux 3.17+)... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for off_t... yes checking for getpagesize... yes checking for working mmap... yes checking for docbook2x-man... xmlto man checking size of void *... 8 checking for shared library name prefix... lib checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating expat.pc config.status: creating cmake/expat-config.cmake config.status: creating cmake/autotools/expat-config-version.cmake config.status: creating cmake/autotools/expat-noconfig.cmake config.status: creating doc/Makefile config.status: creating examples/Makefile config.status: creating lib/Makefile config.status: creating tests/Makefile config.status: creating tests/benchmark/Makefile config.status: creating xmlwf/Makefile config.status: creating run.sh config.status: creating expat_config.h config.status: expat_config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands configure: Automake flags (can be overridden by user flags): AM_CPPFLAGS: -DXML_ENABLE_VISIBILITY=1 AM_CFLAGS: -Wall -Wextra -fexceptions -fno-strict-aliasing -Wmissing-prototypes -Wstrict-prototypes -pedantic -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wjump-misses-init -Wdouble-promotion -Wshadow -Wformat=2 -Wno-pedantic-ms-format -Wmisleading-indentation -fvisibility=hidden AM_CXXFLAGS: -Wall -Wextra -fexceptions -fno-strict-aliasing AM_LDFLAGS: -fno-strict-aliasing User flags (override Automake flags on conflict): CPPFLAGS: CFLAGS: -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC CXXFLAGS: -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection LDFLAGS: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 + find . -name Makefile -exec sed -i s/-pedantic//g '{}' ';' + /usr/bin/make -O -j80 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in lib make[2]: Entering directory '/builddir/build/BUILD/expat-2.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DXML_ENABLE_VISIBILITY=1 -Wall -Wextra -fexceptions -fno-strict-aliasing -Wmissing-prototypes -Wstrict-prototypes -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wjump-misses-init -Wdouble-promotion -Wshadow -Wformat=2 -Wno-ms-format -Wmisleading-indentation -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o xmlparse.lo xmlparse.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DXML_ENABLE_VISIBILITY=1 -Wall -Wextra -fexceptions -fno-strict-aliasing -Wmissing-prototypes -Wstrict-prototypes -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wjump-misses-init -Wdouble-promotion -Wshadow -Wformat=2 -Wno-ms-format -Wmisleading-indentation -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c xmlparse.c -fPIC -DPIC -o .libs/xmlparse.o xmlparse.c: In function 'doProlog': xmlparse.c:5992:35: warning: comparison is always false due to limited range of data type [-Wtype-limits] 5992 | if (parser->m_groupSize > SIZE_MAX / 2) { | ^ xmlparse.c:6360:1: error: invalid storage class for function 'epilogProcessor' 6360 | epilogProcessor(XML_Parser parser, const char *s, const char *end, | ^~~~~~~~~~~~~~~ xmlparse.c:6360:1: warning: declaration of 'epilogProcessor' shadows a global declaration [-Wshadow] xmlparse.c:471:18: note: shadowed declaration is here 471 | static Processor epilogProcessor; | ^~~~~~~~~~~~~~~ xmlparse.c: In function 'epilogProcessor': xmlparse.c:6360:28: warning: declaration of 'parser' shadows a parameter [-Wshadow] 6360 | epilogProcessor(XML_Parser parser, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c:6360:48: warning: declaration of 's' shadows a parameter [-Wshadow] 6360 | epilogProcessor(XML_Parser parser, const char *s, const char *end, | ~~~~~~~~~~~~^ xmlparse.c:5244:62: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^ xmlparse.c:6360:63: warning: declaration of 'end' shadows a parameter [-Wshadow] 6360 | epilogProcessor(XML_Parser parser, const char *s, const char *end, | ~~~~~~~~~~~~^~~ xmlparse.c:5244:77: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^~~ xmlparse.c:6361:30: warning: declaration of 'nextPtr' shadows a parameter [-Wshadow] 6361 | const char **nextPtr) { | ~~~~~~~~~~~~~^~~~~~~ xmlparse.c:5245:50: note: shadowed declaration is here 5245 | int tok, const char *next, const char **nextPtr, XML_Bool haveMore, | ~~~~~~~~~~~~~^~~~~~~ xmlparse.c:6365:17: warning: declaration of 'next' shadows a parameter [-Wshadow] 6365 | const char *next = NULL; | ^~~~ xmlparse.c:5245:31: note: shadowed declaration is here 5245 | int tok, const char *next, const char **nextPtr, XML_Bool haveMore, | ~~~~~~~~~~~~^~~~ xmlparse.c:6366:9: warning: declaration of 'tok' shadows a parameter [-Wshadow] 6366 | int tok = XmlPrologTok(parser->m_encoding, s, end, &next); | ^~~ xmlparse.c:5245:14: note: shadowed declaration is here 5245 | int tok, const char *next, const char **nextPtr, XML_Bool haveMore, | ~~~~^~~ xmlparse.c: In function 'doProlog': xmlparse.c:6439:1: error: invalid storage class for function 'processEntity' 6439 | processEntity(XML_Parser parser, ENTITY *entity, XML_Bool betweenDecl, | ^~~~~~~~~~~~~ xmlparse.c:6439:1: warning: declaration of 'processEntity' shadows a global declaration [-Wshadow] xmlparse.c:489:23: note: shadowed declaration is here 489 | static enum XML_Error processEntity(XML_Parser parser, ENTITY *entity, | ^~~~~~~~~~~~~ xmlparse.c: In function 'processEntity': xmlparse.c:6439:26: warning: declaration of 'parser' shadows a parameter [-Wshadow] 6439 | processEntity(XML_Parser parser, ENTITY *entity, XML_Bool betweenDecl, | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c: In function 'doProlog': xmlparse.c:6499:1: error: invalid storage class for function 'internalEntityProcessor' 6499 | internalEntityProcessor(XML_Parser parser, const char *s, const char *end, | ^~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:6499:1: warning: declaration of 'internalEntityProcessor' shadows a global declaration [-Wshadow] xmlparse.c:477:18: note: shadowed declaration is here 477 | static Processor internalEntityProcessor; | ^~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c: In function 'internalEntityProcessor': xmlparse.c:6499:36: warning: declaration of 'parser' shadows a parameter [-Wshadow] 6499 | internalEntityProcessor(XML_Parser parser, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c:6499:56: warning: declaration of 's' shadows a parameter [-Wshadow] 6499 | internalEntityProcessor(XML_Parser parser, const char *s, const char *end, | ~~~~~~~~~~~~^ xmlparse.c:5244:62: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^ xmlparse.c:6499:71: warning: declaration of 'end' shadows a parameter [-Wshadow] 6499 | internalEntityProcessor(XML_Parser parser, const char *s, const char *end, | ~~~~~~~~~~~~^~~ xmlparse.c:5244:77: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^~~ xmlparse.c:6500:38: warning: declaration of 'nextPtr' shadows a parameter [-Wshadow] 6500 | const char **nextPtr) { | ~~~~~~~~~~~~~^~~~~~~ xmlparse.c:5245:50: note: shadowed declaration is here 5245 | int tok, const char *next, const char **nextPtr, XML_Bool haveMore, | ~~~~~~~~~~~~~^~~~~~~ xmlparse.c:6506:15: warning: declaration of 'next' shadows a parameter [-Wshadow] 6506 | const char *next; | ^~~~ xmlparse.c:5245:31: note: shadowed declaration is here 5245 | int tok, const char *next, const char **nextPtr, XML_Bool haveMore, | ~~~~~~~~~~~~^~~~ xmlparse.c:6521:11: warning: declaration of 'tok' shadows a parameter [-Wshadow] 6521 | int tok | ^~~ xmlparse.c:5245:14: note: shadowed declaration is here 5245 | int tok, const char *next, const char **nextPtr, XML_Bool haveMore, | ~~~~^~~ xmlparse.c: In function 'doProlog': xmlparse.c:6586:1: error: invalid storage class for function 'errorProcessor' 6586 | errorProcessor(XML_Parser parser, const char *s, const char *end, | ^~~~~~~~~~~~~~ xmlparse.c:6586:1: warning: declaration of 'errorProcessor' shadows a global declaration [-Wshadow] xmlparse.c:472:18: note: shadowed declaration is here 472 | static Processor errorProcessor; | ^~~~~~~~~~~~~~ xmlparse.c: In function 'errorProcessor': xmlparse.c:6586:27: warning: declaration of 'parser' shadows a parameter [-Wshadow] 6586 | errorProcessor(XML_Parser parser, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c:6586:47: warning: declaration of 's' shadows a parameter [-Wshadow] 6586 | errorProcessor(XML_Parser parser, const char *s, const char *end, | ~~~~~~~~~~~~^ xmlparse.c:5244:62: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^ xmlparse.c:6586:62: warning: declaration of 'end' shadows a parameter [-Wshadow] 6586 | errorProcessor(XML_Parser parser, const char *s, const char *end, | ~~~~~~~~~~~~^~~ xmlparse.c:5244:77: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^~~ xmlparse.c:6587:29: warning: declaration of 'nextPtr' shadows a parameter [-Wshadow] 6587 | const char **nextPtr) { | ~~~~~~~~~~~~~^~~~~~~ xmlparse.c:5245:50: note: shadowed declaration is here 5245 | int tok, const char *next, const char **nextPtr, XML_Bool haveMore, | ~~~~~~~~~~~~~^~~~~~~ xmlparse.c: In function 'doProlog': xmlparse.c:6595:1: error: invalid storage class for function 'storeAttributeValue' 6595 | storeAttributeValue(XML_Parser parser, const ENCODING *enc, XML_Bool isCdata, | ^~~~~~~~~~~~~~~~~~~ xmlparse.c:6595:1: warning: declaration of 'storeAttributeValue' shadows a global declaration [-Wshadow] xmlparse.c:516:23: note: shadowed declaration is here 516 | static enum XML_Error storeAttributeValue(XML_Parser parser, const ENCODING *, | ^~~~~~~~~~~~~~~~~~~ xmlparse.c: In function 'storeAttributeValue': xmlparse.c:6595:32: warning: declaration of 'parser' shadows a parameter [-Wshadow] 6595 | storeAttributeValue(XML_Parser parser, const ENCODING *enc, XML_Bool isCdata, | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c:6595:56: warning: declaration of 'enc' shadows a parameter [-Wshadow] 6595 | storeAttributeValue(XML_Parser parser, const ENCODING *enc, XML_Bool isCdata, | ~~~~~~~~~~~~~~~~^~~ xmlparse.c:5244:45: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~~~~~^~~ xmlparse.c:6596:50: warning: declaration of 'end' shadows a parameter [-Wshadow] 6596 | const char *ptr, const char *end, STRING_POOL *pool, | ~~~~~~~~~~~~^~~ xmlparse.c:5244:77: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^~~ xmlparse.c:6597:38: warning: declaration of 'account' shadows a parameter [-Wshadow] 6597 | enum XML_Account account) { | ~~~~~~~~~~~~~~~~~^~~~~~~ xmlparse.c:5246:57: note: shadowed declaration is here 5246 | XML_Bool allowClosingDoctype, enum XML_Account account) { | ~~~~~~~~~~~~~~~~~^~~~~~~ xmlparse.c:6598:15: warning: declaration of 'next' shadows a parameter [-Wshadow] 6598 | const char *next = ptr; | ^~~~ xmlparse.c:5245:31: note: shadowed declaration is here 5245 | int tok, const char *next, const char **nextPtr, XML_Bool haveMore, | ~~~~~~~~~~~~^~~~ xmlparse.c: In function 'doProlog': xmlparse.c:6679:1: error: invalid storage class for function 'appendAttributeValue' 6679 | appendAttributeValue(XML_Parser parser, const ENCODING *enc, XML_Bool isCdata, | ^~~~~~~~~~~~~~~~~~~~ xmlparse.c:6679:1: warning: declaration of 'appendAttributeValue' shadows a global declaration [-Wshadow] xmlparse.c:521:1: note: shadowed declaration is here 521 | appendAttributeValue(XML_Parser parser, const ENCODING *enc, XML_Bool isCdata, | ^~~~~~~~~~~~~~~~~~~~ xmlparse.c: In function 'appendAttributeValue': xmlparse.c:6679:33: warning: declaration of 'parser' shadows a parameter [-Wshadow] 6679 | appendAttributeValue(XML_Parser parser, const ENCODING *enc, XML_Bool isCdata, | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c:6679:57: warning: declaration of 'enc' shadows a parameter [-Wshadow] 6679 | appendAttributeValue(XML_Parser parser, const ENCODING *enc, XML_Bool isCdata, | ~~~~~~~~~~~~~~~~^~~ xmlparse.c:5244:45: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~~~~~^~~ xmlparse.c:6680:51: warning: declaration of 'end' shadows a parameter [-Wshadow] 6680 | const char *ptr, const char *end, STRING_POOL *pool, | ~~~~~~~~~~~~^~~ xmlparse.c:5244:77: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^~~ xmlparse.c:6681:39: warning: declaration of 'account' shadows a parameter [-Wshadow] 6681 | enum XML_Account account, const char **nextPtr) { | ~~~~~~~~~~~~~~~~~^~~~~~~ xmlparse.c:5246:57: note: shadowed declaration is here 5246 | XML_Bool allowClosingDoctype, enum XML_Account account) { | ~~~~~~~~~~~~~~~~~^~~~~~~ xmlparse.c:6681:61: warning: declaration of 'nextPtr' shadows a parameter [-Wshadow] 6681 | enum XML_Account account, const char **nextPtr) { | ~~~~~~~~~~~~~^~~~~~~ xmlparse.c:5245:50: note: shadowed declaration is here 5245 | int tok, const char *next, const char **nextPtr, XML_Bool haveMore, | ~~~~~~~~~~~~~^~~~~~~ xmlparse.c:6682:14: warning: declaration of 'dtd' shadows a previous local [-Wshadow] 6682 | DTD *const dtd = parser->m_dtd; /* save one level of indirection */ | ^~~ xmlparse.c:5278:14: note: shadowed declaration is here 5278 | DTD *const dtd = parser->m_dtd; | ^~~ xmlparse.c:6688:17: warning: declaration of 'next' shadows a parameter [-Wshadow] 6688 | const char *next | ^~~~ xmlparse.c:5245:31: note: shadowed declaration is here 5245 | int tok, const char *next, const char **nextPtr, XML_Bool haveMore, | ~~~~~~~~~~~~^~~~ xmlparse.c:6690:9: warning: declaration of 'tok' shadows a parameter [-Wshadow] 6690 | int tok = XmlAttributeValueTok(enc, ptr, end, &next); | ^~~ xmlparse.c:5245:14: note: shadowed declaration is here 5245 | int tok, const char *next, const char **nextPtr, XML_Bool haveMore, | ~~~~^~~ xmlparse.c: In function 'doProlog': xmlparse.c:6878:1: error: invalid storage class for function 'storeEntityValue' 6878 | storeEntityValue(XML_Parser parser, const ENCODING *enc, | ^~~~~~~~~~~~~~~~ xmlparse.c:6878:1: warning: declaration of 'storeEntityValue' shadows a global declaration [-Wshadow] xmlparse.c:527:23: note: shadowed declaration is here 527 | static enum XML_Error storeEntityValue(XML_Parser parser, const ENCODING *enc, | ^~~~~~~~~~~~~~~~ xmlparse.c: In function 'storeEntityValue': xmlparse.c:6878:29: warning: declaration of 'parser' shadows a parameter [-Wshadow] 6878 | storeEntityValue(XML_Parser parser, const ENCODING *enc, | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c:6878:53: warning: declaration of 'enc' shadows a parameter [-Wshadow] 6878 | storeEntityValue(XML_Parser parser, const ENCODING *enc, | ~~~~~~~~~~~~~~~~^~~ xmlparse.c:5244:45: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~~~~~^~~ xmlparse.c:6880:35: warning: declaration of 'account' shadows a parameter [-Wshadow] 6880 | enum XML_Account account, const char **nextPtr) { | ~~~~~~~~~~~~~~~~~^~~~~~~ xmlparse.c:5246:57: note: shadowed declaration is here 5246 | XML_Bool allowClosingDoctype, enum XML_Account account) { | ~~~~~~~~~~~~~~~~~^~~~~~~ xmlparse.c:6880:57: warning: declaration of 'nextPtr' shadows a parameter [-Wshadow] 6880 | enum XML_Account account, const char **nextPtr) { | ~~~~~~~~~~~~~^~~~~~~ xmlparse.c:5245:50: note: shadowed declaration is here 5245 | int tok, const char *next, const char **nextPtr, XML_Bool haveMore, | ~~~~~~~~~~~~~^~~~~~~ xmlparse.c:6881:14: warning: declaration of 'dtd' shadows a previous local [-Wshadow] 6881 | DTD *const dtd = parser->m_dtd; /* save one level of indirection */ | ^~~ xmlparse.c:5278:14: note: shadowed declaration is here 5278 | DTD *const dtd = parser->m_dtd; | ^~~ xmlparse.c:6898:15: warning: declaration of 'next' shadows a parameter [-Wshadow] 6898 | const char *next = entityTextPtr; | ^~~~ xmlparse.c:5245:31: note: shadowed declaration is here 5245 | int tok, const char *next, const char **nextPtr, XML_Bool haveMore, | ~~~~~~~~~~~~^~~~ xmlparse.c:6909:9: warning: declaration of 'tok' shadows a parameter [-Wshadow] 6909 | int tok = XmlEntityValueTok(enc, entityTextPtr, entityTextEnd, &next); | ^~~ xmlparse.c:5245:14: note: shadowed declaration is here 5245 | int tok, const char *next, const char **nextPtr, XML_Bool haveMore, | ~~~~^~~ xmlparse.c: In function 'doProlog': xmlparse.c:7074:1: error: invalid storage class for function 'callStoreEntityValue' 7074 | callStoreEntityValue(XML_Parser parser, const ENCODING *enc, | ^~~~~~~~~~~~~~~~~~~~ xmlparse.c:7074:1: warning: declaration of 'callStoreEntityValue' shadows a global declaration [-Wshadow] xmlparse.c:531:23: note: shadowed declaration is here 531 | static enum XML_Error callStoreEntityValue(XML_Parser parser, | ^~~~~~~~~~~~~~~~~~~~ xmlparse.c: In function 'callStoreEntityValue': xmlparse.c:7074:33: warning: declaration of 'parser' shadows a parameter [-Wshadow] 7074 | callStoreEntityValue(XML_Parser parser, const ENCODING *enc, | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c:7074:57: warning: declaration of 'enc' shadows a parameter [-Wshadow] 7074 | callStoreEntityValue(XML_Parser parser, const ENCODING *enc, | ~~~~~~~~~~~~~~~~^~~ xmlparse.c:5244:45: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~~~~~^~~ xmlparse.c:7076:39: warning: declaration of 'account' shadows a parameter [-Wshadow] 7076 | enum XML_Account account) { | ~~~~~~~~~~~~~~~~~^~~~~~~ xmlparse.c:5246:57: note: shadowed declaration is here 5246 | XML_Bool allowClosingDoctype, enum XML_Account account) { | ~~~~~~~~~~~~~~~~~^~~~~~~ xmlparse.c:7077:15: warning: declaration of 'next' shadows a parameter [-Wshadow] 7077 | const char *next = entityTextPtr; | ^~~~ xmlparse.c:5245:31: note: shadowed declaration is here 5245 | int tok, const char *next, const char **nextPtr, XML_Bool haveMore, | ~~~~~~~~~~~~^~~~ xmlparse.c: In function 'doProlog': xmlparse.c:7152:1: error: invalid storage class for function 'normalizeLines' 7152 | normalizeLines(XML_Char *s) { | ^~~~~~~~~~~~~~ xmlparse.c: In function 'normalizeLines': xmlparse.c:7152:26: warning: declaration of 's' shadows a parameter [-Wshadow] 7152 | normalizeLines(XML_Char *s) { | ~~~~~~~~~~^ xmlparse.c:5244:62: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^ xmlparse.c: In function 'doProlog': xmlparse.c:7173:1: error: invalid storage class for function 'reportProcessingInstruction' 7173 | reportProcessingInstruction(XML_Parser parser, const ENCODING *enc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:7173:1: warning: declaration of 'reportProcessingInstruction' shadows a global declaration [-Wshadow] xmlparse.c:535:12: note: shadowed declaration is here 535 | static int reportProcessingInstruction(XML_Parser parser, const ENCODING *enc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c: In function 'reportProcessingInstruction': xmlparse.c:7173:40: warning: declaration of 'parser' shadows a parameter [-Wshadow] 7173 | reportProcessingInstruction(XML_Parser parser, const ENCODING *enc, | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c:7173:64: warning: declaration of 'enc' shadows a parameter [-Wshadow] 7173 | reportProcessingInstruction(XML_Parser parser, const ENCODING *enc, | ~~~~~~~~~~~~~~~~^~~ xmlparse.c:5244:45: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~~~~~^~~ xmlparse.c:7174:60: warning: declaration of 'end' shadows a parameter [-Wshadow] 7174 | const char *start, const char *end) { | ~~~~~~~~~~~~^~~ xmlparse.c:5244:77: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^~~ xmlparse.c: In function 'doProlog': xmlparse.c:7202:1: error: invalid storage class for function 'reportComment' 7202 | reportComment(XML_Parser parser, const ENCODING *enc, const char *start, | ^~~~~~~~~~~~~ xmlparse.c:7202:1: warning: declaration of 'reportComment' shadows a global declaration [-Wshadow] xmlparse.c:537:12: note: shadowed declaration is here 537 | static int reportComment(XML_Parser parser, const ENCODING *enc, | ^~~~~~~~~~~~~ xmlparse.c: In function 'reportComment': xmlparse.c:7202:26: warning: declaration of 'parser' shadows a parameter [-Wshadow] 7202 | reportComment(XML_Parser parser, const ENCODING *enc, const char *start, | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c:7202:50: warning: declaration of 'enc' shadows a parameter [-Wshadow] 7202 | reportComment(XML_Parser parser, const ENCODING *enc, const char *start, | ~~~~~~~~~~~~~~~~^~~ xmlparse.c:5244:45: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~~~~~^~~ xmlparse.c:7203:27: warning: declaration of 'end' shadows a parameter [-Wshadow] 7203 | const char *end) { | ~~~~~~~~~~~~^~~ xmlparse.c:5244:77: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^~~ xmlparse.c: In function 'doProlog': xmlparse.c:7224:1: error: invalid storage class for function 'reportDefault' 7224 | reportDefault(XML_Parser parser, const ENCODING *enc, const char *s, | ^~~~~~~~~~~~~ xmlparse.c:7224:1: warning: declaration of 'reportDefault' shadows a global declaration [-Wshadow] xmlparse.c:539:13: note: shadowed declaration is here 539 | static void reportDefault(XML_Parser parser, const ENCODING *enc, | ^~~~~~~~~~~~~ xmlparse.c: In function 'reportDefault': xmlparse.c:7224:26: warning: declaration of 'parser' shadows a parameter [-Wshadow] 7224 | reportDefault(XML_Parser parser, const ENCODING *enc, const char *s, | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c:7224:50: warning: declaration of 'enc' shadows a parameter [-Wshadow] 7224 | reportDefault(XML_Parser parser, const ENCODING *enc, const char *s, | ~~~~~~~~~~~~~~~~^~~ xmlparse.c:5244:45: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~~~~~^~~ xmlparse.c:7224:67: warning: declaration of 's' shadows a parameter [-Wshadow] 7224 | reportDefault(XML_Parser parser, const ENCODING *enc, const char *s, | ~~~~~~~~~~~~^ xmlparse.c:5244:62: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^ xmlparse.c:7225:27: warning: declaration of 'end' shadows a parameter [-Wshadow] 7225 | const char *end) { | ~~~~~~~~~~~~^~~ xmlparse.c:5244:77: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^~~ xmlparse.c:7228:18: warning: declaration of 'eventPP' shadows a previous local [-Wshadow] 7228 | const char **eventPP; | ^~~~~~~ xmlparse.c:5280:16: note: shadowed declaration is here 5280 | const char **eventPP; | ^~~~~~~ xmlparse.c:7229:18: warning: declaration of 'eventEndPP' shadows a previous local [-Wshadow] 7229 | const char **eventEndPP; | ^~~~~~~~~~ xmlparse.c:5281:16: note: shadowed declaration is here 5281 | const char **eventEndPP; | ^~~~~~~~~~ xmlparse.c: In function 'doProlog': xmlparse.c:7275:1: error: invalid storage class for function 'defineAttribute' 7275 | defineAttribute(ELEMENT_TYPE *type, ATTRIBUTE_ID *attId, XML_Bool isCdata, | ^~~~~~~~~~~~~~~ xmlparse.c:7275:1: warning: declaration of 'defineAttribute' shadows a global declaration [-Wshadow] xmlparse.c:513:12: note: shadowed declaration is here 513 | static int defineAttribute(ELEMENT_TYPE *type, ATTRIBUTE_ID *, XML_Bool isCdata, | ^~~~~~~~~~~~~~~ xmlparse.c: In function 'defineAttribute': xmlparse.c:7276:66: warning: declaration of 'parser' shadows a parameter [-Wshadow] 7276 | XML_Bool isId, const XML_Char *value, XML_Parser parser) { | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c: In function 'doProlog': xmlparse.c:7342:1: error: invalid storage class for function 'setElementTypePrefix' 7342 | setElementTypePrefix(XML_Parser parser, ELEMENT_TYPE *elementType) { | ^~~~~~~~~~~~~~~~~~~~ xmlparse.c:7342:1: warning: declaration of 'setElementTypePrefix' shadows a global declaration [-Wshadow] xmlparse.c:526:12: note: shadowed declaration is here 526 | static int setElementTypePrefix(XML_Parser parser, ELEMENT_TYPE *); | ^~~~~~~~~~~~~~~~~~~~ xmlparse.c: In function 'setElementTypePrefix': xmlparse.c:7342:33: warning: declaration of 'parser' shadows a parameter [-Wshadow] 7342 | setElementTypePrefix(XML_Parser parser, ELEMENT_TYPE *elementType) { | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c:7343:14: warning: declaration of 'dtd' shadows a previous local [-Wshadow] 7343 | DTD *const dtd = parser->m_dtd; /* save one level of indirection */ | ^~~ xmlparse.c:5278:14: note: shadowed declaration is here 5278 | DTD *const dtd = parser->m_dtd; | ^~~ xmlparse.c:7348:23: warning: declaration of 's' shadows a parameter [-Wshadow] 7348 | const XML_Char *s; | ^ xmlparse.c:5244:62: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^ xmlparse.c: In function 'doProlog': xmlparse.c:7371:1: error: invalid storage class for function 'getAttributeId' 7371 | getAttributeId(XML_Parser parser, const ENCODING *enc, const char *start, | ^~~~~~~~~~~~~~ xmlparse.c:7371:1: warning: declaration of 'getAttributeId' shadows a global declaration [-Wshadow] xmlparse.c:524:22: note: shadowed declaration is here 524 | static ATTRIBUTE_ID *getAttributeId(XML_Parser parser, const ENCODING *enc, | ^~~~~~~~~~~~~~ xmlparse.c: In function 'getAttributeId': xmlparse.c:7371:27: warning: declaration of 'parser' shadows a parameter [-Wshadow] 7371 | getAttributeId(XML_Parser parser, const ENCODING *enc, const char *start, | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c:7371:51: warning: declaration of 'enc' shadows a parameter [-Wshadow] 7371 | getAttributeId(XML_Parser parser, const ENCODING *enc, const char *start, | ~~~~~~~~~~~~~~~~^~~ xmlparse.c:5244:45: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~~~~~^~~ xmlparse.c:7372:28: warning: declaration of 'end' shadows a parameter [-Wshadow] 7372 | const char *end) { | ~~~~~~~~~~~~^~~ xmlparse.c:5244:77: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^~~ xmlparse.c:7373:14: warning: declaration of 'dtd' shadows a previous local [-Wshadow] 7373 | DTD *const dtd = parser->m_dtd; /* save one level of indirection */ | ^~~ xmlparse.c:5278:14: note: shadowed declaration is here 5278 | DTD *const dtd = parser->m_dtd; | ^~~ xmlparse.c: In function 'doProlog': xmlparse.c:7438:1: error: invalid storage class for function 'getContext' 7438 | getContext(XML_Parser parser) { | ^~~~~~~~~~ xmlparse.c:7438:1: warning: declaration of 'getContext' shadows a global declaration [-Wshadow] xmlparse.c:542:24: note: shadowed declaration is here 542 | static const XML_Char *getContext(XML_Parser parser); | ^~~~~~~~~~ xmlparse.c: In function 'getContext': xmlparse.c:7438:23: warning: declaration of 'parser' shadows a parameter [-Wshadow] 7438 | getContext(XML_Parser parser) { | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c:7439:14: warning: declaration of 'dtd' shadows a previous local [-Wshadow] 7439 | DTD *const dtd = parser->m_dtd; /* save one level of indirection */ | ^~~ xmlparse.c:5278:14: note: shadowed declaration is here 5278 | DTD *const dtd = parser->m_dtd; | ^~~ xmlparse.c:7483:21: warning: declaration of 's' shadows a parameter [-Wshadow] 7483 | const XML_Char *s; | ^ xmlparse.c:5244:62: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^ xmlparse.c:7514:21: warning: declaration of 's' shadows a parameter [-Wshadow] 7514 | const XML_Char *s; | ^ xmlparse.c:5244:62: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^ xmlparse.c: In function 'doProlog': xmlparse.c:7534:1: error: invalid storage class for function 'setContext' 7534 | setContext(XML_Parser parser, const XML_Char *context) { | ^~~~~~~~~~ xmlparse.c:7534:1: warning: declaration of 'setContext' shadows a global declaration [-Wshadow] xmlparse.c:543:17: note: shadowed declaration is here 543 | static XML_Bool setContext(XML_Parser parser, const XML_Char *context); | ^~~~~~~~~~ xmlparse.c: In function 'setContext': xmlparse.c:7534:23: warning: declaration of 'parser' shadows a parameter [-Wshadow] 7534 | setContext(XML_Parser parser, const XML_Char *context) { | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c:7535:14: warning: declaration of 'dtd' shadows a previous local [-Wshadow] 7535 | DTD *const dtd = parser->m_dtd; /* save one level of indirection */ | ^~~ xmlparse.c:5278:14: note: shadowed declaration is here 5278 | DTD *const dtd = parser->m_dtd; | ^~~ xmlparse.c:7536:19: warning: declaration of 's' shadows a parameter [-Wshadow] 7536 | const XML_Char *s = context; | ^ xmlparse.c:5244:62: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^ xmlparse.c: In function 'doProlog': xmlparse.c:7602:1: error: invalid storage class for function 'normalizePublicId' 7602 | normalizePublicId(XML_Char *publicId) { | ^~~~~~~~~~~~~~~~~ xmlparse.c:7602:1: warning: declaration of 'normalizePublicId' shadows a global declaration [-Wshadow] xmlparse.c:545:22: note: shadowed declaration is here 545 | static void FASTCALL normalizePublicId(XML_Char *s); | ^~~~~~~~~~~~~~~~~ xmlparse.c: In function 'normalizePublicId': xmlparse.c:7604:13: warning: declaration of 's' shadows a parameter [-Wshadow] 7604 | XML_Char *s; | ^ xmlparse.c:5244:62: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^ xmlparse.c: In function 'doProlog': xmlparse.c:7623:1: error: invalid storage class for function 'dtdCreate' 7623 | dtdCreate(XML_Parser parser) { | ^~~~~~~~~ xmlparse.c:7623:1: warning: declaration of 'dtdCreate' shadows a global declaration [-Wshadow] xmlparse.c:547:13: note: shadowed declaration is here 547 | static DTD *dtdCreate(XML_Parser parser); | ^~~~~~~~~ xmlparse.c: In function 'dtdCreate': xmlparse.c:7623:22: warning: declaration of 'parser' shadows a parameter [-Wshadow] 7623 | dtdCreate(XML_Parser parser) { | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c: In function 'doProlog': xmlparse.c:7656:1: error: invalid storage class for function 'dtdReset' 7656 | dtdReset(DTD *p, XML_Parser parser) { | ^~~~~~~~ xmlparse.c:7656:1: warning: declaration of 'dtdReset' shadows a global declaration [-Wshadow] xmlparse.c:549:13: note: shadowed declaration is here 549 | static void dtdReset(DTD *p, XML_Parser parser); | ^~~~~~~~ xmlparse.c: In function 'dtdReset': xmlparse.c:7656:29: warning: declaration of 'parser' shadows a parameter [-Wshadow] 7656 | dtdReset(DTD *p, XML_Parser parser) { | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c: In function 'doProlog': xmlparse.c:7699:1: error: invalid storage class for function 'dtdDestroy' 7699 | dtdDestroy(DTD *p, XML_Bool isDocEntity, XML_Parser parser) { | ^~~~~~~~~~ xmlparse.c:7699:1: warning: declaration of 'dtdDestroy' shadows a global declaration [-Wshadow] xmlparse.c:550:13: note: shadowed declaration is here 550 | static void dtdDestroy(DTD *p, XML_Bool isDocEntity, XML_Parser parser); | ^~~~~~~~~~ xmlparse.c: In function 'dtdDestroy': xmlparse.c:7699:53: warning: declaration of 'parser' shadows a parameter [-Wshadow] 7699 | dtdDestroy(DTD *p, XML_Bool isDocEntity, XML_Parser parser) { | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c: In function 'doProlog': xmlparse.c:7730:1: error: invalid storage class for function 'dtdCopy' 7730 | dtdCopy(XML_Parser oldParser, DTD *newDtd, const DTD *oldDtd, | ^~~~~~~ xmlparse.c:7730:1: warning: declaration of 'dtdCopy' shadows a global declaration [-Wshadow] xmlparse.c:551:12: note: shadowed declaration is here 551 | static int dtdCopy(XML_Parser oldParser, DTD *newDtd, const DTD *oldDtd, | ^~~~~~~ xmlparse.c: In function 'dtdCopy': xmlparse.c:7731:20: warning: declaration of 'parser' shadows a parameter [-Wshadow] 7731 | XML_Parser parser) { | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c: In function 'doProlog': xmlparse.c:7878:1: error: invalid storage class for function 'copyEntityTable' 7878 | copyEntityTable(XML_Parser oldParser, HASH_TABLE *newTable, | ^~~~~~~~~~~~~~~ xmlparse.c:7878:1: warning: declaration of 'copyEntityTable' shadows a global declaration [-Wshadow] xmlparse.c:553:12: note: shadowed declaration is here 553 | static int copyEntityTable(XML_Parser oldParser, HASH_TABLE *, STRING_POOL *, | ^~~~~~~~~~~~~~~ xmlparse.c:7943:1: error: invalid storage class for function 'keyeq' 7943 | keyeq(KEY s1, KEY s2) { | ^~~~~ xmlparse.c:7951:1: error: invalid storage class for function 'keylen' 7951 | keylen(KEY s) { | ^~~~~~ xmlparse.c:7951:1: warning: declaration of 'keylen' shadows a global declaration [-Wshadow] xmlparse.c:224:15: note: shadowed declaration is here 224 | static size_t keylen(KEY s); | ^~~~~~ xmlparse.c: In function 'keylen': xmlparse.c:7951:12: warning: declaration of 's' shadows a parameter [-Wshadow] 7951 | keylen(KEY s) { | ~~~~^ xmlparse.c:5244:62: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^ xmlparse.c: In function 'doProlog': xmlparse.c:7959:1: error: invalid storage class for function 'copy_salt_to_sipkey' 7959 | copy_salt_to_sipkey(XML_Parser parser, struct sipkey *key) { | ^~~~~~~~~~~~~~~~~~~ xmlparse.c:7959:1: warning: declaration of 'copy_salt_to_sipkey' shadows a global declaration [-Wshadow] xmlparse.c:226:13: note: shadowed declaration is here 226 | static void copy_salt_to_sipkey(XML_Parser parser, struct sipkey *key); | ^~~~~~~~~~~~~~~~~~~ xmlparse.c: In function 'copy_salt_to_sipkey': xmlparse.c:7959:32: warning: declaration of 'parser' shadows a parameter [-Wshadow] 7959 | copy_salt_to_sipkey(XML_Parser parser, struct sipkey *key) { | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c: In function 'doProlog': xmlparse.c:7965:1: error: invalid storage class for function 'hash' 7965 | hash(XML_Parser parser, KEY s) { | ^~~~ xmlparse.c: In function 'hash': xmlparse.c:7965:17: warning: declaration of 'parser' shadows a parameter [-Wshadow] 7965 | hash(XML_Parser parser, KEY s) { | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c:7965:29: warning: declaration of 's' shadows a parameter [-Wshadow] 7965 | hash(XML_Parser parser, KEY s) { | ~~~~^ xmlparse.c:5244:62: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^ xmlparse.c: In function 'doProlog': xmlparse.c:7976:1: error: invalid storage class for function 'lookup' 7976 | lookup(XML_Parser parser, HASH_TABLE *table, KEY name, size_t createSize) { | ^~~~~~ xmlparse.c:7976:1: warning: declaration of 'lookup' shadows a global declaration [-Wshadow] xmlparse.c:555:15: note: shadowed declaration is here 555 | static NAMED *lookup(XML_Parser parser, HASH_TABLE *table, KEY name, | ^~~~~~ xmlparse.c: In function 'lookup': xmlparse.c:7976:19: warning: declaration of 'parser' shadows a parameter [-Wshadow] 7976 | lookup(XML_Parser parser, HASH_TABLE *table, KEY name, size_t createSize) { | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c: In function 'doProlog': xmlparse.c:8065:1: error: invalid storage class for function 'hashTableClear' 8065 | hashTableClear(HASH_TABLE *table) { | ^~~~~~~~~~~~~~ xmlparse.c:8065:1: warning: declaration of 'hashTableClear' shadows a global declaration [-Wshadow] xmlparse.c:558:22: note: shadowed declaration is here 558 | static void FASTCALL hashTableClear(HASH_TABLE *); | ^~~~~~~~~~~~~~ xmlparse.c:8075:1: error: invalid storage class for function 'hashTableDestroy' 8075 | hashTableDestroy(HASH_TABLE *table) { | ^~~~~~~~~~~~~~~~ xmlparse.c:8075:1: warning: declaration of 'hashTableDestroy' shadows a global declaration [-Wshadow] xmlparse.c:559:22: note: shadowed declaration is here 559 | static void FASTCALL hashTableDestroy(HASH_TABLE *); | ^~~~~~~~~~~~~~~~ xmlparse.c:8083:1: error: invalid storage class for function 'hashTableInit' 8083 | hashTableInit(HASH_TABLE *p, XML_Parser parser) { | ^~~~~~~~~~~~~ xmlparse.c:8083:1: warning: declaration of 'hashTableInit' shadows a global declaration [-Wshadow] xmlparse.c:557:22: note: shadowed declaration is here 557 | static void FASTCALL hashTableInit(HASH_TABLE *, XML_Parser parser); | ^~~~~~~~~~~~~ xmlparse.c: In function 'hashTableInit': xmlparse.c:8083:41: warning: declaration of 'parser' shadows a parameter [-Wshadow] 8083 | hashTableInit(HASH_TABLE *p, XML_Parser parser) { | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c: In function 'doProlog': xmlparse.c:8092:1: error: invalid storage class for function 'hashTableIterInit' 8092 | hashTableIterInit(HASH_TABLE_ITER *iter, const HASH_TABLE *table) { | ^~~~~~~~~~~~~~~~~ xmlparse.c:8092:1: warning: declaration of 'hashTableIterInit' shadows a global declaration [-Wshadow] xmlparse.c:560:22: note: shadowed declaration is here 560 | static void FASTCALL hashTableIterInit(HASH_TABLE_ITER *, const HASH_TABLE *); | ^~~~~~~~~~~~~~~~~ xmlparse.c:8098:1: error: invalid storage class for function 'hashTableIterNext' 8098 | hashTableIterNext(HASH_TABLE_ITER *iter) { | ^~~~~~~~~~~~~~~~~ xmlparse.c:8098:1: warning: declaration of 'hashTableIterNext' shadows a global declaration [-Wshadow] xmlparse.c:561:24: note: shadowed declaration is here 561 | static NAMED *FASTCALL hashTableIterNext(HASH_TABLE_ITER *); | ^~~~~~~~~~~~~~~~~ xmlparse.c:8108:1: error: invalid storage class for function 'poolInit' 8108 | poolInit(STRING_POOL *pool, XML_Parser parser) { | ^~~~~~~~ xmlparse.c:8108:1: warning: declaration of 'poolInit' shadows a global declaration [-Wshadow] xmlparse.c:563:22: note: shadowed declaration is here 563 | static void FASTCALL poolInit(STRING_POOL *, XML_Parser parser); | ^~~~~~~~ xmlparse.c: In function 'poolInit': xmlparse.c:8108:40: warning: declaration of 'parser' shadows a parameter [-Wshadow] 8108 | poolInit(STRING_POOL *pool, XML_Parser parser) { | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c: In function 'doProlog': xmlparse.c:8118:1: error: invalid storage class for function 'poolClear' 8118 | poolClear(STRING_POOL *pool) { | ^~~~~~~~~ xmlparse.c:8118:1: warning: declaration of 'poolClear' shadows a global declaration [-Wshadow] xmlparse.c:564:22: note: shadowed declaration is here 564 | static void FASTCALL poolClear(STRING_POOL *); | ^~~~~~~~~ xmlparse.c:8137:1: error: invalid storage class for function 'poolDestroy' 8137 | poolDestroy(STRING_POOL *pool) { | ^~~~~~~~~~~ xmlparse.c:8137:1: warning: declaration of 'poolDestroy' shadows a global declaration [-Wshadow] xmlparse.c:565:22: note: shadowed declaration is here 565 | static void FASTCALL poolDestroy(STRING_POOL *); | ^~~~~~~~~~~ xmlparse.c:8153:1: error: invalid storage class for function 'poolAppend' 8153 | poolAppend(STRING_POOL *pool, const ENCODING *enc, const char *ptr, | ^~~~~~~~~~ xmlparse.c:8153:1: warning: declaration of 'poolAppend' shadows a global declaration [-Wshadow] xmlparse.c:566:18: note: shadowed declaration is here 566 | static XML_Char *poolAppend(STRING_POOL *pool, const ENCODING *enc, | ^~~~~~~~~~ xmlparse.c: In function 'poolAppend': xmlparse.c:8153:47: warning: declaration of 'enc' shadows a parameter [-Wshadow] 8153 | poolAppend(STRING_POOL *pool, const ENCODING *enc, const char *ptr, | ~~~~~~~~~~~~~~~~^~~ xmlparse.c:5244:45: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~~~~~^~~ xmlparse.c:8154:24: warning: declaration of 'end' shadows a parameter [-Wshadow] 8154 | const char *end) { | ~~~~~~~~~~~~^~~ xmlparse.c:5244:77: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^~~ xmlparse.c: In function 'doProlog': xmlparse.c:8170:1: error: invalid storage class for function 'poolCopyString' 8170 | poolCopyString(STRING_POOL *pool, const XML_Char *s) { | ^~~~~~~~~~~~~~ xmlparse.c:8170:1: warning: declaration of 'poolCopyString' shadows a global declaration [-Wshadow] xmlparse.c:571:33: note: shadowed declaration is here 571 | static const XML_Char *FASTCALL poolCopyString(STRING_POOL *pool, | ^~~~~~~~~~~~~~ xmlparse.c: In function 'poolCopyString': xmlparse.c:8170:51: warning: declaration of 's' shadows a parameter [-Wshadow] 8170 | poolCopyString(STRING_POOL *pool, const XML_Char *s) { | ~~~~~~~~~~~~~~~~^ xmlparse.c:5244:62: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^ xmlparse.c: In function 'doProlog': xmlparse.c:8183:1: error: invalid storage class for function 'poolCopyStringNoFinish' 8183 | poolCopyStringNoFinish(STRING_POOL *pool, const XML_Char *s) { | ^~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:8183:1: warning: declaration of 'poolCopyStringNoFinish' shadows a global declaration [-Wshadow] xmlparse.c:573:33: note: shadowed declaration is here 573 | static const XML_Char *FASTCALL poolCopyStringNoFinish(STRING_POOL *pool, | ^~~~~~~~~~~~~~~~~~~~~~ xmlparse.c: In function 'poolCopyStringNoFinish': xmlparse.c:8183:59: warning: declaration of 's' shadows a parameter [-Wshadow] 8183 | poolCopyStringNoFinish(STRING_POOL *pool, const XML_Char *s) { | ~~~~~~~~~~~~~~~~^ xmlparse.c:5244:62: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^ xmlparse.c: In function 'doProlog': xmlparse.c:8198:1: error: invalid storage class for function 'poolCopyStringN' 8198 | poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n) { | ^~~~~~~~~~~~~~~ xmlparse.c:8198:1: warning: declaration of 'poolCopyStringN' shadows a global declaration [-Wshadow] xmlparse.c:575:24: note: shadowed declaration is here 575 | static const XML_Char *poolCopyStringN(STRING_POOL *pool, const XML_Char *s, | ^~~~~~~~~~~~~~~ xmlparse.c: In function 'poolCopyStringN': xmlparse.c:8198:52: warning: declaration of 's' shadows a parameter [-Wshadow] 8198 | poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n) { | ~~~~~~~~~~~~~~~~^ xmlparse.c:5244:62: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^ xmlparse.c: In function 'doProlog': xmlparse.c:8223:1: error: invalid storage class for function 'poolAppendString' 8223 | poolAppendString(STRING_POOL *pool, const XML_Char *s) { | ^~~~~~~~~~~~~~~~ xmlparse.c:8223:1: warning: declaration of 'poolAppendString' shadows a global declaration [-Wshadow] xmlparse.c:577:33: note: shadowed declaration is here 577 | static const XML_Char *FASTCALL poolAppendString(STRING_POOL *pool, | ^~~~~~~~~~~~~~~~ xmlparse.c: In function 'poolAppendString': xmlparse.c:8223:53: warning: declaration of 's' shadows a parameter [-Wshadow] 8223 | poolAppendString(STRING_POOL *pool, const XML_Char *s) { | ~~~~~~~~~~~~~~~~^ xmlparse.c:5244:62: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^ xmlparse.c: In function 'doProlog': xmlparse.c:8233:1: error: invalid storage class for function 'poolStoreString' 8233 | poolStoreString(STRING_POOL *pool, const ENCODING *enc, const char *ptr, | ^~~~~~~~~~~~~~~ xmlparse.c:8233:1: warning: declaration of 'poolStoreString' shadows a global declaration [-Wshadow] xmlparse.c:568:18: note: shadowed declaration is here 568 | static XML_Char *poolStoreString(STRING_POOL *pool, const ENCODING *enc, | ^~~~~~~~~~~~~~~ xmlparse.c: In function 'poolStoreString': xmlparse.c:8233:52: warning: declaration of 'enc' shadows a parameter [-Wshadow] 8233 | poolStoreString(STRING_POOL *pool, const ENCODING *enc, const char *ptr, | ~~~~~~~~~~~~~~~~^~~ xmlparse.c:5244:45: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~~~~~^~~ xmlparse.c:8234:29: warning: declaration of 'end' shadows a parameter [-Wshadow] 8234 | const char *end) { | ~~~~~~~~~~~~^~~ xmlparse.c:5244:77: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^~~ xmlparse.c: In function 'doProlog': xmlparse.c:8244:1: error: invalid storage class for function 'poolBytesToAllocateFor' 8244 | poolBytesToAllocateFor(int blockSize) { | ^~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:8272:1: error: invalid storage class for function 'poolGrow' 8272 | poolGrow(STRING_POOL *pool) { | ^~~~~~~~ xmlparse.c:8272:1: warning: declaration of 'poolGrow' shadows a global declaration [-Wshadow] xmlparse.c:570:26: note: shadowed declaration is here 570 | static XML_Bool FASTCALL poolGrow(STRING_POOL *pool); | ^~~~~~~~ xmlparse.c:8376:1: error: invalid storage class for function 'nextScaffoldPart' 8376 | nextScaffoldPart(XML_Parser parser) { | ^~~~~~~~~~~~~~~~ xmlparse.c:8376:1: warning: declaration of 'nextScaffoldPart' shadows a global declaration [-Wshadow] xmlparse.c:580:21: note: shadowed declaration is here 580 | static int FASTCALL nextScaffoldPart(XML_Parser parser); | ^~~~~~~~~~~~~~~~ xmlparse.c: In function 'nextScaffoldPart': xmlparse.c:8376:29: warning: declaration of 'parser' shadows a parameter [-Wshadow] 8376 | nextScaffoldPart(XML_Parser parser) { | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c:8377:14: warning: declaration of 'dtd' shadows a previous local [-Wshadow] 8377 | DTD *const dtd = parser->m_dtd; /* save one level of indirection */ | ^~~ xmlparse.c:5278:14: note: shadowed declaration is here 5278 | DTD *const dtd = parser->m_dtd; | ^~~ xmlparse.c:8379:7: warning: declaration of 'next' shadows a parameter [-Wshadow] 8379 | int next; | ^~~~ xmlparse.c:5245:31: note: shadowed declaration is here 5245 | int tok, const char *next, const char **nextPtr, XML_Bool haveMore, | ~~~~~~~~~~~~^~~~ xmlparse.c: In function 'doProlog': xmlparse.c:8447:1: error: invalid storage class for function 'build_model' 8447 | build_model(XML_Parser parser) { | ^~~~~~~~~~~ xmlparse.c:8447:1: warning: declaration of 'build_model' shadows a global declaration [-Wshadow] xmlparse.c:581:21: note: shadowed declaration is here 581 | static XML_Content *build_model(XML_Parser parser); | ^~~~~~~~~~~ xmlparse.c: In function 'build_model': xmlparse.c:8447:24: warning: declaration of 'parser' shadows a parameter [-Wshadow] 8447 | build_model(XML_Parser parser) { | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c:8452:14: warning: declaration of 'dtd' shadows a previous local [-Wshadow] 8452 | DTD *const dtd = parser->m_dtd; /* save one level of indirection */ | ^~~ xmlparse.c:5278:14: note: shadowed declaration is here 5278 | DTD *const dtd = parser->m_dtd; | ^~~ xmlparse.c: In function 'doProlog': xmlparse.c:8577:1: error: invalid storage class for function 'getElementType' 8577 | getElementType(XML_Parser parser, const ENCODING *enc, const char *ptr, | ^~~~~~~~~~~~~~ xmlparse.c:8577:1: warning: declaration of 'getElementType' shadows a global declaration [-Wshadow] xmlparse.c:582:22: note: shadowed declaration is here 582 | static ELEMENT_TYPE *getElementType(XML_Parser parser, const ENCODING *enc, | ^~~~~~~~~~~~~~ xmlparse.c: In function 'getElementType': xmlparse.c:8577:27: warning: declaration of 'parser' shadows a parameter [-Wshadow] 8577 | getElementType(XML_Parser parser, const ENCODING *enc, const char *ptr, | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c:8577:51: warning: declaration of 'enc' shadows a parameter [-Wshadow] 8577 | getElementType(XML_Parser parser, const ENCODING *enc, const char *ptr, | ~~~~~~~~~~~~~~~~^~~ xmlparse.c:5244:45: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~~~~~^~~ xmlparse.c:8578:28: warning: declaration of 'end' shadows a parameter [-Wshadow] 8578 | const char *end) { | ~~~~~~~~~~~~^~~ xmlparse.c:5244:77: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^~~ xmlparse.c:8579:14: warning: declaration of 'dtd' shadows a previous local [-Wshadow] 8579 | DTD *const dtd = parser->m_dtd; /* save one level of indirection */ | ^~~ xmlparse.c:5278:14: note: shadowed declaration is here 5278 | DTD *const dtd = parser->m_dtd; | ^~~ xmlparse.c: In function 'doProlog': xmlparse.c:8602:1: error: invalid storage class for function 'copyString' 8602 | copyString(const XML_Char *s, XML_Parser parser) { | ^~~~~~~~~~ xmlparse.c:8602:1: warning: declaration of 'copyString' shadows a global declaration [-Wshadow] xmlparse.c:585:18: note: shadowed declaration is here 585 | static XML_Char *copyString(const XML_Char *s, XML_Parser parser); | ^~~~~~~~~~ xmlparse.c: In function 'copyString': xmlparse.c:8602:28: warning: declaration of 's' shadows a parameter [-Wshadow] 8602 | copyString(const XML_Char *s, XML_Parser parser) { | ~~~~~~~~~~~~~~~~^ xmlparse.c:5244:62: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~~^ xmlparse.c:8602:42: warning: declaration of 'parser' shadows a parameter [-Wshadow] 8602 | copyString(const XML_Char *s, XML_Parser parser) { | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c: In function 'doProlog': xmlparse.c:8625:1: error: invalid storage class for function 'accountingGetCurrentAmplification' 8625 | accountingGetCurrentAmplification(XML_Parser rootParser) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:8625:1: warning: declaration of 'accountingGetCurrentAmplification' shadows a global declaration [-Wshadow] xmlparse.c:598:14: note: shadowed declaration is here 598 | static float accountingGetCurrentAmplification(XML_Parser rootParser); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:8643:1: error: invalid storage class for function 'accountingReportStats' 8643 | accountingReportStats(XML_Parser originParser, const char *epilog) { | ^~~~~~~~~~~~~~~~~~~~~ xmlparse.c:8643:1: warning: declaration of 'accountingReportStats' shadows a global declaration [-Wshadow] xmlparse.c:599:13: note: shadowed declaration is here 599 | static void accountingReportStats(XML_Parser originParser, const char *epilog); | ^~~~~~~~~~~~~~~~~~~~~ xmlparse.c:8662:1: error: invalid storage class for function 'accountingOnAbort' 8662 | accountingOnAbort(XML_Parser originParser) { | ^~~~~~~~~~~~~~~~~ xmlparse.c:8662:1: warning: declaration of 'accountingOnAbort' shadows a global declaration [-Wshadow] xmlparse.c:600:13: note: shadowed declaration is here 600 | static void accountingOnAbort(XML_Parser originParser); | ^~~~~~~~~~~~~~~~~ xmlparse.c:8667:1: error: invalid storage class for function 'accountingReportDiff' 8667 | accountingReportDiff(XML_Parser rootParser, | ^~~~~~~~~~~~~~~~~~~~ xmlparse.c:8667:1: warning: declaration of 'accountingReportDiff' shadows a global declaration [-Wshadow] xmlparse.c:601:13: note: shadowed declaration is here 601 | static void accountingReportDiff(XML_Parser rootParser, | ^~~~~~~~~~~~~~~~~~~~ xmlparse.c: In function 'accountingReportDiff': xmlparse.c:8670:39: warning: declaration of 'account' shadows a parameter [-Wshadow] 8670 | enum XML_Account account) { | ~~~~~~~~~~~~~~~~~^~~~~~~ xmlparse.c:5246:57: note: shadowed declaration is here 5246 | XML_Bool allowClosingDoctype, enum XML_Account account) { | ~~~~~~~~~~~~~~~~~^~~~~~~ xmlparse.c: In function 'doProlog': xmlparse.c:8704:1: error: invalid storage class for function 'accountingDiffTolerated' 8704 | accountingDiffTolerated(XML_Parser originParser, int tok, const char *before, | ^~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:8704:1: warning: declaration of 'accountingDiffTolerated' shadows a global declaration [-Wshadow] xmlparse.c:606:17: note: shadowed declaration is here 606 | static XML_Bool accountingDiffTolerated(XML_Parser originParser, int tok, | ^~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c: In function 'accountingDiffTolerated': xmlparse.c:8704:54: warning: declaration of 'tok' shadows a parameter [-Wshadow] 8704 | accountingDiffTolerated(XML_Parser originParser, int tok, const char *before, | ~~~~^~~ xmlparse.c:5245:14: note: shadowed declaration is here 5245 | int tok, const char *next, const char **nextPtr, XML_Bool haveMore, | ~~~~^~~ xmlparse.c:8706:42: warning: declaration of 'account' shadows a parameter [-Wshadow] 8706 | enum XML_Account account) { | ~~~~~~~~~~~~~~~~~^~~~~~~ xmlparse.c:5246:57: note: shadowed declaration is here 5246 | XML_Bool allowClosingDoctype, enum XML_Account account) { | ~~~~~~~~~~~~~~~~~^~~~~~~ xmlparse.c: In function 'doProlog': xmlparse.c:8759:1: warning: declaration of 'testingAccountingGetCountBytesDirect' shadows a global declaration [-Wshadow] 8759 | testingAccountingGetCountBytesDirect(XML_Parser parser) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from xmlparse.c:206: internal.h:163:20: note: shadowed declaration is here 163 | unsigned long long testingAccountingGetCountBytesDirect(XML_Parser parser); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c: In function 'testingAccountingGetCountBytesDirect': xmlparse.c:8759:49: warning: declaration of 'parser' shadows a parameter [-Wshadow] 8759 | testingAccountingGetCountBytesDirect(XML_Parser parser) { | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c: In function 'doProlog': xmlparse.c:8766:1: warning: declaration of 'testingAccountingGetCountBytesIndirect' shadows a global declaration [-Wshadow] 8766 | testingAccountingGetCountBytesIndirect(XML_Parser parser) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ internal.h:164:20: note: shadowed declaration is here 164 | unsigned long long testingAccountingGetCountBytesIndirect(XML_Parser parser); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c: In function 'testingAccountingGetCountBytesIndirect': xmlparse.c:8766:51: warning: declaration of 'parser' shadows a parameter [-Wshadow] 8766 | testingAccountingGetCountBytesIndirect(XML_Parser parser) { | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c: In function 'doProlog': xmlparse.c:8773:1: error: invalid storage class for function 'entityTrackingReportStats' 8773 | entityTrackingReportStats(XML_Parser rootParser, ENTITY *entity, | ^~~~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:8773:1: warning: declaration of 'entityTrackingReportStats' shadows a global declaration [-Wshadow] xmlparse.c:611:13: note: shadowed declaration is here 611 | static void entityTrackingReportStats(XML_Parser parser, ENTITY *entity, | ^~~~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:8797:1: error: invalid storage class for function 'entityTrackingOnOpen' 8797 | entityTrackingOnOpen(XML_Parser originParser, ENTITY *entity, int sourceLine) { | ^~~~~~~~~~~~~~~~~~~~ xmlparse.c:8797:1: warning: declaration of 'entityTrackingOnOpen' shadows a global declaration [-Wshadow] xmlparse.c:613:13: note: shadowed declaration is here 613 | static void entityTrackingOnOpen(XML_Parser parser, ENTITY *entity, | ^~~~~~~~~~~~~~~~~~~~ xmlparse.c:8812:1: error: invalid storage class for function 'entityTrackingOnClose' 8812 | entityTrackingOnClose(XML_Parser originParser, ENTITY *entity, int sourceLine) { | ^~~~~~~~~~~~~~~~~~~~~ xmlparse.c:8812:1: warning: declaration of 'entityTrackingOnClose' shadows a global declaration [-Wshadow] xmlparse.c:615:13: note: shadowed declaration is here 615 | static void entityTrackingOnClose(XML_Parser parser, ENTITY *entity, | ^~~~~~~~~~~~~~~~~~~~~ xmlparse.c:8821:1: error: invalid storage class for function 'getRootParserOf' 8821 | getRootParserOf(XML_Parser parser, unsigned int *outLevelDiff) { | ^~~~~~~~~~~~~~~ xmlparse.c:8821:1: warning: declaration of 'getRootParserOf' shadows a global declaration [-Wshadow] xmlparse.c:618:19: note: shadowed declaration is here 618 | static XML_Parser getRootParserOf(XML_Parser parser, | ^~~~~~~~~~~~~~~ xmlparse.c: In function 'getRootParserOf': xmlparse.c:8821:28: warning: declaration of 'parser' shadows a parameter [-Wshadow] 8821 | getRootParserOf(XML_Parser parser, unsigned int *outLevelDiff) { | ~~~~~~~~~~~^~~~~~ xmlparse.c:5244:21: note: shadowed declaration is here 5244 | doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, | ~~~~~~~~~~~^~~~~~ xmlparse.c: In function 'doProlog': xmlparse.c:8836:1: warning: declaration of 'unsignedCharToPrintable' shadows a global declaration [-Wshadow] 8836 | unsignedCharToPrintable(unsigned char c) { | ^~~~~~~~~~~~~~~~~~~~~~~ internal.h:165:13: note: shadowed declaration is here 165 | const char *unsignedCharToPrintable(unsigned char c); | ^~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:9360:1: error: invalid storage class for function 'getDebugLevel' 9360 | getDebugLevel(const char *variableName, unsigned long defaultDebugLevel) { | ^~~~~~~~~~~~~ xmlparse.c:9360:1: warning: declaration of 'getDebugLevel' shadows a global declaration [-Wshadow] xmlparse.c:622:22: note: shadowed declaration is here 622 | static unsigned long getDebugLevel(const char *variableName, | ^~~~~~~~~~~~~ xmlparse.c:9376:1: error: expected declaration or statement at end of input 9376 | } | ^ xmlparse.c: At top level: xmlparse.c:224:15: warning: 'keylen' used but never defined 224 | static size_t keylen(KEY s); | ^~~~~~ xmlparse.c:226:13: warning: 'copy_salt_to_sipkey' used but never defined 226 | static void copy_salt_to_sipkey(XML_Parser parser, struct sipkey *key); | ^~~~~~~~~~~~~~~~~~~ xmlparse.c:471:18: warning: 'epilogProcessor' used but never defined 471 | static Processor epilogProcessor; | ^~~~~~~~~~~~~~~ xmlparse.c:472:18: warning: 'errorProcessor' used but never defined 472 | static Processor errorProcessor; | ^~~~~~~~~~~~~~ xmlparse.c:477:18: warning: 'internalEntityProcessor' used but never defined 477 | static Processor internalEntityProcessor; | ^~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:489:23: warning: 'processEntity' used but never defined 489 | static enum XML_Error processEntity(XML_Parser parser, ENTITY *entity, | ^~~~~~~~~~~~~ xmlparse.c:513:12: warning: 'defineAttribute' used but never defined 513 | static int defineAttribute(ELEMENT_TYPE *type, ATTRIBUTE_ID *, XML_Bool isCdata, | ^~~~~~~~~~~~~~~ xmlparse.c:516:23: warning: 'storeAttributeValue' used but never defined 516 | static enum XML_Error storeAttributeValue(XML_Parser parser, const ENCODING *, | ^~~~~~~~~~~~~~~~~~~ xmlparse.c:521:1: warning: 'appendAttributeValue' used but never defined 521 | appendAttributeValue(XML_Parser parser, const ENCODING *enc, XML_Bool isCdata, | ^~~~~~~~~~~~~~~~~~~~ xmlparse.c:524:22: warning: 'getAttributeId' used but never defined 524 | static ATTRIBUTE_ID *getAttributeId(XML_Parser parser, const ENCODING *enc, | ^~~~~~~~~~~~~~ xmlparse.c:526:12: warning: 'setElementTypePrefix' used but never defined 526 | static int setElementTypePrefix(XML_Parser parser, ELEMENT_TYPE *); | ^~~~~~~~~~~~~~~~~~~~ xmlparse.c:527:23: warning: 'storeEntityValue' used but never defined 527 | static enum XML_Error storeEntityValue(XML_Parser parser, const ENCODING *enc, | ^~~~~~~~~~~~~~~~ xmlparse.c:531:23: warning: 'callStoreEntityValue' used but never defined 531 | static enum XML_Error callStoreEntityValue(XML_Parser parser, | ^~~~~~~~~~~~~~~~~~~~ xmlparse.c:535:12: warning: 'reportProcessingInstruction' used but never defined 535 | static int reportProcessingInstruction(XML_Parser parser, const ENCODING *enc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:537:12: warning: 'reportComment' used but never defined 537 | static int reportComment(XML_Parser parser, const ENCODING *enc, | ^~~~~~~~~~~~~ xmlparse.c:539:13: warning: 'reportDefault' used but never defined 539 | static void reportDefault(XML_Parser parser, const ENCODING *enc, | ^~~~~~~~~~~~~ xmlparse.c:542:24: warning: 'getContext' used but never defined 542 | static const XML_Char *getContext(XML_Parser parser); | ^~~~~~~~~~ xmlparse.c:543:17: warning: 'setContext' used but never defined 543 | static XML_Bool setContext(XML_Parser parser, const XML_Char *context); | ^~~~~~~~~~ xmlparse.c:545:22: warning: 'normalizePublicId' used but never defined 545 | static void FASTCALL normalizePublicId(XML_Char *s); | ^~~~~~~~~~~~~~~~~ xmlparse.c:547:13: warning: 'dtdCreate' used but never defined 547 | static DTD *dtdCreate(XML_Parser parser); | ^~~~~~~~~ xmlparse.c:549:13: warning: 'dtdReset' used but never defined 549 | static void dtdReset(DTD *p, XML_Parser parser); | ^~~~~~~~ xmlparse.c:550:13: warning: 'dtdDestroy' used but never defined 550 | static void dtdDestroy(DTD *p, XML_Bool isDocEntity, XML_Parser parser); | ^~~~~~~~~~ xmlparse.c:551:12: warning: 'dtdCopy' used but never defined 551 | static int dtdCopy(XML_Parser oldParser, DTD *newDtd, const DTD *oldDtd, | ^~~~~~~ xmlparse.c:553:12: warning: 'copyEntityTable' used but never defined 553 | static int copyEntityTable(XML_Parser oldParser, HASH_TABLE *, STRING_POOL *, | ^~~~~~~~~~~~~~~ xmlparse.c:555:15: warning: 'lookup' used but never defined 555 | static NAMED *lookup(XML_Parser parser, HASH_TABLE *table, KEY name, | ^~~~~~ xmlparse.c:557:22: warning: 'hashTableInit' used but never defined 557 | static void FASTCALL hashTableInit(HASH_TABLE *, XML_Parser parser); | ^~~~~~~~~~~~~ xmlparse.c:558:22: warning: 'hashTableClear' used but never defined 558 | static void FASTCALL hashTableClear(HASH_TABLE *); | ^~~~~~~~~~~~~~ xmlparse.c:559:22: warning: 'hashTableDestroy' used but never defined 559 | static void FASTCALL hashTableDestroy(HASH_TABLE *); | ^~~~~~~~~~~~~~~~ xmlparse.c:560:22: warning: 'hashTableIterInit' used but never defined 560 | static void FASTCALL hashTableIterInit(HASH_TABLE_ITER *, const HASH_TABLE *); | ^~~~~~~~~~~~~~~~~ xmlparse.c:561:24: warning: 'hashTableIterNext' used but never defined 561 | static NAMED *FASTCALL hashTableIterNext(HASH_TABLE_ITER *); | ^~~~~~~~~~~~~~~~~ xmlparse.c:563:22: warning: 'poolInit' used but never defined 563 | static void FASTCALL poolInit(STRING_POOL *, XML_Parser parser); | ^~~~~~~~ xmlparse.c:564:22: warning: 'poolClear' used but never defined 564 | static void FASTCALL poolClear(STRING_POOL *); | ^~~~~~~~~ xmlparse.c:565:22: warning: 'poolDestroy' used but never defined 565 | static void FASTCALL poolDestroy(STRING_POOL *); | ^~~~~~~~~~~ xmlparse.c:566:18: warning: 'poolAppend' used but never defined 566 | static XML_Char *poolAppend(STRING_POOL *pool, const ENCODING *enc, | ^~~~~~~~~~ xmlparse.c:568:18: warning: 'poolStoreString' used but never defined 568 | static XML_Char *poolStoreString(STRING_POOL *pool, const ENCODING *enc, | ^~~~~~~~~~~~~~~ xmlparse.c:570:26: warning: 'poolGrow' used but never defined 570 | static XML_Bool FASTCALL poolGrow(STRING_POOL *pool); | ^~~~~~~~ xmlparse.c:571:33: warning: 'poolCopyString' used but never defined 571 | static const XML_Char *FASTCALL poolCopyString(STRING_POOL *pool, | ^~~~~~~~~~~~~~ xmlparse.c:573:33: warning: 'poolCopyStringNoFinish' used but never defined 573 | static const XML_Char *FASTCALL poolCopyStringNoFinish(STRING_POOL *pool, | ^~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:575:24: warning: 'poolCopyStringN' used but never defined 575 | static const XML_Char *poolCopyStringN(STRING_POOL *pool, const XML_Char *s, | ^~~~~~~~~~~~~~~ xmlparse.c:577:33: warning: 'poolAppendString' used but never defined 577 | static const XML_Char *FASTCALL poolAppendString(STRING_POOL *pool, | ^~~~~~~~~~~~~~~~ xmlparse.c:580:21: warning: 'nextScaffoldPart' used but never defined 580 | static int FASTCALL nextScaffoldPart(XML_Parser parser); | ^~~~~~~~~~~~~~~~ xmlparse.c:581:21: warning: 'build_model' used but never defined 581 | static XML_Content *build_model(XML_Parser parser); | ^~~~~~~~~~~ xmlparse.c:582:22: warning: 'getElementType' used but never defined 582 | static ELEMENT_TYPE *getElementType(XML_Parser parser, const ENCODING *enc, | ^~~~~~~~~~~~~~ xmlparse.c:585:18: warning: 'copyString' used but never defined 585 | static XML_Char *copyString(const XML_Char *s, XML_Parser parser); | ^~~~~~~~~~ xmlparse.c:598:14: warning: 'accountingGetCurrentAmplification' declared 'static' but never defined [-Wunused-function] 598 | static float accountingGetCurrentAmplification(XML_Parser rootParser); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:599:13: warning: 'accountingReportStats' declared 'static' but never defined [-Wunused-function] 599 | static void accountingReportStats(XML_Parser originParser, const char *epilog); | ^~~~~~~~~~~~~~~~~~~~~ xmlparse.c:600:13: warning: 'accountingOnAbort' used but never defined 600 | static void accountingOnAbort(XML_Parser originParser); | ^~~~~~~~~~~~~~~~~ xmlparse.c:601:13: warning: 'accountingReportDiff' declared 'static' but never defined [-Wunused-function] 601 | static void accountingReportDiff(XML_Parser rootParser, | ^~~~~~~~~~~~~~~~~~~~ xmlparse.c:606:17: warning: 'accountingDiffTolerated' used but never defined 606 | static XML_Bool accountingDiffTolerated(XML_Parser originParser, int tok, | ^~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:611:13: warning: 'entityTrackingReportStats' declared 'static' but never defined [-Wunused-function] 611 | static void entityTrackingReportStats(XML_Parser parser, ENTITY *entity, | ^~~~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:613:13: warning: 'entityTrackingOnOpen' used but never defined 613 | static void entityTrackingOnOpen(XML_Parser parser, ENTITY *entity, | ^~~~~~~~~~~~~~~~~~~~ xmlparse.c:615:13: warning: 'entityTrackingOnClose' used but never defined 615 | static void entityTrackingOnClose(XML_Parser parser, ENTITY *entity, | ^~~~~~~~~~~~~~~~~~~~~ xmlparse.c:618:19: warning: 'getRootParserOf' used but never defined 618 | static XML_Parser getRootParserOf(XML_Parser parser, | ^~~~~~~~~~~~~~~ xmlparse.c:622:22: warning: 'getDebugLevel' used but never defined 622 | static unsigned long getDebugLevel(const char *variableName, | ^~~~~~~~~~~~~ xmlparse.c:9360:1: warning: 'getDebugLevel' defined but not used [-Wunused-function] 9360 | getDebugLevel(const char *variableName, unsigned long defaultDebugLevel) { | ^~~~~~~~~~~~~ xmlparse.c:8836:1: warning: 'unsignedCharToPrintable' defined but not used [-Wunused-function] 8836 | unsignedCharToPrintable(unsigned char c) { | ^~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:8821:1: warning: 'getRootParserOf' defined but not used [-Wunused-function] 8821 | getRootParserOf(XML_Parser parser, unsigned int *outLevelDiff) { | ^~~~~~~~~~~~~~~ xmlparse.c:8812:1: warning: 'entityTrackingOnClose' defined but not used [-Wunused-function] 8812 | entityTrackingOnClose(XML_Parser originParser, ENTITY *entity, int sourceLine) { | ^~~~~~~~~~~~~~~~~~~~~ xmlparse.c:8797:1: warning: 'entityTrackingOnOpen' defined but not used [-Wunused-function] 8797 | entityTrackingOnOpen(XML_Parser originParser, ENTITY *entity, int sourceLine) { | ^~~~~~~~~~~~~~~~~~~~ xmlparse.c:8766:1: warning: 'testingAccountingGetCountBytesIndirect' defined but not used [-Wunused-function] 8766 | testingAccountingGetCountBytesIndirect(XML_Parser parser) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:8759:1: warning: 'testingAccountingGetCountBytesDirect' defined but not used [-Wunused-function] 8759 | testingAccountingGetCountBytesDirect(XML_Parser parser) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:8704:1: warning: 'accountingDiffTolerated' defined but not used [-Wunused-function] 8704 | accountingDiffTolerated(XML_Parser originParser, int tok, const char *before, | ^~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:8662:1: warning: 'accountingOnAbort' defined but not used [-Wunused-function] 8662 | accountingOnAbort(XML_Parser originParser) { | ^~~~~~~~~~~~~~~~~ xmlparse.c:8602:1: warning: 'copyString' defined but not used [-Wunused-function] 8602 | copyString(const XML_Char *s, XML_Parser parser) { | ^~~~~~~~~~ xmlparse.c:8577:1: warning: 'getElementType' defined but not used [-Wunused-function] 8577 | getElementType(XML_Parser parser, const ENCODING *enc, const char *ptr, | ^~~~~~~~~~~~~~ xmlparse.c:8447:1: warning: 'build_model' defined but not used [-Wunused-function] 8447 | build_model(XML_Parser parser) { | ^~~~~~~~~~~ xmlparse.c:8376:1: warning: 'nextScaffoldPart' defined but not used [-Wunused-function] 8376 | nextScaffoldPart(XML_Parser parser) { | ^~~~~~~~~~~~~~~~ xmlparse.c:8272:1: warning: 'poolGrow' defined but not used [-Wunused-function] 8272 | poolGrow(STRING_POOL *pool) { | ^~~~~~~~ xmlparse.c:8223:1: warning: 'poolAppendString' defined but not used [-Wunused-function] 8223 | poolAppendString(STRING_POOL *pool, const XML_Char *s) { | ^~~~~~~~~~~~~~~~ xmlparse.c:8198:1: warning: 'poolCopyStringN' defined but not used [-Wunused-function] 8198 | poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n) { | ^~~~~~~~~~~~~~~ xmlparse.c:8183:1: warning: 'poolCopyStringNoFinish' defined but not used [-Wunused-function] 8183 | poolCopyStringNoFinish(STRING_POOL *pool, const XML_Char *s) { | ^~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:8170:1: warning: 'poolCopyString' defined but not used [-Wunused-function] 8170 | poolCopyString(STRING_POOL *pool, const XML_Char *s) { | ^~~~~~~~~~~~~~ xmlparse.c:8137:1: warning: 'poolDestroy' defined but not used [-Wunused-function] 8137 | poolDestroy(STRING_POOL *pool) { | ^~~~~~~~~~~ xmlparse.c:8118:1: warning: 'poolClear' defined but not used [-Wunused-function] 8118 | poolClear(STRING_POOL *pool) { | ^~~~~~~~~ xmlparse.c:8108:1: warning: 'poolInit' defined but not used [-Wunused-function] 8108 | poolInit(STRING_POOL *pool, XML_Parser parser) { | ^~~~~~~~ xmlparse.c:8098:1: warning: 'hashTableIterNext' defined but not used [-Wunused-function] 8098 | hashTableIterNext(HASH_TABLE_ITER *iter) { | ^~~~~~~~~~~~~~~~~ xmlparse.c:8092:1: warning: 'hashTableIterInit' defined but not used [-Wunused-function] 8092 | hashTableIterInit(HASH_TABLE_ITER *iter, const HASH_TABLE *table) { | ^~~~~~~~~~~~~~~~~ xmlparse.c:8075:1: warning: 'hashTableDestroy' defined but not used [-Wunused-function] 8075 | hashTableDestroy(HASH_TABLE *table) { | ^~~~~~~~~~~~~~~~ xmlparse.c:8065:1: warning: 'hashTableClear' defined but not used [-Wunused-function] 8065 | hashTableClear(HASH_TABLE *table) { | ^~~~~~~~~~~~~~ xmlparse.c:7878:1: warning: 'copyEntityTable' defined but not used [-Wunused-function] 7878 | copyEntityTable(XML_Parser oldParser, HASH_TABLE *newTable, | ^~~~~~~~~~~~~~~ xmlparse.c:7730:1: warning: 'dtdCopy' defined but not used [-Wunused-function] 7730 | dtdCopy(XML_Parser oldParser, DTD *newDtd, const DTD *oldDtd, | ^~~~~~~ xmlparse.c:7699:1: warning: 'dtdDestroy' defined but not used [-Wunused-function] 7699 | dtdDestroy(DTD *p, XML_Bool isDocEntity, XML_Parser parser) { | ^~~~~~~~~~ xmlparse.c:7656:1: warning: 'dtdReset' defined but not used [-Wunused-function] 7656 | dtdReset(DTD *p, XML_Parser parser) { | ^~~~~~~~ xmlparse.c:7623:1: warning: 'dtdCreate' defined but not used [-Wunused-function] 7623 | dtdCreate(XML_Parser parser) { | ^~~~~~~~~ xmlparse.c:7602:1: warning: 'normalizePublicId' defined but not used [-Wunused-function] 7602 | normalizePublicId(XML_Char *publicId) { | ^~~~~~~~~~~~~~~~~ xmlparse.c:7534:1: warning: 'setContext' defined but not used [-Wunused-function] 7534 | setContext(XML_Parser parser, const XML_Char *context) { | ^~~~~~~~~~ xmlparse.c:7438:1: warning: 'getContext' defined but not used [-Wunused-function] 7438 | getContext(XML_Parser parser) { | ^~~~~~~~~~ xmlparse.c:7371:1: warning: 'getAttributeId' defined but not used [-Wunused-function] 7371 | getAttributeId(XML_Parser parser, const ENCODING *enc, const char *start, | ^~~~~~~~~~~~~~ xmlparse.c:7275:1: warning: 'defineAttribute' defined but not used [-Wunused-function] 7275 | defineAttribute(ELEMENT_TYPE *type, ATTRIBUTE_ID *attId, XML_Bool isCdata, | ^~~~~~~~~~~~~~~ xmlparse.c:7224:1: warning: 'reportDefault' defined but not used [-Wunused-function] 7224 | reportDefault(XML_Parser parser, const ENCODING *enc, const char *s, | ^~~~~~~~~~~~~ xmlparse.c:7202:1: warning: 'reportComment' defined but not used [-Wunused-function] 7202 | reportComment(XML_Parser parser, const ENCODING *enc, const char *start, | ^~~~~~~~~~~~~ xmlparse.c:7173:1: warning: 'reportProcessingInstruction' defined but not used [-Wunused-function] 7173 | reportProcessingInstruction(XML_Parser parser, const ENCODING *enc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:7074:1: warning: 'callStoreEntityValue' defined but not used [-Wunused-function] 7074 | callStoreEntityValue(XML_Parser parser, const ENCODING *enc, | ^~~~~~~~~~~~~~~~~~~~ xmlparse.c:6679:1: warning: 'appendAttributeValue' defined but not used [-Wunused-function] 6679 | appendAttributeValue(XML_Parser parser, const ENCODING *enc, XML_Bool isCdata, | ^~~~~~~~~~~~~~~~~~~~ xmlparse.c:6595:1: warning: 'storeAttributeValue' defined but not used [-Wunused-function] 6595 | storeAttributeValue(XML_Parser parser, const ENCODING *enc, XML_Bool isCdata, | ^~~~~~~~~~~~~~~~~~~ xmlparse.c:6586:1: warning: 'errorProcessor' defined but not used [-Wunused-function] 6586 | errorProcessor(XML_Parser parser, const char *s, const char *end, | ^~~~~~~~~~~~~~ xmlparse.c:6499:1: warning: 'internalEntityProcessor' defined but not used [-Wunused-function] 6499 | internalEntityProcessor(XML_Parser parser, const char *s, const char *end, | ^~~~~~~~~~~~~~~~~~~~~~~ xmlparse.c:6360:1: warning: 'epilogProcessor' defined but not used [-Wunused-function] 6360 | epilogProcessor(XML_Parser parser, const char *s, const char *end, | ^~~~~~~~~~~~~~~ cc1: note: unrecognized command-line option '-Wno-ms-format' may have been intended to silence earlier diagnostics make[2]: *** [Makefile:571: xmlparse.lo] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/expat-2.5.0/lib' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/expat-2.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DXML_ENABLE_VISIBILITY=1 -Wall -Wextra -fexceptions -fno-strict-aliasing -Wmissing-prototypes -Wstrict-prototypes -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wjump-misses-init -Wdouble-promotion -Wshadow -Wformat=2 -Wno-ms-format -Wmisleading-indentation -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o xmlrole.lo xmlrole.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DXML_ENABLE_VISIBILITY=1 -Wall -Wextra -fexceptions -fno-strict-aliasing -Wmissing-prototypes -Wstrict-prototypes -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wjump-misses-init -Wdouble-promotion -Wshadow -Wformat=2 -Wno-ms-format -Wmisleading-indentation -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c xmlrole.c -fPIC -DPIC -o .libs/xmlrole.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DXML_ENABLE_VISIBILITY=1 -Wall -Wextra -fexceptions -fno-strict-aliasing -Wmissing-prototypes -Wstrict-prototypes -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wjump-misses-init -Wdouble-promotion -Wshadow -Wformat=2 -Wno-ms-format -Wmisleading-indentation -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c xmlrole.c -o xmlrole.o >/dev/null 2>&1 make[2]: Leaving directory '/builddir/build/BUILD/expat-2.5.0/lib' make[2]: Entering directory '/builddir/build/BUILD/expat-2.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DXML_ENABLE_VISIBILITY=1 -Wall -Wextra -fexceptions -fno-strict-aliasing -Wmissing-prototypes -Wstrict-prototypes -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wjump-misses-init -Wdouble-promotion -Wshadow -Wformat=2 -Wno-ms-format -Wmisleading-indentation -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o xmltok.lo xmltok.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DXML_ENABLE_VISIBILITY=1 -Wall -Wextra -fexceptions -fno-strict-aliasing -Wmissing-prototypes -Wstrict-prototypes -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wjump-misses-init -Wdouble-promotion -Wshadow -Wformat=2 -Wno-ms-format -Wmisleading-indentation -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c xmltok.c -fPIC -DPIC -o .libs/xmltok.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DXML_ENABLE_VISIBILITY=1 -Wall -Wextra -fexceptions -fno-strict-aliasing -Wmissing-prototypes -Wstrict-prototypes -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wjump-misses-init -Wdouble-promotion -Wshadow -Wformat=2 -Wno-ms-format -Wmisleading-indentation -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c xmltok.c -o xmltok.o >/dev/null 2>&1 make[2]: Leaving directory '/builddir/build/BUILD/expat-2.5.0/lib' make[1]: *** [Makefile:645: all-recursive] Error 1 make: *** [Makefile:504: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.xJ3IbD (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.xJ3IbD (%build) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/expat.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/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: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/expat.spec'