Merge ~ahasenack/ubuntu/+source/openldap:focal-slapd-perl-any into ubuntu/+source/openldap:ubuntu/devel
Status: | Merged |
---|---|
Approved by: | Andreas Hasenack |
Approved revision: | 19eff4338d456ac1a662970f8c8c664672679887 |
Merged at revision: | 19eff4338d456ac1a662970f8c8c664672679887 |
Proposed branch: | ~ahasenack/ubuntu/+source/openldap:focal-slapd-perl-any |
Merge into: | ubuntu/+source/openldap:ubuntu/devel |
Diff against target: |
31 lines (+11/-1) 2 files modified
debian/changelog (+10/-0) debian/control (+1/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Christian Ehrhardt (community) | Approve | ||
Canonical Server | Pending | ||
Review via email:
|
Description of the change
Allow slapd to use the perl *interpreter* from another architecture. The interpreter is used only in postinst & friends, and build time helper scripts.
This fix the problem where slapd:i386 cannot be installed on an amd64 host:
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install slapd
It fails like this:
Unpacking libsasl2-
dpkg: dependency problems prevent configuration of slapd:i386:
slapd:i386 depends on perl (>> 5.8.0) | libmime-
dpkg: error processing package slapd:i386 (--configure):
dependency problems - leaving unconfigured
...
Errors were encountered while processing:
slapd:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
Which in turn happens when trying to run the krb5:i386 dep8 tests.
I sent an email to the debian uploaders, and Ryan Tandy agreed with the analysis and will take the change once its shown to be fine for Ubuntu (i.e., in our archive).
Bileto ticket, with the right triggers, shows openldap and krb5 dep8 i386 tests passing:
https:/
You can also get the test PPA from that link, but here it is:
https:/
sudo add-apt-repository ppa:ci-
Sorry, this takes a bit longer despite the small change.
I went for some more testing on this and while it generally works I got it into a state where it can't (re-)install that I want to debug first before approving.