** Description changed:

+ [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 analyzed to see 
changelog.Debian.gz not symlinked to perl-modules-5.2?'s changelog.
+ 
+ [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
+  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
+  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
+  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)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to