Package: dh-python
Version: 1.20141111-2

With a symlink in the python package I install, dh-python3 crashes with
enclosed backtrace. Removing the symlink fixes the problem.

The symlink is used to locate some configuration relative to the python
installation directory i. e., __file__.

------------------------------------------------
   dh_python3 -O--with-systemd
Traceback (most recent call last):
  File "/usr/bin/dh_python3", line 256, in <module>
    main()
  File "/usr/bin/dh_python3", line 180, in main
    fix_locations(package, interpreter, SUPPORTED, options)
  File "/usr/share/dh-python/dhpython/fs.py", line 48, in fix_locations
    share_files(srcdir, dstdir, interpreter, options)
  File "/usr/share/dh-python/dhpython/fs.py", line 99, in share_files
    share_files(fpath1, fpath2, interpreter, options)
  File "/usr/share/dh-python/dhpython/fs.py", line 99, in share_files
    share_files(fpath1, fpath2, interpreter, options)
  File "/usr/share/dh-python/dhpython/fs.py", line 105, in share_files
    os.rmdir(srcdir)

Reply via email to