D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/thrift-0.9.3-6.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.f5MPJR + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf thrift-0.9.3 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/thrift-0.9.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd thrift-0.9.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (fb303-0.9.1-buildxml.patch):' Patch #0 (fb303-0.9.1-buildxml.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file contrib/fb303/java/build.xml + echo 'Patch #1 (thrift-0.9.3-no_SSLv3_method.diff):' Patch #1 (thrift-0.9.3-no_SSLv3_method.diff): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file lib/cpp/src/thrift/transport/TSSLSocket.cpp + sed -i -e 's/^AC_PROG_LIBTOOL/LT_INIT/g' configure.ac + find . -name '*.cpp' -or -name '*.cc' -or -name '*.h' + xargs -r chmod 644 + cp -p /home/pterjan/rpmbuild/SOURCES/bootstrap.sh bootstrap.sh + cp -p /home/pterjan/rpmbuild/SOURCES/cleanup.sh cleanup.sh + echo 'libthrift_c_glib_la_LIBADD = $(GLIB_LIBS) $(GOBJECT_LIBS) -L../cpp/.libs ' + echo 'libthriftz_la_LIBADD = $(ZLIB_LIBS) -lthrift -L.libs' + echo 'EXTRA_libthriftz_la_DEPENDENCIES = libthrift.la' + sed -i 's|libfb303_so_LDFLAGS = $(SHARED_LDFLAGS)|libfb303_so_LDFLAGS = $(SHARED_LDFLAGS) -lthrift -L../../../lib/cpp/.libs -Wl,--as-needed|g' contrib/fb303/cpp/Makefile.am + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Zb9jsv + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd thrift-0.9.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export PY_PREFIX=/usr + PY_PREFIX=/usr + export PERL_PREFIX=/usr + PERL_PREFIX=/usr + export JAVA_PREFIX=/usr/share/java + JAVA_PREFIX=/usr/share/java + export RUBY_PREFIX=/usr + RUBY_PREFIX=/usr ++ pkg-config --libs glib-2.0 + export 'GLIB_LIBS=-lglib-2.0 ' + GLIB_LIBS='-lglib-2.0 ' ++ pkg-config --cflags glib-2.0 + export 'GLIB_CFLAGS=-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include ' + GLIB_CFLAGS='-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include ' ++ pkg-config --libs gobject-2.0 + export 'GOBJECT_LIBS=-lgobject-2.0 -lglib-2.0 ' + GOBJECT_LIBS='-lgobject-2.0 -lglib-2.0 ' ++ pkg-config --cflags gobject-2.0 + export 'GOBJECT_CFLAGS=-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include ' + GOBJECT_CFLAGS='-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include ' + find /home/pterjan/rpmbuild/BUILD -name rebar -exec rm -f '{}' ';' + find . -name 'Makefile*' -exec sed -i -e 's/[.][/]rebar/rebar/g' '{}' ';' + sed -i 's|-Dinstall.javadoc.path=$(DESTDIR)$(docdir)/java|-Dinstall.javadoc.path=$(DESTDIR)/usr/share/javadoc/thrift|' lib/java/Makefile.am lib/java/Makefile.in + sed -i 's|${thrift.artifactid}-${version}|${thrift.artifactid}|' lib/java/build.xml + sed -i 's|$(INSTALL) $$p|$(INSTALL) --mode 644 $$p|g' lib/erl/Makefile.am + sed -i 's|$(thrift_home)/bin/thrift|../../../compiler/cpp/thrift|g' contrib/fb303/cpp/Makefile.am contrib/fb303/py/Makefile.am + sed -i 's|$(prefix)/lib$|/usr/lib64|g' contrib/fb303/cpp/Makefile.am + sed -i 's|$(thrift_home)/include/thrift|../../../lib/cpp/src|g' contrib/fb303/cpp/Makefile.am + sh ./bootstrap.sh configure.ac:90: installing './config.guess' configure.ac:90: installing './config.sub' configure.ac:27: installing './install-sh' configure.ac:27: installing './missing' compiler/cpp/Makefile.am: installing './depcomp' configure.ac: installing './ylwrap' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /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 Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure --build=x86_64-mageia-linux-gnu --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 --x-includes=/usr/include --x-libraries=/usr/lib64 --disable-dependency-tracking --disable-static --without-libevent --with-boost=/usr --without-ruby --without-erlang --without-go --docdir=/usr/share/doc/thrift --with-qt4=no --with-qt5=no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '500' is supported by ustar format... yes checking whether GID '1001' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for 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 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 for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no 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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether make sets $(MAKE)... (cached) yes checking for bison... yes checking for bison version >= 2.5... yes checking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking whether ln -s works... yes checking for gawk... (cached) gawk checking for ranlib... (cached) ranlib checking whether g++ supports C++11 features by default... yes checking for boostlib >= 1.53.0... yes checking for pkg-config... /usr/bin/pkg-config checking whether compiling and linking against OpenSSL works... yes checking for zlib >= 1.2.3... yes checking for GLIB... yes checking for GOBJECT... yes checking for MONO... yes checking for mcs... /usr/bin/mcs checking for MONO... yes checking for MONO... yes checking for javac and java... yes checking for ant... /usr/bin/ant checking for ant version > 1.7... no checking for nodejs... no checking for node... no checking for npm... no checking for a Lua interpreter with version >= 5.2... lua checking for lua... /usr/bin/lua checking for lua version... 5.2 checking for lua platform... unknown checking for lua script directory... ${prefix}/share/lua/5.2 checking for lua module directory... ${exec_prefix}/lib/lua/5.2 checking if LUA_VERSION is defined... yes checking lua.h usability... no checking lua.h presence... no checking for lua.h... no checking lualib.h usability... no checking lualib.h presence... no checking for lualib.h... no checking lauxlib.h usability... no checking lauxlib.h presence... no checking for lauxlib.h... no checking luaconf.h usability... no checking luaconf.h presence... no checking for luaconf.h... no checking if LUA_VERSION is defined... yes checking for library containing exp... none required checking for library containing dlopen... -ldl checking for library containing lua_load... no checking for trial... no checking for a Python interpreter with version >= 2.4... python checking for python... /usr/bin/python checking for python version... 2.7 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.7/site-packages checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages checking for perl... /usr/bin/perl checking for perl module Bit::Vector... ok checking for perl module Class::Accessor... ok checking for php... no checking for phpunit... no checking for cabal... no checking for runhaskell... no checking for haxe... no checking for DMD... no checking for library containing strerror... none required checking for an ANSI C-conforming const... yes checking for inline... inline checking for working volatile... yes checking for stdbool.h that conforms to C99... no checking for _Bool... no checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking return type of signal handlers... void checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for unistd.h... (cached) yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/rand.h usability... yes checking openssl/rand.h presence... yes checking for openssl/rand.h... yes checking openssl/x509v3.h usability... yes checking openssl/x509v3.h presence... yes checking for openssl/x509v3.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for pthread_create in -lpthread... yes checking for clock_gettime in -lrt... yes checking for setsockopt in -lsocket... no checking for BN_init in -lcrypto... no configure: error: "Error: libcrypto required." error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Zb9jsv (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Zb9jsv (%build) I: [iurt_root_command] ERROR: chroot