Skip to content

Internal Error: no cycle found #2480

Open

Description

@bdbaddog

This issue was originally created at: 2009-09-09 14:19:25.
This issue was reported by: lacombar.

lacombar said at 2009-09-09 14:19:25

Hi all,

I'm using Scons for a fairly big project and encounter often the following error:

  Internal Error: no cycle found for node compile/compat/libcompat.a (<SCons.Node.FS.File instance at 0xaa2128c>) in state pending
  Internal Error: no cycle found for node compile/shell/libshell.a (<SCons.Node.FS.File instance at 0xaff320c>) in state pending

such error happens at different point of the build. Running the following:

rm -r compile;
rm .sconsign.dblite;
find site_scons/ -name '*pyc' -exec rm -rf "{}" \;

help, but I received complains from some of our users that it was not enough. I am running r3842.

Thanks.

marcnarc said at 2009-09-11 14:21:22

See also issue #2347.

gregnoel said at 2009-12-09 14:21:59

Bug party triage.

marcnarc said at 2009-12-10 06:37:56

(I work with Arnaud, so I'm familiar with this issue.)

This issue was caused by an emitter mis-handling a symlinked directory. Sees http://scons.tigris.org/ds/viewMessage.do?dsForumId=1272&dsMessageId=2423890 for details (tigris links no longer work).

The circumstances surrounding how the builder was being invoked made it hard to diagnose the problem. I opened issue #2523 to address this, and included a toy build replicating the symlink problem.

Beyond that, the fact the error was reported as "Internal Error: no cycle found" seems to me to be the main remaining problem. The exception thrown by the mishandled symlink seems to have corrupted the dependency tree. The corruption isn't apparent in issue #2523's toy build, but it is in our main build.

gregnoel said at 2010-07-21 17:00:31

Bug party triage. Bump the priority of this issue.

Activity

  1. added this to the milestone on Jan 2, 2018
  2. added
    symlink
    and removed on Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions