/usr/share/doc/gcc-4.5/README.Debian.gz contains arch-specific patch information, makes it not multiarch-safe
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.5 (Ubuntu) |
Fix Released
|
Medium
|
Steve Langasek |
Bug Description
Binary package hint: gcc-4.5
$ sudo apt-get install gcc-4.5-base:armel
[...]
Preparing to replace gcc-4.5-base:armel 4.5.2-6ubuntu4 (using .../gcc-
Unpacking replacement gcc-4.5-base:armel ...
dpkg: error processing /var/cache/
'./usr/
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
$
Files in /usr/share directories need to be the same between architectures if the owning package is going to be multiarch-
(This doesn't affect i386+amd64, which use the same set of patches between them; but I'd really like to be able to install armel on my x86 machines. :)
Related branches
- Loïc Minier: Approve
- Matthias Klose: Pending requested
-
Diff: 22 lines (+5/-0)2 files modifieddebian/README.Debian (+3/-0)
debian/changelog (+2/-0)
tags: | added: multiarch |
Changed in gcc-4.5 (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
assignee: | nobody → Steve Langasek (vorlon) |
milestone: | none → ubuntu-11.04 |
Two options that I can see:
- add arch-specific sections to README.Debian.gz with an appropriate callout Debian. $arch.gz
- generate README.Debian.gz as an arch-neutral file, and add extra per-architecture files as README.
Neither is particularly straightforward given gcc's dynamic population of $(debian_patches).