Package: binutils-x86-64-linux-gnu Version: 2.29.1-3 Severity: normal User: [email protected] Usertags: piuparts
Hi, during a test with piuparts I noticed your package ships (or creates) a broken symlink. >From the attached log (scroll to the bottom...): 0m22.5s ERROR: FAIL: Broken symlinks: /usr/share/man/man1/x86_64-linux-gnu-ld.1.gz -> ld.1.gz /usr/share/man/man1/x86_64-linux-gnu-gold.1.gz -> gold.1.gz binutils-x86-64-linux-gnu sets up the binaries this way: lrwxrwxrwx 1 root root 24 Sep 23 12:00 /usr/bin/x86_64-linux-gnu-gold -> x86_64-linux-gnu-ld.gold lrwxrwxrwx 1 root root 23 Sep 23 12:00 /usr/bin/x86_64-linux-gnu-ld -> x86_64-linux-gnu-ld.bfd -rwxr-xr-x 1 root root 1269064 Sep 23 12:00 /usr/bin/x86_64-linux-gnu-ld.bfd -rwxr-xr-x 1 root root 3051848 Sep 23 12:00 /usr/bin/x86_64-linux-gnu-ld.gold but uses an additional redirection via a symlink in the binutils package (that is not being depended upon) for the manpages: lrwxrwxrwx 1 root root 9 Sep 23 12:00 /usr/share/man/man1/x86_64-linux-gnu-gold.1.gz -> gold.1.gz lrwxrwxrwx 1 root root 7 Sep 23 12:00 /usr/share/man/man1/x86_64-linux-gnu-ld.1.gz -> ld.1.gz lrwxrwxrwx 1 root root 11 Sep 23 12:00 /usr/share/man/man1/x86_64-linux-gnu-ld.bfd.1.gz -> ld.bfd.1.gz lrwxrwxrwx 1 root root 12 Sep 23 12:00 /usr/share/man/man1/x86_64-linux-gnu-ld.gold.1.gz -> ld.gold.1.gz In case binutils switches to ld -> ld.gold and ld.1.gz -> ld.gold.1.gz but binutils-<triplet> does not change (for some arch), the manpage for <triplet>-ld.1.gz would be wrong. I think for consistency the symlinks should rather be (unchanged) /usr/share/man/man1/x86_64-linux-gnu-ld.bfd.1.gz -> ld.bfd.1.gz /usr/share/man/man1/x86_64-linux-gnu-ld.gold.1.gz -> ld.gold.1.gz and (updated): /usr/share/man/man1/x86_64-linux-gnu-gold.1.gz -> x86_64-linux-gnu-ld.gold.1.gz /usr/share/man/man1/x86_64-linux-gnu-ld.1.gz -> x86_64-linux-gnu-ld.bfd.1.gz Of course this would apply to all binutils-<triplet> packages. cheers, Andreas
binutils-x86-64-linux-gnu_2.29.1-3.log.gz
Description: application/gzip

