Apache compilation warning

Ferenc Wagner wferi at niif.hu
Wed Jun 25 19:07:26 UTC 2008


Russ Allbery <rra at debian.org> writes:

> Ferenc Wagner <wferi at niif.hu> writes:
>
>> Okay.  What about the following?  They sound reasonable, isn't there a
>> way to suppress them?
>>
>> dpkg-shlibdeps: warning: symbol ap_register_output_filter used by debian/libapache2-mod-shib2/usr/lib/apache2/modules/mod_shib_22.so found in none of the libraries.
>> dpkg-shlibdeps: warning: 58 other similar warnings have been skipped (use -v to see them all).
>
> This is a limitation in dpkg-shlibdeps with Apache modules.  Those symbols
> are provided by the Apache binary itself when the module is loaded, and
> dpkg-shlibdeps has no way of knowing that.  For the time being, one has to
> just ignore them.

Thanks for the explanation; I expected something similar.

>> And something more mysterious:
>>
>> dpkg-shlibdeps: warning: dependency on libnsl.so.1 could be avoided if "debian/libapache2-mod-shib2/usr/bin/resolvertest debian/libapache2-mod-shib2/usr/lib/apache2/modules/mod_shib_22.so debian/libapache2-mod-shib2/usr/lib/libshibsp.so.1.0.0 debian/libapache2-mod-shib2/usr/lib/shibboleth/adfs.so debian/libapache2-mod-shib2/usr/bin/mdquery debian/libapache2-mod-shib2/usr/lib/shibboleth/adfs-lite.so debian/libapache2-mod-shib2/usr/sbin/shibd debian/libapache2-mod-shib2/usr/lib/libshibsp-lite.so.1.0.0" were not uselessly linked against it (they use none of its symbols).
>
> This is a minor upstream buglet in one of the packages that Shibboleth 2.0
> depends on.  libnsl is harmless but pointless on Linux, but required on
> Solaris.  There's a way of writing the configure probe to not link against
> it on Linux as well, if we can figure out the right package (I don't think
> it's Shibboleth 2.0 itself, since I don't see any references to nsl in its
> source tree; it's probably picking it up from a *.la file via libtool),
> but it's not horribly important.

Good to know.  It's a part of libc I've never heard of.

>> One more thing: in the changes file the short description of all three
>> packages is the same, as if the parenthesised part was chopped off.
>> Maybe the new short description is too long, after all...
>
> It is too long -- one way to fix it is to drop "authentication and" from
> all the short descriptions, since Shibboleth isn't, strictly speaking, an
> authentication system.  (You have to provide your own authentication
> system and protect the IdP with it.)

Yeah, I got that text from Wikipedia.  I did as you suggested, now we
don't have to include them in the copyright file. :)
I hope Scott will come up with positive results on this field.

> Are the schemas required at build-time?

Surprisingly, yes.  The configure script checks for them.  They
probably aren't strictly needed, but why fiddle with that monstrous
script.  No obvious option jumped at me at first glance.

> Also, the runtime library needs to be broken out into a separate
> libshibsp1 package and libshib2-dev should be libshibsp-dev, matching the
> new library name.  I can do this, but don't want to stomp on what you're
> doing and create unnecessary conflicts.  Let me know when you've finished
> what you have time for today and I'll start working on the rest.

Oh thanks, I'll leave this to you then.  I've had enough for today.
The Apache module can be loaded at least, just checked it, but it
doesn't let me into our test installation yet.  Some configuration is
obviously needed.  That will tell us something about what else is
needed in the package (Apache .load and .conf files, other
configuration fragments, chmods for logging etc.)
-- 
Cheers,
Feri.



More information about the Pkg-shibboleth-devel mailing list