[Bug 4486] New: ecj-initial_3.3.bb can't remove build.xml

bugzilla-daemon at amethyst.openembedded.net bugzilla-daemon at amethyst.openembedded.net
Tue Aug 5 13:56:14 UTC 2008


http://bugs.openembedded.net/show_bug.cgi?id=4486

           Summary: ecj-initial_3.3.bb can't remove build.xml
    Classification: Unclassified
           Product: Openembedded
           Version: unspecified
          Platform: ARM
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: org.openembedded.stable
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: kschultz at buglabs.net


When building, ecj's build fails on ecj-initial do_unpackpost(). It seems that
it tries to remove build.xml, and that file is not there. I elimated the line
that removes build.xml and about.html in do_unpackpost() so it now reads:

do_unpackpost() {
  if [ ! -d source ]; then
    mkdir source
  fi

  if [ ! -d build ]; then
    mkdir build
  fi

  # Remove crap.
  rm -rf META-INF

  # Move source into separate subdir.
  mv org source/

  # Remove stuff unneeded for the bootstrap compiler.
  rm -rf source/org/eclipse/jdt/internal/compiler/apt
  rm -rf source/org/eclipse/jdt/internal/compiler/tool
  rm -rf source/org/eclipse/jdt/internal/antadapter
  rm source/org/eclipse/jdt/core/JDTCompilerAdapter.java

  # Make a copy of the remaining source to get the embedded
  # resources.
  cp -r source/org build/

  # Remove source code and other stuff.
  find build -name '*.java' -exec rm -f {} \;
  find build -name '*.html' -exec rm -f {} \;
}

and everything works fine. I think the archive it fetches no longer includes
those files, so the recipe should be changed to reflect that.

-- 
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list