Seems I can't reach Kartik Mistry by direct email, trying through the bug
report:

The diagnostic from the log is a Xapian one, saying that they are trying to
build Recoll with a compiler ABI version which is not the same as the one
which was used to build the Xapian library.

The include file which causes the issue (xapian/version.h) is created
during the Xapian build. The lines which cause the error are the following:

#ifdef __GNUC__
#if __GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ == 0)
#error Xapian no longer supports GCC < 3.1
#else
#if !defined(__GXX_ABI_VERSION) || __GXX_ABI_VERSION != 1002
#error The C++ ABI version of compiler you are using does not match
#error that of the compiler used to build the library. The versions
#error must match or your program will not work correctly.
#error The Xapian library was built with g++ 4.7.2
#endif


I initially saw 2 possibilities here:

 - Either they are actually building Recoll with gcc5 with a libxapian dev
   package which was created with gcc4 (then I guess that their method is
   wrong, they should build the dependancy packages before the ones which
   depend on them).

 - Or the test in the Xapian file is wrong or incompatible with gcc 5 (then
   it's a Xapian bug).

I don't see how this could possibly be a Recoll issue. Except maybe if this
is related to how the libxapian dependancy is expressed in the recoll package ?

Actually, I checked with other xapian-based packages (e.g. xapian-omega
itself) and the builds fail with the same error.

https://people.debian.org/~doko/logs/gcc5-20150205/xapian-omega_1.2.19-1_unstable_gcc5.log

So this really seems a problem with the package rebuild method. It seems
that it is necessary to build and install libxapian with gcc5 before they
building dependant packages. 


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to