Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/smstools.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-5cb4785c34d28f9b214873b0e4dc06283e12b4ba/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/smstools.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/smstools-3.1.15-12.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/smstools.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-5cb4785c34d28f9b214873b0e4dc06283e12b4ba/root'shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/smstools.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BF67Hp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf smstools3 + /usr/bin/gzip -dc /builddir/build/SOURCES/smstools3-3.1.15.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd smstools3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (smstools3-3.1.5-loglocation.patch): + echo 'Patch #0 (smstools3-3.1.5-loglocation.patch):' + /usr/bin/cat /builddir/build/SOURCES/smstools3-3.1.5-loglocation.patch + /usr/bin/patch -p1 -b --suffix .loglocation --fuzz=0 patching file examples/smsd.conf.easy patching file examples/smsd.conf.full patching file examples/smsd.conf.non-root Patch #1 (smstools3-3.1.15-rundirectory.patch): + echo 'Patch #1 (smstools3-3.1.15-rundirectory.patch):' + /usr/bin/cat /builddir/build/SOURCES/smstools3-3.1.15-rundirectory.patch + /usr/bin/patch -p1 -b --suffix .rundirectory --fuzz=0 patching file examples/smsd.conf.easy Patch #2 (smstools3-3.1.15-Makefiletab.patch): + echo 'Patch #2 (smstools3-3.1.15-Makefiletab.patch):' + /usr/bin/cat /builddir/build/SOURCES/smstools3-3.1.15-Makefiletab.patch + /usr/bin/patch -p1 -b --suffix .Makefiletab --fuzz=0 patching file src/Makefile patching file src/Makefile patching file src/Makefile + mv doc manual + mv examples/.procmailrc examples/procmailrc + mv examples/.qmailrc examples/qmailrc + find scripts/ examples/ manual/ -type f -print0 + xargs -0 chmod 644 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MIWHOV + umask 022 + cd /builddir/build/BUILD + cd smstools3 + make -C src 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNOSTATS -D NUMBER_OF_MODEMS=64' 'LFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -j4 make: Entering directory `/builddir/build/BUILD/smstools3/src' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNOSTATS -D NUMBER_OF_MODEMS=64 -c -o extras.o extras.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNOSTATS -D NUMBER_OF_MODEMS=64 -c -o locking.o locking.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNOSTATS -D NUMBER_OF_MODEMS=64 -c -o cfgfile.o cfgfile.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNOSTATS -D NUMBER_OF_MODEMS=64 -c -o logging.o logging.c locking.c: In function 'lockfile': locking.c:50:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(lockfile, pid, strlen(pid)); ^ logging.c: In function 'writelogfile': logging.c:204:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(Filehandle,text2,strlen(text2)); ^ logging.c: In function 'flush_smart_logging': logging.c:247:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(Filehandle_trouble, trouble_logging_buffer, strlen(trouble_logging_buffer)); ^ logging.c:260:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(Filehandle_trouble, text2, strlen(text2)); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNOSTATS -D NUMBER_OF_MODEMS=64 -c -o alarm.o alarm.c extras.c: In function 'write_pid': extras.c:1090:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(pidfile, pid, strlen(pid)); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNOSTATS -D NUMBER_OF_MODEMS=64 -c -o smsd_cfg.o smsd_cfg.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNOSTATS -D NUMBER_OF_MODEMS=64 -c -o charset.o charset.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNOSTATS -D NUMBER_OF_MODEMS=64 -c -o stats.o stats.c stats.c: In function 'loadstats': stats.c:183:12: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(tmp, strlen(statistics_current_version) +1, 1, fp); ^ stats.c:189:14: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&saved_time, sizeof(time_t), 1, fp); ^ stats.c:190:14: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&start_time, sizeof(time_t), 1, fp); ^ stats.c:195:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(statistics[i], sizeof(_stats), 1, fp); ^ smsd_cfg.c: In function 'startup_check': smsd_cfg.c:2519:21: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, tmp, sizeof(tmp)); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNOSTATS -D NUMBER_OF_MODEMS=64 -c -o blacklist.o blacklist.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNOSTATS -D NUMBER_OF_MODEMS=64 -c -o whitelist.o whitelist.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNOSTATS -D NUMBER_OF_MODEMS=64 -c -o modeminit.o modeminit.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNOSTATS -D NUMBER_OF_MODEMS=64 -c -o pdu.o pdu.c modeminit.c: In function 'handlephonecall_clip': modeminit.c:849:6: warning: variable 'entry_type' set but not used [-Wunused-but-set-variable] int entry_type; ^ modeminit.c: In function 'talk_with_modem': modeminit.c:2010:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDOUT_FILENO, tmp, n); ^ pdu.c: In function 'get_pdu_details': pdu.c:1752:7: warning: variable 'udlen' set but not used [-Wunused-but-set-variable] int udlen; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNOSTATS -D NUMBER_OF_MODEMS=64 -o smsd smsd.c extras.o locking.o cfgfile.o logging.o alarm.o smsd_cfg.o charset.o stats.o blacklist.o whitelist.o modeminit.o pdu.o -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld smsd.c: In function 'received2file': smsd.c:3128:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(ftmp, st, strlen(st)); ^ smsd.c: In function 'cmd_to_modem': smsd.c:5376:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, answer, strlen(answer)); ^ smsd.c:5377:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "\n", 1); ^ smsd.c:5420:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, buffer, strlen(buffer)); ^ smsd.c: In function 'main': smsd.c:6670:8: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(i); ^ smsd.c:6671:8: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(i); ^ make: Leaving directory `/builddir/build/BUILD/smstools3/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.pWLVlx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm ++ dirname /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm + cd smstools3 + rm -rf /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm + install -Dm 755 /builddir/build/SOURCES/smsd.init /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/etc/rc.d/init.d/smsd + install -Dm 664 /builddir/build/SOURCES/smsd.logrotate /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/etc/logrotate.d/smstools + install -Dm 664 /builddir/build/SOURCES/smsd.tmpfiles /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/etc/tmpfiles.d/smstools.conf + install -Dm 600 examples/smsd.conf.easy /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/etc/smsd.conf + install -Dm 755 src/smsd /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/usr/sbin/smsd + install -Dm 755 scripts/sendsms /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/usr/bin/smssend + install -Dm 755 scripts/sms2html /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/usr/bin/sms2html + install -Dm 755 scripts/sms2unicode /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/usr/bin/sms2unicode + install -Dm 755 scripts/sms2xml /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/usr/bin/sms2xml + install -Dm 755 scripts/unicode2sms /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/usr/bin/unicode2sms + install -dm 750 /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/var/spool/sms/checked + install -dm 750 /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/var/spool/sms/failed + install -dm 750 /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/var/spool/sms/incoming + install -dm 770 /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/var/spool/sms/outgoing + install -dm 750 /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/var/spool/sms/sent + mkdir -p /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/var/log/smsd + mkdir -p /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/var/log/smsd/smsd_stats + mkdir -p /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/var/run/smsd + mkdir -p /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/var/lib/smstools + for n in smsd.log smsd_trouble.log + touch /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/var/log/smsd/smsd.log + for n in smsd.log smsd_trouble.log + touch /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/var/log/smsd/smsd_trouble.log + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/smstools3 extracting debug info from /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/usr/sbin/smsd dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1098 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: smstools-3.1.15-12.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CHmRHe + umask 022 + cd /builddir/build/BUILD + cd smstools3 + DOCDIR=/builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/usr/share/doc/smstools-3.1.15 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/usr/share/doc/smstools-3.1.15 + cp -pr LICENSE /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/usr/share/doc/smstools-3.1.15 + cp -pr manual/ /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/usr/share/doc/smstools-3.1.15 + cp -pr examples/ /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/usr/share/doc/smstools-3.1.15 + cp -pr scripts/checkhandler-utf-8 /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/usr/share/doc/smstools-3.1.15 + cp -pr scripts/email2sms /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/usr/share/doc/smstools-3.1.15 + cp -pr scripts/eventhandler-utf-8 /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/usr/share/doc/smstools-3.1.15 + cp -pr scripts/mysmsd /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/usr/share/doc/smstools-3.1.15 + cp -pr scripts/regular_run /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/usr/share/doc/smstools-3.1.15 + cp -pr scripts/smsevent /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/usr/share/doc/smstools-3.1.15 + cp -pr scripts/smsresend /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/usr/share/doc/smstools-3.1.15 + cp -pr scripts/sql_demo /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm/usr/share/doc/smstools-3.1.15 + exit 0 Provides: config(smstools) = 3.1.15-12.el7 smstools = 3.1.15-12.el7 smstools(armv7hl-32) = 3.1.15-12.el7 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh /sbin/chkconfig Requires(preun): /bin/sh /sbin/chkconfig /sbin/service Requires(postun): /bin/sh /sbin/service Requires: /bin/bash /bin/sh ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) rtld(GNU_HASH) Processing files: smstools-debuginfo-3.1.15-12.el7.armv7hl Provides: smstools-debuginfo = 3.1.15-12.el7 smstools-debuginfo(armv7hl-32) = 3.1.15-12.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm Wrote: /builddir/build/RPMS/smstools-3.1.15-12.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/smstools-debuginfo-3.1.15-12.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QTj1RT + umask 022 + cd /builddir/build/BUILD + cd smstools3 + rm -rf /builddir/build/BUILDROOT/smstools-3.1.15-12.el7.arm + exit 0 Child return code was: 0