Cannot execute ./multiarch-x86_64-linux/libtool unknown rmdir: failed to remove '.libs': No such file or directory checking if C++ compiler supports const_cast<> (required)... yes checking if C++ compiler supports dynamic_cast<> (required)... yes checking if C++ compiler supports mutable (required)... yes checking if C++ compiler supports name spaces (required)... yes checking whether byte ordering is bigendian... no checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking gsasl.h usability... yes checking gsasl.h presence... yes checking for gsasl.h... yes checking for gsasl_check_version in -lgsasl... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBGNUTLS... yes checking for gnutls_priority_set_direct... yes checking for sendmail... /usr/sbin/sendmail checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking for sys/types.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for getaddrinfo... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc checking whether cc accepts -O2... yes checking whether cc accepts -ansi... yes checking whether cc accepts -pedantic... yes checking whether cc accepts -W... yes checking whether cc accepts -Wall... yes checking whether cc accepts -Wpointer-arith... yes checking whether cc accepts -Wold-style-cast... yes checking whether cc accepts -Wconversion... yes configure: creating ./config.status config.status: creating vmime.pc config.status: creating Makefile config.status: creating src/Makefile config.status: creating vmime/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands +=================+ | CONFIGURATION | +=================+ Installation prefix : /usr Debugging mode : no Messaging support : yes * protocols : pop3 smtp imap maildir sendmail File-system support : yes Platform handlers : posix SASL support : yes TLS/SSL support : yes Please check 'vmime/config.hpp' to ensure the configuration is correct. + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j8 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libvmime-0.9.2/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -D_REENTRANT=1 -D_THREAD_SAFE=1 -I/usr/include/p11-kit-1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion -O2 -c -o bodyPart.lo bodyPart.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -D_REENTRANT=1 -D_THREAD_SAFE=1 -I/usr/include/p11-kit-1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion -O2 -c bodyPart.cpp -fPIC -DPIC -o .libs/bodyPart.o In file included from ../vmime/bodyPart.hpp:28:0, from bodyPart.cpp:24: ../vmime/base.hpp: In function 'vmime::utility::ref vmime::dynamicCast(vmime::utility::ref)': ../vmime/base.hpp:255:26: error: expected primary-expression before '>' token return y.dynamicCast (); ^ ../vmime/base.hpp:255:28: error: expected primary-expression before ')' token return y.dynamicCast (); ^ make[2]: *** [Makefile:626: bodyPart.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libvmime-0.9.2/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libvmime-0.9.2/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -D_REENTRANT=1 -D_THREAD_SAFE=1 -I/usr/include/p11-kit-1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion -O2 -c -o address.lo address.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -D_REENTRANT=1 -D_THREAD_SAFE=1 -I/usr/include/p11-kit-1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion -O2 -c address.cpp -fPIC -DPIC -o .libs/address.o In file included from ../vmime/address.hpp:28:0, from address.cpp:24: ../vmime/base.hpp: In function 'vmime::utility::ref vmime::dynamicCast(vmime::utility::ref)': ../vmime/base.hpp:255:26: error: expected primary-expression before '>' token return y.dynamicCast (); ^ ../vmime/base.hpp:255:28: error: expected primary-expression before ')' token return y.dynamicCast (); ^ make[2]: *** [Makefile:626: address.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libvmime-0.9.2/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libvmime-0.9.2/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -D_REENTRANT=1 -D_THREAD_SAFE=1 -I/usr/include/p11-kit-1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion -O2 -c -o body.lo body.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -D_REENTRANT=1 -D_THREAD_SAFE=1 -I/usr/include/p11-kit-1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion -O2 -c body.cpp -fPIC -DPIC -o .libs/body.o In file included from ../vmime/bodyPart.hpp:28:0, from body.cpp:24: ../vmime/base.hpp: In function 'vmime::utility::ref vmime::dynamicCast(vmime::utility::ref)': ../vmime/base.hpp:255:26: error: expected primary-expression before '>' token return y.dynamicCast (); ^ ../vmime/base.hpp:255:28: error: expected primary-expression before ')' token return y.dynamicCast (); ^ body.cpp: In member function 'int vmime::body::getPartCount() const': body.cpp:821:22: warning: conversion to 'int' from 'std::vector >::size_type {aka long unsigned int}' may alter its value [-Wconversion] return (m_parts.size()); ~~~~~~~~~~~~~^~~ make[2]: *** [Makefile:626: body.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libvmime-0.9.2/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libvmime-0.9.2/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -D_REENTRANT=1 -D_THREAD_SAFE=1 -I/usr/include/p11-kit-1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion -O2 -c -o addressList.lo addressList.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -D_REENTRANT=1 -D_THREAD_SAFE=1 -I/usr/include/p11-kit-1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion -O2 -c addressList.cpp -fPIC -DPIC -o .libs/addressList.o In file included from ../vmime/addressList.hpp:28:0, from addressList.cpp:24: ../vmime/base.hpp: In function 'vmime::utility::ref vmime::dynamicCast(vmime::utility::ref)': ../vmime/base.hpp:255:26: error: expected primary-expression before '>' token return y.dynamicCast (); ^ ../vmime/base.hpp:255:28: error: expected primary-expression before ')' token return y.dynamicCast (); ^ addressList.cpp: In member function 'int vmime::addressList::getAddressCount() const': addressList.cpp:207:21: warning: conversion to 'int' from 'std::vector >::size_type {aka long unsigned int}' may alter its value [-Wconversion] return (m_list.size()); ~~~~~~~~~~~~^~~ make[2]: *** [Makefile:626: addressList.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libvmime-0.9.2/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libvmime-0.9.2/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -D_REENTRANT=1 -D_THREAD_SAFE=1 -I/usr/include/p11-kit-1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion -O2 -c -o bodyPartAttachment.lo bodyPartAttachment.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -D_REENTRANT=1 -D_THREAD_SAFE=1 -I/usr/include/p11-kit-1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion -O2 -c bodyPartAttachment.cpp -fPIC -DPIC -o .libs/bodyPartAttachment.o In file included from ../vmime/attachment.hpp:28:0, from ../vmime/bodyPartAttachment.hpp:31, from bodyPartAttachment.cpp:24: ../vmime/base.hpp: In function 'vmime::utility::ref vmime::dynamicCast(vmime::utility::ref)': ../vmime/base.hpp:255:26: error: expected primary-expression before '>' token return y.dynamicCast (); ^ ../vmime/base.hpp:255:28: error: expected primary-expression before ')' token return y.dynamicCast (); ^ make[2]: *** [Makefile:626: bodyPartAttachment.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libvmime-0.9.2/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libvmime-0.9.2/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -D_REENTRANT=1 -D_THREAD_SAFE=1 -I/usr/include/p11-kit-1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion -O2 -c -o attachmentHelper.lo attachmentHelper.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -D_REENTRANT=1 -D_THREAD_SAFE=1 -I/usr/include/p11-kit-1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion -O2 -c attachmentHelper.cpp -fPIC -DPIC -o .libs/attachmentHelper.o In file included from ../vmime/attachment.hpp:28:0, from ../vmime/attachmentHelper.hpp:30, from attachmentHelper.cpp:24: ../vmime/base.hpp: In function 'vmime::utility::ref vmime::dynamicCast(vmime::utility::ref)': ../vmime/base.hpp:255:26: error: expected primary-expression before '>' token return y.dynamicCast (); ^ ../vmime/base.hpp:255:28: error: expected primary-expression before ')' token return y.dynamicCast (); ^ make[2]: *** [Makefile:626: attachmentHelper.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libvmime-0.9.2/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libvmime-0.9.2/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -D_REENTRANT=1 -D_THREAD_SAFE=1 -I/usr/include/p11-kit-1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion -O2 -c -o charset.lo charset.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -D_REENTRANT=1 -D_THREAD_SAFE=1 -I/usr/include/p11-kit-1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion -O2 -c charset.cpp -fPIC -DPIC -o .libs/charset.o In file included from ../vmime/charset.hpp:28:0, from charset.cpp:24: ../vmime/base.hpp: In function 'vmime::utility::ref vmime::dynamicCast(vmime::utility::ref)': ../vmime/base.hpp:255:26: error: expected primary-expression before '>' token return y.dynamicCast (); ^ ../vmime/base.hpp:255:28: error: expected primary-expression before ')' token return y.dynamicCast (); ^ make[2]: *** [Makefile:626: charset.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libvmime-0.9.2/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libvmime-0.9.2/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -D_REENTRANT=1 -D_THREAD_SAFE=1 -I/usr/include/p11-kit-1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion -O2 -c -o base.lo base.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -D_REENTRANT=1 -D_THREAD_SAFE=1 -I/usr/include/p11-kit-1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion -O2 -c base.cpp -fPIC -DPIC -o .libs/base.o In file included from ../vmime/charset.hpp:28:0, from base.cpp:26: ../vmime/base.hpp: In function 'vmime::utility::ref vmime::dynamicCast(vmime::utility::ref)': ../vmime/base.hpp:255:26: error: expected primary-expression before '>' token return y.dynamicCast (); ^ ../vmime/base.hpp:255:28: error: expected primary-expression before ')' token return y.dynamicCast (); ^ make[2]: *** [Makefile:626: base.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libvmime-0.9.2/src' make[1]: *** [Makefile:376: all-recursive] Error 1 make: *** [Makefile:263: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.opWxLa (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.opWxLa (%build) I: [iurt_root_command] ERROR: chroot