| Summary: | Internal Error occured during Buid with module files when going from predefined Build configurations using gfortran to Intel and back | ||
|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | Michel DEVEL <michel.devel> |
| Component: | Photran.Managed Make | Assignee: | Photran Inbox <photran-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | com-eclipse-dot-org |
| Version: | 5.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
By the way, when I enable refactoring in the corresponding Makefile project, I get An internal error occurred during: "Photran indexer". 280208 (In reply to comment #1) > By the way, when I enable refactoring in the corresponding Makefile project, I > get > An internal error occurred during: "Photran indexer". > 280208 This was when I clicked on apply. After I clicked on OK I got An internal error occurred during: "Photran indexer". java.lang.ArrayIndexOutOfBoundsException Hi Michel, I'm not exactly sure how to reproduce this. I wonder if the fix to the other managed build bug you reported will also fix this. When 6.0.7 is released, please try it out and see if you still get an error like this; if so, please reopen this bug and we'll try to get a fix into 7.0. Thanks. Jeff |
Build Identifier: 20110301-1815 I have my source in a Source folder called src in a workspace with other projects having a source folder called src. > (By the way, when I create such a source folder I see a check box "Update exclusion filters in other source folders to solve nesting" which is checked by default and I do not understand what it is for) > When I build the project for the first time every thing is OK but when I try to build it after having build another one, I get problems with some module files (not always the same depending on modification in the code) > > I get "An internal error occurred during: "Build Project" and the following description of the error (kinds is the name of my module and there are both kinds.f and kinds.mod in the src folder (which is also used by a Makefile project with the same source files that works OK) > > java.lang.Error: Could not find a file to match the module name: kinds > at org.eclipse.photran.managedbuilder.core.makegen.DefaultFortranDependencyCalculator.getModulePath(DefaultFortranDependencyCalculator.java:266) > at org.eclipse.photran.managedbuilder.core.makegen.DefaultFortranDependencyCalculator.FindModulesInResources(DefaultFortranDependencyCalculator.java:217) > at org.eclipse.photran.managedbuilder.core.makegen.DefaultFortranDependencyCalculator.FindModulesInResources(DefaultFortranDependencyCalculator.java:228) > at org.eclipse.photran.managedbuilder.core.makegen.DefaultFortranDependencyCalculator.findDependencies(DefaultFortranDependencyCalculator.java:391) > at org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator.oldCalculateDependenciesForSource(GnuMakefileGenerator.java:3398) > at org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator.addRuleForSource(GnuMakefileGenerator.java:2782) > at org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator.addFragmentMakefileEntriesForSource(GnuMakefileGenerator.java:2077) > at org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator.addSources(GnuMakefileGenerator.java:1988) > at org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator.populateFragmentMakefile(GnuMakefileGenerator.java:977) > at org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator.regenerateMakefiles(GnuMakefileGenerator.java:894) > at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performMakefileGeneration(CommonBuilder.java:1456) > at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performPrebuildGeneration(CommonBuilder.java:1323) > at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:788) > at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:550) > at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:499) > at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629) > at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) > at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172) > at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203) > at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255) > at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) > at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258) > at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:220) > at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:362) > at org.eclipse.core.internal.resources.Project$1.run(Project.java:545) > at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975) > at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:524) > at org.eclipse.core.internal.resources.Project.build(Project.java:115) > at org.eclipse.ui.actions.BuildAction.invokeOperation(BuildAction.java:222) > at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:162) > at org.eclipse.ui.actions.WorkspaceAction$2.runInWorkspace(WorkspaceAction.java:483) > at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) > -- Reproducible: Couldn't Reproduce Steps to Reproduce: This is the result of quite a lot of manipulation on this workspace I tried to reproduce with a small unique project but could not in the time I could devote to that. Sorry.