Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123239 - Xapian-0.9.3 -- possible problem with patch
Summary: Xapian-0.9.3 -- possible problem with patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-18 01:20 UTC by Gary Young
Modified: 2006-02-18 03:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Young 2006-02-18 01:20:38 UTC
After upgrading to xapian-0.9.3, I tried to compile a program called Recoll using an unofficial ebuild (see bug# 120214). During configuration, recoll gave out these warnings:

/usr/bin/xapian-config: line 224: unexpected EOF while looking for matching `''
/usr/bin/xapian-config: line 242: syntax error: unexpected end of file
/usr/bin/xapian-config: line 224: unexpected EOF while looking for matching `''
/usr/bin/xapian-config: line 242: syntax error: unexpected end of file

Ultimately, the compilation failed after several warnings about undefined xapian elements. Here's the final bit (I can post the whole thing if that would be helpful):

==============================

../lib/librcl.a(rcldb.o): In function `std::_List_base<Xapian::Query, std::allocator<Xapian::Query> >::_M_clear()':
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_construct.h:107: undefined reference to `Xapian::Query::~Query()'
collect2: ld returned 1 exit status
make[1]: *** [recollindex] Error 1
make[1]: Leaving directory `/var/tmp/portage/recoll-1.2.2-r1/work/recoll-1.2.2/index'
make: *** [all] Error 2

!!! ERROR: app-misc/recoll-1.2.2-r1 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile

===============================

I noticed that the patch for 0.9.3 contains a line about EOFs. Recoll compiled fine when I emerged xapian without the patch.
Comment 1 Daniel Black (RETIRED) gentoo-dev 2006-02-18 03:48:46 UTC
you're quite right - add a quote (") at the end of line 24 of /usr/bin/xapian-config.
Comment 2 Daniel Black (RETIRED) gentoo-dev 2006-02-18 03:53:16 UTC
fixed in 0.8.3-r1. sorry for the inconvience and thanks for the bug report.