D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/tnef-1.4.18-4.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2HSyBu
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.yLcgMT
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build
+ rm -rf tnef-1.4.18
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/tnef-1.4.18.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd tnef-1.4.18
+ /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.hebaQ1
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/tnef-1.4.18-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-all -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-all -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-all -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-all -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 tnef-1.4.18
+ '[' 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: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /usr/bin/autoconf --force
configure.ac:5: warning: The macro 'AC_CONFIG_HEADER' is obsolete.
configure.ac:5: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:5: the top level
configure.ac:22: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.ac:22: You should run autoupdate.
./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.ac:22: the top level
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:40: installing './config.guess'
configure.ac:40: installing './config.sub'
autoreconf: Leaving directory '.'
+ export '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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ 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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export '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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ 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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export 'RPM_OPT_FLAGS=-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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ RPM_OPT_FLAGS='-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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ 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-all -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-all -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-all -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-all -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
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/mageia/config.guess ']'
++ basename ./config.guess
+ cp -af /usr/lib/rpm/mageia/config.guess ./config.guess
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/mageia/config.sub ']'
++ basename ./config.sub
+ cp -af /usr/lib/rpm/mageia/config.sub ./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
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking for gawk... (cached) gawk
checking for x86_64-mageia-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... none
checking whether ln -s works... yes
checking for x86_64-mageia-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for x86_64-mageia-linux-gnu-ar... no
checking for ar... ar
checking for gettext in -lintl... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for libintl.h... yes
checking for gcc options needed to detect all undeclared functions... none needed
checking whether basename is declared... no
checking for size_t... yes
checking whether stat file-mode macros are broken... no
checking for an ANSI C-conforming const... yes
checking size of int... 4
checking for strdup... yes
checking for getopt_long... yes
checking for basename... yes
checking for strrchr... yes
checking for memmove... yes
checking for memset... yes
checking for strtoul... yes
checking for vprintf... yes
checking build system type... x86_64-mageia-linux-gnu
checking host system type... x86_64-mageia-linux-gnu
checking for GNU libc compatible malloc... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating BUGS
config.status: creating tnef.spec
config.status: creating doc/Makefile
config.status: creating doc/tnef.1
config.status: creating doc/www/Makefile
config.status: creating doc/www/cgi-bin/Makefile
config.status: creating doc/www/htdocs/Makefile
config.status: creating src/Makefile
config.status: creating src/replace/Makefile
config.status: creating tests/Makefile
config.status: creating tests/cmdline/Makefile
config.status: creating tests/files/Makefile
config.status: creating tests/files/baselines/Makefile
config.status: creating tests/files/datafiles/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
+ /usr/bin/make -O -j16 V=1 VERBOSE=1
Making all in doc
Making all in www
Making all in cgi-bin
make[3]: Nothing to be done for 'all'.
Making all in htdocs
make[3]: Nothing to be done for 'all'.
make[3]: Nothing to be done for 'all-am'.
make[2]: Nothing to be done for 'all-am'.
Making all in src
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
/bin/sh -c 'TAG=tnef_name gawk -f ./mkdata.awk \
		./tnef-names.data'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
/bin/sh -c 'TAG=tnef_name gawk -f ./mkdata.awk \
		./tnef-names.data'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
/bin/sh -c 'TAG=tnef_type gawk -f ./mkdata.awk \
		./tnef-types.data'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
/bin/sh -c 'TAG=mapi_type gawk -f ./mkdata.awk \
		./mapi-types.data'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
/bin/sh -c 'TAG=tnef_type gawk -f ./mkdata.awk \
		./tnef-types.data'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
/bin/sh -c 'TAG=mapi_type gawk -f ./mkdata.awk \
		./mapi-types.data'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
/bin/sh -c 'TAG=mapi_name gawk -f ./mkdata.awk \
		./mapi-names.data'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
/bin/sh -c 'TAG=mapi_name gawk -f ./mkdata.awk \
		./mapi-names.data'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
