<86>Dec 26 07:40:37 userdel[57564]: delete user 'rooter'
<86>Dec 26 07:40:37 groupadd[57585]: group added to /etc/group: name=rooter, GID=591
<86>Dec 26 07:40:37 groupadd[57585]: new group: name=rooter, GID=591
<86>Dec 26 07:40:37 useradd[57617]: new user: name=rooter, UID=591, GID=591, home=/root, shell=/bin/bash
<86>Dec 26 07:40:37 userdel[57632]: delete user 'builder'
<86>Dec 26 07:40:37 userdel[57632]: removed group 'builder' owned by 'builder'
<86>Dec 26 07:40:37 userdel[57632]: removed shadow group 'builder' owned by 'builder'
<86>Dec 26 07:40:37 groupadd[57647]: group added to /etc/group: name=builder, GID=592
<86>Dec 26 07:40:37 useradd[57654]: new user: name=builder, UID=592, GID=592, home=/usr/src, shell=/bin/bash
<13>Dec 26 07:40:40 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus.218115.200 1545282875 installed
<13>Dec 26 07:40:41 rpmi: libstdc++8-devel-8.2.1-alt1 sisyphus.214000.20 1542662379 installed
<13>Dec 26 07:40:42 rpmi: gcc8-c++-8.2.1-alt1 sisyphus.214000.20 1542662379 installed
<13>Dec 26 07:40:42 rpmi: libtasn1-4.13-alt2 1521133850 installed
<13>Dec 26 07:40:42 rpmi: libp11-kit-0.23.9-alt5 1525798298 installed
<13>Dec 26 07:40:42 rpmi: ed-1:0.2-alt10 1449768440 installed
<13>Dec 26 07:40:42 rpmi: rpm-macros-alternatives-0.4.5-alt1.1 1404382149 installed
<13>Dec 26 07:40:42 rpmi: alternatives-0.4.5-alt1.1 1404382149 installed
<13>Dec 26 07:40:42 rpmi: ca-certificates-2018.11.12-alt1 sisyphus.216395.300 1542114035 installed
<13>Dec 26 07:40:42 rpmi: ca-trust-0.1.1-alt2 1515595785 installed
<13>Dec 26 07:40:42 rpmi: p11-kit-trust-0.23.9-alt5 1525798298 installed
<13>Dec 26 07:40:42 rpmi: libcrypto1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed
<13>Dec 26 07:40:42 rpmi: libssl1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed
<13>Dec 26 07:40:42 rpmi: libmysqlclient20-5.7.24-alt2 sisyphus.216505.700 1543991137 installed
<13>Dec 26 07:40:42 rpmi: libmysqlclient20-devel-5.7.24-alt2 sisyphus.216505.700 1543991137 installed
<13>Dec 26 07:40:42 rpmi: libssl-devel-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed
<13>Dec 26 07:40:42 rpmi: gcc-c++-8-alt1 sisyphus.214000.40 1542664775 installed
<13>Dec 26 07:40:42 rpmi: zlib-devel-1.2.11-alt1 sisyphus.217171.100 1543710737 installed
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/nosrpm/sysbench-0.4.12-alt2.nosrc.rpm
Installing sysbench-0.4.12-alt2.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.73142
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf sysbench-0.4.12
+ echo 'Source #0 (sysbench-0.4.12.tar):'
Source #0 (sysbench-0.4.12.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/sysbench-0.4.12.tar
+ cd sysbench-0.4.12
+ /bin/chmod -c -Rf u+rwX,go-w .
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.19341
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd sysbench-0.4.12
+ autoreconf -fisv
autoreconf-default: Entering directory `.'
autoreconf-default: configure.ac: not using Gettext
autoreconf-default: running: aclocal --force 
autoreconf-default: configure.ac: tracing
autoreconf-default: running: libtoolize --force --install
libtoolize-default: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
libtoolize-default: linking file `config/config.guess'
libtoolize-default: linking file `config/config.sub'
libtoolize-default: linking file `config/install-sh'
libtoolize-default: linking file `config/ltmain.sh'
libtoolize-default: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize-default: rerunning libtoolize-default, to keep the correct libtool macros in-tree.
libtoolize-default: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf-default: configure.ac: not using Intltool
autoreconf-default: configure.ac: not using gtk-doc
autoreconf-default: running: /usr/bin/autoconf-2.60 --force
autoreconf-default: running: /usr/bin/autoheader-2.60 --force
autoreconf-default: running: automake --add-missing --force-missing
autoreconf-default: Leaving directory `.'
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export FFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g'
+ ASFLAGS=' -march=i586 -mtune=generic'
+ export ASFLAGS
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ readlink -e -- ./configure
+ xargs -ri dirname -- '{}'
+ xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ sort -u
+ xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess
+ ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext
configure: WARNING: unrecognized options: --without-included-gettext
checking build system type... i586-alt-linux-gnu
checking host system type... i586-alt-linux-gnu
checking target system type... i586-alt-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to compile with MySQL support... (cached) yes
checking whether to compile with Oracle support... (cached) no
checking whether to compile with PostgreSQL support... (cached) no
checking for style of include used by make... GNU
checking for i586-alt-linux-gcc... i586-alt-linux-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 i586-alt-linux-gcc accepts -g... yes
checking for i586-alt-linux-gcc option to accept ISO C89... none needed
checking whether i586-alt-linux-gcc understands -c and -o together... yes
checking dependency style of i586-alt-linux-gcc... none
checking whether SHM_HUGETLB is declared... yes
checking whether O_SYNC is declared... yes
checking for i586-alt-linux-gcc... (cached) i586-alt-linux-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i586-alt-linux-gcc accepts -g... (cached) yes
checking for i586-alt-linux-gcc option to accept ISO C89... (cached) none needed
checking whether i586-alt-linux-gcc understands -c and -o together... (cached) yes
checking dependency style of i586-alt-linux-gcc... (cached) none
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by i586-alt-linux-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 whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i586-alt-linux-gnu file names to i586-alt-linux-gnu format... func_convert_file_noop
checking how to convert i586-alt-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for i586-alt-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... (cached) pass_all
checking for i586-alt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i586-alt-linux-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for i586-alt-linux-strip... no
checking for strip... strip
checking for i586-alt-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok
checking for sysroot... no
checking for i586-alt-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... i586-alt-linux-gcc -E
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 i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no
checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC
checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes
checking if i586-alt-linux-gcc static flag -static works... no
checking if i586-alt-linux-gcc supports -c -o file.o... yes
checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes
checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) 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... yes
checking for xsltproc... no
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... i586-alt-linux-gcc
checking for sqrt in -lm... yes
checking for mysql_config... /usr/bin/mysql_config
checking MySQL C flags... -I/usr/include/mysql 
checking MySQL linker flags...  -L/usr/lib -lmysqlclient_r 
checking libaio.h usability... no
checking libaio.h presence... no
checking for libaio.h... no
checking for malloc in -lumem... no
checking for malloc in -lmtmalloc... no
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/aio.h usability... no
checking sys/aio.h presence... no
checking for sys/aio.h... no
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking thread.h usability... no
checking thread.h presence... no
checking for thread.h... no
checking for unistd.h... (cached) yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking size of size_t... 4
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking whether clock_gettime is declared... yes
checking for library containing clock_gettime... none required
checking for alarm... yes
checking for fdatasync... yes
checking for gettimeofday... yes
checking for lrand48... yes
checking for memalign... yes
checking for memset... yes
checking for posix_memalign... yes
checking for pthread_yield... no
checking for setvbuf... yes
checking for sqrt... yes
checking for strdup... yes
checking for thr_setconcurrency... no
checking for valloc... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/xsl/Makefile
config.status: creating doc/xsl/catalog.xml
config.status: creating doc/Makefile
config.status: creating sysbench/Makefile
config.status: creating sysbench/drivers/Makefile
config.status: creating sysbench/drivers/mysql/Makefile
config.status: creating sysbench/drivers/oracle/Makefile
config.status: creating sysbench/drivers/pgsql/Makefile
config.status: creating sysbench/tests/Makefile
config.status: creating sysbench/tests/cpu/Makefile
config.status: creating sysbench/tests/fileio/Makefile
config.status: creating sysbench/tests/memory/Makefile
config.status: creating sysbench/tests/threads/Makefile
config.status: creating sysbench/tests/mutex/Makefile
config.status: creating sysbench/tests/oltp/Makefile
config.status: creating config/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --without-included-gettext
+ make
make: Entering directory '/usr/src/RPM/BUILD/sysbench-0.4.12'
Making all in doc
make[1]: Entering directory '/usr/src/RPM/BUILD/sysbench-0.4.12/doc'
Making all in xsl
make[2]: Entering directory '/usr/src/RPM/BUILD/sysbench-0.4.12/doc/xsl'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/usr/src/RPM/BUILD/sysbench-0.4.12/doc/xsl'
make[2]: Entering directory '/usr/src/RPM/BUILD/sysbench-0.4.12/doc'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/usr/src/RPM/BUILD/sysbench-0.4.12/doc'
make[1]: Leaving directory '/usr/src/RPM/BUILD/sysbench-0.4.12/doc'
Making all in sysbench
make[1]: Entering directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench'
Making all in drivers
make[2]: Entering directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench/drivers'
Making all in mysql
make[3]: Entering directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench/drivers/mysql'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../../config  -I/usr/include/mysql  -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../../../sysbench  -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libsbmysql_a-drv_mysql.o `test -f 'drv_mysql.c' || echo './'`drv_mysql.c
rm -f libsbmysql.a
ar cru libsbmysql.a libsbmysql_a-drv_mysql.o 
ranlib libsbmysql.a
make[3]: Leaving directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench/drivers/mysql'
make[3]: Entering directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench/drivers'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench/drivers'
make[2]: Leaving directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench/drivers'
Making all in tests
make[2]: Entering directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench/tests'
Making all in cpu
make[3]: Entering directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench/tests/cpu'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../../config  -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../../../sysbench  -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libsbcpu_a-sb_cpu.o `test -f 'sb_cpu.c' || echo './'`sb_cpu.c
rm -f libsbcpu.a
ar cru libsbcpu.a libsbcpu_a-sb_cpu.o 
ranlib libsbcpu.a
make[3]: Leaving directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench/tests/cpu'
Making all in fileio
make[3]: Entering directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench/tests/fileio'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../../config  -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../../../sysbench  -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libsbfileio_a-sb_fileio.o `test -f 'sb_fileio.c' || echo './'`sb_fileio.c
sb_fileio.c: In function 'file_fill_buffer':
sb_fileio.c:1830:37: warning: pointer targets in passing argument 2 of 'crc32' differ in signedness [-Wpointer-sign]
   *(int *)(buf + i) = (int)crc32(0, buf, len -
                                     ^~~
In file included from sb_fileio.c:62:
crc32.h:9:22: note: expected 'const unsigned char *' but argument is of type 'char *'
 extern unsigned long crc32(unsigned long crc, const unsigned char *buf, unsigned len);
                      ^~~~~
sb_fileio.c: In function 'file_validate_buffer':
sb_fileio.c:1847:37: warning: pointer targets in passing argument 2 of 'crc32' differ in signedness [-Wpointer-sign]
   checksum = (unsigned int)crc32(0, buf, cs_offset);
                                     ^~~
In file included from sb_fileio.c:62:
crc32.h:9:22: note: expected 'const unsigned char *' but argument is of type 'char *'
 extern unsigned long crc32(unsigned long crc, const unsigned char *buf, unsigned len);
                      ^~~~~
sb_fileio.c: In function 'sb_memalign':
sb_fileio.c:1791:3: warning: ignoring return value of 'posix_memalign', declared with attribute warn_unused_result [-Wunused-result]
   posix_memalign((void **)&buffer, page_size, size);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sb_fileio.c: In function 'parse_arguments':
sb_fileio.c:1704:10: warning: 'buffer' may be used uninitialized in this function [-Wmaybe-uninitialized]
   buffer = sb_memalign(file_max_request_size);
   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../../config  -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../../../sysbench  -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libsbfileio_a-crc32.o `test -f 'crc32.c' || echo './'`crc32.c
rm -f libsbfileio.a
ar cru libsbfileio.a libsbfileio_a-sb_fileio.o libsbfileio_a-crc32.o 
ranlib libsbfileio.a
make[3]: Leaving directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench/tests/fileio'
Making all in memory
make[3]: Entering directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench/tests/memory'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../../config  -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../../../sysbench  -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libsbmemory_a-sb_memory.o `test -f 'sb_memory.c' || echo './'`sb_memory.c
rm -f libsbmemory.a
ar cru libsbmemory.a libsbmemory_a-sb_memory.o 
ranlib libsbmemory.a
make[3]: Leaving directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench/tests/memory'
Making all in threads
make[3]: Entering directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench/tests/threads'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../../config  -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../../../sysbench  -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libsbthreads_a-sb_threads.o `test -f 'sb_threads.c' || echo './'`sb_threads.c
rm -f libsbthreads.a
ar cru libsbthreads.a libsbthreads_a-sb_threads.o 
ranlib libsbthreads.a
make[3]: Leaving directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench/tests/threads'
Making all in mutex
make[3]: Entering directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench/tests/mutex'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../../config  -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../../../sysbench  -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libsbmutex_a-sb_mutex.o `test -f 'sb_mutex.c' || echo './'`sb_mutex.c
rm -f libsbmutex.a
ar cru libsbmutex.a libsbmutex_a-sb_mutex.o 
ranlib libsbmutex.a
make[3]: Leaving directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench/tests/mutex'
Making all in oltp
make[3]: Entering directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench/tests/oltp'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../../config  -I./.. -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../../../sysbench -I/usr/include/mysql   -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libsboltp_a-sb_oltp.o `test -f 'sb_oltp.c' || echo './'`sb_oltp.c
rm -f libsboltp.a
ar cru libsboltp.a libsboltp_a-sb_oltp.o 
ranlib libsboltp.a
make[3]: Leaving directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench/tests/oltp'
make[3]: Entering directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench/tests'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench/tests'
make[2]: Leaving directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench/tests'
Making all in .
make[2]: Entering directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../config  -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../sysbench  -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o sysbench.o sysbench.c
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../config  -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../sysbench  -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o sb_timer.o sb_timer.c
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../config  -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../sysbench  -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o sb_options.o sb_options.c
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../config  -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../sysbench  -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o sb_logger.o sb_logger.c
sb_logger.c: In function 'batch_runner_proc':
sb_logger.c:700:38: warning: variable 'percent' set but not used [-Wunused-but-set-variable]
   double             diff, pdiff, p, percent, optime;
                                      ^~~~~~~
sb_logger.c: In function 'log_errno':
sb_logger.c:335:3: warning: ignoring return value of 'strerror_r', declared with attribute warn_unused_result [-Wunused-result]
   strerror_r(old_errno, errbuf, sizeof(errbuf));
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../config  -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../sysbench  -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o db_driver.o db_driver.c
db_driver.c: In function 'db_disconnect':
db_driver.c:241:15: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
   int         rc;
               ^~
/bin/sh ../libtool  --tag=CC   --mode=link i586-alt-linux-gcc -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic      -o sysbench sysbench.o sb_timer.o sb_options.o sb_logger.o db_driver.o tests/fileio/libsbfileio.a tests/threads/libsbthreads.a tests/memory/libsbmemory.a tests/cpu/libsbcpu.a tests/oltp/libsboltp.a tests/mutex/libsbmutex.a drivers/mysql/libsbmysql.a -L/usr/lib -lmysqlclient_r    -lm 
libtool: link: i586-alt-linux-gcc -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o sysbench sysbench.o sb_timer.o sb_options.o sb_logger.o db_driver.o  tests/fileio/libsbfileio.a tests/threads/libsbthreads.a tests/memory/libsbmemory.a tests/cpu/libsbcpu.a tests/oltp/libsboltp.a tests/mutex/libsbmutex.a drivers/mysql/libsbmysql.a -L/usr/lib -lmysqlclient_r -lm -pthread
/usr/bin/ld.default: cannot find -lmysqlclient_r
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:481: sysbench] Error 1
make[2]: Leaving directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench'
make[1]: *** [Makefile:529: all-recursive] Error 1
make[1]: Leaving directory '/usr/src/RPM/BUILD/sysbench-0.4.12/sysbench'
make: *** [Makefile:430: all-recursive] Error 1
make: Leaving directory '/usr/src/RPM/BUILD/sysbench-0.4.12'
error: Bad exit status from /usr/src/tmp/rpm-tmp.19341 (%build)


RPM build errors:
    Bad exit status from /usr/src/tmp/rpm-tmp.19341 (%build)
Command exited with non-zero status 1
10.89user 1.88system 0:15.96elapsed 80%CPU (0avgtext+0avgdata 33804maxresident)k
0inputs+0outputs (0major+903611minor)pagefaults 0swaps
hsh-rebuild: rebuild of `sysbench-0.4.12-alt2.src.rpm' failed.
Command exited with non-zero status 1
22.09user 4.23system 0:31.10elapsed 84%CPU (0avgtext+0avgdata 122024maxresident)k
0inputs+0outputs (0major+1318977minor)pagefaults 0swaps