Package: gcc-7 Version: 7.2.0-12 Severity: normal Dear Maintainer,
When gcc-7 detects one of many outdated distributions, it attempts to apply the "gcc-hash-style-both" patch, rather than "gcc-hash-style-gnu". gcc-hash-style-both is sufficiently crufty that it fails to apply. I suggest either removing the detection, or rebasing the patch. I have included a patch to remove the detection. Thank you for your time and work. Jason -- System Information: Debian Release: 7.11 APT prefers oldoldstable APT policy: (500, 'oldoldstable') Architecture: ia64 Kernel: Linux 3.2.0-4-mckinley (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages gcc-7 depends on: ii binutils 2.25-5+deb8u1 ii cpp-7 7.2.0-12 ii gcc-7-base 7.2.0-12 ii libc6.1 2.13-38+deb7u10 ii libcc1-0 7.2.0-12 ii libgcc-7-dev 7.2.0-12 ii libgcc1 1:7.2.0-12 ii libgmp10 2:6.1.2+dfsg-1.1 ii libisl15 0.18-1 ii libmpc3 1.0.3-2 ii libmpfr4 3.1.6-1 ii libstdc++6 7.2.0-12 ii libunwind7 0.99-0.3 ii zlib1g 1:1.2.8.dfsg-5 Versions of packages gcc-7 recommends: ii libc6.1-dev 2.13-38+deb7u10 Versions of packages gcc-7 suggests: pn gcc-7-doc <none> pn gcc-7-locales <none> pn libasan4-dbg <none> pn libatomic1-dbg <none> pn libcilkrts5-dbg <none> pn libgcc1-dbg <none> pn libgomp1-dbg <none> pn libitm1-dbg <none> pn liblsan0-dbg <none> pn libmpx2-dbg <none> pn libquadmath0-dbg <none> pn libtsan0-dbg <none> pn libubsan0-dbg <none> -- debconf information: Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(.*?)(\\)?\${ <-- HERE ([^{}]+)}(.*)$/ at /usr/share/perl5/Debconf/Question.pm line 72. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^}]+)}/ at /usr/share/perl5/Debconf/Config.pm line 30.
--- debian/rules.patch.orig 2017-11-09 12:17:23.775340303 -0500 +++ debian/rules.patch 2017-11-09 12:17:56.799340531 -0500 @@ -39,13 +39,8 @@ gcc-textdomain \ gcc-driver-extra-langs$(if $(with_linaro_branch),-linaro) -ifneq (,$(filter $(distrelease),etch lenny squeeze wheezy dapper hardy intrepid jaunty karmic lucid)) - debian_patches += gcc-hash-style-both -else - debian_patches += gcc-hash-style-gnu -endif - debian_patches += \ + gcc-hash-style-gnu \ libstdc++-pic \ libstdc++-doclink \ libstdc++-man-3cxx \