http://bugs.openembedded.org/show_bug.cgi?id=894

           Summary: Build error with md5 present but tarball missing
           Product: Openembedded
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Build
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


Context:
When performing a 'bitbake task-bootstrap'.

Symtom:
If the gcc-3.4.4.tar.bz2.md5 exists in the download directory but 
gcc-3.4.4.tar.bz2 is missing from this download directory: bitbake dumps an
error instead of trying to download the gcc-3.4.4 tarball (see below)
Although I encountered the problem with gcc-3.4.4, I think it can be encountered
with other package as well.

I'm not sure how I entered in such a state: having the md5 file of a package but
not the associated tarball. Unfortunately I was not able to reproduce such
situation.

Console dump:
NOTE: Applying patch 'gcc34-reverse-compare.patch'
ERROR: function do_patchcmd failed
ERROR: log data follows
(/home/cyril/dev/OpenEmbedded/build/tmp/work/armv5te-linux/gcc-cross-initial-3.4.4-r4/temp/log.do_patchcmd.24758)
| Replacing patch gcc34-reverse-compare.patch with new version
| Applying patch gcc34-reverse-compare.patch
| can't find file to patch at input line 3
| Perhaps you used the wrong -p or --strip option?
| The text leading up to this was:
| --------------------------
| |--- gcc-3.4.0/gcc/flow.c.reverse-compare     2004-02-27 22:39:19.000000000 
-0500
| |+++ gcc-3.4.0/gcc/flow.c     2004-04-24 16:36:00.000000000 -0400
| --------------------------
| No file to patch.  Skipping patch.
| 3 out of 3 hunks ignored
| Patch gcc34-reverse-compare.patch does not apply (enforce with -f)
NOTE: Task failed:
/home/cyril/dev/OpenEmbedded/build/tmp/work/armv5te-linux/gcc-cross-initial-3.4.4-r4/temp/log.do_patchcmd.24758
NOTE: package gcc-cross-initial-3.4.4-r4: task do_patch: failed

Solution:
I removed the .md5 file and restart 'bitbake task-bootstrap' and it worked: it
downladed as usual the tarball and md5 files and then built.
I think bitbake should download the md5 file ONLY AFTER the tarball is
downloaded, or should be able to download the tarball after the md5 file.

-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to