Bug 41199 - UCS 3.3 Perl module packages depending on OpenSSL fail to build
UCS 3.3 Perl module packages depending on OpenSSL fail to build
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: SSL
UCS 3.3
Other Linux
: P5 normal (vote)
: UCS 3.3
Assigned To: Philipp Hahn
Arvid Requate
:
: 41337 (view as bug list)
Depends on:
Blocks: 40688
  Show dependency treegraph
 
Reported: 2016-05-03 20:45 CEST by Arvid Requate
Modified: 2016-09-29 17:25 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2016-05-03 20:45:23 CEST
+++ This bug was initially created as a clone of Bug #40688 +++

The following source packages depend on openssl but currently fail to build due to /usr/lib/perl/5.10/DynaLoader.pm not finding the shared libraries:

Package: libcrypt-openssl-bignum-perl
Package: libcrypt-openssl-random-perl
Package: libcrypt-openssl-rsa-perl
Package: libnet-ssleay-perl
Comment 1 Philipp Hahn univentionstaff 2016-05-25 12:18:40 CEST
*** Bug 41337 has been marked as a duplicate of this bug. ***
Comment 2 Philipp Hahn univentionstaff 2016-05-25 20:14:50 CEST
This is caused by "perl" not being multi-arch aware in UCS-3.3: <https://wiki.debian.org/Multiarch/Perl>

r16538 | Bug #41199: perl multiarch fix
 <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631096>

BUG: The pbuilder return "Debian" as the vendor:
  ln -snf univention /etc/dpkg/origins/default

repo_admin.py --cherrypick -r 3.2 --releasedest 3.3 -p perl
repo_admin.py --cherrypick -r 3.0 --releasedest 3.3 -p libcrypt-openssl-bignum-perl

Still doesn't built ...
Comment 3 Philipp Hahn univentionstaff 2016-05-26 12:05:13 CEST
r16538 | Bug #41199: perl multiarch fix
r16539 | Bug #41199: perl multiarch fix for h2hp
r16540 | Bug #41199: perl multiarch fix for h2hp
r16541 | Bug #41199: perl multiarch fix for h2hp
r16542 | Bug #41199: perl multiarch fix for h2hp
r16543 | Bug #41199: perl fix gcc-4.5+ compilation

Package: perl
Version: 5.10.1-17.81.201605260959
Branch: ucs_3.3-0

Package: libcrypt-openssl-bignum-perl
Version: 0.04-2.8.201605261030
Branch: ucs_3.3-0

$ echo -n 3 >/var/univention/buildsystem2/config/versions/libcrypt-openssl-random-perl

Package: libcrypt-openssl-random-perl
Version: 0.04-1.4.201605261036
Branch: ucs_3.3-0

Package: libcrypt-openssl-rsa-perl
Version: 0.28-1~ucs3.3.6.201605261038
Branch: ucs_3.3-0

$ repo_admin.py --cherrypick -r 4.0 --releasedest 3.3 -p libnet-ssleay-perl

Package: libnet-ssleay-perl
Version: 1.48-1~ucs3.3.22.201605261039
Branch: ucs_3.3-0
Comment 4 Arvid Requate univentionstaff 2016-05-26 21:37:58 CEST
Great!

Verified: I installed amavisd-new imapsync in UCS 3.2-8, which pulled the packages and then the they have been upgraded successfully in UCS 3.3:

libcrypt-openssl-bignum-perl                     0.04-2.8.201605261030
libcrypt-openssl-random-perl                     0.04-1.4.201605261036
libcrypt-openssl-rsa-perl                        0.28-1~ucs3.3.6.201605261038
libnet-ssleay-perl                               1.48-1~ucs3.3.22.201605261039
Comment 5 Stefan Gohmann univentionstaff 2016-05-27 07:57:42 CEST
I'm unable to build a UCS 3.3 i386 DVD, see /var/univention/buildsystem2/isotests/ucs_3.3-0-20160527075152-dvd-i386.log:

You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 liblocale-gettext-perl : PreDepends: perl-base (>= 5.14.2-21~ucs3.3.77.201605241433) but 5.10.1-17.81.201605260959 is installed
                          PreDepends: perlapi-5.14.2 but it is not installable
 libtext-charwidth-perl : Depends: perl-base (>= 5.14.2-21~ucs3.3.77.201605241433) but 5.10.1-17.81.201605260959 is installed
                          Depends: perlapi-5.14.2 but it is not installable
 libtext-iconv-perl : Depends: perl-base (>= 5.14.2-21~ucs3.3.77.201605241433) but 5.10.1-17.81.201605260959 is installed
                      Depends: perlapi-5.14.2 but it is not installable
STDERR: E: Unmet dependencies. Try using -f.
STDERR: E: Unmet dependencies. Try using -f.

It looks like a relict of a package build is still in the i386 repository. The amd64 build works.
Comment 6 Philipp Hahn univentionstaff 2016-05-27 11:37:41 CEST
(In reply to Stefan Gohmann from comment #5)
> I'm unable to build a UCS 3.3 i386 DVD, see
> /var/univention/buildsystem2/isotests/ucs_3.3-0-20160527075152-dvd-i386.log:
...
> The following packages have unmet dependencies:
>  liblocale-gettext-perl : PreDepends: perl-base (>=
> 5.14.2-21~ucs3.3.77.201605241433) but 5.10.1-17.81.201605260959 is installed
>                           PreDepends: perlapi-5.14.2 but it is not
> installable
>  libtext-charwidth-perl : Depends: perl-base (>=
> 5.14.2-21~ucs3.3.77.201605241433) but 5.10.1-17.81.201605260959 is installed
>                           Depends: perlapi-5.14.2 but it is not installable
>  libtext-iconv-perl : Depends: perl-base (>=
> 5.14.2-21~ucs3.3.77.201605241433) but 5.10.1-17.81.201605260959 is installed
>                       Depends: perlapi-5.14.2 but it is not installable
...
> It looks like a relict of a package build is still in the i386 repository.

Relics from the perl-5.14 built have been removed:
$ find \( -name libtext-iconv-perl\* -o -name libtext-charwidth-perl\* -o -name liblocale-gettext-perl\* \) -delete
$ repo-apt-ftparchive --release ucs_3.3-0
$ create_dists_packages.sh --fast
$ build-cd-ucs3.3-0 
...
    log file: /var/univention/buildsystem2/isotests/ucs_3.3-0-20160527110059-dvd-i386.log
...
creating ISO image
cleanup
Comment 7 Stefan Gohmann univentionstaff 2016-05-27 16:11:34 CEST
(In reply to Philipp Hahn from comment #6)
> Relics from the perl-5.14 built have been removed:
> $ find \( -name libtext-iconv-perl\* -o -name libtext-charwidth-perl\* -o
> -name liblocale-gettext-perl\* \) -delete
> $ repo-apt-ftparchive --release ucs_3.3-0
> $ create_dists_packages.sh --fast
> $ build-cd-ucs3.3-0 
> ...
>     log file:
> /var/univention/buildsystem2/isotests/ucs_3.3-0-20160527110059-dvd-i386.log
> ...
> creating ISO image
> cleanup

OK
Comment 8 Stefan Gohmann univentionstaff 2016-06-07 21:35:43 CEST
UCS 3.3 has been released:
 https://docs.software-univention.de/release-notes-3.3-0-en.html
 https://docs.software-univention.de/release-notes-3.3-0-de.html

If this error occurs again, please use "Clone This Bug".