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

Bug#685478: unblock: gcc-mingw-w64/8



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

Dear release team,

Please unblock package gcc-mingw-w64; the version in unstable fixes a
release-critical bug causing /usr/share/doc/gcc-mingw-w64 to be empty
when upgrading from versions before it became a symlink.

The package is over ten days old but hasn't build on kfreebsd-amd64 or
mips yet; I've asked for a giveback on the former (the build failure
is due to #637236 on gcc-4.6; repeating the build produces a correct
build eventually) and pinged the buildd admins concerning the latter.

The debdiff is as follows:

diff -Nru gcc-mingw-w64-6/debian/changelog gcc-mingw-w64-7/debian/changelog
--- gcc-mingw-w64-6/debian/changelog	2012-05-05 18:31:42.000000000 +0200
+++ gcc-mingw-w64-7/debian/changelog	2012-08-08 08:21:59.000000000 +0200
@@ -1,3 +1,10 @@
+gcc-mingw-w64 (7) unstable; urgency=low
+
+  * When upgrading from versions where /usr/share/doc/gcc-mingw-w64 is a
+    directory, force its replacement with a symlink (Closes: #683617).
+
+ -- Stephen Kitt <steve@sk2.org>  Wed, 08 Aug 2012 08:21:56 +0200
+
 gcc-mingw-w64 (6) unstable; urgency=low
 
   * Handle the different split-package versions in Ubuntu and Debian.
diff -Nru gcc-mingw-w64-6/debian/gcc-mingw-w64.postinst gcc-mingw-w64-7/debian/gcc-mingw-w64.postinst
--- gcc-mingw-w64-6/debian/gcc-mingw-w64.postinst	1970-01-01 01:00:00.000000000 +0100
+++ gcc-mingw-w64-7/debian/gcc-mingw-w64.postinst	2012-08-08 08:10:09.000000000 +0200
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -e
+
+# Replace documentation directory with symlink
+if [ -d /usr/share/doc/gcc-mingw-w64 ] && [ ! -L /usr/share/doc/gcc-mingw-w64 ]; then
+    if rmdir /usr/share/doc/gcc-mingw-w64 2>/dev/null; then
+        ln -sf gcc-mingw-w64-base /usr/share/doc/gcc-mingw-w64
+    fi
+fi
+
+#DEBHELPER#
+
+exit 0


unblock gcc-mingw-w64/8

Thanks,

Stephen


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Foreign Architectures: mingw64-i386

Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


Reply to: