Package: src:cross-gcc-defaults Version: 0.4 Tags: patch User: [email protected] Usertags: rebootstrap
The regular src:gcc-defaults package adds a gcc-ar -> gcc-ar-X.Y symlink to the gcc binary package. At least the python2.7 build expects a triplet prefixed version of this link, but it is not found in the gcc-<triplet> packages. I am proposing the attached patch to address this issue. Helmut
diff -Nru cross-gcc-defaults-0.4/debian/changelog cross-gcc-defaults-0.4+nmu1/debian/changelog --- cross-gcc-defaults-0.4/debian/changelog 2014-11-04 06:19:52.000000000 +0100 +++ cross-gcc-defaults-0.4+nmu1/debian/changelog 2015-01-06 20:15:13.000000000 +0100 @@ -1,3 +1,10 @@ +cross-gcc-defaults (0.4+nmu1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Add a gcc-ar symlink to the gcc-* packages. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Tue, 06 Jan 2015 20:14:55 +0100 + cross-gcc-defaults (0.4) unstable; urgency=low * Added gobjc and gccgo to the default set of cross-toolchains built diff -Nru cross-gcc-defaults-0.4/debian/defaults cross-gcc-defaults-0.4+nmu1/debian/defaults --- cross-gcc-defaults-0.4/debian/defaults 2014-11-04 06:18:13.000000000 +0100 +++ cross-gcc-defaults-0.4+nmu1/debian/defaults 2015-01-06 20:13:17.000000000 +0100 @@ -1,6 +1,7 @@ -cpp 4.9 -gcc 4.9 -g++ 4.9 -gfortran 4.9 -gobjc 4.9 -gccgo 4.9 \ No newline at end of file +cpp cpp 4.9 +gcc gcc 4.9 +gcc gcc-ar 4.9 +g++ g++ 4.9 +gfortran gfortran 4.9 +gobjc gobjc 4.9 +gccgo gccgo 4.9 diff -Nru cross-gcc-defaults-0.4/debian/rules cross-gcc-defaults-0.4+nmu1/debian/rules --- cross-gcc-defaults-0.4/debian/rules 2014-11-21 20:10:49.000000000 +0100 +++ cross-gcc-defaults-0.4+nmu1/debian/rules 2015-01-06 20:14:41.000000000 +0100 @@ -38,8 +38,8 @@ override_dh_auto_install: for arch in $(ARCHES_GNU_TYPE); do \ - while read prog ver; do \ - dh_link -p$$prog-$$arch usr/bin/$$arch-$$prog-$$ver usr/bin/$$arch-$$prog; \ + while read pkg prog ver; do \ + dh_link -p$$pkg-$$arch usr/bin/$$arch-$$prog-$$ver usr/bin/$$arch-$$prog; \ done < debian/defaults; \ done

