python-dateutil fails to build

Bug #834797 reported by Muharem Hrnjadovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake (deprecated)
Fix Released
Medium
Muharem Hrnjadovic

Bug Description

<al-maisan> Hmm .. a package of mine failed to build with "Found files in /usr/lib/python2.7/site-packages (must be in dist-packages for python2.7)."
<al-maisan> Any idea what that means and how it should be fixed?
<al-maisan> This is the build log: https://launchpadlibrarian.net/78180839/buildlog_ubuntu-natty-i386.python-dateutil_1.5-3_FAILEDTOBUILD.txt.gz
* al-maisan looks at the MANIFEST.in
<jtaylor> al-maisan: pass --install-layout=deb to setup.py install
<al-maisan> do I need to override some target in rules to do that?
<jtaylor> it appears it is already overriden
<jtaylor> dh_auto_install usually does it right
<al-maisan> I do not see "--install-layout=deb" being passed in the build log though
<jtaylor> you aren't using python packaging helpers?
<jtaylor> yes its missing
<al-maisan> jtaylor: I did a dh_make and used the debian/rules it generated ..
<jtaylor> add --with python2 to the dh $@ line
<al-maisan> ah, ok, will try that, thanks!
<tumbleweed> al-maisan: is there a Makefile in that source? it looks like you may want to pass dh --buildsystem=python_distutils
<al-maisan> tumbleweed: actually there is one, http://paste.ubuntu.com/675313/
<tumbleweed> yeah, so tell dh not to use it :)

Changed in openquake:
status: New → Confirmed
status: Confirmed → In Progress
importance: Undecided → Medium
assignee: nobody → Muharem Hrnjadovic (al-maisan)
milestone: none → 0.4.3
tags: added: celery packaging
Changed in openquake:
status: In Progress → Fix Committed
Changed in openquake:
status: Fix Committed → 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.