Bug#658408: libapache2-mod-shib2: FTBFS with libmemcached-dev-1.0.3-1

Russ Allbery rra at debian.org
Sun Feb 5 04:49:15 UTC 2012

Michael Fladischer <michael at fladi.at> writes:

> Here's a simple patch to fix this bug. I tested it on amd64 and i386 and
> it built fine.

Thanks!  I checked the libmemcached 1.0 source and can confirm that this
will work, although it will duplicate the "SYSTEM ERROR" string since
memcached_strerror will already add that.  But it will fix the build
against 1.0, so I'll apply this and upload it once the 1.0 libmemcached
build stabilizes.  (Right now, it's failing on most architectures.)

Scott, in the long run it looks like you can merge the _ERRNO case with
the case below it when doing error reporting and remove the SYSTEM ERROR
or Problems part of the suffix, since memcached_last_error_message() will
add all that stuff for you.  Unfortunately, though, that function is new
in the 1.0 API and doesn't exist in 0.44, so you'll probably have to add
some configure glue to build with the new version.  :/  (Or drop support
for older versions, of course.)

Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>

More information about the Pkg-shibboleth-devel mailing list