GNOME Bugzilla – Bug 777012
ZLIB recipe, wrong url
Last modified: 2017-01-09 11:08:26 UTC
the recipe for zlib in cerbero is broken. Fix is simple, put correct url in zlib.recipe: url = 'http://zlib.net/zlib-1.2.8.tar.xz' -> url = 'http://zlib.net/fossils/zlib-1.2.8.tar.gz' tested and verified to work on my system. Also note that I have contacted and asked the devs of zlib, who said the fossils directory will always hold all tarballs released, including the newest one
btw, the newest version seems to work as well, so maybe replace with: url = 'http://zlib.net/fossils/zlib-1.2.10.tar.gz' ?
Yes, updating to the latest version would make sense. Would you like to provide a patch in "git format-patch" format with a useful commit message?
From ba7d3326ee20b2a4ab3b07f7bc1cfb3a39203b6e Mon Sep 17 00:00:00 2001 From: stefan K <stefan.karlsson987@gmail.com> Date: Mon, 9 Jan 2017 02:40:48 +0100 Subject: [PATCH] zlib.recipe: tar-ball url fixed --- recipes/zlib.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/zlib.recipe b/recipes/zlib.recipe index 8900c83..03db313 100644 --- a/recipes/zlib.recipe +++ b/recipes/zlib.recipe @@ -7,7 +7,7 @@ class Recipe(recipe.Recipe): version = '1.2.8' stype = SourceType.TARBALL btype = BuildType.MAKEFILE - url = 'http://zlib.net/zlib-1.2.8.tar.xz' + url = 'http://zlib.net/fossils/zlib-1.2.8.tar.gz' licenses = [License.BSD_like] add_host_build_target = False can_use_configure_cache = False -- 1.9.1
commit 17327c7ecc853b444780a6f801425b39c13d9b68 Author: Sebastian Dröge <sebastian@centricular.com> Date: Mon Jan 9 13:07:52 2017 +0200 zlib: Update to 1.2.10 https://bugzilla.gnome.org/show_bug.cgi?id=777012 commit 4d2880dc532f9b1501f0cdaedd04fa607e0dc2cc Author: stefan K <stefan.karlsson987@gmail.com> Date: Mon Jan 9 02:40:48 2017 +0100 zlib: Fix tarball URL https://bugzilla.gnome.org/show_bug.cgi?id=777012