[Python-modules-team] Bug#686695: Bug#686695: python-graph: FTBFS if built twice in a row: find: `./dot/pygraph/__pycache__': No such file or directory

Sandro Tosi morph at debian.org
Fri Feb 28 18:49:19 UTC 2014


Hello Jakub,
thanks for you report.

> python-graph FTBFS if built twice in a row:
> | dh clean
> |    dh_testdir
> |    dh_auto_clean
> | make[1]: Entering directory
> `/build/python-graph-3pWeNk/python-graph-1.8.2'
> | find . -name *.pyc -exec rm {} \;
> | find . -name __pycache__ -exec rm -rf {} \;
> | find: `./dot/pygraph/__pycache__': No such file or directory
> | find: `./core/pygraph/__pycache__': No such file or directory
> | find: `./core/build/lib/pygraph/__pycache__': No such file or directory
> | find: `./core/build/lib/pygraph/mixins/__pycache__': No such file or
> directory
> | find: `./core/build/lib/pygraph/readwrite/__pycache__': No such file or
> directory
> | find: `./core/build/lib/pygraph/classes/__pycache__': No such file or
> directory
> | find: `./core/build/lib/pygraph/algorithms/__pycache__': No such file or
> directory
> | find: `./core/build/lib/pygraph/algorithms/filters/__pycache__': No such
> file or directory
> | find: `./core/build/lib/pygraph/algorithms/heuristics/__pycache__': No
> such file or directory
> | find: `./tests/__pycache__': No such file or directory

this is really weird! it seems that find is able to find the directories

$ find . -name __pycache__ -ls
268787765    4 drwxr-xr-x   2 morph    morph        4096 Feb 28 19:33
./tests/__pycache__
202903960    0 drwxr-xr-x   2 morph    morph          66 Feb 28 19:34
./dot/pygraph/__pycache__
135163567    0 drwxr-xr-x   2 morph    morph          66 Feb 28 19:32
./core/pygraph/__pycache__
202971606    0 drwxr-xr-x   2 morph    morph          66 Feb 28 19:33
./core/build/lib/pygraph/readwrite/__pycache__
336837355    0 drwxr-xr-x   2 morph    morph          66 Feb 28 19:33
./core/build/lib/pygraph/mixins/__pycache__
202971609    0 drwxr-xr-x   2 morph    morph          66 Feb 28 19:33
./core/build/lib/pygraph/algorithms/heuristics/__pycache__
336837358    0 drwxr-xr-x   2 morph    morph          66 Feb 28 19:33
./core/build/lib/pygraph/algorithms/filters/__pycache__
26377180    0 drwxr-xr-x   2 morph    morph          66 Feb 28 19:33
./core/build/lib/pygraph/algorithms/__pycache__
67549178    0 drwxr-xr-x   2 morph    morph          66 Feb 28 19:33
./core/build/lib/pygraph/__pycache__
and to remove them, but it still emits those errors:

$ find . -name __pycache__ -exec rm -rf {} \;
find: `./tests/__pycache__': No such file or directory
find: `./dot/pygraph/__pycache__': No such file or directory
find: `./core/pygraph/__pycache__': No such file or directory
find: `./core/build/lib/pygraph/readwrite/__pycache__': No such file
or directory
find: `./core/build/lib/pygraph/mixins/__pycache__': No such file or directory
find: `./core/build/lib/pygraph/algorithms/heuristics/__pycache__': No
such file or directory
find: `./core/build/lib/pygraph/algorithms/filters/__pycache__': No
such file or directory
find: `./core/build/lib/pygraph/algorithms/__pycache__': No such file
or directory
find: `./core/build/lib/pygraph/__pycache__': No such file or directory
$ find . -name __pycache__ -ls
$

even strace didn't reveal much. do you have any clue of what's going on?

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



More information about the Python-modules-team mailing list