Hi, we are an email hosting provider and we are looking at xapian to improve our user experience about email search. So we staring to build xapian 1.4.15 on Centos 7 with your xapian-core.spec and move it and the source code in /root/rpmbuild/SPECS and SOURCE, but we have this error after run "rpmbuild -ba": [...] Elaborazione file: xapian-core-devel-1.4.15-1.x86_64 errore: File not found dal glob: /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/lib64/libxapian*.a Errori di compilazione RPM: ??? File not found dal glob: /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/lib64/libxapian*.a Here more line about building: make[2]: Entering directory `/root/rpmbuild/BUILD/xapian-core-1.4.15' make[3]: Entering directory `/root/rpmbuild/BUILD/xapian-core-1.4.15' ?/usr/bin/mkdir -p '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/lib64' ?/bin/sh ./libtool?? --mode=install /usr/bin/install -c libxapian.la '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libxapian.so.30.10.1 /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/lib64/libxapian.so.30.10.1 libtool: install: (cd /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/lib64 && { ln -s -f libxapian.so.30.10.1 libxapian.so.30 || { rm -f libxapian.so.30 && ln -s libxapian.so.30.10.1 libxapian.so.30; }; }) libtool: install: (cd /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/lib64 && { ln -s -f libxapian.so.30.10.1 libxapian.so || { rm -f libxapian.so && ln -s libxapian.so.30.10.1 libxapian.so; }; }) libtool: install: /usr/bin/install -c .libs/libxapian.lai /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/lib64/libxapian.la libtool: warning: remember to run 'libtool --finish /usr/lib64' ?/usr/bin/mkdir -p '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin' ? /bin/sh ./libtool?? --mode=install /usr/bin/install -c bin/xapian-delve bin/xapian-check bin/xapian-compact bin/xapian-progsrv bin/xapian-replicate bin/xapian-replicate-server bin/xapian-tcpsrv examples/copydatabase examples/quest examples/simpleexpand examples/simpleindex examples/simplesearch examples/xapian-metadata examples/xapian-pos '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin' libtool: warning: 'libxapian.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c bin/.libs/xapian-delve /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/xapian-delve libtool: warning: 'libxapian.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c bin/.libs/xapian-check /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/xapian-check libtool: warning: 'libxapian.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c bin/.libs/xapian-compact /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/xapian-compact libtool: warning: 'libxapian.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c bin/.libs/xapian-progsrv /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/xapian-progsrv libtool: warning: 'libxapian.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c bin/.libs/xapian-replicate /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/xapian-replicate libtool: warning: 'libxapian.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c bin/.libs/xapian-replicate-server /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/xapian-replicate-server libtool: warning: 'libxapian.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c bin/.libs/xapian-tcpsrv /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/xapian-tcpsrv libtool: warning: 'libxapian.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c examples/.libs/copydatabase /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/copydatabase libtool: warning: 'libxapian.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c examples/.libs/quest /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/quest libtool: warning: 'libxapian.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c examples/.libs/simpleexpand /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/simpleexpand libtool: warning: 'libxapian.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c examples/.libs/simpleindex /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/simpleindex libtool: warning: 'libxapian.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c examples/.libs/simplesearch /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/simplesearch libtool: warning: 'libxapian.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c examples/.libs/xapian-metadata /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/xapian-metadata libtool: warning: 'libxapian.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c examples/.libs/xapian-pos /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/xapian-pos ?/usr/bin/mkdir -p '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin' ?/usr/bin/install -c installable/xapian-config '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin' ?/usr/bin/mkdir -p '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/lib64/cmake/xapian' ?/usr/bin/install -c -m 644 cmake/xapian-config.cmake cmake/xapian-config-version.cmake '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/lib64/cmake/xapian' ?/usr/bin/mkdir -p '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/share/aclocal' ?/usr/bin/install -c -m 644 m4-macros/xapian.m4 '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/share/aclocal' ?/usr/bin/mkdir -p '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/share/xapian-core/stopwords' ?/usr/bin/install -c -m 644 languages/stopwords/arabic.list languages/stopwords/danish.list languages/stopwords/dutch.list languages/stopwords/english.list languages/stopwords/finnish.list languages/stopwords/french.list languages/stopwords/german.list languages/stopwords/hungarian.list languages/stopwords/indonesian.list languages/stopwords/italian.list languages/stopwords/norwegian.list languages/stopwords/portuguese.list languages/stopwords/russian.list languages/stopwords/spanish.list languages/stopwords/swedish.list '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/share/xapian-core/stopwords' ?/usr/bin/mkdir -p '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/include' ?/usr/bin/install -c -m 644 include/xapian.h '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/include' ?/usr/bin/mkdir -p '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/share/man/man1' ?/usr/bin/install -c -m 644 xapian-config.1 bin/xapian-check.1 bin/xapian-compact.1 bin/xapian-delve.1 bin/xapian-progsrv.1 bin/xapian-replicate.1 bin/xapian-replicate-server.1 bin/xapian-tcpsrv.1 examples/copydatabase.1 examples/quest.1 examples/xapian-metadata.1 examples/xapian-pos.1 '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/share/man/man1' ?/usr/bin/mkdir -p '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/lib64/pkgconfig' ?/usr/bin/install -c -m 644 pkgconfig/xapian-core.pc '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/lib64/pkgconfig' ?/usr/bin/mkdir -p '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/include/xapian' ?/usr/bin/install -c -m 644 include/xapian/version.h '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/include/xapian' ?/usr/bin/mkdir -p '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/include/xapian' ?/usr/bin/install -c -m 644 include/xapian/attributes.h include/xapian/compactor.h include/xapian/constants.h include/xapian/constinfo.h include/xapian/database.h include/xapian/dbfactory.h include/xapian/deprecated.h include/xapian/derefwrapper.h include/xapian/document.h include/xapian/enquire.h include/xapian/errorhandler.h include/xapian/eset.h include/xapian/expanddecider.h include/xapian/intrusive_ptr.h include/xapian/iterator.h include/xapian/keymaker.h include/xapian/matchspy.h include/xapian/mset.h include/xapian/positioniterator.h include/xapian/postingiterator.h include/xapian/postingsource.h include/xapian/query.h include/xapian/queryparser.h include/xapian/registry.h include/xapian/stem.h include/xapian/termgenerator.h include/xapian/termiterator.h include/xapian/types.h include/xapian/unicode.h include/xapian/valueiterator.h include/xapian/valuesetmatchdecider.h include/xapian/geospatial.h include/xapian/visibility.h include/xapian/weight.h include/xapian/error.h '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/include/xapian' make[3]: Leaving directory `/root/rpmbuild/BUILD/xapian-core-1.4.15' make[2]: Leaving directory `/root/rpmbuild/BUILD/xapian-core-1.4.15' Making install in docs make[2]: Entering directory `/root/rpmbuild/BUILD/xapian-core-1.4.15/docs' make[3]: Entering directory `/root/rpmbuild/BUILD/xapian-core-1.4.15/docs' make[3]: Nothing to be done for `install-exec-am'. /bin/sh /root/rpmbuild/BUILD/xapian-core-1.4.15/install-sh -d /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/share/doc/xapian-core/apidoc/html /usr/bin/install -c -m 644 `test -f apidoc/html/index.html || echo ./`apidoc/html/*.png /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/share/doc/xapian-core/apidoc/html /usr/bin/install -c -m 644 `test -f apidoc/html/index.html || echo ./`apidoc/html/*.css /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/share/doc/xapian-core/apidoc/html /usr/bin/install -c -m 644 `test -f apidoc/html/index.html || echo ./`apidoc/html/*.html /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/share/doc/xapian-core/apidoc/html ?/usr/bin/mkdir -p '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/share/doc/xapian-core' ?/usr/bin/install -c -m 644 admin_notes.html bm25.html collapsing.html deprecation.html facets.html geospatial.html glossary.html index.html install.html internals.html intro_ir.html matcherdesign.html overview.html postingsource.html queryparser.html remote.html replication.html scalability.html serialisation.html sorting.html spelling.html stemming.html synonyms.html termgenerator.html tests.html valueranges.html '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/share/doc/xapian-core' make[3]: Leaving directory `/root/rpmbuild/BUILD/xapian-core-1.4.15/docs' make[2]: Leaving directory `/root/rpmbuild/BUILD/xapian-core-1.4.15/docs' Making install in tests make[2]: Entering directory `/root/rpmbuild/BUILD/xapian-core-1.4.15/tests' make? install-am make[3]: Entering directory `/root/rpmbuild/BUILD/xapian-core-1.4.15/tests' make[4]: Entering directory `/root/rpmbuild/BUILD/xapian-core-1.4.15/tests' make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/root/rpmbuild/BUILD/xapian-core-1.4.15/tests' make[3]: Leaving directory `/root/rpmbuild/BUILD/xapian-core-1.4.15/tests' make[2]: Leaving directory `/root/rpmbuild/BUILD/xapian-core-1.4.15/tests' make[1]: Leaving directory `/root/rpmbuild/BUILD/xapian-core-1.4.15' + mv /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/share/doc/xapian-core /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/share/doc/xapian-core-devel-1.4.15 + cp HACKING /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/share/doc/xapian-core-devel-1.4.15 + mkdir -p /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/share/doc/xapian-core-1.4.15 + cp AUTHORS ChangeLog ChangeLog.examples COPYING NEWS PLATFORMS README /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/share/doc/xapian-core-1.4.15 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /root/rpmbuild/BUILD/xapian-core-1.4.15 extracting debug info from /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/lib64/libxapian.so.30.10.1 extracting debug info from /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/xapian-delve extracting debug info from /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/xapian-check extracting debug info from /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/xapian-compact extracting debug info from /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/xapian-progsrv extracting debug info from /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/xapian-replicate extracting debug info from /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/xapian-replicate-server extracting debug info from /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/xapian-tcpsrv extracting debug info from /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/copydatabase extracting debug info from /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/quest extracting debug info from /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/simpleexpand extracting debug info from /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/simpleindex extracting debug info from /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/simplesearch extracting debug info from /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/xapian-metadata extracting debug info from /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin/xapian-pos /usr/lib/rpm/sepdebugcrcfix: Updated 15 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib64/libxapian.so.30.10.1.debug to /usr/lib/debug/usr/lib64/libxapian.so.30.debug symlinked /usr/lib/debug/usr/lib64/libxapian.so.30.10.1.debug to /usr/lib/debug/usr/lib64/libxapian.so.debug 7985 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 Elaborazione file: xapian-core-1.4.15-1.x86_64 Provides: xapian-core = 1.4.15-1 xapian-core(x86-64) = 1.4.15-1 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.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) librt.so.1()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libuuid.so.1()(64bit) libxapian.so.30()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Elaborazione file: xapian-core-libs-1.4.15-1.x86_64 Provides: libxapian.so.30()(64bit) xapian-core-libs = 1.4.15-1 xapian-core-libs(x86-64) = 1.4.15-1 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.12)(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) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.2.5)(64bit) librt.so.1(GLIBC_2.3.3)(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.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libuuid.so.1()(64bit) libuuid.so.1(UUID_1.0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Elaborazione file: xapian-core-devel-1.4.15-1.x86_64 errore: File not found dal glob: /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/lib64/libxapian*.a Errori di compilazione RPM: ??? File not found dal glob: /root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/lib64/libxapian*.a Can you help me? Thanks -- Alessio Cecchi Postmaster @ http://www.qboxmail.it https://www.linkedin.com/in/alessice