I verified multiarch constallation of libperl binary packages with
5.26.1-6ubuntu0.2:

root@bb-perl-multiarch:~# apt install libperl5.26 libperl5.26:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libfreetype6
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  gcc-8-base:i386 libbz2-1.0:i386 libc6:i386 libdb5.3:i386 libgcc1:i386
  libgdbm-compat4:i386 libgdbm5:i386 perl perl-base perl-modules-5.26
  zlib1g:i386
Suggested packages:
  glibc-doc:i386 locales:i386 gdbm-l10n:i386 perl-doc
  libterm-readline-gnu-perl | libterm-readline-perl-perl make
The following NEW packages will be installed:
  gcc-8-base:i386 libbz2-1.0:i386 libc6:i386 libdb5.3:i386 libgcc1:i386
  libgdbm-compat4:i386 libgdbm5:i386 libperl5.26:i386 zlib1g:i386
The following packages will be upgraded:
  libperl5.26 perl perl-base perl-modules-5.26
4 upgraded, 9 newly installed, 0 to remove and 15 not upgraded.
Need to get 14.5 MB of archives.
After this operation, 29.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 libperl5.26 
amd64 5.26.1-6ubuntu0.2 [3531 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 perl amd64 
5.26.1-6ubuntu0.2 [201 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 perl-base 
amd64 5.26.1-6ubuntu0.2 [1390 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 
perl-modules-5.26 all 5.26.1-6ubuntu0.2 [2762 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic/main i386 gcc-8-base i386 
8-20180414-1ubuntu2 [18.2 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic/main i386 libgcc1 i386 
1:8-20180414-1ubuntu2 [48.1 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic/main i386 libc6 i386 
2.27-3ubuntu1 [2551 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic/main i386 libbz2-1.0 i386 
1.0.6-8.1 [31.0 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic/main i386 libdb5.3 i386 
5.3.28-13.1ubuntu1 [738 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic/main i386 zlib1g i386 
1:1.2.11.dfsg-0ubuntu2 [58.2 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic/main i386 libgdbm5 i386 1.14.1-6 
[29.9 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic/main i386 libgdbm-compat4 i386 
1.14.1-6 [6660 B]
Get:13 http://archive.ubuntu.com/ubuntu bionic-proposed/main i386 libperl5.26 
i386 5.26.1-6ubuntu0.2 [3183 kB]
Fetched 14.5 MB in 3s (4493 kB/s)            
Preconfiguring packages ...
(Reading database ... 28485 files and directories currently installed.)
Preparing to unpack .../libperl5.26_5.26.1-6ubuntu0.2_amd64.deb ...
Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.2) over (5.26.1-6ubuntu0.1) ...
Preparing to unpack .../perl_5.26.1-6ubuntu0.2_amd64.deb ...
Unpacking perl (5.26.1-6ubuntu0.2) over (5.26.1-6ubuntu0.1) ...
Preparing to unpack .../perl-base_5.26.1-6ubuntu0.2_amd64.deb ...
Unpacking perl-base (5.26.1-6ubuntu0.2) over (5.26.1-6ubuntu0.1) ...
Setting up perl-base (5.26.1-6ubuntu0.2) ...
(Reading database ... 28485 files and directories currently installed.)
Preparing to unpack .../0-perl-modules-5.26_5.26.1-6ubuntu0.2_all.deb ...
Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.2) over (5.26.1-6ubuntu0.1) ...
Selecting previously unselected package gcc-8-base:i386.
Preparing to unpack .../1-gcc-8-base_8-20180414-1ubuntu2_i386.deb ...
Unpacking gcc-8-base:i386 (8-20180414-1ubuntu2) ...
Selecting previously unselected package libgcc1:i386.
Preparing to unpack .../2-libgcc1_1%3a8-20180414-1ubuntu2_i386.deb ...
Unpacking libgcc1:i386 (1:8-20180414-1ubuntu2) ...
Selecting previously unselected package libc6:i386.
Preparing to unpack .../3-libc6_2.27-3ubuntu1_i386.deb ...
Unpacking libc6:i386 (2.27-3ubuntu1) ...
Selecting previously unselected package libbz2-1.0:i386.
Preparing to unpack .../4-libbz2-1.0_1.0.6-8.1_i386.deb ...
Unpacking libbz2-1.0:i386 (1.0.6-8.1) ...
Selecting previously unselected package libdb5.3:i386.
Preparing to unpack .../5-libdb5.3_5.3.28-13.1ubuntu1_i386.deb ...
Unpacking libdb5.3:i386 (5.3.28-13.1ubuntu1) ...
Selecting previously unselected package zlib1g:i386.
Preparing to unpack .../6-zlib1g_1%3a1.2.11.dfsg-0ubuntu2_i386.deb ...
Unpacking zlib1g:i386 (1:1.2.11.dfsg-0ubuntu2) ...
Selecting previously unselected package libgdbm5:i386.
Preparing to unpack .../7-libgdbm5_1.14.1-6_i386.deb ...
Unpacking libgdbm5:i386 (1.14.1-6) ...
Selecting previously unselected package libgdbm-compat4:i386.
Preparing to unpack .../8-libgdbm-compat4_1.14.1-6_i386.deb ...
Unpacking libgdbm-compat4:i386 (1.14.1-6) ...
Selecting previously unselected package libperl5.26:i386.
Preparing to unpack .../9-libperl5.26_5.26.1-6ubuntu0.2_i386.deb ...
Unpacking libperl5.26:i386 (5.26.1-6ubuntu0.2) ...
Setting up perl-modules-5.26 (5.26.1-6ubuntu0.2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.2) ...
Setting up gcc-8-base:i386 (8-20180414-1ubuntu2) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up perl (5.26.1-6ubuntu0.2) ...
Setting up libc6:i386 (2.27-3ubuntu1) ...
Setting up libgdbm5:i386 (1.14.1-6) ...
Setting up libbz2-1.0:i386 (1.0.6-8.1) ...
Setting up libgdbm-compat4:i386 (1.14.1-6) ...
Setting up libgcc1:i386 (1:8-20180414-1ubuntu2) ...
Setting up libdb5.3:i386 (5.3.28-13.1ubuntu1) ...
Setting up zlib1g:i386 (1:1.2.11.dfsg-0ubuntu2) ...
Setting up libperl5.26:i386 (5.26.1-6ubuntu0.2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
root@bb-perl-multiarch:~# 

** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-dome verification-done-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to perl in Ubuntu.
https://bugs.launchpad.net/bugs/1574351

Title:
  package libperl5.22 5.22.1-9 failed to install/upgrade: trying to
  overwrite shared '/usr/share/doc/libperl5.22/changelog.Debian.gz',
  which is different from other instances of package libperl5.22:i386

Status in perl package in Ubuntu:
  New
Status in pkgbinarymangler package in Ubuntu:
  Fix Released
Status in perl source package in Bionic:
  Fix Committed
Status in pkgbinarymangler source package in Bionic:
  Fix Committed

Bug description:
  [Impact]

   * Pkgstripfiles generates different stripped documentation for
  arch:any packages depending on if arch:all packages are built at the
  same time. In practice it means that amd64 packages may end up
  different file contents of doc files compared to other architectures
  making multiarch installation of the affected packages impossible
  without workarounds.

   * To fix affected packages by a rebuild the pkgbinarymangler package
  needs to be backported, too.

   * The fix in pkgstripfiles is skipping symlinking documentation to
  dependent packages with identical content when the dependent packages
  are not built.

  [Test Case]

   * To test pkgbinarymangler rebuild perl i386 packages without arch:all 
packages with the fixed pkgbinarymangler package and observe the following 
message in the build log:
  ...
  Skipping perl-modules-5.26 because it is not to be built
  ...
   * Note that PPA builds skip the mangling steps thus the package needs to be 
built in sbuild/pbuilder/in the official archive with pkgbinarymangler added as 
an extra package in case of a local build.
   * The resulting libperl5.2? package can also be analyzed to see 
changelog.Debian.gz not symlinked to perl-modules-5.2?'s changelog, but to 
check if the original bug is fixed just install libperl5.26:amd64 and 
libperl5.26:i386 using multiarch (here we assume the current architecture is 
amd64):
  $ sudo dpkg --add-architecture i386
  $ sudo apt update
  $ sudo apt install libperl5.26:i386

  
  [Regression Potential]

   * The pkgbinarymangler fix may break the pkgstripfiles script causing
  FTBFS of unrelated packages or could cause building not stripped
  packages. The former problem would be caught early, while the latter
  can be avoided by checking the build logs of a few other packages
  rebuilt with the fixed pkgbinarymangler package.

  [Original Bug Text]

  Don't run aplication after upgrade from 14.04

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: libperl5.22 5.22.1-9
  ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
  Uname: Linux 4.4.0-21-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  Date: Sun Apr 24 21:08:20 2016
  DpkgTerminalLog:
   Preparing to unpack .../libperl5.22_5.22.1-9_i386.deb ...
   Unpacking libperl5.22:i386 (5.22.1-9) ...
   dpkg: error processing archive 
/var/cache/apt/archives/libperl5.22_5.22.1-9_i386.deb (--unpack):
    trying to overwrite shared 
'/usr/share/doc/libperl5.22/changelog.Debian.gz', which is different from other 
instances of package libperl5.22:i386
  DuplicateSignature:
   Unpacking libperl5.22:i386 (5.22.1-9) ...
   dpkg: error processing archive 
/var/cache/apt/archives/libperl5.22_5.22.1-9_i386.deb (--unpack):
    trying to overwrite shared 
'/usr/share/doc/libperl5.22/changelog.Debian.gz', which is different from other 
instances of package libperl5.22:i386
  ErrorMessage: trying to overwrite shared 
'/usr/share/doc/libperl5.22/changelog.Debian.gz', which is different from other 
instances of package libperl5.22:i386
  InstallationDate: Installed on 2016-04-24 (0 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 
(20160420.1)
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1
   apt  1.2.10ubuntu1
  SourcePackage: perl
  Title: package libperl5.22 5.22.1-9 failed to install/upgrade: trying to 
overwrite shared '/usr/share/doc/libperl5.22/changelog.Debian.gz', which is 
different from other instances of package libperl5.22:i386
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1574351/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to