Red Hat Bugzilla – Bug 176550
garbage in generated dependecies
Last modified: 2007-11-30 17:11:19 EST
Description of problem:
The files with Eclipse generated source file dependencies contains some garbage
characters. I am compiling an example application for Ogre 3D framework
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. build project
Dependency with garbage
The "." after "OgreSingl" is UTF-8 character #1048064 (as says editor from
Midnight Commander). There are cca 6500 copies of this character. I have
attached the file.
When I run the makefile manually, then the dependencies are OK. I have tested it
also on a second computer with the same versions of Eclipse and FC4 and the
result is the same.
Created attachment 122577 [details]
example of dependency with garbage
Created attachment 122578 [details]
good dependencies created manually with the Eclipse-generated makefile
I have tried now to create a C++ project using wxWidgets. And the dependencies
are wrong again. It looks like that during the build they are created with the
makefile (and they don't have the text "Automatically-generated file - do not
edit" included) and after the build they are processed in Eclipse (the "do not
edit" text is added) and the result is a garbage.
I'm on it.
I have looked into the sources of eclipse-cdt
(org.eclipse.cdt.managedbuilder.core) and from what I can see, the bug must be
in some lower layer (gcj?). CDT uses mostly "append" methods from StringBuffer
to modify or create the generated (make-)files. I do not see any reason for this
This bug is filed against FC4 which is no longer supported. Please re-test with
FC5 or FC6 and reopen the bug if the problem still exists. Thanks.