FTBFS: setgid control directory

Bug #6790 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
python-osd (Debian)
Fix Released
Unknown
python-osd (Ubuntu)
Fix Released
Medium
Fabio Massimo Di Nitto

Bug Description

Automatically imported from Debian bug report #248774
http://bugs.debian.org/248774

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #248774
http://bugs.debian.org/248774

Revision history for this message
Debian Bug Importer (debzilla) wrote :

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
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: python-osd
Version: 0.2.6-1
Severity: serious
Tags: patch

This package fails to build from source:

 ...
 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.

--
Matt Kraai <email address hidden> http://ftbfs.org/

--1yeeQ81UyVL57Vl7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch

diff -Nru python-osd-0.2.6-old/debian/rules python-osd-0.2.6/debian/rules
--- python-osd-0.2.6-old/debian/rules 2004-05-12 07:53:45.000000000 -0700
+++ python-osd-0.2.6/debian/rules 2004-05-12 07:54:16.000000000 -0700
@@ -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

--1yeeQ81UyVL57Vl7--

Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

Applied the patch from the bug report. It fixes the problem (tested with
pbuilder) and uploaded to warty as: python-osd_0.2.6-1ubuntu1

Revision history for this message
In , Marc 'HE' Brockschmidt (marc-marcbrockschmidt) wrote : NMU

Hi,

If you don't fix these 2 bugs until 2004-07-09, i'll NMU python-osd.

Marc
--
BOFH #163:
no "any" key on keyboard

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sat, 03 Jul 2004 23:44:34 +0200
From: Marc 'HE' Brockschmidt <email address hidden>
To: <email address hidden>, <email address hidden>
Subject: NMU

--=-=-=

Hi,

If you don't fix these 2 bugs until 2004-07-09, i'll NMU python-osd.

Marc
--
BOFH #163:
no "any" key on keyboard

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBA5yjImO5zOp3h7rERAlPJAJ967Ct1IHhVAzWLerHet0LPW/hcVwCfdcN1
/+K4irRaaU1DbHoJKVcFlCQ=
=6XVc
-----END PGP SIGNATURE-----
--=-=-=--

Revision history for this message
In , Marc 'HE' Brockschmidt (marc-marcbrockschmidt) wrote :

Marc 'HE' Brockschmidt <email address hidden> writes:
> If you don't fix these 2 bugs until 2004-07-09, i'll NMU python-osd.

Done. Packages were uploaded to DEALYED/3-days.

NMU-Patch is attached.

