[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: centralized bzr (Re: Successful and unsuccessful Debian development tools)



>>>>> "Adeodato" == Adeodato  <"=?utf-8?B?U2ltw7M=?=" <dato@net.com.org.es>> writes:

    Adeodato> Hm. I'd say that you have .pyc files left in:

    Adeodato>
    Adeodato> /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools

    Adeodato> Can you check, please?

Yes, see below.

    Adeodate> Also, do you remember having root
    Adeodato> bzr as root?

Huh?

    Adeodato> bzrtools > 0.9 does not put files under
    Adeodato> /usr/lib/python2.4, since it uses python-support; and
    Adeodato> its maintainer scripts for < 0.9 did not bytecompile the
    Adeodato> modules, so the most plausible explanation for .pyc
    Adeodato> files in /usr/lib/python2.4 is having run bzr 0.8 as
    Adeodato> root.

    Adeodato> To debian-python: this is presumably a bug in bzrtools?

bam@margay:~$ ls -l /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools
total 288
-rw-r--r-- 1 root root 31767 2006-07-16 18:58 baz_import.py.bak
-rw-r--r-- 1 root root 29959 2006-08-12 12:08 baz_import.pyc
-rw-r--r-- 1 root root   830 2006-08-12 12:08 branches.pyc
-rw-r--r-- 1 root root  2198 2006-08-12 12:08 branchhistory.pyc
-rw-r--r-- 1 root root  4167 2006-08-12 12:08 branch_mark.pyc
-rw-r--r-- 1 root root 13906 2006-08-12 12:08 bzrtools.pyc
-rw-r--r-- 1 root root  1232 2006-08-12 12:08 cbranch.pyc
-rw-r--r-- 1 root root  4167 2006-08-12 12:08 clean_tree.pyc
-rw-r--r-- 1 root root  8687 2006-08-12 12:08 dotgraph.pyc
-rw-r--r-- 1 root root  1637 2006-08-12 12:08 errors.pyc
-rw-r--r-- 1 root root  4235 2006-08-12 12:08 fai.pyc
-rw-r--r-- 1 root root  2275 2006-08-12 12:08 fetch_ghosts.pyc
-rw-r--r-- 1 root root  8827 2006-08-12 12:08 graph.pyc
-rw-r--r-- 1 root root  5466 2006-08-12 12:08 hunk_selector.pyc
-rw-r--r-- 1 root root 16502 2006-07-16 18:52 __init__.py.bak
-rw-r--r-- 1 root root 18867 2006-08-12 12:08 __init__.pyc
-rw-r--r-- 1 root root 20311 2006-08-12 12:08 patches.pyc
-rw-r--r-- 1 root root  7321 2006-08-12 12:08 patch.pyc
-rw-r--r-- 1 root root  2573 2006-08-12 12:08 patchsource.pyc
-rw-r--r-- 1 root root  1460 2006-08-12 12:08 progress.pyc
-rw-r--r-- 1 root root  1545 2006-08-12 12:08 rspush.pyc
-rw-r--r-- 1 root root   626 2006-08-12 12:08 setup.pyc
-rw-r--r-- 1 root root  9907 2006-08-12 12:08 shelf.pyc
-rw-r--r-- 1 root root 10210 2006-08-12 12:08 shell.pyc
-rw-r--r-- 1 root root  3846 2006-08-12 12:08 switch.pyc
-rw-r--r-- 1 root root  1822 2006-08-12 12:08 terminal.pyc
-rw-r--r-- 1 root root  1367 2006-08-12 12:08 test.pyc
-rw-r--r-- 1 root root  5083 2006-08-12 12:08 userinteractor.pyc
-rw-r--r-- 1 root root  3674 2006-08-12 12:08 zap.pyc

bam@margay:~$ dpkg -S /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools
bzrtools: /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools

bam@margay:~$ dpkg -L bzrtools
/.
/usr
/usr/lib
/usr/lib/python2.4
/usr/lib/python2.4/site-packages
/usr/lib/python2.4/site-packages/bzrlib
/usr/lib/python2.4/site-packages/bzrlib/plugins
/usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools
/usr/share
[...]

Not sure what those *.bak files are, but I suspect that was some
hackish debugging I did for a previous problem.

I would speculate that upgrading the package didn't result in the
compiled files being deleted.

bam@margay:~$ dpkg -l bzrtools
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                         Version                      Description
+++-============================-============================-========================================================================
ii  bzrtools                     0.9.0-1                      Collection of tools for bzr

-- 
Brian May <bam@debian.org>



Reply to: