Bug 2241 - gnomebase.bbclass fetcher url needs to be fixed
Summary: gnomebase.bbclass fetcher url needs to be fixed
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard: patch pending
Depends on:
Blocks:
 
Reported: 2012-04-04 16:25 UTC by tf
Modified: 2012-06-12 15:07 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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