Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/mysql++.spec'], nspawn_args=[]shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/community-SCLs_php74-armhfp-659ca27d0c8a832243bfd111ea2ab6a6d7f8e648/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/mysql++.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/mysql++-3.0.9-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u"/usr/bin/rpmbuild -bb --target armv7hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/mysql++.spec"], nspawn_args=[]shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/community-SCLs_php74-armhfp-659ca27d0c8a832243bfd111ea2ab6a6d7f8e648/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', u"/usr/bin/rpmbuild -bb --target armv7hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/mysql++.spec"] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VITD8Q + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mysql++-3.0.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/mysql++-3.0.9.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd mysql++-3.0.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + for file in CREDITS COPYING LICENSE + touch -r CREDITS.txt timestamp + /usr/bin/sed -i -e 's/\r//' CREDITS.txt + touch -r timestamp CREDITS.txt + for file in CREDITS COPYING LICENSE + touch -r COPYING.txt timestamp + /usr/bin/sed -i -e 's/\r//' COPYING.txt + touch -r timestamp COPYING.txt + for file in CREDITS COPYING LICENSE + touch -r LICENSE.txt timestamp + /usr/bin/sed -i -e 's/\r//' LICENSE.txt + touch -r timestamp LICENSE.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.loPdvb + umask 022 + cd /builddir/build/BUILD + cd mysql++-3.0.9 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-mysql-lib=/usr/lib/mysql --enable-thread-check --disable-dependency-tracking checking build system type... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking target system type... armv7hl-redhat-linux-gnu checking for armv7hl-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking whether we are using the Intel C compiler... no checking for armv7hl-redhat-linux-gnu-g++... no checking for armv7hl-redhat-linux-gnu-c++... no checking for armv7hl-redhat-linux-gnu-gpp... no checking for armv7hl-redhat-linux-gnu-aCC... no checking for armv7hl-redhat-linux-gnu-CC... no checking for armv7hl-redhat-linux-gnu-cxx... no checking for armv7hl-redhat-linux-gnu-cc++... no checking for armv7hl-redhat-linux-gnu-cl... no checking for armv7hl-redhat-linux-gnu-FCC... no checking for armv7hl-redhat-linux-gnu-KCC... no checking for armv7hl-redhat-linux-gnu-RCC... no checking for armv7hl-redhat-linux-gnu-xlC_r... no checking for armv7hl-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether we are using the Intel C++ compiler... no checking whether we are using the Sun C++ compiler... no checking for armv7hl-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for armv7hl-redhat-linux-gnu-ar... no checking for ar... ar checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking for armv7hl-redhat-linux-gnu-nm... no checking for nm... nm checking for command to install directories... /usr/bin/install -c -d checking if make is GNU make... yes checking for dependency tracking method... disabled checking for armv7hl-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... 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 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 synch.h usability... no checking synch.h presence... no checking for synch.h... no checking for unistd.h... (cached) yes checking whether -lm is needed to use C math functions... no checking whether -lsocket is needed... no checking whether -lnsl is needed... no checking for MySQL library directory... /usr/lib/mysql checking for MySQL include directory... /usr/include/mysql checking if we can link to MySQL C API library directly... yes checking for mysql_ssl_set in -lmysqlclient_r... yes checking for localtime_r()... yes checking for main in -lintl... no checking for armv7hl-redhat-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking for STL slist extension... , namespace __gnu_cxx configure: creating ./config.status config.status: creating doc/userman/userman.dbx config.status: creating install.hta config.status: creating lib/Doxyfile config.status: creating lib/mysql++.h config.status: creating mysql++.spec config.status: creating Makefile config.status: creating config.h + /usr/bin/make -j4 g++ -c -o mysqlpp_beemutex.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ./lib/beemutex.cpp g++ -c -o mysqlpp_connection.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ./lib/connection.cpp g++ -c -o mysqlpp_cpool.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ./lib/cpool.cpp g++ -c -o mysqlpp_datetime.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ./lib/datetime.cpp g++ -c -o mysqlpp_dbdriver.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ./lib/dbdriver.cpp g++ -c -o mysqlpp_field_names.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ./lib/field_names.cpp g++ -c -o mysqlpp_field_types.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ./lib/field_types.cpp g++ -c -o mysqlpp_manip.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ./lib/manip.cpp g++ -c -o mysqlpp_myset.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ./lib/myset.cpp g++ -c -o mysqlpp_mysql++.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ./lib/mysql++.cpp g++ -c -o mysqlpp_mystring.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ./lib/mystring.cpp g++ -c -o mysqlpp_null.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ./lib/null.cpp g++ -c -o mysqlpp_options.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ./lib/options.cpp g++ -c -o mysqlpp_qparms.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ./lib/qparms.cpp g++ -c -o mysqlpp_query.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ./lib/query.cpp g++ -c -o mysqlpp_result.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ./lib/result.cpp ./lib/query.cpp: In member function 'mysqlpp::StoreQueryResult mysqlpp::Query::store(const char*, size_t)': ./lib/query.cpp:510:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (copacetic_ = (conn_->errnum() == 0)) { ^ ./lib/query.cpp: In member function 'mysqlpp::UseQueryResult mysqlpp::Query::use(const char*, size_t)': ./lib/query.cpp:627:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (copacetic_ = (conn_->errnum() == 0)) { ^ g++ -c -o mysqlpp_row.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ./lib/row.cpp g++ -c -o mysqlpp_sql_buffer.o -I. -fPIC -DPIC -pthread -I/usr/include/mysql -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ./lib/sql_buffer.cpp In file included from ./lib/sql_buffer.h:31:0, from ./lib/sql_buffer.cpp:26: ./lib/refcounted.h:258:2: error: 'size_t' does not name a type size_t* refs_; ^ ./lib/refcounted.h: In constructor 'mysqlpp::RefCountedPointer::RefCountedPointer()': ./lib/refcounted.h:89:2: error: class 'mysqlpp::RefCountedPointer' does not have any field named 'refs_' refs_(0) ^ ./lib/refcounted.h: In constructor 'mysqlpp::RefCountedPointer::RefCountedPointer(T*)': ./lib/refcounted.h:100:2: error: class 'mysqlpp::RefCountedPointer' does not have any field named 'refs_' refs_(0) ^ ./lib/refcounted.h:104:4: error: 'refs_' was not declared in this scope refs_ = new size_t(1); ^ ./lib/refcounted.h:104:16: error: expected type-specifier before 'size_t' refs_ = new size_t(1); ^ ./lib/refcounted.h:104:16: error: expected ';' before 'size_t' ./lib/refcounted.h: In constructor 'mysqlpp::RefCountedPointer::RefCountedPointer(const ThisType&)': ./lib/refcounted.h:112:2: error: class 'mysqlpp::RefCountedPointer' does not have any field named 'refs_' refs_(other.counted_ ? other.refs_ : 0) ^ ./lib/refcounted.h:115:8: error: 'refs_' was not declared in this scope ++(*refs_); ^ ./lib/refcounted.h: In destructor 'mysqlpp::RefCountedPointer::~RefCountedPointer()': ./lib/refcounted.h:125:7: error: 'refs_' was not declared in this scope if (refs_ && (--(*refs_) == 0)) { ^ ./lib/refcounted.h: In member function 'void mysqlpp::RefCountedPointer::swap(mysqlpp::RefCountedPointer::ThisType&)': ./lib/refcounted.h:246:13: error: 'refs_' was not declared in this scope std::swap(refs_, other.refs_); ^ make: *** [mysqlpp_sql_buffer.o] Error 1 make: *** Waiting for unfinished jobs.... RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.loPdvb (%build) Bad exit status from /var/tmp/rpm-tmp.loPdvb (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 89, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 582, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/mysql++.spec