Bug#774719: missing Build-Depends: gcc-4.9-base

2015-01-06 Thread Helmut Grohne
Package: src:cross-gcc-defaults
Version: 0.4
User: helm...@debian.org
Usertags: rebootstrap

While gcc-4.9-base is essential in unstable and jessie, it is
unavailable in wheezy. Therefore it would be good to mark
cross-gcc-defaults as not being buildable there by Build-Depending on
gcc-4.9-base.

Helmut


-- 
To UNSUBSCRIBE, email to debian-toolchain-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150106191926.ga13...@alf.mars



Bug#774739: triplet-gcc-ar missing in package gcc-triplet

2015-01-06 Thread Helmut Grohne
Package: src:cross-gcc-defaults
Version: 0.4
Tags: patch
User: helm...@debian.org
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.0 
+0100
+++ cross-gcc-defaults-0.4+nmu1/debian/changelog2015-01-06 
20:15:13.0 +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 hel...@subdivi.de  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.0 
+0100
+++ cross-gcc-defaults-0.4+nmu1/debian/defaults 2015-01-06 20:13:17.0 
+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.0 +0100
+++ cross-gcc-defaults-0.4+nmu1/debian/rules2015-01-06 20:14:41.0 
+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