Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1021506: binutils-common: not co-installable due to differing content of /usr/share/man/man1/ld.gold.1.gz

4 views
Skip to first unread message

Johannes Schauer Marin Rodrigues

unread,
Oct 9, 2022, 3:30:03 PM10/9/22
to
Package: binutils-common
Version: 2.39-4
Severity: important

Hi,

in src:2.39-4, a Build-Depends on help2man was added. This enabled the
codepath checking "which help2man" in d/rules which leads to man pages
generated for ld.gold by help2man. These man pages differ for different
architectures and thus, binutils-common becomes uninstallable with
itself. Steps to reproduce:

$ mmdebstrap --arch=amd64,arm64 --include=binutils-common:amd64,binutils-common:arm64 unstable /dev/null
[...]
Unpacking binutils-common:arm64 (2.39-6) ...
dpkg: error processing archive /tmp/apt-dpkg-install-E9IDZj/70-binutils-common_2.39-6_arm64.deb (--unpack):
trying to overwrite shared '/usr/share/man/man1/ld.gold.1.gz', which is different from other instances of package binutils-common:arm64
Errors were encountered while processing:
/tmp/apt-dpkg-install-E9IDZj/70-binutils-common_2.39-6_arm64.deb

The differing content looks like this (using amd64 and arm64 as an
example):

@@ -882,8 +882,8 @@
\fB\-z\fR nokeep\-text\-section\-prefix
Merge all .text.* prefix sections. (default)
.PP
-debian/tmp/usr/bin/ld.gold: supported targets: elf32\-x86\-64 elf32\-x86\-64\-freebsd elf32\-x86\-64\-nacl elf64\-x86\-64 elf64\-x86\-64\-freebsd elf64\-x86\-64\-nacl elf32\-iamcu elf32\-i386 elf32\-i386\-freebsd elf32\-i386\-nacl
-debian/tmp/usr/bin/ld.gold: supported emulations: elf32_x86_64 elf32_x86_64_nacl elf_x86_64 elf_x86_64_nacl elf_iamcu elf_i386 elf_i386_nacl
+debian/tmp/usr/bin/ld.gold: supported targets: elf32\-iamcu elf32\-i386 elf32\-i386\-freebsd elf32\-i386\-nacl elf32\-x86\-64 elf32\-x86\-64\-freebsd elf32\-x86\-64\-nacl elf64\-x86\-64 elf64\-x86\-64\-freebsd elf64\-x86\-64\-nacl elf64\-sparc elf32\-sparc elf64\-powerpcle elf64\-powerpc elf32\-powerpcle elf32\-powerpc elf32\-bigarm elf32\-bigarm\-nacl elf32\-littlearm elf32\-littlearm\-nacl elf32\-tilegx\-be elf64\-tilegx\-be elf32\-tilegx\-le elf64\-tilegx\-le elf64\-tradlittlemips elf32\-tradlittlemips\-nacl elf64\-tradbigmips elf32\-tradlittlemips\-nacl elf32\-tradlittlemips elf32\-tradlittlemips\-nacl elf32\-tradbigmips elf32\-tradlittlemips\-nacl elf64\-littleaarch64 elf64\-bigaarch64 elf32\-littleaarch64 elf32\-bigaarch64 elf64\-s390 elf32\-s390
+debian/tmp/usr/bin/ld.gold: supported emulations: elf_iamcu elf_i386 elf_i386_nacl elf32_x86_64 elf32_x86_64_nacl elf_x86_64 elf_x86_64_nacl elf64_sparc elf32_sparc elf64lppc elf64ppc elf32lppc elf32ppc armelfb armelfb_nacl armelf armelf_nacl elf32tilegx_be elf64tilegx_be elf32tilegx elf64tilegx elf64ltsmip elf32\-tradlittlemips\-nacl elf64btsmip elf32\-tradlittlemips\-nacl elf32ltsmip elf32\-tradlittlemips\-nacl elf32btsmip elf32\-tradlittlemips\-nacl aarch64_elf64_le_vec aarch64_elf64_be_vec aarch64_elf32_le_vec aarch64_elf32_be_vec elf64_s390 elf32_s390
.SH "REPORTING BUGS"
Report bugs to <https://sourceware.org/bugzilla/>
.SH COPYRIGHT

Thanks!

cheers, josch
0 new messages