Package: swt-gtk Version: 3.0+3.1M4-4 Severity: serious Tags: patch swt-gtk fails to build because it uses bad permissions for the control directory:
> dh_builddeb -i > dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and > <=0775) > dpkg-deb: building package `libswt-gtk-dev' in > `../libswt-gtk-dev_3.0+3.1M4-4_all.deb'. > dh_builddeb: command returned error code 512 The problem is that the top-level directory in the tarball is setgid, which is inherited by the control directory. The attached patch removes the setgid bit, which fixes the problem. -- Matt
diff -u swt-gtk-3.0+3.1M4/debian/rules swt-gtk-3.0+3.1M4/debian/rules --- swt-gtk-3.0+3.1M4/debian/rules +++ swt-gtk-3.0+3.1M4/debian/rules @@ -11,6 +11,7 @@ dh_clean -k clean: + chmod -R g-s . rm -f build-stamp dh_clean -$(MAKE) distclean
signature.asc
Description: Digital signature