Bug 709

Summary: ncurses 5.7 recipe seeks patch on a site that no longer hosts it
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Matt Roper <matthew.d.roper>
Component: coreAssignee: Dongxiao Xu <dongxiao.xu>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: High CC: julie.n.fleischer, ke.yu, meta.mr.watcher, meta.watcher, richard.purdie, sgw
Version: 0.9   
Target Milestone: 1.0 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Matt Roper 2011-02-11 16:25:17 UTC
The ncurses 5.7 recipe (meta/recipes-core/ncurses/ncurses_5.7.bb) searches for a patch at:

   ftp://invisible-island.net/ncurses/5.7/ncurses-5.7-20100501.patch.gz

It seems that the patch used to be hosted at this location (several other links on the web point at the same location), but the patch no longer appears to be present on that server.  The recipe may need to be updated to point to another mirror (Google pointed me at http://build.shr-project.org/shr-unstable/sources/MIT/ncurses/ncurses-5.7-20100501.patch.gz as another place the patch can still be obtained from).
Comment 1 Julie Fleischer 2011-02-14 15:58:29 UTC
Matt believes this may be addressed by the fix from Richard:

There is a bug in the release which results in not all MIRRORS
being attempted for sources. Source code has disappeared from one
upstream which has caused problems for people, it is on the mirror but
isn't being seen by poky. The fix is simple, just adding a missing +
sign to a file as per this patch:

http://git.pokylinux.org/cgit.cgi/poky/commit/?id=293b023361580cdf41cf8aa0d8e96fd9c380e424
Comment 2 Richard Purdie 2011-02-22 09:44:11 UTC
The recipe should point at the autobuilder sources directory if the upstream is no longer available for this.
Comment 3 Qing He 2011-02-23 18:52:12 UTC
according to the ncurses upstream

patches like ncurses-5.7-yyyymmdd.patch.gz are the "weekly patches"

and patches like
	patch-5.7-yyyymmdd.sh.gz
	ncurses-5.7-yyyymmdd-patch.sh.bz
are rollup patches that includes past weekly patches, and after a new rollup patch, the weekly patches are removed from the server.

ncurses-5.7-20100501.patch.gz should be contained in 
        ncurses-5.7-20110108-patch.sh.bz2


So the base patch, and weekly patch will continue to change on the server side, if the autobuilder mirror can be automatically used as the target location, I don't think we should bother to change the uri to autobuilder in the recipe. Rather, we can wait to next ncurses upgrade and use the new rollup patch and weekly patch.
Comment 4 Richard Purdie 2011-02-25 09:28:41 UTC
The URL in the recipe should be correct and fetchable. If its not, we should change it to one that is so this should be the autobuilder URL, or we should pull the patch into poky although I dislike that solution.
Comment 5 Ke Yu 2011-02-27 22:56:52 UTC
Qing is on leave these two days, so Dongxiao will help on this