Backporting shibboleth-sp2 to wheezy

Ferenc Wágner wferi at niif.hu
Fri Nov 4 15:12:57 UTC 2016


Etienne Dysli-Metref <etienne.dysli-metref at switch.ch> writes:

> Since opensaml2 2.6.0-4~bpo7+1 arrived in the official archive
> yesterday, I began backporting shibboleth-sp2 to wheezy. This last piece
> has more traps than the other packages: there where many build system
> changes since the last backport (2.5.3+dfsg-2~bpo70+1) and I have to
> revert things to build for Apache 2.2...

Yes, this last step was fully expected to be somewhat cumbersome.

> I started by merging debian/master into debian/wheezy-backports to
> create debian/wheezy-backports-sloppy. I tried as best as my
> understanding allowed to resolve the merge conflicts. Then I removed a
> few patches (one unused and two others to go back to non-pkg-config
> GSSAPI).

Instead of removing those patches, try passing

gss_LIBS="-L/usr/lib/x86_64-linux-gnu/mit-krb5 -lgssapi_krb5" GSS_VENDOR=MIT

to the configure script.

> Now I'm stumbling upon a build failure I have a hard time understanding.
> There is an error while executing this line in
> 'debian/libapache2-mod-shib2.install':
>
> usr/lib/${DEB_HOST_MULTIARCH}/shibboleth/mod_shib_22.so =>
> usr/lib/apache2/modules/mod_shib2.so
>
>> Copy failed: No such file or directory at /usr/share/dh-exec/dh-exec-install-rename line 29, <> line 2.
>> dh_install: problem reading debian/shibboleth-sp2-utils.install:

Why do you think it's related to the Apache module?  I think you're hit
by dh-exec being too old, try something like:

--- a/debian/shibboleth-sp2-utils.install
+++ b/debian/shibboleth-sp2-utils.install
@@ -1,8 +1,8 @@
 #!/usr/bin/dh-exec
 
-etc/shibboleth/keygen.sh     => usr/sbin/shib-keygen
-etc/shibboleth/metagen.sh    => usr/bin/shib-metagen
-etc/shibboleth/shibd-debian  => etc/init.d/shibd
+etc/shibboleth/keygen.sh => usr/sbin/shib-keygen
+etc/shibboleth/metagen.sh => usr/bin/shib-metagen
+etc/shibboleth/shibd-debian => etc/init.d/shibd
 etc/shibboleth/shibd-systemd => lib/systemd/system/shibd.service [linux-any]
 usr/bin
 usr/lib/*/shibboleth/shibauthorizer
-- 
Regards,
Feri



More information about the Pkg-shibboleth-devel mailing list