Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/BibTool.spec'], chrootPath='/var/lib/mock/f42-build-56576626-6544435/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.41pq6lsy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.41pq6lsy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'bf85d2c429a54027a617086bb9b12d62', '-D', '/var/lib/mock/f42-build-56576626-6544435/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.41pq6lsy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/BibTool.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721174400 Wrote: /builddir/build/SRPMS/BibTool-2.68-20.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/BibTool.spec'], chrootPath='/var/lib/mock/f42-build-56576626-6544435/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.41pq6lsy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.41pq6lsy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9ae06fd520d74c34bba4e474f8915570', '-D', '/var/lib/mock/f42-build-56576626-6544435/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.41pq6lsy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/BibTool.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721174400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.XDGlnJ + umask 022 + cd /builddir/build/BUILD/BibTool-2.68-build + test -d /builddir/build/BUILD/BibTool-2.68-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/BibTool-2.68-build + /usr/bin/rm -rf /builddir/build/BUILD/BibTool-2.68-build + /usr/bin/mkdir -p /builddir/build/BUILD/BibTool-2.68-build + /usr/bin/mkdir -p /builddir/build/BUILD/BibTool-2.68-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.y57bHA + umask 022 + cd /builddir/build/BUILD/BibTool-2.68-build + /usr/lib/rpm/redhat/gpgverify --keyring=/builddir/build/SOURCES/gpgkey-E2A609830CE1675666671B86EA2168BE699213A2.gpg --signature=/builddir/build/SOURCES/BibTool-2.68.tar.gz.asc --data=/builddir/build/SOURCES/BibTool-2.68.tar.gz gpgv: Signature made Mon Apr 13 15:04:47 2020 UTC gpgv: using RSA key E2A609830CE1675666671B86EA2168BE699213A2 gpgv: Good signature from "Gerd Neugebauer " + cd /builddir/build/BUILD/BibTool-2.68-build + rm -rf BibTool + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/BibTool-2.68.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd BibTool + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-build-BibTool-against-system-regex.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-old-font-commands-added.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-make-doc-work-with-LuaTeX-0.85.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-fix-duplicate-case-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-support-for-make-check-fixed.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i -e 's%^#!/usr/local/bin/tclsh%#! /usr/bin/tclsh%' Tcl/bibtool.tcl + sed -i -e 's%^#!/usr/local/bin/perl%#! /usr/bin/perl%' Perl/bibtool.pl + rm -rf regex-0.12 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CE5rQX + umask 022 + cd /builddir/build/BUILD/BibTool-2.68-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd BibTool + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./BibTcl/configure + diff -u ./BibTcl/configure.backup ./BibTcl/configure + mv ./BibTcl/configure.backup ./BibTcl/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./BibTcl/configure + diff -u ./BibTcl/configure.backup ./BibTcl/configure + mv ./BibTcl/configure.backup ./BibTcl/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./BibTcl/configure + diff -u ./BibTcl/configure.backup ./BibTcl/configure + mv ./BibTcl/configure.backup ./BibTcl/configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./BibTcl/configure + diff -u ./BibTcl/configure.backup ./BibTcl/configure + mv ./BibTcl/configure.backup ./BibTcl/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'\''"#' ./BibTcl/configure + diff -u ./BibTcl/configure.backup ./BibTcl/configure + mv ./BibTcl/configure.backup ./BibTcl/configure + 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 2019-10-04 14:31:12.000000000 +0000 +++ ./configure 2025-01-21 00:45:34.954708394 +0000 @@ -1771,7 +1771,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 + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --libdir=/usr/share configure: WARNING: unrecognized options: --disable-dependency-tracking checking for aarch64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking for aarch64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for library containing strerror... none required checking for ANSI C header files... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for working memcmp... yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking for stdint.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for getenv... yes checking for strrchr... yes checking for kpathsea library... configure: WARNING: not found configure: creating ./config.status config.status: creating makefile config.status: creating include/bibtool/config.h config.status: include/bibtool/config.h is unchanged config.status: creating regex-0.12/config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + sed -i -e s#@kpathsea_lib_static@## makefile + /usr/bin/make -O -j12 V=1 VERBOSE=1 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Iinclude -c init.c init.c: In function ‘init_bibtool’: init.c:71:6: warning: old-style function definition [-Wold-style-definition] 71 | void init_bibtool(progname) /* */ | ^~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Iinclude -DREGEX -c main.c main.c: In function ‘usage’: main.c:172:13: warning: old-style function definition [-Wold-style-definition] 172 | static void usage(fullp) /* */ | ^~~~~ main.c: In function ‘keep_selected’: main.c:240:13: warning: old-style function definition [-Wold-style-definition] 240 | static bool keep_selected(db, rec) /* */ | ^~~~~~~~~~~~~ main.c: In function ‘write_macros’: main.c:308:13: warning: old-style function definition [-Wold-style-definition] 308 | static void write_macros(m_file, the_db) /* */ | ^~~~~~~~~~~~ main.c: In function ‘read_in_files’: main.c:335:13: warning: old-style function definition [-Wold-style-definition] 335 | static void read_in_files(db) /* */ | ^~~~~~~~~~~~~ main.c: In function ‘write_output’: main.c:356:13: warning: old-style function definition [-Wold-style-definition] 356 | static void write_output(db) /* */ | ^~~~~~~~~~~~ main.c: In function ‘main’: main.c:405:5: warning: old-style function definition [-Wold-style-definition] 405 | int main(argc,argv) /* */ | ^~~~ main.c:564:33: error: assignment to ‘int (*)(void)’ from incompatible pointer type ‘int (*)(struct rECORD *, struct rECORD *)’ [-Wincompatible-pointer-types] 564 | { if (rsc_sort_reverse) fct = rec_lt_cased; /* */ | ^ main.c:93:13: note: ‘rec_lt_cased’ declared here 93 | static int rec_lt_cased _ARG((Record r1,Record r2));/* main.c */ | ^~~~~~~~~~~~ main.c:565:33: error: assignment to ‘int (*)(void)’ from incompatible pointer type ‘int (*)(struct rECORD *, struct rECORD *)’ [-Wincompatible-pointer-types] 565 | else fct = rec_gt_cased; /* */ | ^ main.c:91:13: note: ‘rec_gt_cased’ declared here 91 | static int rec_gt_cased _ARG((Record r1,Record r2));/* main.c */ | ^~~~~~~~~~~~ main.c:568:33: error: assignment to ‘int (*)(void)’ from incompatible pointer type ‘int (*)(struct rECORD *, struct rECORD *)’ [-Wincompatible-pointer-types] 568 | { if (rsc_sort_reverse) fct = rec_lt; /* */ | ^ main.c:92:13: note: ‘rec_lt’ declared here 92 | static int rec_lt _ARG((Record r1,Record r2)); /* main.c */ | ^~~~~~ main.c:569:33: error: assignment to ‘int (*)(void)’ from incompatible pointer type ‘int (*)(struct rECORD *, struct rECORD *)’ [-Wincompatible-pointer-types] 569 | else fct = rec_gt; /* */ | ^ main.c:90:13: note: ‘rec_gt’ declared here 90 | static int rec_gt _ARG((Record r1,Record r2)); /* main.c */ | ^~~~~~ main.c:571:21: error: passing argument 2 of ‘db_sort’ from incompatible pointer type [-Wincompatible-pointer-types] 571 | db_sort(the_db, fct); /* */ | ^~~ | | | int (*)(void) In file included from include/bibtool/expand.h:32, from include/bibtool/bibtool.h:46, from main.c:64: include/bibtool/database.h:173:33: note: expected ‘int (*)(struct rECORD *, struct rECORD *)’ but argument is of type ‘int (*)(void)’ 173 | void db_sort _ARG((DB db,int (*less)_ARG((Record, Record))));/* */ | ^ include/bibtool/database.h:158:17: note: in definition of macro ‘_ARG’ 158 | #define _ARG(A) A | ^ main.c: In function ‘rec_gt’: main.c:624:12: warning: old-style function definition [-Wold-style-definition] 624 | static int rec_gt(r1, r2) /* */ | ^~~~~~ main.c: In function ‘rec_lt’: main.c:641:12: warning: old-style function definition [-Wold-style-definition] 641 | static int rec_lt(r1, r2) /* */ | ^~~~~~ main.c: In function ‘rec_gt_cased’: main.c:658:12: warning: old-style function definition [-Wold-style-definition] 658 | static int rec_gt_cased(r1, r2) /* */ | ^~~~~~~~~~~~ main.c: In function ‘rec_lt_cased’: main.c:675:12: warning: old-style function definition [-Wold-style-definition] 675 | static int rec_lt_cased(r1, r2) /* */ | ^~~~~~~~~~~~ main.c: In function ‘do_keys’: main.c:689:13: warning: old-style function definition [-Wold-style-definition] 689 | static bool do_keys(db, rec) /* */ | ^~~~~~~ main.c: In function ‘do_no_keys’: main.c:709:13: warning: old-style function definition [-Wold-style-definition] 709 | static bool do_no_keys(db, rec) /* */ | ^~~~~~~~~~ main.c: In function ‘update_crossref’: main.c:731:13: warning: old-style function definition [-Wold-style-definition] 731 | static bool update_crossref(db, rec) /* */ | ^~~~~~~~~~~~~~~ make: *** [makefile:476: main.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Iinclude -c -c error.c -o error.o error.c: In function ‘init_error’: error.c:68:6: warning: old-style function definition [-Wold-style-definition] 68 | void init_error(file) /* */ | ^~~~~~~~~~ error.c: In function ‘err_location’: error.c:89:6: warning: old-style function definition [-Wold-style-definition] 89 | void err_location(lineno,fname,s1) /* */ | ^~~~~~~~~~~~ error.c: In function ‘error’: error.c:156:6: warning: old-style function definition [-Wold-style-definition] 156 | void error(type, s1, s2, s3, line, err_pos, line_no, fname)/* */ | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Iinclude -c -c entry.c -o entry.o entry.c: In function ‘def_entry_type’: entry.c:135:6: warning: old-style function definition [-Wold-style-definition] 135 | void def_entry_type(sym) /* */ | ^~~~~~~~~~~~~~ entry.c: In function ‘match’: entry.c:175:13: warning: old-style function definition [-Wold-style-definition] 175 | static bool match(s,t) /* */ | ^~~~~ entry.c: In function ‘find_entry_type’: entry.c:195:10: warning: old-style function definition [-Wold-style-definition] 195 | rec_type find_entry_type(s) /* */ | ^~~~~~~~~~~~~~~ entry.c: In function ‘get_entry_type’: entry.c:216:9: warning: old-style function definition [-Wold-style-definition] 216 | Symbol get_entry_type(idx) /* */ | ^~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Iinclude -c -c check.c -o check.o check.c: In function ‘add_unique_field’: check.c:69:6: warning: old-style function definition [-Wold-style-definition] 69 | void add_unique_field(key) /* */ | ^~~~~~~~~~~~~~~~ check.c: In function ‘apply_checks’: check.c:88:6: warning: old-style function definition [-Wold-style-definition] 88 | void apply_checks(db) /* */ | ^~~~~~~~~~~~ check.c: In function ‘do_checks’: check.c:106:13: warning: old-style function definition [-Wold-style-definition] 106 | static bool do_checks(db,rec) /* */ | ^~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Iinclude -c -c io.c -o io.o io.c: In function ‘save_input_file’: io.c:79:6: warning: old-style function definition [-Wold-style-definition] 79 | void save_input_file(file) /* */ | ^~~~~~~~~~~~~~~ io.c: In function ‘get_input_file’: io.c:129:8: warning: old-style function definition [-Wold-style-definition] 129 | Symbol get_input_file(i) /* */ | ^~~~~~~~~~~~~~ io.c: In function ‘save_output_file’: io.c:151:6: warning: old-style function definition [-Wold-style-definition] 151 | void save_output_file(file) /* */ | ^~~~~~~~~~~~~~~~ io.c: In function ‘save_macro_file’: io.c:187:6: warning: old-style function definition [-Wold-style-definition] 187 | void save_macro_file(file) /* */ | ^~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Iinclude -c parse.c -o parse.o parse.c: In function ‘init___’: parse.c:147:13: warning: old-style function definition [-Wold-style-definition] 147 | static void init___(pathp,pattern,envvp,env) /* */ | ^~~~~~~ parse.c: In function ‘see_bib_msg’: parse.c:217:12: warning: old-style function definition [-Wold-style-definition] 217 | static int see_bib_msg(s) /* */ | ^~~~~~~~~~~ parse.c: In function ‘see_bib’: parse.c:245:6: warning: old-style function definition [-Wold-style-definition] 245 | bool see_bib(fname) /* */ | ^~~~~~~ parse.c:267:19: error: passing argument 5 of ‘px_fopen’ from incompatible pointer type [-Wincompatible-pointer-types] 267 | see_bib_msg); /* */ | ^~~~~~~~~~~ | | | int (*)(char *) In file included from parse.c:32: include/bibtool/pxfile.h:45:17: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(char *)’ 45 | int (*show)() | ~~~~~~~~^~~~~~~ parse.c:217:12: note: ‘see_bib_msg’ declared here 217 | static int see_bib_msg(s) /* */ | ^~~~~~~~~~~ parse.c: In function ‘skip’: parse.c:396:12: warning: old-style function definition [-Wold-style-definition] 396 | static int skip(inc) /* */ | ^~~~ parse.c: In function ‘parse_symbol’: parse.c:470:13: warning: old-style function definition [-Wold-style-definition] 470 | static bool parse_symbol(alpha) /* */ | ^~~~~~~~~~~~ parse.c: In function ‘parse_key’: parse.c:496:13: warning: old-style function definition [-Wold-style-definition] 496 | static bool parse_key(alpha) /* */ | ^~~~~~~~~ parse.c: In function ‘parse_string’: parse.c:556:13: warning: old-style function definition [-Wold-style-definition] 556 | static bool parse_string(quotep) /* */ | ^~~~~~~~~~~~ parse.c: In function ‘parse_block’: parse.c:597:13: warning: old-style function definition [-Wold-style-definition] 597 | static bool parse_block(quotep) /* */ | ^~~~~~~~~~~ parse.c: In function ‘parse_equation’: parse.c:690:13: warning: old-style function definition [-Wold-style-definition] 690 | static bool parse_equation(rec) /* */ | ^~~~~~~~~~~~~~ parse.c: In function ‘parse_bib’: parse.c:723:5: warning: old-style function definition [-Wold-style-definition] 723 | int parse_bib(rec) /* */ | ^~~~~~~~~ parse.c: In function ‘set_rsc_path’: parse.c:924:6: warning: old-style function definition [-Wold-style-definition] 924 | void set_rsc_path(val) /* */ | ^~~~~~~~~~~~ parse.c: In function ‘see_rsc’: parse.c:943:13: warning: old-style function definition [-Wold-style-definition] 943 | static bool see_rsc(fname) /* */ | ^~~~~~~ parse.c:954:19: error: passing argument 5 of ‘px_fopen’ from incompatible pointer type [-Wincompatible-pointer-types] 954 | see_bib_msg); /* */ | ^~~~~~~~~~~ | | | int (*)(char *) include/bibtool/pxfile.h:45:17: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(char *)’ 45 | int (*show)() | ~~~~~~~~^~~~~~~ parse.c:217:12: note: ‘see_bib_msg’ declared here 217 | static int see_bib_msg(s) /* */ | ^~~~~~~~~~~ parse.c: In function ‘read_rsc’: parse.c:1018:6: warning: old-style function definition [-Wold-style-definition] 1018 | bool read_rsc(name) /* */ | ^~~~~~~~ make: *** [makefile:482: parse.o] Error 1 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Iinclude -c -c expand.c -o expand.o expand.c: In function ‘expand_rhs’: expand.c:79:8: warning: old-style function definition [-Wold-style-definition] 79 | Symbol expand_rhs(sym,pre,post,db,lowercase) /* */ | ^~~~~~~~~~ expand.c: In function ‘expand__’: expand.c:119:13: warning: old-style function definition [-Wold-style-definition] 119 | static void expand__(s, sb, q_open, q_close, db) /* */ | ^~~~~~~~ expand.c: In function ‘expand’: expand.c:149:13: warning: old-style function definition [-Wold-style-definition] 149 | static bool expand(s, sb, brace, first, q_open, q_close, db)/* */ | ^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Iinclude -c -c crossref.c -o crossref.o crossref.c: In function ‘new_map’: crossref.c:76:12: warning: old-style function definition [-Wold-style-definition] 76 | static Map new_map(sr,sf,dr,df) /* */ | ^~~~~~~ crossref.c: In function ‘free_map’: crossref.c:101:13: warning: old-style function definition [-Wold-style-definition] 101 | static void free_map(m) /* */ | ^~~~~~~~ crossref.c: In function ‘map_add’: crossref.c:149:6: warning: old-style function definition [-Wold-style-definition] 149 | void map_add(s_rec,s_fld,d_rec,d_fld) /* */ | ^~~~~~~ crossref.c: In function ‘map_get’: crossref.c:190:8: warning: old-style function definition [-Wold-style-definition] 190 | Symbol map_get(s_rec, s_fld, d_rec) /* */ | ^~~~~~~ crossref.c: In function ‘crossref_map’: crossref.c:215:6: warning: old-style function definition [-Wold-style-definition] 215 | void crossref_map(spec) /* */ | ^~~~~~~~~~~~ crossref.c: In function ‘insert_record’: crossref.c:275:13: warning: old-style function definition [-Wold-style-definition] 275 | static bool insert_record(db, rec, hp, s, msg) /* */ | ^~~~~~~~~~~~~ crossref.c: In function ‘expand_crossref’: crossref.c:313:6: warning: old-style function definition [-Wold-style-definition] 313 | bool expand_crossref(db, rec) /* */ | ^~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Iinclude -c -c macros.c -o macros.o macros.c: In function ‘new_macro’: macros.c:57:7: warning: old-style function definition [-Wold-style-definition] 57 | Macro new_macro(name, value, next, count) /* */ | ^~~~~~~~~ macros.c: In function ‘free_macro’: macros.c:83:6: warning: old-style function definition [-Wold-style-definition] 83 | void free_macro(mac) /* */ | ^~~~~~~~~~ macros.c: In function ‘def_macro’: macros.c:105:5: warning: old-style function definition [-Wold-style-definition] 105 | int def_macro(name, val, count) /* */ | ^~~~~~~~~ macros.c: In function ‘look_macro’: macros.c:147:8: warning: old-style function definition [-Wold-style-definition] 147 | Symbol look_macro(name, add) /* */ | ^~~~~~~~~~ macros.c: In function ‘foreach_macro’: macros.c:187:6: warning: old-style function definition [-Wold-style-definition] 187 | void foreach_macro(fct) /* */ | ^~~~~~~~~~~~~ macros.c: In function ‘each_macro’: macros.c:211:6: warning: old-style function definition [-Wold-style-definition] 211 | bool each_macro(m, fct) /* */ | ^~~~~~~~~~ macros.c: In function ‘dump_mac’: macros.c:230:6: warning: old-style function definition [-Wold-style-definition] 230 | void dump_mac(fname,allp) /* */ | ^~~~~~~~ macros.c: In function ‘def_item’: macros.c:311:13: warning: old-style function definition [-Wold-style-definition] 311 | static void def_item(name, value) /* */ | ^~~~~~~~ macros.c: In function ‘def_field_type’: macros.c:334:6: warning: old-style function definition [-Wold-style-definition] 334 | void def_field_type(s) /* */ | ^~~~~~~~~~~~~~ macros.c: In function ‘get_mapped_or_cased’: macros.c:365:15: warning: old-style function definition [-Wold-style-definition] 365 | static Symbol get_mapped_or_cased(name, mac, type) /* */ | ^~~~~~~~~~~~~~~~~~~ macros.c: In function ‘get_item’: macros.c:432:8: warning: old-style function definition [-Wold-style-definition] 432 | Symbol get_item(name, type) /* */ | ^~~~~~~~ macros.c: In function ‘save_key’: macros.c:454:6: warning: old-style function definition [-Wold-style-definition] 454 | void save_key(name, key) /* */ | ^~~~~~~~ macros.c: In function ‘get_key’: macros.c:470:8: warning: old-style function definition [-Wold-style-definition] 470 | Symbol get_key(name) /* */ | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Iinclude -c -c names.c -o names.o names.c: In function ‘new_name_node’: names.c:82:17: warning: old-style function definition [-Wold-style-definition] 82 | static NameNode new_name_node(type, strip, trim, pre, mid, post)/* */ | ^~~~~~~~~~~~~ names.c: In function ‘name_format’: names.c:291:10: warning: old-style function definition [-Wold-style-definition] 291 | NameNode name_format(s) /* */ | ^~~~~~~~~~~ names.c: In function ‘pp_list_of_names’: names.c:400:9: warning: old-style function definition [-Wold-style-definition] 400 | String pp_list_of_names(wa,format,trans,max,comma,and,namesep,etal)/* */ | ^~~~~~~~~~~~~~~~ names.c: In function ‘pp_one_name’: names.c:471:13: warning: old-style function definition [-Wold-style-definition] 471 | static void pp_one_name(sb, w, format, trans, len, comma, commas)/* */ | ^~~~~~~~~~~ names.c: In function ‘initial’: names.c:620:13: warning: old-style function definition [-Wold-style-definition] 620 | static void initial(s,trans,len,sb) /* */ | ^~~~~~~ names.c: In function ‘is_jr’: names.c:649:13: warning: old-style function definition [-Wold-style-definition] 649 | static bool is_jr(s, eager) /* */ | ^~~~~ names.c: In function ‘is_lower_word’: names.c:723:13: warning: old-style function definition [-Wold-style-definition] 723 | static bool is_lower_word(s) /* */ | ^~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Iinclude -c -c database.c -o database.o database.c: In function ‘free_db’: database.c:106:6: warning: old-style function definition [-Wold-style-definition] 106 | void free_db(db) /* */ | ^~~~~~~ database.c: In function ‘apply_modify’: database.c:130:5: warning: old-style function definition [-Wold-style-definition] 130 | int apply_modify(db, key, rec) /* */ | ^~~~~~~~~~~~ database.c: In function ‘apply_alias’: database.c:172:13: warning: old-style function definition [-Wold-style-definition] 172 | static bool apply_alias(db, key, rec, verbose) /* */ | ^~~~~~~~~~~ database.c: In function ‘db_insert’: database.c:203:6: warning: old-style function definition [-Wold-style-definition] 203 | void db_insert(db, rec, verbose) /* */ | ^~~~~~~~~ database.c: In function ‘read_db’: database.c:294:6: warning: old-style function definition [-Wold-style-definition] 294 | bool read_db(db, file, verbose) /* */ | ^~~~~~~ database.c: In function ‘mark_string’: database.c:364:13: warning: old-style function definition [-Wold-style-definition] 364 | static void mark_string(rec, s) /* */ | ^~~~~~~~~~~ database.c: In function ‘print_segment’: database.c:424:13: warning: old-style function definition [-Wold-style-definition] 424 | static void print_segment(file, db, rec, allp) /* */ | ^~~~~~~~~~~~~ database.c: In function ‘preprint_string’: database.c:459:13: warning: old-style function definition [-Wold-style-definition] 459 | static void preprint_string(file, db, strings, rec)/* */ | ^~~~~~~~~~~~~~~ database.c: In function ‘print_strings’: database.c:537:13: warning: old-style function definition [-Wold-style-definition] 537 | static void print_strings(file, db, allp) /* */ | ^~~~~~~~~~~~~ database.c: In function ‘print_db’: database.c:643:6: warning: old-style function definition [-Wold-style-definition] 643 | void print_db(file,db,spec) /* */ | ^~~~~~~~ database.c: In function ‘delete_record’: database.c:693:6: warning: old-style function definition [-Wold-style-definition] 693 | void delete_record(db,rec) /* */ | ^~~~~~~~~~~~~ database.c: In function ‘db_forall’: database.c:734:6: warning: old-style function definition [-Wold-style-definition] 734 | void db_forall(db,fct) /* */ | ^~~~~~~~~ database.c: In function ‘db_find’: database.c:773:8: warning: old-style function definition [-Wold-style-definition] 773 | Record db_find(db,key) /* */ | ^~~~~~~ database.c: In function ‘db_search’: database.c:823:8: warning: old-style function definition [-Wold-style-definition] 823 | Record db_search(db, key) /* */ | ^~~~~~~~~ database.c: In function ‘db_new_key’: database.c:857:8: warning: old-style function definition [-Wold-style-definition] 857 | Symbol db_new_key(db, key) /* */ | ^~~~~~~~~~ database.c: In function ‘db_rewind’: database.c:893:6: warning: old-style function definition [-Wold-style-definition] 893 | void db_rewind(db) /* */ | ^~~~~~~~~ database.c: In function ‘rec__sort’: database.c:911:15: warning: old-style function definition [-Wold-style-definition] 911 | static Record rec__sort(rec,less) /* */ | ^~~~~~~~~ database.c: In function ‘insert_record’: database.c:969:15: warning: old-style function definition [-Wold-style-definition] 969 | static Record insert_record(rec,ptr,less) /* */ | ^~~~~~~~~~~~~ database.c: In function ‘cmp_heap’: database.c:1024:12: warning: old-style function definition [-Wold-style-definition] 1024 | static int cmp_heap(r1,r2) /* */ | ^~~~~~~~ database.c: In function ‘db_mac_sort’: database.c:1044:6: warning: old-style function definition [-Wold-style-definition] 1044 | void db_mac_sort(db) /* */ | ^~~~~~~~~~~ database.c: In function ‘db_sort’: database.c:1063:6: warning: old-style function definition [-Wold-style-definition] 1063 | void db_sort(db,less) /* */ | ^~~~~~~ database.c: In function ‘db_string’: database.c:1082:8: warning: old-style function definition [-Wold-style-definition] 1082 | Symbol db_string(db, sym, localp) /* */ | ^~~~~~~~~ database.c: In function ‘db_count’: database.c:1125:7: warning: old-style function definition [-Wold-style-definition] 1125 | int * db_count(db,lp) /* */ | ^~~~~~~~ database.c: In function ‘db_xref_undelete’: database.c:1217:6: warning: old-style function definition [-Wold-style-definition] 1217 | void db_xref_undelete(db) /* */ | ^~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Iinclude -c -c key.c -o key.o key.c: In function ‘push_word’: key.c:147:13: warning: old-style function definition [-Wold-style-definition] 147 | static void push_word(word) /* */ | ^~~~~~~~~ key.c: In function ‘Push_Word’: key.c:160:13: warning: old-style function definition [-Wold-style-definition] 160 | static void Push_Word(s) /* */ | ^~~~~~~~~ key.c: In function ‘set_separator’: key.c:228:6: warning: old-style function definition [-Wold-style-definition] 228 | void set_separator(n, s) /* */ | ^~~~~~~~~~~~~ key.c: In function ‘get_separator’: key.c:278:8: warning: old-style function definition [-Wold-style-definition] 278 | Symbol get_separator(n) /* */ | ^~~~~~~~~~~~~ key.c: In function ‘set_base’: key.c:328:6: warning: old-style function definition [-Wold-style-definition] 328 | void set_base(value) /* */ | ^~~~~~~~ key.c: In function ‘itostr’: key.c:376:15: warning: old-style function definition [-Wold-style-definition] 376 | static char * itostr(i,digits) /* */ | ^~~~~~ key.c: In function ‘deTeX’: key.c:497:12: warning: old-style function definition [-Wold-style-definition] 497 | static int deTeX(line,save_fct,flags) /* */ | ^~~~~ key.c: In function ‘push_s’: key.c:608:13: warning: old-style function definition [-Wold-style-definition] 608 | static void push_s(sb,s,max,trans) /* */ | ^~~~~~ key.c: In function ‘add_ignored_word’: key.c:645:6: warning: old-style function definition [-Wold-style-definition] 645 | void add_ignored_word(word) /* */ | ^~~~~~~~~~~~~~~~ key.c: In function ‘foreach_ignored_word’: key.c:682:6: warning: old-style function definition [-Wold-style-definition] 682 | bool foreach_ignored_word(fct) /* */ | ^~~~~~~~~~~~~~~~~~~~ key.c: In function ‘fmt_title’: key.c:709:13: warning: old-style function definition [-Wold-style-definition] 709 | static void fmt_title(sb, line, len, in, trans, ignore, sep)/* */ | ^~~~~~~~~ key.c: In function ‘fmt_c_words’: key.c:769:13: warning: old-style function definition [-Wold-style-definition] 769 | static bool fmt_c_words(line, min, max, not, ignore)/* */ | ^~~~~~~~~~~ key.c: In function ‘def_format_type’: key.c:812:6: warning: old-style function definition [-Wold-style-definition] 812 | void def_format_type(s) /* */ | ^~~~~~~~~~~~~~~ key.c: In function ‘fmt_names’: key.c:856:13: warning: old-style function definition [-Wold-style-definition] 856 | static void fmt_names(sb,line,maxname,post,trans) /* */ | ^~~~~~~~~ key.c: In function ‘fmt_c_names’: key.c:916:13: warning: old-style function definition [-Wold-style-definition] 916 | static bool fmt_c_names(line,min,max,not) /* */ | ^~~~~~~~~~~ key.c: In function ‘fmt_digits’: key.c:963:13: warning: old-style function definition [-Wold-style-definition] 963 | static bool fmt_digits(sb,s,mp,pp,n,sel,trunc) /* */ | ^~~~~~~~~~ key.c: In function ‘fmt_string’: key.c:1022:13: warning: old-style function definition [-Wold-style-definition] 1022 | static void fmt_string(sb,s,n,trans,sep) /* */ | ^~~~~~~~~~ key.c: In function ‘fmt_c_string’: key.c:1056:13: warning: old-style function definition [-Wold-style-definition] 1056 | static bool fmt_c_string(s,min,max,not) /* */ | ^~~~~~~~~~~~ key.c: In function ‘mark_key’: key.c:1120:6: warning: old-style function definition [-Wold-style-definition] 1120 | bool mark_key(db,rec) /* */ | ^~~~~~~~ key.c: In function ‘make_key’: key.c:1142:6: warning: old-style function definition [-Wold-style-definition] 1142 | void make_key(db,rec) /* */ | ^~~~~~~~ key.c: In function ‘make_sort_key’: key.c:1238:6: warning: old-style function definition [-Wold-style-definition] 1238 | void make_sort_key(db,rec) /* */ | ^~~~~~~~~~~~~ key.c: In function ‘new_key_node’: key.c:1273:16: warning: old-style function definition [-Wold-style-definition] 1273 | static KeyNode new_key_node(type, sym) /* */ | ^~~~~~~~~~~~ key.c: In function ‘free_key_node’: key.c:1298:6: warning: old-style function definition [-Wold-style-definition] 1298 | void free_key_node(kn) /* */ | ^~~~~~~~~~~~~ key.c: In function ‘add_fmt_tree’: key.c:1320:13: warning: old-style function definition [-Wold-style-definition] 1320 | static bool add_fmt_tree(s, treep) /* */ | ^~~~~~~~~~~~ key.c: In function ‘add_format’: key.c:1413:6: warning: old-style function definition [-Wold-style-definition] 1413 | void add_format(s) /* */ | ^~~~~~~~~~ key.c: In function ‘add_sort_format’: key.c:1455:6: warning: old-style function definition [-Wold-style-definition] 1455 | void add_sort_format(s) /* */ | ^~~~~~~~~~~~~~~ key.c: In function ‘fmt_parse’: key.c:1476:12: warning: old-style function definition [-Wold-style-definition] 1476 | static int fmt_parse(sp,knp) /* */ | ^~~~~~~~~ key.c: In function ‘fmt__parse’: key.c:1508:12: warning: old-style function definition [-Wold-style-definition] 1508 | static int fmt__parse(sp,knp) /* */ | ^~~~~~~~~~ key.c: In function ‘eval_fmt’: key.c:1626:13: warning: old-style function definition [-Wold-style-definition] 1626 | static bool eval_fmt(sb,kn,rec,db) /* */ | ^~~~~~~~ key.c: In function ‘eval__fmt’: key.c:1652:13: warning: old-style function definition [-Wold-style-definition] 1652 | static bool eval__fmt(sb,kn,rec) /* */ | ^~~~~~~~~ key.c: In function ‘eval__special’: key.c:1888:13: warning: old-style function definition [-Wold-style-definition] 1888 | static void eval__special(sb,kn,rec) /* */ | ^~~~~~~~~~~~~ key.c: In function ‘apply_fmt’: key.c:1985:5: warning: old-style function definition [-Wold-style-definition] 1985 | int apply_fmt(sb,fmt,rec,db) /* */ | ^~~~~~~~~ key.c: In function ‘fmt_expand’: key.c:2023:8: warning: old-style function definition [-Wold-style-definition] 2023 | String fmt_expand(sb,cp,db,rec) /* */ | ^~~~~~~~~~ key.c:2074:20: warning: pointer targets in passing argument 1 of ‘new_string’ differ in signedness [-Wpointer-sign] 2074 | s = new_string(s); | ^ | | | String {aka unsigned char *} In file included from key.c:28: include/bibtool/symbols.h:235:33: note: expected ‘char *’ but argument is of type ‘String’ {aka ‘unsigned char *’} 235 | char * new_string _ARG((char * s)); /* symbols.c */ | ~~~~~~~^ include/bibtool/symbols.h:229:17: note: in definition of macro ‘_ARG’ 229 | #define _ARG(A) A | ^ key.c:2074:7: warning: pointer targets in assignment from ‘char *’ to ‘String’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 2074 | s = new_string(s); | ^ key.c: In function ‘get_field’: key.c:2277:8: warning: old-style function definition [-Wold-style-definition] 2277 | Symbol get_field(db,rec,name) /* */ | ^~~~~~~~~ key.c: In function ‘set_field’: key.c:2481:6: warning: old-style function definition [-Wold-style-definition] 2481 | bool set_field(db,rec,name,value) /* */ | ^~~~~~~~~ RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.CE5rQX (%build) Bad exit status from /var/tmp/rpm-tmp.CE5rQX (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 9ae06fd520d74c34bba4e474f8915570 -D /var/lib/mock/f42-build-56576626-6544435/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.41pq6lsy:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/BibTool.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 9ae06fd520d74c34bba4e474f8915570 -D /var/lib/mock/f42-build-56576626-6544435/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.41pq6lsy:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/BibTool.spec'