D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/linuxdoc-tools-0.9.82-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.iFKbqQ Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.uQLil6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/linuxdoc-tools-0.9.82-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/linuxdoc-tools-0.9.82-build + rm -rf linuxdoc-tools-0.9.82 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/linuxdoc-tools-0.9.82.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd linuxdoc-tools-0.9.82 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0002-downstream-Added-fix-to-have-lib64-in-perl-path-on-6.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/linuxdoc-tools-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/linuxdoc-tools-c89.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YkvOhU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/linuxdoc-tools-0.9.82-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd linuxdoc-tools-0.9.82 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: subdirectory sp not present autoreconf: configure.ac: adding subdirectory entity-map to autoreconf autoreconf: Entering directory 'entity-map' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.ac:38: warning: AC_OUTPUT should be used without arguments. configure.ac:38: You should run autoupdate. configure.ac:39: warning: AC_OUTPUT should be used without arguments. configure.ac:39: You should run autoupdate. autoreconf: configure.ac: not using Autoheader autoreconf: configure.ac: not using Automake autoreconf: 'config/install-sh' is updated autoreconf: Leaving directory 'entity-map' autoreconf: configure.ac: adding subdirectory iso-entities to autoreconf autoreconf: Entering directory 'iso-entities' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.ac:37: warning: AC_OUTPUT should be used without arguments. configure.ac:37: You should run autoupdate. autoreconf: configure.ac: not using Autoheader autoreconf: configure.ac: not using Automake autoreconf: Leaving directory 'iso-entities' autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.ac:169: warning: AC_OUTPUT should be used without arguments. configure.ac:169: You should run autoupdate. autoreconf: configure.ac: not using Autoheader autoreconf: configure.ac: not using Automake autoreconf: './install-sh' is created autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/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/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --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 --with-installed-nsgmls --with-installed-iso-entities --disable-docs checking for a BSD-compatible install... /usr/bin/install -c checking for perl... /usr/bin/perl checking for groff... /usr/bin/groff checking whether /usr/bin/groff accepts -mgs... no checking for nsgmls... /usr/bin/nsgmls checking for sgmlsasp... no checking for awk... /usr/bin/awk configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting === configuring in entity-map (/home/pterjan/rpmbuild/BUILD/linuxdoc-tools-0.9.82-build/linuxdoc-tools-0.9.82/entity-map) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--host=x86_64-mageia-linux-gnu' '--build=x86_64-mageia-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--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' '--with-installed-nsgmls' '--with-installed-iso-entities' '--disable-docs' 'build_alias=x86_64-mageia-linux-gnu' 'host_alias=x86_64-mageia-linux-gnu' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking whether ln -s works... yes checking for sed... sed checking for perl5... /usr/bin/perl5 configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating sdata/Makefile Configuring sgmls-1.1 Generating config.h from unix.cfg. If this fails, copy unix.cfg to config.h and then edit config.h. This may take a minute or two... chmod +x configure CC="gcc" CFLAGS="-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full" LIBS="" PREFIX=".." \ ./configure + cd entity-map + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.ac:38: warning: AC_OUTPUT should be used without arguments. configure.ac:38: You should run autoupdate. configure.ac:39: warning: AC_OUTPUT should be used without arguments. configure.ac:39: You should run autoupdate. autoreconf: configure.ac: not using Autoheader autoreconf: configure.ac: not using Automake autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/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/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --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 --enable-docs pdf configure: WARNING: you should use --build, --host, --target configure: WARNING: unrecognized options: --disable-dependency-tracking, --enable-docs checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking whether ln -s works... yes checking for sed... sed checking for perl5... /usr/bin/perl5 configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting configure: WARNING: unrecognized options: --disable-dependency-tracking, --enable-docs configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating sdata/Makefile configure: WARNING: unrecognized options: --disable-dependency-tracking, --enable-docs + /usr/bin/make -O -j16 V=1 VERBOSE=1 Compiling the SGML translator tools (in sgmls-1.1/)... ( cd sgmls-1.1 ; \ /usr/bin/make CFLAGS="-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full" LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld" sgmlsasp ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/linuxdoc-tools-0.9.82-build/linuxdoc-tools-0.9.82/sgmls-1.1' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o strerror.o strerror.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/linuxdoc-tools-0.9.82-build/linuxdoc-tools-0.9.82/sgmls-1.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/linuxdoc-tools-0.9.82-build/linuxdoc-tools-0.9.82/sgmls-1.1' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o getopt.o getopt.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/linuxdoc-tools-0.9.82-build/linuxdoc-tools-0.9.82/sgmls-1.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/linuxdoc-tools-0.9.82-build/linuxdoc-tools-0.9.82/sgmls-1.1' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sgmlsasp.o sgmlsasp.c sgmlsasp.c: In function 'main': sgmlsasp.c:31:5: warning: old-style function definition [-Wold-style-definition] 31 | int main(argc, argv) | ^~~~ sgmlsasp.c:40:17: error: too many arguments to function 'getopt'; expected 0, have 3 40 | while ((opt = getopt(argc, argv, "n")) != EOF) | ^~~~~~ ~~~~ In file included from sgmlsasp.c:9: getopt.h:7:12: note: declared here 7 | extern int getopt(); | ^~~~~~ sgmlsasp.c: In function 'input_error': sgmlsasp.c:68:6: warning: old-style function definition [-Wold-style-definition] 68 | void input_error(num, str, lineno) | ^~~~~~~~~~~ sgmlsasp.c: In function 'do_file': sgmlsasp.c:77:6: warning: old-style function definition [-Wold-style-definition] 77 | void do_file(fp, tablep) | ^~~~~~~ sgmlsasp.c: In function 'output_data': sgmlsasp.c:121:6: warning: old-style function definition [-Wold-style-definition] 121 | void output_data(v, n) | ^~~~~~~~~~~ sgmlsasp.c: In function 'output_pi': sgmlsasp.c:136:6: warning: old-style function definition [-Wold-style-definition] 136 | void output_pi(s, len) | ^~~~~~~~~ sgmlsasp.c: In function 'output_replacement': sgmlsasp.c:145:6: warning: old-style function definition [-Wold-style-definition] 145 | void output_replacement(repl, attributes) | ^~~~~~~~~~~~~~~~~~ sgmlsasp.c: In function 'output_attribute': sgmlsasp.c:180:6: warning: old-style function definition [-Wold-style-definition] 180 | void output_attribute(p) | ^~~~~~~~~~~~~~~~ sgmlsasp.c: In function 'output_token': sgmlsasp.c:229:6: warning: old-style function definition [-Wold-style-definition] 229 | void output_token(s) | ^~~~~~~~~~~~ sgmlsasp.c: In function 'output_data_char': sgmlsasp.c:237:6: warning: old-style function definition [-Wold-style-definition] 237 | void output_data_char(c) | ^~~~~~~~~~~~~~~~ make[1]: *** [: sgmlsasp.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/linuxdoc-tools-0.9.82-build/linuxdoc-tools-0.9.82/sgmls-1.1' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/linuxdoc-tools-0.9.82-build/linuxdoc-tools-0.9.82/sgmls-1.1' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o replace.o replace.c replace.c: In function 'load_replacement_file': replace.c:77:6: warning: old-style function definition [-Wold-style-definition] 77 | void load_replacement_file(tablep, file) | ^~~~~~~~~~~~~~~~~~~~~ replace.c: In function 'parse_string': replace.c:128:27: warning: old-style function definition [-Wold-style-definition] 128 | struct replacement_item **parse_string(tail, recog_attr) | ^~~~~~~~~~~~ replace.c: In function 'add_replacement_data': replace.c:208:27: warning: old-style function definition [-Wold-style-definition] 208 | struct replacement_item **add_replacement_data(tail, buf, n) | ^~~~~~~~~~~~~~~~~~~~ replace.c: In function 'add_replacement_attr': replace.c:227:27: warning: old-style function definition [-Wold-style-definition] 227 | struct replacement_item **add_replacement_attr(tail, name) | ^~~~~~~~~~~~~~~~~~~~ replace.c: In function 'scan_name': replace.c:280:6: warning: old-style function definition [-Wold-style-definition] 280 | void scan_name(buf, term) | ^~~~~~~~~ replace.c: In function 'lookup_replacement': replace.c:320:21: warning: old-style function definition [-Wold-style-definition] 320 | struct replacement *lookup_replacement(tablep, type, name) | ^~~~~~~~~~~~~~~~~~ replace.c: In function 'define_replacement': replace.c:337:21: warning: old-style function definition [-Wold-style-definition] 337 | struct replacement *define_replacement(tablep, type, name) | ^~~~~~~~~~~~~~~~~~ replace.c: In function 'buffer_init': replace.c:359:6: warning: old-style function definition [-Wold-style-definition] 359 | VOID buffer_init(buf) | ^~~~~~~~~~~ replace.c: In function 'buffer_extract': replace.c:367:7: warning: old-style function definition [-Wold-style-definition] 367 | char *buffer_extract(buf) | ^~~~~~~~~~~~~~ replace.c: In function 'buffer_append': replace.c:391:6: warning: old-style function definition [-Wold-style-definition] 391 | VOID buffer_append(buf, c) | ^~~~~~~~~~~~~ replace.c: In function 'hash': replace.c:406:5: warning: old-style function definition [-Wold-style-definition] 406 | int hash(type, s) | ^~~~ replace.c: In function 'xmalloc': replace.c:425:6: warning: old-style function definition [-Wold-style-definition] 425 | UNIV xmalloc(n) | ^~~~~~~ replace.c: In function 'xrealloc': replace.c:435:6: warning: old-style function definition [-Wold-style-definition] 435 | UNIV xrealloc(p, size) | ^~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/linuxdoc-tools-0.9.82-build/linuxdoc-tools-0.9.82/sgmls-1.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/linuxdoc-tools-0.9.82-build/linuxdoc-tools-0.9.82/sgmls-1.1' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sgmls.o sgmls.c sgmls.c: In function 'sgmls_create': sgmls.c:154:15: warning: old-style function definition [-Wold-style-definition] 154 | struct sgmls *sgmls_create(fp) | ^~~~~~~~~~~~ sgmls.c: In function 'sgmls_free': sgmls.c:180:6: warning: old-style function definition [-Wold-style-definition] 180 | void sgmls_free(sp) | ^~~~~~~~~~ sgmls.c: In function 'sgmls_set_errhandler': sgmls.c:236:19: warning: old-style function definition [-Wold-style-definition] 236 | sgmls_errhandler *sgmls_set_errhandler(handler) | ^~~~~~~~~~~~~~~~~~~~ sgmls.c: In function 'sgmls_next': sgmls.c:245:5: warning: old-style function definition [-Wold-style-definition] 245 | int sgmls_next(sp, e) | ^~~~~~~~~~ sgmls.c: In function 'parse_data': sgmls.c:389:5: warning: old-style function definition [-Wold-style-definition] 389 | int parse_data(p, linenop) | ^~~~~~~~~~ sgmls.c: In function 'parse_location': sgmls.c:473:6: warning: old-style function definition [-Wold-style-definition] 473 | void parse_location(s, sp) | ^~~~~~~~~~~~~~ sgmls.c: In function 'parse_notation': sgmls.c:500:6: warning: old-style function definition [-Wold-style-definition] 500 | void parse_notation(s, n) | ^~~~~~~~~~~~~~ sgmls.c: In function 'parse_internal_entity': sgmls.c:508:6: warning: old-style function definition [-Wold-style-definition] 508 | void parse_internal_entity(s, e) | ^~~~~~~~~~~~~~~~~~~~~ sgmls.c: In function 'parse_external_entity': sgmls.c:532:6: warning: old-style function definition [-Wold-style-definition] 532 | void parse_external_entity(s, sp, e) | ^~~~~~~~~~~~~~~~~~~~~ sgmls.c: In function 'parse_subdoc_entity': sgmls.c:555:6: warning: old-style function definition [-Wold-style-definition] 555 | void parse_subdoc_entity(s, e) | ^~~~~~~~~~~~~~~~~~~ sgmls.c: In function 'parse_attribute': sgmls.c:564:14: warning: old-style function definition [-Wold-style-definition] 564 | attribute_s *parse_attribute(sp, s) | ^~~~~~~~~~~~~~~ sgmls.c: In function 'sgmls_free_attributes': sgmls.c:614:6: warning: old-style function definition [-Wold-style-definition] 614 | void sgmls_free_attributes(p) | ^~~~~~~~~~~~~~~~~~~~~ sgmls.c: In function 'copy_data': sgmls.c:648:9: warning: old-style function definition [-Wold-style-definition] 648 | data_s *copy_data(v, n) | ^~~~~~~~~ sgmls.c: In function 'unescape': sgmls.c:682:7: warning: old-style function definition [-Wold-style-definition] 682 | char *unescape(s) | ^~~~~~~~ sgmls.c: In function 'unescape_file': sgmls.c:695:7: warning: old-style function definition [-Wold-style-definition] 695 | char *unescape_file(s) | ^~~~~~~~~~~~~ sgmls.c: In function 'unescape1': sgmls.c:709:5: warning: old-style function definition [-Wold-style-definition] 709 | int unescape1(s) | ^~~~~~~~~ sgmls.c: In function 'scan_token': sgmls.c:760:7: warning: old-style function definition [-Wold-style-definition] 760 | char *scan_token(pp) | ^~~~~~~~~~ sgmls.c: In function 'count_args': sgmls.c:778:5: warning: old-style function definition [-Wold-style-definition] 778 | int count_args(p) | ^~~~~~~~~~ sgmls.c: In function 'read_line': sgmls.c:797:5: warning: old-style function definition [-Wold-style-definition] 797 | int read_line(sp) | ^~~~~~~~~ sgmls.c: In function 'lookup_notation': sgmls.c:850:13: warning: old-style function definition [-Wold-style-definition] 850 | notation_s *lookup_notation(sp, name) | ^~~~~~~~~~~~~~~ sgmls.c: In function 'lookup_entity': sgmls.c:863:11: warning: old-style function definition [-Wold-style-definition] 863 | entity_s *lookup_entity(sp, name) | ^~~~~~~~~~~~~ sgmls.c: In function 'lookup_external_entity': sgmls.c:876:20: warning: old-style function definition [-Wold-style-definition] 876 | external_entity_s *lookup_external_entity(sp, name) | ^~~~~~~~~~~~~~~~~~~~~~ sgmls.c: In function 'define_external_entity': sgmls.c:887:6: warning: old-style function definition [-Wold-style-definition] 887 | void define_external_entity(sp, e) | ^~~~~~~~~~~~~~~~~~~~~~ sgmls.c: In function 'define_internal_entity': sgmls.c:910:6: warning: old-style function definition [-Wold-style-definition] 910 | void define_internal_entity(sp, e) | ^~~~~~~~~~~~~~~~~~~~~~ sgmls.c: In function 'define_notation': sgmls.c:924:6: warning: old-style function definition [-Wold-style-definition] 924 | void define_notation(sp, np) | ^~~~~~~~~~~~~~~ sgmls.c: In function 'list_find': sgmls.c:941:14: warning: old-style function definition [-Wold-style-definition] 941 | struct list *list_find(p, name, level) | ^~~~~~~~~ sgmls.c: In function 'list_finish_level': sgmls.c:956:6: warning: old-style function definition [-Wold-style-definition] 956 | void list_finish_level(listp, level) | ^~~~~~~~~~~~~~~~~ sgmls.c: In function 'add_attribute': sgmls.c:973:6: warning: old-style function definition [-Wold-style-definition] 973 | void add_attribute(pp, a) | ^~~~~~~~~~~~~ sgmls.c: In function 'strsave': sgmls.c:984:7: warning: old-style function definition [-Wold-style-definition] 984 | char *strsave(s) | ^~~~~~~ sgmls.c: In function 'xmalloc': sgmls.c:997:6: warning: old-style function definition [-Wold-style-definition] 997 | UNIV xmalloc(n) | ^~~~~~~ sgmls.c: In function 'xrealloc': sgmls.c:1010:6: warning: old-style function definition [-Wold-style-definition] 1010 | UNIV xrealloc(p, n) | ^~~~~~~~ sgmls.c: In function 'error': sgmls.c:1021:6: warning: old-style function definition [-Wold-style-definition] 1021 | void error(num) | ^~~~~ sgmls.c: In function 'default_errhandler': sgmls.c:1029:6: warning: old-style function definition [-Wold-style-definition] 1029 | void default_errhandler(num, msg, lineno) | ^~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/linuxdoc-tools-0.9.82-build/linuxdoc-tools-0.9.82/sgmls-1.1' make: *** [Makefile:52: build] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.YkvOhU (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.YkvOhU (%build) I: [iurt_root_command] ERROR: chroot