[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#796573: pu: package cross-gcc/14



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: pu

cross-gcc-dev in stable has a serious bug: (780583) which means that
if your default shell is not bash (or zsh) it simply won't work. As
Debian defaults to dash for sh this a real problem making the package
broken for the majority of users.

The fix is a trivial one-liner (patch attached) which is very safe and
thus seems appropriate for a stable update.

Cross-gcc-dev is the main way of getting cross-compilers in jessie
(without using an external repo) as there are no actual pre-built
cross-gcc binaries in the archive for that suite. So having it work
without digigng through the BTS to find out why it is broken seems
worthwhile.

Attached is the proposed patch which I will upload to
stable-proposed-updates if OKed. Can you confirm that the correct
versionning is +deb8u3? I failed to find definitive info for this on
https://wiki.debian.org/StableUpdates,
http://www.debian.org/doc/manuals/developers-reference/pkgs.html#upload-stable
Sorry if I'm being dim.


-- System Information:
Debian Release: 7.8
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru cross-gcc-14/debian/changelog cross-gcc-14+deb8u3/debian/changelog
--- cross-gcc-14/debian/changelog	2015-04-15 18:14:56.000000000 +0100
+++ cross-gcc-14+deb8u3/debian/changelog	2015-08-22 16:43:36.000000000 +0100
@@ -1,3 +1,9 @@
+cross-gcc (14+deb8u3) UNRELEASED; urgency=medium
+
+  * Require bash in rules.template makefile (Closes: #780583)
+
+ -- Wookey <wookey@debian.org>  Sat, 22 Aug 2015 16:42:11 +0100
+
 cross-gcc (14) unstable; urgency=medium
 
   * Add missing realpath dependency (Closes: #782542)
diff -Nru cross-gcc-14/template/rules.generic cross-gcc-14+deb8u3/template/rules.generic
--- cross-gcc-14/template/rules.generic	2015-01-28 06:18:12.000000000 +0000
+++ cross-gcc-14+deb8u3/template/rules.generic	2015-08-22 16:32:44.000000000 +0100
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+SHELL := /bin/bash
+
 THIS_PKG       := $(shell dpkg-parsechangelog --show-field=Source)
 THIS_PKG_VER   := $(shell dpkg-parsechangelog --show-field=Version)
 DEB_HOST_ARCH  := $(shell dpkg-architecture -qDEB_HOST_ARCH)

Reply to: