GithubHelp home page GithubHelp logo

Comments (8)

okeuday avatar okeuday commented on May 21, 2024

The exception you are getting is occurring during a name change process that occurs within the CloudI source tree. For projects that want to include CloudI in their Erlang release, the CloudI dependencies are changed so that their module (and application) names will not conflict with anything else, making it possible to have two versions of the same dependency coexist. The script which is dieing with this exception is at src/lib/reltool_util/scope and is called within Makefile.am. The ELOOP error suggests you have some symbolic links in the directory hierarchy which is causing problems. If you have added symbolic links to new dependencies within the src/external directory, perhaps this could occur. It seems to think that the symbolic links are making a loop. However, if you had added a dependency within src/external, you would also need to add it to Makefile.am's command line for the scope script (so that it would add a cloudi_x_ prefix to the new dependency, before it gets put into the CloudI release). The scope script may take awhile to execute, and it may feel like make is locked if you have a slower machine, but I don't see a reason for the exception. Have you modified the directory structure?

from cloudi.

okeuday avatar okeuday commented on May 21, 2024

One way to get the ELOOP error, when rebar is being ran, is to have it attempt to process an .app.src file that is a broken symbolic link. If you are attempting to add integration within CloudI, it will be easier if I can replicate your problem, so if that is the case, just commit/push the changes on your own fork, and I can look at the problem there.

from cloudi.

AeroNotix avatar AeroNotix commented on May 21, 2024

I've literally just cloned the source and it's doing this.

I'm also not understanding why a simple call to sed is not sufficient for this?

from cloudi.

AeroNotix avatar AeroNotix commented on May 21, 2024

By the way - I've just got it working by changing my shell from Bash to Zsh. The version of bash I was using is 4.2.45(2).

from cloudi.

okeuday avatar okeuday commented on May 21, 2024

That is very strange, that the shell would matter in this case. I test using bash, just due to it being a common default. The reason a simple sed call isn't used, is because some of the changes are specific to the usage based on the file type. The process uses a regex to recognize atoms, as they are normally used, which covers normal source code, and avoids problems that would otherwise exist with things like igor, where the atoms in childspecs of a supervisor couldn't be changed because their context is unknown (the atom usage is not understood by igor). If you can get any further information about the problems, perhaps by trying the build a second time, that would be helpful. Just paste the output when it dies, and I can attempt to recreate it... or try to mention where the eloop occurred.

from cloudi.

AeroNotix avatar AeroNotix commented on May 21, 2024

Well, I'm not lying about the bash/zsh issue. It totally cleared it up. Can you try using the bash version I mentioned?

from cloudi.

okeuday avatar okeuday commented on May 21, 2024

I don't doubt what you experienced. What I question, is whether your hard drive is starting to fail and if that is the reason for intermittent filesystem errors during the CloudI build. I am going to need some type of confirmation. I could try installing a virtualized archlinux installation. What version of archlinux are you using? (I know your packages might always be getting updated, but a date of your last package update could help narrow down the installation)

from cloudi.

AeroNotix avatar AeroNotix commented on May 21, 2024

ok, I'll try and reproduce on a clean room install and I'll get back to you.

from cloudi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.