Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 438166 - dev-libs/libmemcached-1.0.11 - configure: WARNING: unrecognized options: --disable-libinnodb, --enable-libevent, --with-libsasl-prefix, --with-libsasl2-prefix
Summary: dev-libs/libmemcached-1.0.11 - configure: WARNING: unrecognized options: --di...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-12 20:02 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2012-11-20 05:32 UTC (History)
0 users

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


Attachments
libmemcached-1.0.12.ebuild (libmemcached-1.0.12.ebuild,1.41 KB, text/plain)
2012-10-18 05:58 UTC, Johan Bergström
Details
libmemcached-1.0.12-headers.patch (libmemcached-1.0.12-headers.patch,1.20 KB, patch)
2012-10-18 05:59 UTC, Johan Bergström
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2012-10-12 20:02:11 UTC
>>> Configuring source in /var/tmp/portage/dev-libs/libmemcached-1.0.11/work/libmemcached-1.0.11 ...
 * econf: updating libmemcached-1.0.11/config/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating libmemcached-1.0.11/config/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dtrace --disable-libinnodb --disable-assert --without-debug --disable-hsieh_hash --enable-libevent --disable-tcmalloc --with-libsasl-prefix --with-libsasl2-prefix --disable-static
configure: WARNING: unrecognized options: --disable-libinnodb, --enable-libevent, --with-libsasl-prefix, --with-libsasl2-prefix


dev-libs/libmemcached-1.0.4 does not have this problem.
This problem was introduced in the following commit:

*libmemcached-1.0.11 (09 Oct 2012)

  09 Oct 2012; Patrick Lauer <patrick@gentoo.org> +libmemcached-1.0.11.ebuild:
  Bump, updated homepage
Comment 1 Johan Bergström 2012-10-17 03:43:28 UTC
I will fix this for 1.0.12. Also fix a known problem with include headers not having proper hex version information (http://lists.libmemcached.org/pipermail/libmemcached-discuss/2012-October/001341.html , somehow scrubbed my attachment)
Comment 2 Johan Bergström 2012-10-18 05:58:06 UTC
Created attachment 326806 [details]
libmemcached-1.0.12.ebuild

Ok, this ebuild should mitigate these warnings. A couple of notes:

- podparser isn't used anymore. removed
- libevent dep isn't optional
- sasl check isn't configurable anymore, but the source code properly reads config.h output, so its still in reps
- added patch to fix broken headers (next attachment)

The test suite is imo still questionable. Spawning servers takes roughly a minute each (it just waits), which makes the entire test suite run for 20mins+. I'll look into it at some point and talk to upstream if I find anything.

I have two test fails:

tests/libmemcached-1.0/mem_functions.cc:4855: in kill_HUP_TEST() Expected "CONNECTION FAILURE" got "WRITE FAILURE"
kill().kill(HUP)					[ failed ]

and

tests/hashkit_functions.cc:333: in hashkit_set_function_test() Expected "0" got "4"
hashkit_st_functions.hashkit_set_function					[ failed ]
Comment 3 Johan Bergström 2012-10-18 05:59:04 UTC
Created attachment 326808 [details, diff]
libmemcached-1.0.12-headers.patch
Comment 4 Johan Bergström 2012-11-13 20:27:03 UTC
Fyi, the headers patch isn't needed in 1.0.13. I'll create a bump for this version soon, copying the updated ebuild over there.
Comment 5 Johan Bergström 2012-11-20 05:32:03 UTC
Fixed in 1.0.14 (bug 443056).