Package: gcc-arm-none-eabi Version: 4.8.3-9+11 Severity: normal Hi,
I'm trying to build gcc-arm-none-eabi using gcc-4.9-source. The debian/rules files nicely defines GCC_VERSION at the top and I thought that would be all that I need to change. But a few lines later the BUILT_USING lookup has gcc-4.8-source hardcoded instead of using gcc-$(GCC_VERSION)-source. The attached patch fixes that. MfG Goswin -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash Versions of packages gcc-arm-none-eabi depends on: ii binutils-arm-none-eabi 2.24.51.20140604-3+5 ii libc6 2.19-13 ii libcloog-isl4 0.18.2-1+b2 ii libgcc1 1:4.9.2-2 ii libgmp10 2:6.0.0+dfsg-6 ii libisl10 0.12.2-2 ii libmpc3 1.0.2-2 ii libmpfr4 3.1.2-3 ii libstdc++6 4.9.2-2 ii zlib1g 1:1.2.8.dfsg-2+b1 Versions of packages gcc-arm-none-eabi recommends: pn libnewlib-arm-none-eabi <none> gcc-arm-none-eabi suggests no packages. -- no debconf information
--- debian/rules.old 2015-02-14 15:57:48.452778015 +0100 +++ debian/rules 2015-02-14 15:57:17.524797134 +0100 @@ -19,7 +19,7 @@ deb_version := $(source_version)+$(shell dpkg-parsechangelog | sed -ne "s/^Version: \(.*\)/\1/p") deb_upstream_version := $(shell echo $(deb_version) | cut -d- -f1) base_version := $(shell echo $(deb_version) | sed -e 's/\([1-9]\.[0-9]\).*-.*/\1/') -BUILT_USING := $(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W gcc-4.8-source) +BUILT_USING := $(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W gcc-$(GCC_VERSION)-source) upstream_dir=gcc-$(deb_upstream_version)