Debian Bug report logs - #360848
Python 2.4 distutils does not honour --no-compile -O0

Package: python2.7-dev; Maintainer for python2.7-dev is Matthias Klose <doko@debian.org>; Source for python2.7-dev is src:python2.7.

Reported by: Marc Dequènes (Duck) <duck@duckcorp.org>

Date: Tue, 4 Apr 2006 23:33:04 UTC

Severity: normal

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#360848; Package python2.4-dev. Full text and rfc822 format available.

Acknowledgement sent to Marc Dequènes (Duck) <duck@duckcorp.org>:
New Bug report received and forwarded. Copy sent to Matthias Klose <doko@debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Marc Dequènes (Duck) <duck@duckcorp.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Python 2.4 distutils does not honour --no-compile -O0
Date: Wed, 05 Apr 2006 01:18:56 +0200
[Message part 1 (text/plain, inline)]
Package: python2.4-dev
Version: 2.4.3-1

Coin,

With the rule:

DEB_PYTHON_SETUP_CMD = setup.py
DEB_PYTHON_INSTALL_ARGS_ALL = --no-compile -O0

install/python-editobj::
        cd $(DEB_SRCDIR) && /usr/bin/python$(DEB_PYTHON_COMPILE_VERSION) \
        $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS_ALL)

(inspired by the CDBS class)

With DEB_PYTHON_COMPILE_VERSION  := 2.3 everything is fine, but with 2.4
.pyc and .pyo files are generated and installed.   

-- 
Marc Dequènes (Duck)
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#360848; Package python2.4-dev. Full text and rfc822 format available.

Acknowledgement sent to Marc Dequènes (Duck) <duck@duckcorp.org>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. Full text and rfc822 format available.

Message #10 received at 360848@bugs.debian.org (full text, mbox):

From: Marc Dequènes (Duck) <duck@duckcorp.org>
To: 360848@bugs.debian.org
Subject: distutils logic is biased
Date: Thu, 27 Apr 2006 15:08:31 +0200
[Message part 1 (text/plain, inline)]
Coin,

I don't remember how i got this working fine with 2.3, but i may be an
error because i'm now having the same problem.

Thanks to Arnau, i found that command line options do not override
setup.cfg directives, which is a very bad behavior.

-- 
Marc Dequènes (Duck)
[Message part 2 (application/pgp-signature, inline)]

Bug reassigned from package 'python2.4-dev' to 'python'. Request was from David Prévot <taffit@debian.org> to control@bugs.debian.org. (Mon, 09 Apr 2012 14:10:42 GMT) Full text and rfc822 format available.

No longer marked as found in versions python2.4-dev/2.4.3-1. Request was from David Prévot <taffit@debian.org> to control@bugs.debian.org. (Mon, 09 Apr 2012 14:10:42 GMT) Full text and rfc822 format available.

Bug reassigned from package 'python' to 'python2.7-dev'. Request was from David Prévot <taffit@debian.org> to control@bugs.debian.org. (Mon, 09 Apr 2012 14:42:11 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 16 04:24:37 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.