Marc
--
$_=')(hBCdzVnS})3..0}_$;//::niam/s~=)]3[))_$(rellac(=_$({pam(esrever })e$.)4/3*
)e$(htgnel+23(rhc,"u"(kcapnu ,""nioj ;|_- |/+9-0z-aZ-A|rt~=e$;_$=e${pam tnirp{y
V2ajFGabus} yV2ajFGa&{gwmclBHIbus}gwmclBHI&{yVGa09mbbus}yVGa09mb&{hBCdzVnSbus';
s/\n//g;s/bus/\nbus/g;eval scalar reverse # <mailto:<email address hidden>>

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 09 Jul 2004 10:52:40 +0200
From: Marc 'HE' Brockschmidt <email address hidden>
To: <email address hidden>, <email address hidden>
Subject: Re: NMU

--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

--=-=-=

Marc 'HE' Brockschmidt <email address hidden> writes:
> If you don't fix these 2 bugs until 2004-07-09, i'll NMU python-osd.

Done. Packages were uploaded to DEALYED/3-days.

NMU-Patch is attached.

Marc
--
$_=')(hBCdzVnS})3..0}_$;//::niam/s~=)]3[))_$(rellac(=_$({pam(esrever })e$.)4/3*
)e$(htgnel+23(rhc,"u"(kcapnu ,""nioj ;|_- |/+9-0z-aZ-A|rt~=e$;_$=e${pam tnirp{y
V2ajFGabus} yV2ajFGa&{gwmclBHIbus}gwmclBHI&{yVGa09mbbus}yVGa09mb&{hBCdzVnSbus';
s/\n//g;s/bus/\nbus/g;eval scalar reverse # <mailto:<email address hidden>>

--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline; filename=NMU.patch

diff -wru python-osd-0.2.6-1/debian/changelog python-osd-0.2.6-1.1/debian/changelog
--- python-osd-0.2.6-1/debian/changelog 2004-07-09 10:26:45.000000000 +0200
+++ python-osd-0.2.6-1.1/debian/changelog 2004-07-09 10:36:53.000000000 +0200
@@ -1,3 +1,14 @@
+python-osd (0.2.6-1.1) unstable; urgency=low
+
+ * NMU.
+ * debian/control: We can't recommend twisted for the 2.1 package, as twisted
+ upstream stopped supporting Python 2.1 (which led to the removal of the
+ Debian package) (Closes: #240549)
+ * debian/rules: Remove setgid bits from the build dir. Report and Patch
+ from Matt Kraai, thanks! (#248774)
+
+ -- Marc 'HE' Brockschmidt <email address hidden> Fri, 9 Jul 2004 10:27:02 +0200
+
 python-osd (0.2.6-1) unstable; urgency=low

   * Use python2.3 by default.
diff -wru python-osd-0.2.6-1/debian/control python-osd-0.2.6-1.1/debian/control
--- python-osd-0.2.6-1/debian/control 2004-07-09 10:26:45.000000000 +0200
+++ python-osd-0.2.6-1.1/debian/control 2004-07-09 10:29:43.000000000 +0200
@@ -21,7 +21,6 @@
 Package: python2.1-osd
 Architecture: any
 Depends: python2.1, ${shlibs:Depends}
-Recommends: python2.1-twisted
 Description: Python bindings for X On-Screen Display library
  PyOSD is a python module for displaying text on your X display, much
  like the "On Screen Displays" used on TVs and some monitors.
diff -wru python-osd-0.2.6-1/debian/rules python-osd-0.2.6-1.1/debian/rules
--- python-osd-0.2.6-1/debian/rules 2004-07-09 10:26:45.000000000 +0200
+++ python-osd-0.2.6-1.1/debian/rules 2004-07-09 10:27:40.000000000 +0200
@@ -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

--=-=-=--

--==-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBA7lzdmO5zOp3h7rERArg6AKCH0HqZleUGZGmz8P7fCNdDx//aBgCfcKoD
TaaauX6yG8Q1hw/pkK4hOic=
=uTSP
-----END PGP SIGNATURE-----
--==-=-=--

Revision history for this message
In , Georg Neis (georg-fli4l) wrote : fixed

tag 248774 + fixed
thanks

NMU changelog is missing a "closed: " in front of the bug number.

Revision history for this message
In , Marc 'HE' Brockschmidt (marc-marcbrockschmidt) wrote : Re: Fixed in NMU of python-osd 0.2.6-1.1

tag 248774 + fixed

quit
[...]
> Changes:
> python-osd (0.2.6-1.1) unstable; urgency=low
> .
> * NMU.
> * debian/control: We can't recommend twisted for the 2.1 package, as twisted
> upstream stopped supporting Python 2.1 (which led to the removal of the
> Debian package) (Closes: #240549)
> * debian/rules: Remove setgid bits from the build dir. Report and Patch
> from Matt Kraai, thanks! (#248774)
                                 ^
I've forgotten a "Closes: " there.

Marc
--
$_=')(hBCdzVnS})3..0}_$;//::niam/s~=)]3[))_$(rellac(=_$({pam(esrever })e$.)4/3*
)e$(htgnel+23(rhc,"u"(kcapnu ,""nioj ;|_- |/+9-0z-aZ-A|rt~=e$;_$=e${pam tnirp{y
V2ajFGabus} yV2ajFGa&{gwmclBHIbus}gwmclBHI&{yVGa09mbbus}yVGa09mb&{hBCdzVnSbus';
s/\n//g;s/bus/\nbus/g;eval scalar reverse # <mailto:<email address hidden>>

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 13 Jul 2004 22:26:07 +0200
From: Georg Neis <email address hidden>
To: <email address hidden>
Subject: fixed

tag 248774 + fixed
thanks

NMU changelog is missing a "closed: " in front of the bug number.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 13 Jul 2004 22:48:17 +0200
From: Marc 'HE' Brockschmidt <email address hidden>
To: <email address hidden>
Cc: Tommi Virtanen <email address hidden>
Subject: Re: Fixed in NMU of python-osd 0.2.6-1.1

--=-=-=

tag 248774 + fixed

quit
[...]
> Changes:
> python-osd (0.2.6-1.1) unstable; urgency=low
> .
> * NMU.
> * debian/control: We can't recommend twisted for the 2.1 package, as twisted
> upstream stopped supporting Python 2.1 (which led to the removal of the
> Debian package) (Closes: #240549)
> * debian/rules: Remove setgid bits from the build dir. Report and Patch
> from Matt Kraai, thanks! (#248774)
                                 ^
I've forgotten a "Closes: " there.

Marc
--
$_=')(hBCdzVnS})3..0}_$;//::niam/s~=)]3[))_$(rellac(=_$({pam(esrever })e$.)4/3*
)e$(htgnel+23(rhc,"u"(kcapnu ,""nioj ;|_- |/+9-0z-aZ-A|rt~=e$;_$=e${pam tnirp{y
V2ajFGabus} yV2ajFGa&{gwmclBHIbus}gwmclBHI&{yVGa09mbbus}yVGa09mb&{hBCdzVnSbus';
s/\n//g;s/bus/\nbus/g;eval scalar reverse # <mailto:<email address hidden>>

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBA9EqWmO5zOp3h7rERAoaTAJ4+8gxxTxxlBEfItgpXvoDNAI+9ogCfaLhA
krlL74Wk/p/mYT7btKv78Xw=
=gMMT
-----END PGP SIGNATURE-----
--=-=-=--

Revision history for this message
In , Tommi Virtanen (tv) wrote : Bug#248774: fixed in python-osd 0.2.12-1

Source: python-osd
Source-Version: 0.2.12-1

We believe that the bug you reported is fixed in the latest version of
python-osd, which is due to be installed in the Debian FTP archive:

python-osd_0.2.12-1.diff.gz
  to pool/main/p/python-osd/python-osd_0.2.12-1.diff.gz
python-osd_0.2.12-1.dsc
  to pool/main/p/python-osd/python-osd_0.2.12-1.dsc
python-osd_0.2.12-1_all.deb
  to pool/main/p/python-osd/python-osd_0.2.12-1_all.deb
python-osd_0.2.12.orig.tar.gz
  to pool/main/p/python-osd/python-osd_0.2.12.orig.tar.gz
python2.3-osd_0.2.12-1_i386.deb
  to pool/main/p/python-osd/python2.3-osd_0.2.12-1_i386.deb
python2.4-osd_0.2.12-1_i386.deb
  to pool/main/p/python-osd/python2.4-osd_0.2.12-1_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tommi Virtanen <email address hidden> (supplier of updated python-osd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----

Format: 1.7
Date: Fri, 28 Jan 2005 02:06:39 +0200
Source: python-osd
Binary: python2.4-osd python-osd python2.3-osd
Architecture: source all i386
Version: 0.2.12-1
Distribution: unstable
Urgency: low
Maintainer: Tommi Virtanen <email address hidden>
Changed-By: Tommi Virtanen <email address hidden>
Description:
 python-osd - Python bindings for X On-Screen Display library
 python2.3-osd - Python bindings for X On-Screen Display library
 python2.4-osd - Python bindings for X On-Screen Display library
Closes: 240549 248774 266435 290724
Changes:
 python-osd (0.2.12-1) unstable; urgency=low
 .
   * New upstream release. Closes: #290724.
   * Thanks for the NMU. Closes: #240549, #248774.
   * Bump the standards version to 3.6.1.
   * Dropping python 2.1 and 2.2, adding 2.4. Closes: #266435.
   * Set section to python to make linda happy.
Files:
 b7252cbefa2a7baaa780d3599a34b565 741 python optional python-osd_0.2.12-1.dsc
 6a88296a7194c2f76cc8aaa0f2d35331 19337 python optional python-osd_0.2.12.orig.tar.gz
 07901c4d1100d623eb541658484f17f2 2614 python optional python-osd_0.2.12-1.diff.gz
 f3c8a42c373ccfe6f567f575773243c7 2578 python optional python-osd_0.2.12-1_all.deb
 10a5b8655cbcb539d85f7764e91a4cd1 20408 python optional python2.3-osd_0.2.12-1_i386.deb
 bff5eafa2fd59447efa049dee3c9db68 20362 python optional python2.4-osd_0.2.12-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iQCVAwUBQfmHJ4AGLnzk1H7BAQHrOgQAqy7Jx0i8ztJtl0r2i5k+QJ22WZz8ZEHO
06ozXlbBQgPcDVhsDPSCGPuHJA3b+1Y158JWT8D5KvqTyiLZH9MpmMkzgkH40cBw
wR4snSg47qMB5NHqUqGdUrzUD2oxuP6YHU5bNGCvmIx67tBG5q7NA7UWZ5RD/RNA
ub+JkOP4WnI=
=0qzk
-----END PGP SIGNATURE-----

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Wed, 16 Feb 2005 15:26:17 -0500
From: Tommi Virtanen <email address hidden>
To: <email address hidden>
Subject: Bug#248774: fixed in python-osd 0.2.12-1

Source: python-osd
Source-Version: 0.2.12-1

We believe that the bug you reported is fixed in the latest version of
python-osd, which is due to be installed in the Debian FTP archive:

python-osd_0.2.12-1.diff.gz
  to pool/main/p/python-osd/python-osd_0.2.12-1.diff.gz
python-osd_0.2.12-1.dsc
  to pool/main/p/python-osd/python-osd_0.2.12-1.dsc
python-osd_0.2.12-1_all.deb
  to pool/main/p/python-osd/python-osd_0.2.12-1_all.deb
python-osd_0.2.12.orig.tar.gz
  to pool/main/p/python-osd/python-osd_0.2.12.orig.tar.gz
python2.3-osd_0.2.12-1_i386.deb
  to pool/main/p/python-osd/python2.3-osd_0.2.12-1_i386.deb
python2.4-osd_0.2.12-1_i386.deb
  to pool/main/p/python-osd/python2.4-osd_0.2.12-1_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tommi Virtanen <email address hidden> (supplier of updated python-osd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----

Format: 1.7
Date: Fri, 28 Jan 2005 02:06:39 +0200
Source: python-osd
Binary: python2.4-osd python-osd python2.3-osd
Architecture: source all i386
Version: 0.2.12-1
Distribution: unstable
Urgency: low
Maintainer: Tommi Virtanen <email address hidden>
Changed-By: Tommi Virtanen <email address hidden>
Description:
 python-osd - Python bindings for X On-Screen Display library
 python2.3-osd - Python bindings for X On-Screen Display library
 python2.4-osd - Python bindings for X On-Screen Display library
Closes: 240549 248774 266435 290724
Changes:
 python-osd (0.2.12-1) unstable; urgency=low
 .
   * New upstream release. Closes: #290724.
   * Thanks for the NMU. Closes: #240549, #248774.
   * Bump the standards version to 3.6.1.
   * Dropping python 2.1 and 2.2, adding 2.4. Closes: #266435.
   * Set section to python to make linda happy.
Files:
 b7252cbefa2a7baaa780d3599a34b565 741 python optional python-osd_0.2.12-1.dsc
 6a88296a7194c2f76cc8aaa0f2d35331 19337 python optional python-osd_0.2.12.orig.tar.gz
 07901c4d1100d623eb541658484f17f2 2614 python optional python-osd_0.2.12-1.diff.gz
 f3c8a42c373ccfe6f567f575773243c7 2578 python optional python-osd_0.2.12-1_all.deb
 10a5b8655cbcb539d85f7764e91a4cd1 20408 python optional python2.3-osd_0.2.12-1_i386.deb
 bff5eafa2fd59447efa049dee3c9db68 20362 python optional python2.4-osd_0.2.12-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iQCVAwUBQfmHJ4AGLnzk1H7BAQHrOgQAqy7Jx0i8ztJtl0r2i5k+QJ22WZz8ZEHO
06ozXlbBQgPcDVhsDPSCGPuHJA3b+1Y158JWT8D5KvqTyiLZH9MpmMkzgkH40cBw
wR4snSg47qMB5NHqUqGdUrzUD2oxuP6YHU5bNGCvmIx67tBG5q7NA7UWZ5RD/RNA
ub+JkOP4WnI=
=0qzk
-----END PGP SIGNATURE-----

Revision history for this message
Daniel Robitaille (robitaille) wrote :

fixed in Debian in Feb 2005

Changed in python-osd:
status: Unconfirmed → Fix Released
Changed in python-osd:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.