Bug 2241

Summary: gnomebase.bbclass fetcher url needs to be fixed
Product: [Build System, Metadata & Runtime] OE-Core Reporter: tf <tf+bugs.yocto>
Component: coreAssignee: Saul Wold <sgw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher
Version: unspecified   
Target Milestone: 1.3   
Hardware: x86   
OS: Multiple   
Whiteboard: patch pending
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description tf 2012-04-04 16:25:40 UTC
gnomebase.bbclass is looking for tar.bz2 tarballs on the Gnome ftp servers; Gnome no longer uses bz2 archives, the tarballs for recent releases are only available in the .tar.xz format.
Comment 1 Saul Wold 2012-04-05 21:25:39 UTC
Currently many of the package that are currently in use, have not been repackaged with .xz tarballs, so it's hard, we need to create a fallback for both bz2 and xz
Comment 2 tf 2012-04-06 06:54:31 UTC
I think also it is unlikely that any packages that were released already will be repackaged. I think there was a transition period during which both bz2 and xz were being relased, but the recent packages are xz-only.

To be fair, you only run into this if you try to update a package to a newer version than is currently in poky.
Comment 3 Saul Wold 2012-04-20 00:52:57 UTC
Agreed, this does need to be address for the newer gnome archives.
Comment 4 Saul Wold 2012-05-14 12:48:43 UTC
Best way to handle this would be to add a ${<pick a name>} to the replace the .bz2 part of the source URI and set a default =? ".bz2" in the gnomebase.bbclass, then as new packages using .xz format created, change the ${<pick a name>} in the packages's recipe file to be ".xz".

Can you please provide an appropriate patch?

Thanks