...
dpkg --build 'debian/install/dummy' ..
dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and <=0775)
dpkg-deb: building package `python-osd' in `../python-osd_0.2.6-1_all.deb'.
make: *** [binary-indep-dummy] Error 2
pbuilder: Failed autobuilding of package
...
The setgid bit is inherited from the top level directory in the
tarball.
The attached patch fixes the build by removing the setgid bits.
Message-ID: <20040512171459 .GA511@ catalunya>
Date: Wed, 12 May 2004 10:14:59 -0700
From: Matt Kraai <email address hidden>
To: <email address hidden>
Subject: FTBFS: setgid control directory
--1yeeQ81UyVL57Vl7 Disposition: inline
Content-Type: text/plain; charset=us-ascii
Content-
Package: python-osd
Version: 0.2.6-1
Severity: serious
Tags: patch
This package fails to build from source:
... install/ dummy' .. osd_0.2. 6-1_all. deb'. indep-dummy] Error 2
dpkg --build 'debian/
dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and <=0775)
dpkg-deb: building package `python-osd' in `../python-
make: *** [binary-
pbuilder: Failed autobuilding of package
...
The setgid bit is inherited from the top level directory in the
tarball.
The attached patch fixes the build by removing the setgid bits.
-- ftbfs.org/
Matt Kraai <email address hidden> http://
--1yeeQ81UyVL57Vl7 Disposition: attachment; filename=patch
Content-Type: text/plain; charset=us-ascii
Content-
diff -Nru python- osd-0.2. 6-old/debian/ rules python- osd-0.2. 6/debian/ rules osd-0.2. 6-old/debian/ rules 2004-05-12 07:53:45.000000000 -0700 osd-0.2. 6/debian/ rules 2004-05-12 07:54:16.000000000 -0700
--- python-
+++ python-
@@ -16,6 +16,7 @@
find . -type f -name '*.pyc' -print0 \
| xargs -0 --no-run-if-empty rm --
rm -rf debian/substvars debian/files
+ chmod -R g-s .
DUMMY_ INSTDIR: =debian/ install/ dummy
--1yeeQ81UyVL57 Vl7--