Package: pyjamas
Version: 0.7~+pre2-2
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch

Hi,

When building pyjamas with python 2.6 in Ubuntu, it FTBFS with the following
error:
dh_install --fail-missing
dh_install: pyjamas-pyjs missing files (usr/lib/python*/site-packages/pyjs), 
aborting
make[1]: *** [override_dh_install] Error 1
make[1]: Leaving directory `/build/buildd/pyjamas-0.7~+pre2'
make: *** [binary] Error 2

This can be fixed with changing site-packages by *-packages in the .install
files. This is what is done in the patch.

Thanks,
Fabrice

*** /tmp/tmpIFLMjn
In Ubuntu, we've applied the attached patch to achieve the following:

  * debian/*.install: changed site-packages to *-packages. This fix a FTBFS
    with python2.6

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic-updates
  APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-16-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
diff -u pyjamas-0.7~+pre2/debian/pyjamas-desktop.install pyjamas-0.7~+pre2/debian/pyjamas-desktop.install
--- pyjamas-0.7~+pre2/debian/pyjamas-desktop.install
+++ pyjamas-0.7~+pre2/debian/pyjamas-desktop.install
@@ -1 +1 @@
-usr/lib/python*/site-packages/pyjd
+usr/lib/python*/*-packages/pyjd
diff -u pyjamas-0.7~+pre2/debian/pyjamas-pyjs.install pyjamas-0.7~+pre2/debian/pyjamas-pyjs.install
--- pyjamas-0.7~+pre2/debian/pyjamas-pyjs.install
+++ pyjamas-0.7~+pre2/debian/pyjamas-pyjs.install
@@ -1,4 +1,4 @@
 usr/share/pyjamas
-usr/lib/python*/site-packages/pyjs
-usr/lib/python*/site-packages/Pyjamas-*.egg-info
+usr/lib/python*/*-packages/pyjs
+usr/lib/python*/*-packages/Pyjamas-*.egg-info
 bin/pyjsbuild usr/bin

Reply via email to