Package Details: xapian-core-git 1.5.0.r18998.72a282c84759-1

Git Clone URL: https://aur.archlinux.org/xapian-core-git.git (read-only, click to copy)
Package Base: xapian-core-git
Description: Open source search engine library
Upstream URL: https://github.com/xapian/xapian
Licenses: GPL
Conflicts: xapian-core
Provides: xapian-core
Submitter: jokke
Maintainer: haawda
Last Packager: haawda
Votes: 0
Popularity: 0.000000
First Submitted: 2016-04-18 09:05 (UTC)
Last Updated: 2022-09-20 22:33 (UTC)

Required by (34)

Sources (1)

Latest Comments

maderios commented on 2023-08-04 18:40 (UTC)

Same error... Is this package really maintained ?

maderios commented on 2023-07-17 19:52 (UTC)

More details

checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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... no
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for g++... g++
checking whether the compiler supports GNU C++... no
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
libtool.m4: error: problem compiling CXX test program
checking for g++ option to produce PIC...  -DPIC
checking if g++ PIC flag  -DPIC works... no
checking if g++ static flag  works... no
checking if g++ supports -c -o file.o... no
checking if g++ supports -c -o file.o... (cached) no
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... unsupported
checking whether g++ is a working C++ compiler... no
configure: error:
*** You need a working C++ compiler to compile Xapian, but configure failed to
*** find one.  If you have a working C++ compiler, you can tell configure where
*** to find it by invoking it like so:
***
***   ./configure CXX=/opt/bin/c++

maderios commented on 2023-07-16 18:03 (UTC)

Build fails: compiler is not found

checking whether g++ is a working C++ compiler... no
configure: error:
*** You need a working C++ compiler to compile Xapian, but configure failed to
*** find one.  If you have a working C++ compiler, you can tell configure where
*** to find it by invoking it like so:
***
***   ./configure CXX=/opt/bin/c++

haawda commented on 2022-08-26 18:45 (UTC)

Files under /usr/lib/pkgconfig should not contain a version number in their name.

haawda commented on 2022-06-13 21:24 (UTC)

diff --git a/PKGBUILD b/PKGBUILD
index 821ea5c..08cd229 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -29,21 +29,23 @@ makedepends=(
 )
 provides=('xapian-core')
 conflicts=('xapian-core')
-source=("git://github.com/xapian/xapian")
+source=("git+https://github.com/xapian/xapian")
 sha512sums=('SKIP')
-
+options=('libtool')
+
 pkgver() {
-  cd "$srcdir/xapian"
-  git describe --long | sed 's/Release_//;s/-/./g'
+  cd "$srcdir/xapian/xapian-core"
+  printf "%s.r%s" $(awk '/AC_INIT/ {print $2}' configure.ac |tr -d \[\],) $(git rev-list --count HEAD)
 }

 build() {
   cd "$srcdir/xapian"
-  ./bootstrap --without-autotools xapian-core
-
+  ./bootstrap xapian-core
+  export CXXFLAGS=${CXXFLAGS/-Wp,-D_GLIBCXX_ASSERTIONS}
+  export CXXFLAGS+="-Wno-error=maybe-uninitialized -Wno-error=use-after-free"
   cd "$srcdir/xapian/${pkgname/-git/}"
   ./configure --prefix=/usr --enable-maintainer-mode
-  make
+  make
 }

 package() {

haawda commented on 2022-04-22 09:07 (UTC)

please change source-url to git+https

EndlessEden commented on 2020-06-18 10:58 (UTC)

Please add python-pygments to the dependancies. It fails to build docs without it.

qqqqqqqqq9 commented on 2016-12-31 10:51 (UTC)

Hi, ./bootstrap --without-autotools xapian-core gives an endless loop. Please replace it with: ./bootstrap --without-autotools Thanks.

bastelfreak commented on 2016-06-04 10:50 (UTC)

Hi, it is currently not possible to build the package: checking for dot... no configure: error: dot (part of the graphviz package) is required to build documentation ==> ERROR: A failure occurred in build(). full log at https://ci.virtapi.org/job/Arch_Package_xapian-core-git/1/console