Repository navigation
Description
This issue was originally created at: 2009-02-11 14:30:49.
This issue was reported by: hughsw.
hughsw said at 2009-02-11 14:30:49
I'm seeing the following. I know how to eliminate the dependency cycle; that's not the problem. The reason I'm filing this is the "Internal Error" messages. If this is actually a problem of interest to you I can provide more details.
Thanks,
-Hugh
<blah blah blah, a successful build>
scons: done building targets.
>scons: *** Found dependency cycle(s):
build/linux2-posix-x86_64-64bit-le/py/coe/grid/runjob.log-doctest ->
build/linux2-posix-x86_64-64bit-le/py/coe/grid/__init__.pyc ->
build/linux2-posix-x86_64-64bit-le/py/coe/grid/runjob.log-doctest
Internal Error: no cycle found for node
build/linux2-posix-x86_64-64bit-le/py/coe/grid/gridgo.log-logreftest (<SCons.Node.FS.File instance at 0x1212b518>) in state pending
Internal Error: no cycle found for node
build/linux2-posix-x86_64-64bit-le/py/coe/grid/gridgo.pyc (<SCons.Node.FS.File instance at 0x12124e18>) in state pending
Internal Error: no cycle found for node
build/linux2-posix-x86_64-64bit-le/py/coe/grid/__init__.log-doctest (<SCons.Node.FS.File instance at 0x120eafc8>) in state pending
Internal Error: no cycle found for node build/linux2-posix-x86_64-64bit-le
(<SCons.Node.FS.Dir instance at 0x11d97710>) in state pending
build/linux2-posix-x86_64-64bit-le/py/coe/grid/__init__.pyc ->
build/linux2-posix-x86_64-64bit-le/py/coe/grid/runjob.log-doctest ->
build/linux2-posix-x86_64-64bit-le/py/coe/grid/__init__.pyc
Internal Error: no cycle found for node
build/linux2-posix-x86_64-64bit-le/py/coe/grid/gridgo.log-doctest (<SCons.Node.FS.File instance at 0x12128908>) in state pending
File "/REDACTED_PATH/scons/scons-local-1.2.0/SCons/Taskmaster.py", line 985, in cleanup
stevenknight said at 2009-02-22 08:55:30
Bug party triage: SK to follow up.
Hugh, can you double-check that this is with 1.2.0? There was a patch in 1.1.0.d20081207 and 1.2.0 that was intended to eliminate most of these "no cycle found" errors.
Assuming that this is 1.2.0, it would help if you could supply a (stripped-down) test case that demonstrates the problem so we can track it down and fix it. Our existing test cases for handling dependency cycles don't seem to trigger this behavior.
Thanks,
hughsw said at 2009-02-27 11:10:32
This is definitely from scons-local-1.2.0. I will endeavor to generate a striped-down case, but this is happening in a multicomponent SCons installation, so I may not get to it right away. I'll try the latest development release first.
There's another strangeness that I've observed, that may or may not be related: we use a custom scanner for some Builders, and it's used to scan targets of other Builders. This scanner is (correctly) generating the dependencies that appear in the cycle. Strangely, the scanner is sometimes asked to scan non-existent files (i.e. they haven't been built by the other Builders yet), and the SCons API supports this possibility, the node_exists_check() callback. I've never understood why this can happen or what its semantics are... but, it seems like a case where something that SCons thinks is going on isn't quite as SCons expected... just like what SCons reports in this defect....
-Hugh
marcnarc said at 2009-08-11 08:52:47
I am also seeing "Found dependency cycle(s) / no cycle found" errors. This is in v1.2.0.d20090223.
Unlike Hugh, I do not get a successful build. Also, unlike issue #2116 and issue #2265, I am not using -j.
Another anomaly: I only see the issue on rebuilds. There are no errors when I run a virgin build (with no .sconsgin.dblite file an no build artifacts). But if I immediately after re-run the build, I get the errors.
stevenknight said at 2009-11-10 18:00:19
stevenknight => issues@scons
marcnarc said at 2009-11-24 09:12:41
I've tracked down my particular source for this behavior. See issue #2523 and http://scons.tigris.org/ds/viewMessage.do?dsForumId=1272&dsMessageId=2423890 [tigris links are dead]
gregnoel said at 2010-01-20 02:41:31
Bug party triage. Since the problem appears to be tripped by symlinks, evaluate as part of adding native symlink support.
Activity