Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/muchsync.spec'], chrootPath='/var/lib/mock/841191-epel-7-x86_64-1546469476.944626/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock']unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '31c3e7cea5e94924941baed7c3f766c3', '-D', '/var/lib/mock/841191-epel-7-x86_64-1546469476.944626/root', '-a', '--capability=cap_ipc_lock', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/muchsync.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/muchsync-5-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/muchsync.spec'], chrootPath='/var/lib/mock/841191-epel-7-x86_64-1546469476.944626/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock']unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd009901049874053bb401e331186cdf6', '-D', '/var/lib/mock/841191-epel-7-x86_64-1546469476.944626/root', '-a', '--capability=cap_ipc_lock', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/muchsync.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YlC9f2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf muchsync-5 + /usr/bin/gzip -dc /builddir/build/SOURCES/muchsync-5.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd muchsync-5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-catch-exceptions-by-reference.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0002-print-file-opening-error.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0003-fix-typo.patch + /usr/bin/patch -p1 -s + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0004-change-commit_interval-from-10-to-90-seconds.patch + /usr/bin/cat /builddir/build/SOURCES/0005-list-hash-in-error.patch + /usr/bin/patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Cyjugd + umask 022 + cd /builddir/build/BUILD + cd muchsync-5 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/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 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 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 for x86_64-redhat-linux-gnu-g++... no checking for x86_64-redhat-linux-gnu-c++... no checking for x86_64-redhat-linux-gnu-gpp... no checking for x86_64-redhat-linux-gnu-aCC... no checking for x86_64-redhat-linux-gnu-CC... no checking for x86_64-redhat-linux-gnu-cxx... no checking for x86_64-redhat-linux-gnu-cc++... no checking for x86_64-redhat-linux-gnu-cl.exe... no checking for x86_64-redhat-linux-gnu-FCC... no checking for x86_64-redhat-linux-gnu-KCC... no checking for x86_64-redhat-linux-gnu-RCC... no checking for x86_64-redhat-linux-gnu-xlC_r... no checking for x86_64-redhat-linux-gnu-xlC... no checking for g++... g++ 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 g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... none checking whether g++ supports C++11 features by default... no checking whether g++ supports C++11 features with -std=c++11... yes checking whether C++ compiler accepts ... yes checking whether C++ compiler accepts -pthread... yes checking for openat... yes checking for fdopendir... yes checking for x86_64-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for sqlite3... yes checking for libcrypto... yes checking for xapian-config... /usr/bin/xapian-config checking For st_mtim in struct stat... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands + /usr/bin/make -j2 g++ -DPACKAGE_NAME=\"muchsync\" -DPACKAGE_TARNAME=\"muchsync\" -DPACKAGE_VERSION=\"5\" -DPACKAGE_STRING=\"muchsync\ 5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"muchsync\" -DVERSION=\"5\" -DHAVE_OPENAT=1 -DHAVE_FDOPENDIR=1 -DST_MTIM=st_mtim -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -std=c++11 -Wall -pthread -c -o infinibuf.o infinibuf.cc g++ -DPACKAGE_NAME=\"muchsync\" -DPACKAGE_TARNAME=\"muchsync\" -DPACKAGE_VERSION=\"5\" -DPACKAGE_STRING=\"muchsync\ 5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"muchsync\" -DVERSION=\"5\" -DHAVE_OPENAT=1 -DHAVE_FDOPENDIR=1 -DST_MTIM=st_mtim -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -std=c++11 -Wall -pthread -c -o misc.o misc.cc g++ -DPACKAGE_NAME=\"muchsync\" -DPACKAGE_TARNAME=\"muchsync\" -DPACKAGE_VERSION=\"5\" -DPACKAGE_STRING=\"muchsync\ 5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"muchsync\" -DVERSION=\"5\" -DHAVE_OPENAT=1 -DHAVE_FDOPENDIR=1 -DST_MTIM=st_mtim -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -std=c++11 -Wall -pthread -c -o muchsync.o muchsync.cc g++ -DPACKAGE_NAME=\"muchsync\" -DPACKAGE_TARNAME=\"muchsync\" -DPACKAGE_VERSION=\"5\" -DPACKAGE_STRING=\"muchsync\ 5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"muchsync\" -DVERSION=\"5\" -DHAVE_OPENAT=1 -DHAVE_FDOPENDIR=1 -DST_MTIM=st_mtim -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -std=c++11 -Wall -pthread -c -o notmuch_db.o notmuch_db.cc BUILDSTDERR: muchsync.cc: In function 'int main(int, char**)': BUILDSTDERR: muchsync.cc:494:26: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read(fds[0], &c, 1); BUILDSTDERR: ^ BUILDSTDERR: muchsync.cc: In function 'void create_config(std::istream&, std::ostream&, std::string&)': BUILDSTDERR: muchsync.cc:277:39: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(fd, conf.c_str(), conf.size()); BUILDSTDERR: ^ g++ -DPACKAGE_NAME=\"muchsync\" -DPACKAGE_TARNAME=\"muchsync\" -DPACKAGE_VERSION=\"5\" -DPACKAGE_STRING=\"muchsync\ 5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"muchsync\" -DVERSION=\"5\" -DHAVE_OPENAT=1 -DHAVE_FDOPENDIR=1 -DST_MTIM=st_mtim -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -std=c++11 -Wall -pthread -c -o protocol.o protocol.cc g++ -DPACKAGE_NAME=\"muchsync\" -DPACKAGE_TARNAME=\"muchsync\" -DPACKAGE_VERSION=\"5\" -DPACKAGE_STRING=\"muchsync\ 5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"muchsync\" -DVERSION=\"5\" -DHAVE_OPENAT=1 -DHAVE_FDOPENDIR=1 -DST_MTIM=st_mtim -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -std=c++11 -Wall -pthread -c -o sqlstmt.o sqlstmt.cc g++ -DPACKAGE_NAME=\"muchsync\" -DPACKAGE_TARNAME=\"muchsync\" -DPACKAGE_VERSION=\"5\" -DPACKAGE_STRING=\"muchsync\ 5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"muchsync\" -DVERSION=\"5\" -DHAVE_OPENAT=1 -DHAVE_FDOPENDIR=1 -DST_MTIM=st_mtim -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -std=c++11 -Wall -pthread -c -o sql_db.o sql_db.cc g++ -DPACKAGE_NAME=\"muchsync\" -DPACKAGE_TARNAME=\"muchsync\" -DPACKAGE_VERSION=\"5\" -DPACKAGE_STRING=\"muchsync\ 5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"muchsync\" -DVERSION=\"5\" -DHAVE_OPENAT=1 -DHAVE_FDOPENDIR=1 -DST_MTIM=st_mtim -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -std=c++11 -Wall -pthread -c -o xapian_sync.o xapian_sync.cc pandoc -s -w man muchsync.1.md -o muchsync.1 g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -std=c++11 -Wall -pthread -Wl,-z,relro -o muchsync infinibuf.o misc.o muchsync.o notmuch_db.o protocol.o sqlstmt.o sql_db.o xapian_sync.o -lsqlite3 -lcrypto -L/usr/lib64 -lxapian -lnotmuch + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aCJW9X + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/muchsync-5-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/muchsync-5-1.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/muchsync-5-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/muchsync-5-1.el7.x86_64 + cd muchsync-5 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/muchsync-5-1.el7.x86_64 make[1]: Entering directory `/builddir/build/BUILD/muchsync-5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/muchsync-5-1.el7.x86_64/usr/bin' /usr/bin/install -c muchsync '/builddir/build/BUILDROOT/muchsync-5-1.el7.x86_64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/muchsync-5-1.el7.x86_64/usr/share/man/man1' /usr/bin/install -c -m 644 muchsync.1 '/builddir/build/BUILDROOT/muchsync-5-1.el7.x86_64/usr/share/man/man1' make[1]: Leaving directory `/builddir/build/BUILD/muchsync-5' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/muchsync-5 extracting debug info from /builddir/build/BUILDROOT/muchsync-5-1.el7.x86_64/usr/bin/muchsync BUILDSTDERR: dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 232 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: muchsync-5-1.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8P6bRK + umask 022 + cd /builddir/build/BUILD + cd muchsync-5 + DOCDIR=/builddir/build/BUILDROOT/muchsync-5-1.el7.x86_64/usr/share/doc/muchsync-5 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/muchsync-5-1.el7.x86_64/usr/share/doc/muchsync-5 + cp -pr README /builddir/build/BUILDROOT/muchsync-5-1.el7.x86_64/usr/share/doc/muchsync-5 + cp -pr NEWS /builddir/build/BUILDROOT/muchsync-5-1.el7.x86_64/usr/share/doc/muchsync-5 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.wBDmAx + umask 022 + cd /builddir/build/BUILD + cd muchsync-5 + LICENSEDIR=/builddir/build/BUILDROOT/muchsync-5-1.el7.x86_64/usr/share/licenses/muchsync-5 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/muchsync-5-1.el7.x86_64/usr/share/licenses/muchsync-5 + cp -pr COPYING /builddir/build/BUILDROOT/muchsync-5-1.el7.x86_64/usr/share/licenses/muchsync-5 + exit 0 Provides: muchsync = 5-1.el7 muchsync(x86-64) = 5-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libnotmuch.so.5()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libsqlite3.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.13)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libxapian.so.22()(64bit) rtld(GNU_HASH) Processing files: muchsync-debuginfo-5-1.el7.x86_64 Provides: muchsync-debuginfo = 5-1.el7 muchsync-debuginfo(x86-64) = 5-1.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/muchsync-5-1.el7.x86_64 Wrote: /builddir/build/RPMS/muchsync-5-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/muchsync-debuginfo-5-1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8QyK6Y + umask 022 + cd /builddir/build/BUILD + cd muchsync-5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/muchsync-5-1.el7.x86_64 + exit 0 Child return code was: 0