[FTBFS]: lib directory in python and in debian/rules does not match

Bug #616540 reported by Alfonso Cepeda
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
creoleparser (Debian)
Fix Released
Unknown
creoleparser (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Build Error in maverick: http://launchpadlibrarian.net/50119957/buildlog_ubuntu-maverick-i386.creoleparser_0.7.2-3_FAILEDTOBUILD.txt.gz

The problem is that lib build directory in python is lib.<plat> where plat is given by distutils.util.get_platform(). However, in debian/rules it is hardcoded that the directory should be just lib:

PYTHONPATH=$(CURDIR)/build/lib $$py $(CURDIR)/build/lib/creoleparser/__init__.py;

one way to fix this is forcing distutils to use lib directory in debian/rules:

$$py setup.py build --build-lib=build/lib;

Revision history for this message
Alfonso Cepeda (cepeda) wrote :
Revision history for this message
Alfonso Cepeda (cepeda) wrote :

submitted to debian: Bug#592714

Alfonso Cepeda (cepeda)
tags: added: patch-forwarded-debian
Revision history for this message
Alfonso Cepeda (cepeda) wrote :

I have changed to incompleted while it is discused in debian.

Changed in creoleparser (Ubuntu):
status: New → Incomplete
Revision history for this message
Stefano Rivera (stefanor) wrote :

Unsubscribing sponsors as we shouldn't be looking at this until you are ready. Please resubscribe when ready.

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

As Debian is not willing to apply the patch (it builds in sid, and they don't agree with the fix), I'll disable the test for the moment.

Changed in creoleparser (Ubuntu):
assignee: nobody → Fabrice Coutadeur (fabricesp)
status: Incomplete → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package creoleparser - 0.7.2-3ubuntu1

---------------
creoleparser (0.7.2-3ubuntu1) maverick; urgency=low

  * debian/rules: disable tests (LP: #616540)
 -- Fabrice Coutadeur <email address hidden> Fri, 17 Sep 2010 19:49:05 +0000

Changed in creoleparser (Ubuntu):
status: In Progress → Fix Released
Changed in creoleparser (Ubuntu):
assignee: Fabrice Coutadeur (fabricesp) → nobody
Revision history for this message
Stefano Rivera (stefanor) wrote :

Fabrice: I missed your question on #debian-python.

It builds on sid, but tests 2.6 with __init__.py from the 2.5 install. It'll fail to build as soon as Debian drops Python 2.5. I don't know of any neat solution other than specialcasing 2.5 (which doesn't appear to install to foo-$plat).

Changed in creoleparser (Debian):
status: Unknown → New
Changed in creoleparser (Debian):
status: New → 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.