D: [iurt_root_command] chroot warning: line 3: It's not recommended to have unversioned Obsoletes: Obsoletes: linuxdoc-sgml Installing /home/pterjan/rpmbuild/SRPMS/linuxdoc-tools-0.9.82-2.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.CMLLmq + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/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 + rm -rf /home/pterjan/rpmbuild/BUILD/linuxdoc-tools-0.9.82-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/linuxdoc-tools-0.9.82-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.CP2Zx5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + 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=2 -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=2 -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=2 -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=2 -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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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' + 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/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=2 -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=2 -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=2 -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=2 -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=2 -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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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' + 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 -j8 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=2 -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" sgmlsasp ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/linuxdoc-tools-0.9.82/sgmls-1.1' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -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/sgmls-1.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/linuxdoc-tools-0.9.82/sgmls-1.1' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o getopt.o getopt.c In file included from getopt.c:12: std.h:95:14: error: conflicting types for 'fpos_t'; have 'long int' 95 | typedef long fpos_t; | ^~~~~~ In file included from std.h:8: /usr/include/stdio.h:85:18: note: previous declaration of 'fpos_t' with type 'fpos_t' 85 | typedef __fpos_t fpos_t; | ^~~~~~ getopt.c: In function 'getopt': getopt.c:30:8: error: argument 'argv' doesn't match prototype 30 | char **argv; | ^~~~ In file included from /usr/include/bits/getopt_posix.h:27, from /usr/include/unistd.h:903, from std.h:65: /usr/include/bits/getopt_core.h:91:12: error: prototype declaration 91 | extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) | ^~~~~~ getopt.c:31:7: error: argument 'opts' doesn't match prototype 31 | char *opts; | ^~~~ /usr/include/bits/getopt_core.h:91:12: error: prototype declaration 91 | extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) | ^~~~~~ make[1]: *** [: getopt.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/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/sgmls-1.1' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sgmlsasp.o sgmlsasp.c In file included from sgmlsasp.h:4, from sgmlsasp.c:6: std.h:95:14: error: conflicting types for 'fpos_t'; have 'long int' 95 | typedef long fpos_t; | ^~~~~~ In file included from std.h:8: /usr/include/stdio.h:85:18: note: previous declaration of 'fpos_t' with type 'fpos_t' 85 | typedef __fpos_t fpos_t; | ^~~~~~ make[1]: *** [: sgmlsasp.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/linuxdoc-tools-0.9.82/sgmls-1.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/linuxdoc-tools-0.9.82/sgmls-1.1' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o replace.o replace.c In file included from sgmlsasp.h:4, from replace.c:6: std.h:95:14: error: conflicting types for 'fpos_t'; have 'long int' 95 | typedef long fpos_t; | ^~~~~~ In file included from std.h:8: /usr/include/stdio.h:85:18: note: previous declaration of 'fpos_t' with type 'fpos_t' 85 | typedef __fpos_t fpos_t; | ^~~~~~ make[1]: *** [: replace.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/linuxdoc-tools-0.9.82/sgmls-1.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/linuxdoc-tools-0.9.82/sgmls-1.1' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sgmls.o sgmls.c In file included from sgmls.c:7: std.h:95:14: error: conflicting types for 'fpos_t'; have 'long int' 95 | typedef long fpos_t; | ^~~~~~ In file included from std.h:8: /usr/include/stdio.h:85:18: note: previous declaration of 'fpos_t' with type 'fpos_t' 85 | typedef __fpos_t fpos_t; | ^~~~~~ make[1]: *** [: sgmls.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/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.CP2Zx5 (%build) RPM build warnings: line 3: It's not recommended to have unversioned Obsoletes: Obsoletes: linuxdoc-sgml RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.CP2Zx5 (%build) I: [iurt_root_command] ERROR: chroot