Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328213 - app-misc/sphinx - Add option to build libsphinxclient
Summary: app-misc/sphinx - Add option to build libsphinxclient
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
: 308747 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-14 04:37 UTC by Brian Moon
Modified: 2010-11-09 20:33 UTC (History)
2 users (show)

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


Attachments
sphinx-0.9.9-r2.patch (sphinx.patch,1.13 KB, patch)
2010-11-04 13:21 UTC, Fabian Groffen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Moon 2010-07-14 04:37:17 UTC
The sphinx package source contains a libsphinxclient C library as a separate build process. Either having the option to build libsphinxclient (only?) or having it as a separate ebuild would be great. Other things want to build against it.

Reproducible: Always

Steps to Reproduce:
1. build sphinx
2. no lib
3.

Actual Results:  
no lib

Expected Results:  
want a lib build

The bad news is that there is an upstream bug as of today with the released version that causes libsphinxclient not to build on Gentoo. But, there is a patch in their bug system and in their trunk.

http://www.sphx.org/bugs/view.php?id=468
Comment 1 Hans de Graaff gentoo-dev Security 2010-07-21 12:44:10 UTC
The problem you mentioned is fixed in sphinx 1.10-beta, but unfortunately there is a new problem: http://www.sphinxsearch.com/bugs/view.php?id=550

This looks to be a FreeBSD'ism.
Comment 2 Fabian Groffen gentoo-dev 2010-11-04 13:08:40 UTC
supposed fix for 1.10_beta: http://code.google.com/p/sphinxsearch/source/detail?r=2423# (only unfold trunk/api/libsphinxclient/sphinxclient.c)

see also bug #308747
Comment 3 Fabian Groffen gentoo-dev 2010-11-04 13:21:35 UTC
Created attachment 253181 [details, diff]
sphinx-0.9.9-r2.patch

This patch builds the client library for version 0.9.9
- it builds api/libsphinxclient
- it fixes the build (static sock_close)
- it makes sure the library is not pre-stripped (STRIP=:)
Comment 4 Fabian Groffen gentoo-dev 2010-11-05 10:41:17 UTC
my patch needs an eautoreconf in api/libsphinxclient too, or it will fail to configure on at least Darwin.
Comment 5 Hans de Graaff gentoo-dev Security 2010-11-09 20:29:51 UTC
*** Bug 308747 has been marked as a duplicate of this bug. ***
Comment 6 Hans de Graaff gentoo-dev Security 2010-11-09 20:33:10 UTC
I've just added sphinx-0.9.9-r2 and sphinx-1.10_beta-r1 which now both build
and install the libsphinxclient library. The other issues reported by Fabian
are also fixed.