Reproducible: Always Steps to Reproduce: 1. emerge cyrus-sasl 2. USE=-sasl emerge dev-libs/libmemcached 3. ldd /usr/bin/memcapable|grep sasl Actual Results: libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007fd5e112f000) Expected Results: sasl must be linked only if needed.
Created attachment 367950 [details, diff] fix sasl linking
which version? Latest in tree has it (1.0.17). perhaps a stablereq is in order. robbat2: why so many memcache stuff languishing in the tree?
grep sasl libmemcached-0.50.ebuild libmemcached-1.0.11.ebuild libmemcached-1.0.14.ebuild libmemcached-1.0.17.ebuild libmemcached-0.50.ebuild:IUSE="debug doc hsieh +libevent sasl static-libs tcmalloc" libmemcached-0.50.ebuild: sasl? ( virtual/gsasl )" libmemcached-0.50.ebuild: $(use_with sasl libsasl-prefix) \ libmemcached-0.50.ebuild: $(use_with sasl libsasl2-prefix) \ libmemcached-1.0.11.ebuild:IUSE="debug doc hsieh +libevent sasl static-libs tcmalloc" libmemcached-1.0.11.ebuild: sasl? ( virtual/gsasl )" libmemcached-1.0.11.ebuild: $(use_with sasl libsasl-prefix) \ libmemcached-1.0.11.ebuild: $(use_with sasl libsasl2-prefix) \ libmemcached-1.0.14.ebuild: dev-libs/cyrus-sasl libmemcached-1.0.17.ebuild: dev-libs/cyrus-sasl libmemcached-1.0.17.ebuild: $(use_enable sasl sasl) \ 0.50 & 1.00.11 has "sasl"-useflag, conditional DEPEND=virtual/gsasl, but no "use_enable sasl" :( 1.0.14 has no "sasl"-useflag, unconditional DEPEND=cyrus-sasl, no "use_enable sasl" :( 1.0.17 has no "sasl"-useflag, unconditional DEPEND=cyrus-sasl and "use_enable sasl" :(
what about libmemcached-1.0.17-r2.ebuild ?
libmemcached-1.0.17-r2 has unconditional DEPEND=cyrus-sasl. - dev-libs/cyrus-sasl + sasl? ( dev-libs/cyrus-sasl )
ok, fixed in r3, thanks :D