FTBFS with python2.6 because the installation is done in /usr/local/lib/python2.6 instead of /usr/lib/python2.6

Bug #427025 reported by Fabrice Coutadeur
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pycryptopp (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hi,

This is the compilation error:
Copying pycryptopp.egg-info to /build/buildd/pycryptopp-0.5.14/debian/python-pycryptopp-dbg/usr/local/lib/python2.6/dist-packages/pycryptopp-0.5.14-py2.6.egg-info
running install_scripts
[59078 refs]
find /build/buildd/pycryptopp-0.5.14/debian/python-pycryptopp-dbg/usr/lib/python2.6/ ! -type d ! -name '*_d\.so' -delete
find: `/build/buildd/pycryptopp-0.5.14/debian/python-pycryptopp-dbg/usr/lib/python2.6/': No such file or directory
make: *** [install-debug-python2.6] Error 1

This can be solved calling setup.py with --install-layout=deb

Changed in pycryptopp (Ubuntu):
assignee: nobody → fabrice_sp (fabricesp)
status: New → In Progress
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

debdiff with the fix. I'll forward to Debian if accepted.

Changed in pycryptopp (Ubuntu):
assignee: fabrice_sp (fabricesp) → nobody
status: In Progress → Confirmed
Revision history for this message
Daniel Holbach (dholbach) wrote :

FBTFS on Karmic amd64:
copying pycryptopp/testvectors/KAT_AES/ECBVarTxt256e.txt -> build/lib.linux-x86_64-2.6/pycryptopp/testvectors/KAT_AES
running build_ext
Traceback (most recent call last):
  File "setup.py", line 273, in <module>
    _setup(test_suite=test_suite_name)
  File "setup.py", line 268, in _setup
    zip_safe=False, # I prefer unzipped for easier access.
  File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.6/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/usr/lib/python2.6/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.6/dist-packages/setuptools/command/build_ext.py", line 46, in run
    _build_ext.run(self)
  File "/usr/lib/python2.6/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/usr/lib/python2.6/distutils/command/build_ext.py", line 449, in build_extensions
    self.build_extension(ext)
  File "/usr/lib/python2.6/dist-packages/setuptools/command/build_ext.py", line 175, in build_extension
    _build_ext.build_extension(self,ext)
  File "/usr/lib/python2.6/distutils/command/build_ext.py", line 460, in build_extension
    ext_path = self.get_ext_fullpath(ext.name)
  File "/usr/lib/python2.6/distutils/command/build_ext.py", line 633, in get_ext_fullpath
    filename = self.get_ext_filename(modpath[-1])
  File "/usr/lib/python2.6/dist-packages/setuptools/command/build_ext.py", line 85, in get_ext_filename
    ext = self.ext_map[fullname]
KeyError: '_pycryptopp'
make: *** [build-python2.6] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Revision history for this message
Daniel Holbach (dholbach) wrote :
Revision history for this message
Piotr Ożarowski (piotr) wrote :

please use 0.5.15-2 from Debian unstable (uploaded few minutes ago)

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

Hi,

Thanks for the pointer! As soon as I can download the dsc file, I test build it.

Thanks,
Fabrice

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

Hi,

This bug report is fixed, but this package still FTBFS with python 2.6.2-0ubuntu5, uploaded the 9th. It was building fine before.
Reported as Bug #427496.

Fabrice

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pycryptopp - 0.5.14-1ubuntu1

---------------
pycryptopp (0.5.14-1ubuntu1) karmic; urgency=low

  * debian/rules: Fix FTBFS by adding --install-layout=deb to setup.py call
    (LP: #427025)

 -- Fabrice Coutadeur <email address hidden> Wed, 09 Sep 2009 20:18:54 +0000

Changed in pycryptopp (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.