/usr/bin/make  all-recursive
Making all in replace
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src/replace'
gcc -DHAVE_CONFIG_H -I. -I../../src     -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o dummy.o dummy.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src/replace'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src/replace'
rm -f libreplace.a
ar cr libreplace.a dummy.o 
ranlib libreplace.a
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src/replace'
Making all in .
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
gcc -DHAVE_CONFIG_H -I.     -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o tnef_types.o tnef_types.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
gcc -DHAVE_CONFIG_H -I.     -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mapi_types.o mapi_types.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
gcc -DHAVE_CONFIG_H -I.     -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o tnef_names.o tnef_names.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
gcc -DHAVE_CONFIG_H -I.     -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mapi_names.o mapi_names.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
gcc -DHAVE_CONFIG_H -I.     -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o options.o options.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
gcc -DHAVE_CONFIG_H -I.     -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o debug.o debug.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
gcc -DHAVE_CONFIG_H -I.     -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o attr.o attr.c
attr.c:242:1: error: conflicting types for 'attr_read'; have 'Attr *(FILE *)'
  242 | attr_read (FILE* in)
      | ^~~~~~~~~
In file included from attr.c:29:
attr.h:72:14: note: previous declaration of 'attr_read' with type 'Attr *(void)'
   72 | extern Attr* attr_read ();
      |              ^~~~~~~~~
make[3]: *** [Makefile:489: attr.o] Error 1
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[3]: *** Waiting for unfinished jobs....
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
gcc -DHAVE_CONFIG_H -I.     -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o tnef.o tnef.c
tnef.c: In function 'read_object':
tnef.c:70:12: error: too many arguments to function 'attr_read'; expected 0, have 1
   70 |     attr = attr_read (in);
      |            ^~~~~~~~~  ~~
In file included from tnef.c:35:
attr.h:72:14: note: declared here
   72 | extern Attr* attr_read ();
      |              ^~~~~~~~~
make[3]: *** [Makefile:489: tnef.o] Error 1
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
gcc -DHAVE_CONFIG_H -I.     -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o date.o date.c
date.c: In function 'date_to_str':
date.c:46:62: warning: '%02d' directive output may be truncated writing between 2 and 5 bytes into a region of size between 1 and 14 [-Wformat-truncation=]
   46 |     snprintf (buf, sizeof(buf), "%s %04d/%02d/%02d %02d:%02d:%02d",
      |                                                              ^~~~
date.c:46:33: note: directive argument in the range [0, 65535]
   46 |     snprintf (buf, sizeof(buf), "%s %04d/%02d/%02d %02d:%02d:%02d",
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
                 from common.h:30,
                 from date.c:26:
In function 'snprintf',
    inlined from 'date_to_str' at date.c:46:5:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 21 or more bytes (assuming 37) into a destination of size 32
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
gcc -DHAVE_CONFIG_H -I.     -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o xstrdup.o xstrdup.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
gcc -DHAVE_CONFIG_H -I.     -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o alloc.o alloc.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
gcc -DHAVE_CONFIG_H -I.     -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o util.o util.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
gcc -DHAVE_CONFIG_H -I.     -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o main.o main.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
gcc -DHAVE_CONFIG_H -I.     -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o write.o write.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
gcc -DHAVE_CONFIG_H -I.     -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o rtf.o rtf.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
gcc -DHAVE_CONFIG_H -I.     -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o file.o file.c
file.c: In function 'confirm_action':
file.c:50:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
   50 |         fgets (buf, BUFSIZ, stdin);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
gcc -DHAVE_CONFIG_H -I.     -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o path.o path.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
gcc -DHAVE_CONFIG_H -I.     -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mapi_attr.o mapi_attr.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tnef-1.4.18-build/tnef-1.4.18/src'
make[2]: *** [Makefile:505: all-recursive] Error 1
make[1]: *** [Makefile:362: all] Error 2
make: *** [Makefile:369: all-recursive] Error 1
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.hebaQ1 (%build)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.hebaQ1 (%build)
I: [iurt_root_command] ERROR: chroot