This USE just compile fine for me: dev-libs/xapian-1.3.1-r1 USE="brass chert -doc inmemory sse sse2 -static-libs" But dev-libs/xapian-1.3.1-r1 USE="brass -chert -doc inmemory sse sse2 -static-libs" shows: (I didnt try -brass though) libtool: link: x86_64-pc-linux-gnu-g++ -fshow-column -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -fvisibility=hidden -march=native -O1 -fpermissive -Wl,-O1 -Wl,--as-needed -o bin/.libs/xapian-inspect bin/bin_xapian_inspect-xapian-inspect.o ./.libs/libgetopt.a ./.libs/libxapian-1.3.so -lz -luuid bin/bin_xapian_inspect-xapian-inspect.o: In function `do_until(ChertCursor&, std::string const&)': xapian-inspect.cc:(.text+0x436): undefined reference to `ChertCursor::prev()' xapian-inspect.cc:(.text+0x478): undefined reference to `ChertCursor::read_tag(bool)' xapian-inspect.cc:(.text+0x4b5): undefined reference to `ChertCursor::next()' xapian-inspect.cc:(.text+0x574): undefined reference to `ChertCursor::read_tag(bool)' xapian-inspect.cc:(.text+0x5d4): undefined reference to `ChertCursor::read_tag(bool)' bin/bin_xapian_inspect-xapian-inspect.o: In function `main': xapian-inspect.cc:(.text+0x89e): undefined reference to `ChertTable::ChertTable(char const*, std::string const&, bool, int, bool)' xapian-inspect.cc:(.text+0x8ab): undefined reference to `ChertTable::open()' xapian-inspect.cc:(.text+0x8c2): undefined reference to `ChertTable::really_empty() const' xapian-inspect.cc:(.text+0x8f9): undefined reference to `ChertCursor::ChertCursor(ChertTable const*)' xapian-inspect.cc:(.text+0x917): undefined reference to `ChertCursor::find_entry(std::string const&)' xapian-inspect.cc:(.text+0x92e): undefined reference to `ChertCursor::next()' xapian-inspect.cc:(.text+0x97a): undefined reference to `ChertCursor::read_tag(bool)' xapian-inspect.cc:(.text+0xa81): undefined reference to `ChertCursor::next()' xapian-inspect.cc:(.text+0xb2f): undefined reference to `ChertCursor::find_entry(std::string const&)' xapian-inspect.cc:(.text+0xb39): undefined reference to `ChertCursor::prev()' xapian-inspect.cc:(.text+0xca0): undefined reference to `ChertCursor::find_entry(std::string const&)' xapian-inspect.cc:(.text+0xd16): undefined reference to `ChertCursor::find_entry(std::string const&)' xapian-inspect.cc:(.text+0x1013): undefined reference to `ChertCursor::~ChertCursor()' xapian-inspect.cc:(.text+0x101f): undefined reference to `ChertCursor::~ChertCursor()' xapian-inspect.cc:(.text+0x102c): undefined reference to `ChertTable::~ChertTable()' xapian-inspect.cc:(.text+0x103e): undefined reference to `ChertTable::~ChertTable()' xapian-inspect.cc:(.text+0x1113): undefined reference to `ChertCursor::~ChertCursor()' xapian-inspect.cc:(.text+0x1128): undefined reference to `ChertTable::~ChertTable()' collect2: error: ld returned 1 exit status make[2]: *** [bin/xapian-inspect] Error 1
Sounds good to me. I've talked somewhat with upstream re disabling/enabling everything and their general advice is not to. If you disable chert, things start breaking. I still prefer having it there and fixing use cases. Patch: --- dev-libs/xapian/xapian-1.3.1-r1.ebuild +++ dev-libs/xapian/xapian-1.3.1-r1.ebuild @@ -17,7 +17,7 @@ IUSE="doc static-libs -sse +sse2 +brass +chert +inmemory" DEPEND="sys-libs/zlib" RDEPEND="${DEPEND}" - +REQUIRED_USE="inmemory? ( chert )" S="${WORKDIR}/${MY_P}" src_configure() {
(In reply to Johan Bergström from comment #1) > Sounds good to me. I've talked somewhat with upstream re disabling/enabling > everything and their general advice is not to. If you disable chert, things > start breaking. I still prefer having it there and fixing use cases. > > Patch: > --- dev-libs/xapian/xapian-1.3.1-r1.ebuild > +++ dev-libs/xapian/xapian-1.3.1-r1.ebuild > @@ -17,7 +17,7 @@ IUSE="doc static-libs -sse +sse2 +brass +chert +inmemory" > > DEPEND="sys-libs/zlib" > RDEPEND="${DEPEND}" > - > +REQUIRED_USE="inmemory? ( chert )" > S="${WORKDIR}/${MY_P}" > > src_configure() { I'm not so sure. The following work USE="-brass -chert -inmemory -doc -sse -sse2 -static-libs" USE="-brass -chert inmemory -doc -sse -sse2 -static-libs" USE="-brass chert -inmemory -doc -sse -sse2 -static-libs" USE="-brass chert inmemory -doc -sse -sse2 -static-libs" USE=" brass chert -inmemory -doc -sse -sse2 -static-libs" USE=" brass chert inmemory -doc -sse -sse2 -static-libs" The following fail USE="brass -chert -inmemory -doc -sse -sse2 -static-libs" USE="brass -chert inmemory -doc -sse -sse2 -static-libs" It follows that we need REQUIRED_USE="brass? ( chert )" Please check this at your end too.
(In reply to Anthony Basile from comment #2) > (In reply to Johan Bergström from comment #1) > > Sounds good to me. I've talked somewhat with upstream re disabling/enabling > > everything and their general advice is not to. If you disable chert, things > > start breaking. I still prefer having it there and fixing use cases. > > > > Patch: > > --- dev-libs/xapian/xapian-1.3.1-r1.ebuild > > +++ dev-libs/xapian/xapian-1.3.1-r1.ebuild > > @@ -17,7 +17,7 @@ IUSE="doc static-libs -sse +sse2 +brass +chert +inmemory" > > > > DEPEND="sys-libs/zlib" > > RDEPEND="${DEPEND}" > > - > > +REQUIRED_USE="inmemory? ( chert )" > > S="${WORKDIR}/${MY_P}" > > > > src_configure() { > > > I'm not so sure. The following work > > USE="-brass -chert -inmemory -doc -sse -sse2 -static-libs" > USE="-brass -chert inmemory -doc -sse -sse2 -static-libs" > USE="-brass chert -inmemory -doc -sse -sse2 -static-libs" > USE="-brass chert inmemory -doc -sse -sse2 -static-libs" > > USE=" brass chert -inmemory -doc -sse -sse2 -static-libs" > USE=" brass chert inmemory -doc -sse -sse2 -static-libs" > > The following fail > > USE="brass -chert -inmemory -doc -sse -sse2 -static-libs" > USE="brass -chert inmemory -doc -sse -sse2 -static-libs" > > > It follows that we need REQUIRED_USE="brass? ( chert )" > > Please check this at your end too. ping