Package: gcc-4.7 Version: 4.7.0-11 Severity: normal Tags: patch Hi, Building cross-compilers from the gcc-4.7 source packages fails since some manual pages file names are not correctly prefixed.
The attached patch fixes this issue. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (120, 'unstable'), (105, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages gcc-4.7 depends on: ii binutils 2.22-6 ii cpp-4.7 4.7.0-11 ii gcc-4.7-base 4.7.0-11 ii libc6 2.13-32.1 ii libgcc1 1:4.7.0-11 ii libgmp10 2:5.0.5+dfsg-1.1 ii libgomp1 4.7.0-11 ii libitm1 4.7.0-11 ii libmpc2 0.9-4 ii libmpfr4 3.1.0-5 ii libquadmath0 4.7.0-11 ii zlib1g 1:1.2.7.dfsg-1 Versions of packages gcc-4.7 recommends: ii libc6-dev 2.13-32.1 Versions of packages gcc-4.7 suggests: pn binutils-gold <none> pn gcc-4.7-doc <none> pn gcc-4.7-locales <none> pn gcc-4.7-multilib <none> pn libgcc1-dbg <none> pn libgomp1-dbg <none> pn libitm1-dbg <none> pn libmudflap0-4.7-dev <none> pn libmudflap0-dbg <none> pn libquadmath0-dbg <none> -- no debconf information
# HG changeset patch # User Thibaut Girka <t...@sitedethib.com> # Date 1338499397 -7200 # Node ID 9d3934ea8e582df73edf430103b67cdb693f7c3e # Parent 6a2bbfde59637a3a891cf5e1c19fa88b5e575383 Fix manpages name when building cross-compilers. diff -r 6a2bbfde5963 -r 9d3934ea8e58 debian/rules2 --- a/debian/rules2 Thu May 31 23:23:07 2012 +0200 +++ b/debian/rules2 Thu May 31 23:23:17 2012 +0200 @@ -1747,7 +1747,9 @@ rm -f $(d)/$(PF)/bin/hppa64-linux-gnu-gcc-4*; \ fi - cp debian/gcc-{ar,nm,ranlib}$(pkg_ver).1 $(d)/$(PF)/share/man/man1/ + for i in ar nm ranlib; do \ + cp debian/gcc-$$i$(pkg_ver).1 $(d)/$(PF)/share/man/man1/$(cmd_prefix)gcc-$$i$(pkg_ver).1; \ + done : # remove files not needed from the hppa64 build rm -rf $(d)/$(PF)/share/info @@ -2076,7 +2078,9 @@ endif endif - cp debian/gcc-{ar,nm,ranlib}$(pkg_ver).1 $(d)/$(PF)/share/man/man1/ + for i in ar nm ranlib; do \ + cp debian/gcc-$$i$(pkg_ver).1 $(d)/$(PF)/share/man/man1/$(cmd_prefix)gcc-$$i$(pkg_ver).1; \ + done chmod 755 debian/dh_*