[Python-modules-team] Bug#700782: python3-cxx-dev: unhandled symlink to directory conversion: /usr/include/python3.2
Andreas Beckmann
anbe at debian.org
Wed Feb 20 01:44:41 UTC 2013
On 2013-02-20 01:37, Sebastian Ramacher wrote:
> Sure, I wasn't questioning that it's a bad idea. From the original bug report it
> just wasn't clear to me why this would be an issue.
Luckily there are not enough packages with exactly this problem that
would inspire me enough to write a more specific bug template :-)
>> # dpkg --unpack /var/cache/apt/archives/glx-diversions_0.2.2_amd64.deb
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> I guess that should be python3-cxx-dev_6.2.4-2_all.deb, shouldn't it?
Correct. ECopyNPaste. (BTW: glx-diversions was another package I tried
that had unsatisfied pre-depends and dpkg refused to unpack it.
(and no, adding a pre-depends is not the correct solution for this bug))
>> # apt-get -f install
...
>> Congratulations, now python*-dev* is borked.
>
> Thank you. So that's the bit that was missing from the original bug report. That
> makes it a lot clearer.
And now I have more good ideas to write a better bug report the next
time I find such a mess :-)
> Could you please check python3-bsddb3, python3-mpi4py, python3-numpy and
> python3-pygame? These packages also install stuff to /usr/include/python3.2.
I wheezy (just plain install, no upgrade from squeeze) I find (after
filtering out the sendmail cruft)
python3-epr-dbg_0.6.1-2.log
0m22.4s INFO: dirname part contains a symlink:
/usr/include/python3.2_d/numpy (python3-numpy) != /usr/include/python3.2dmu/numpy (?)
python3-scipy-dbg_0.10.1+dfsg2-1.log
0m29.1s INFO: dirname part contains a symlink:
/usr/include/python3.2_d/numpy (python3-numpy) != /usr/include/python3.2dmu/numpy (?)
Hmm, the other don't show such traces in their logs, but three were tested:
-rw-r--r-- 2 piupartsm piuparts 43735 Jan 30 09:09 wheezy/main/pass/python3-bsddb3_5.2.0-1.log
-rw-r--r-- 2 piupartsm piuparts 47279 Jan 29 10:03 wheezy/main/pass/python3-mpi4py_1.3+hg20120611-1.log
-rw-r--r-- 2 piupartsm piuparts 47959 Jan 31 01:33 wheezy/main/pass/python3-numpy_1:1.6.2-1.log
ls: cannot access wheezy/main/*/python3-pygame_*.log: No such file or directory
There were no problems detected so far ...
# ls -lad $(dpkg -L python3-numpy) | grep -v /usr/lib/python3/dist-packages/numpy
drwxr-xr-x 23 root root 480 Feb 20 01:23 /.
drwxr-xr-x 10 root root 200 Dec 1 2011 /usr
drwxr-xr-x 2 root root 8240 Feb 20 01:24 /usr/bin
-rwxr-xr-x 1 root root 1988 Apr 19 2012 /usr/bin/dh_numpy3
-rwxr-xr-x 1 root root 682 Feb 8 20:24 /usr/bin/f2py3.2
drwxr-xr-x 31 root root 2780 Feb 20 01:24 /usr/include
drwxr-xr-x 2 root root 60 Feb 20 01:24 /usr/include/python3.2
lrwxrwxrwx 1 root root 56 Feb 8 20:24 /usr/include/python3.2/numpy -> ../../lib/python3/dist-packages/numpy/core/include/numpy
drwxr-xr-x 2 root root 60 Feb 20 01:24 /usr/include/python3.2_d
lrwxrwxrwx 1 root root 56 Feb 8 20:24 /usr/include/python3.2_d/numpy -> ../../lib/python3/dist-packages/numpy/core/include/numpy
drwxr-xr-x 24 root root 840 Feb 20 01:24 /usr/lib
drwxr-xr-x 3 root root 60 Jun 24 2011 /usr/lib/python3
drwxr-xr-x 3 root root 100 Feb 20 01:24 /usr/lib/python3/dist-packages
drwxr-xr-x 44 root root 880 Feb 20 01:24 /usr/share
drwxr-xr-x 141 root root 3280 Feb 20 01:24 /usr/share/doc
drwxr-xr-x 2 root root 80 Feb 20 01:24 /usr/share/doc/python3-numpy
-rw-r--r-- 1 root root 9043 Feb 8 20:02 /usr/share/doc/python3-numpy/changelog.Debian.gz
-rw-r--r-- 1 root root 27266 Jul 13 2011 /usr/share/doc/python3-numpy/copyright
drwxr-xr-x 35 root root 700 Feb 13 2012 /usr/share/man
drwxr-xr-x 2 root root 8580 Feb 20 01:24 /usr/share/man/man1
lrwxrwxrwx 1 root root 9 Feb 8 20:24 /usr/share/man/man1/f2py3.2.1.gz -> f2py.1.gz
Since there is no dependency from python-numpy to python*-dev*, everything is fine
(well, at least this piuparts test does not see a problem).
Good luck installing python*-dev* now :-(
Detecting these properly needs another tool ...
And more RC bugs to be filed ...
Andreas
More information about the Python-modules-team
mailing list