Public bug reported:

As you can see here: http://bazaar.launchpad.net/~compiz/compizconfig-
python/ubuntu/annotate/head:/debian/rules

I need an override on dh_auto_build and dh_auto_install to make that package 
build. If I don't use it, I get:
dh binary --with python2
   dh_testroot
   dh_prep
        rm -f debian/python-compizconfig.substvars
        rm -f debian/python-compizconfig.*.debhelper
        rm -rf debian/python-compizconfig/
   dh_installdirs
        install -d debian/python-compizconfig
   dh_auto_install
        make -j1 install 
DESTDIR=/home/didrocks/work/compiz/compiz-config-python/build-area/compizconfig-python-0.9.2.1/debian/python-compizconfig
make[1]: entrant dans le répertoire « 
/home/didrocks/work/compiz/compiz-config-python/build-area/compizconfig-python-0.9.2.1
 »
{'os2_home': {'purelib': '$usersite', 'headers': 
'$userbase/include/python$py_version_short/$dist_name', 'scripts': 
'$userbase/bin', 'data': '$userbase', 'platlib': '$usersite'}, 'nt_user': 
{'purelib': '$usersite', 'headers': 
'$userbase/Python$py_version_nodot/Include/$dist_name', 'scripts': 
'$userbase/Scripts', 'data': '$userbase', 'platlib': '$usersite'}, 'os2': 
{'purelib': '$base/Lib/site-packages', 'headers': '$base/Include/$dist_name', 
'scripts': '$base/Scripts', 'data': '$base', 'platlib': 
'$base/Lib/site-packages'}, 'deb_system': {'purelib': 
'$base/lib/python$py_version_short/dist-packages', 'headers': 
'$base/include/python$py_version_short/$dist_name', 'scripts': '$base/bin', 
'data': '$base', 'platlib': 
'$platbase/lib/python$py_version_short/dist-packages'}, 'mac': {'purelib': 
'$base/Lib/site-packages', 'headers': '$base/Include/$dist_name', 'scripts': 
'$base/Scripts', 'data': '$base', 'platlib': '$base/Lib/site-packages'}, 
'unix_prefix': {'purelib': '$base/lib/python$py_version_short/site-packages', 
'headers': '$base/include/python$py_version_short/$dist_name', 'scripts': 
'$base/bin', 'data': '$base', 'platlib': 
'$platbase/lib/python$py_version_short/site-packages'}, 'mac_user': {'purelib': 
'$usersite', 'headers': '$userbase/$py_version_short/include/$dist_name', 
'scripts': '$userbase/bin', 'data': '$userbase', 'platlib': '$usersite'}, 
'unix_local': {'purelib': 
'$base/local/lib/python$py_version_short/dist-packages', 'headers': 
'$base/local/include/python$py_version_short/$dist_name', 'scripts': 
'$base/local/bin', 'data': '$base/local', 'platlib': 
'$platbase/local/lib/python$py_version_short/dist-packages'}, 'nt': {'purelib': 
'$base/Lib/site-packages', 'headers': '$base/Include/$dist_name', 'scripts': 
'$base/Scripts', 'data': '$base', 'platlib': '$base/Lib/site-packages'}, 
'unix_home': {'purelib': '$base/lib/python', 'headers': 
'$base/include/python/$dist_name', 'scripts': '$base/bin', 'data': '$base', 
'platlib': '$base/lib/python'}, 'unix_user': {'purelib': '$usersite', 
'headers': '$userbase/include/python$py_version_short/$dist_name', 'scripts': 
'$userbase/bin', 'data': '$userbase', 'platlib': '$usersite'}}
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: option --prefix not recognized
make[1]: *** [all] Erreur 1
make[1]: quittant le répertoire « 
/home/didrocks/work/compiz/compiz-config-python/build-area/compizconfig-python-0.9.2.1
 »
dh_auto_install: make -j1 install 
DESTDIR=/home/didrocks/work/compiz/compiz-config-python/build-area/compizconfig-python-0.9.2.1/debian/python-compizconfig
 returned exit code 2
make: *** [binary] Erreur 29
dpkg-buildpackage: erreur: fakeroot debian/rules binary a produit une erreur de 
sortie de type 2
debuild: fatal error at line 1335:
dpkg-buildpackage -rfakeroot -D -us -uc -i -I failed
bzr: ERROR: The build failed.

** Affects: compizconfig-python (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: python27

** Tags added: python27

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/687419

Title:
  Need an override on install target with "dh --with python2"

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to