oops

thanks for the report... testing following fix:

        set -e; for v in $(PY3VERS); do \
        [ -d $(CURDIR)/debian/python3-mpi4py/usr/include/python$$v ] || \
-           mkdir -p $(CURDIR)/debian/python3-mpi4py/usr/include/python$$v; \
-           dh_link -ppython3-mpi4py 
usr/lib/python3/dist-packages/mpi4py/include/mpi4py 
usr/include/python$$v/mpi4py; \
+         pythonv_inc_dir=$$(readlink -f /usr/include/python$$v); \
+         mkdir -p $(CURDIR)/debian/python3-mpi4py$$pythonv_inc_dir; \
+         dh_link -ppython3-mpi4py 
usr/lib/python3/dist-packages/mpi4py/include/mpi4py 
$${pythonv_inc_dir#/}/mpi4py; \
        done


On Wed, 20 Feb 2013, Andreas Beckmann wrote:

> Package: python3-mpi4py
> Version: 1.3+hg20120611-1
> Severity: serious

> Hi,

> while looking into #700782, we discovered that there is a symlink
> vs. directory conflict between python3-mpi4py and python3.2-dev:
>   python3.2-dev has /usr/include/python3.2 -> python3.2mu
>   python3-mpi4py ships /usr/include/python3.2/mpi4py
> Please move the linked shipped as python3.2/mpi4py to python3.2mu.

> # apt-get install python3-mpi4py
> # apt-get install python3-dev
> [...]
> Setting up python3.2-dev (3.2.3-6) ...
> WARNING: non-empty directory on upgrade: /usr/include/python3.2
> total 0
> lrwxrwxrwx 1 root root 53 Jun 12  2012 mpi4py -> 
> ../../lib/python3/dist-packages/mpi4py/include/mpi4py
> Setting up python3-dev (3.2.3-5) ...
> [...]

> # ls -lad /usr/include/python*
> drwxr-xr-x 2 root root   60 Feb 20 09:02 /usr/include/python3.2
> drwxr-xr-x 2 root root 1900 Feb 20 09:02 /usr/include/python3.2mu

> After fixing this in python3-mpi4py, please clone this a bug and
> reassign to python3.2-dev to add an appropriate versioned Conflicts
> against the buggy python3-mpi4py versions. Breaks is probably not
> sufficient to solve this "file conflict", as apt could decide to
> deconfigure (and not upgrade) python3-mpi4py before
> installing/upgrading python3-dev.


> Andreas


-- 
Yaroslav O. Halchenko
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Postdoctoral Fellow,   Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to