After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 777012 - ZLIB recipe, wrong url
ZLIB recipe, wrong url
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: cerbero
unspecified
Other Linux
: Normal normal
: 1.11.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-01-08 15:57 UTC by stefan karlsson
Modified: 2017-01-09 11:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description stefan karlsson 2017-01-08 15:57:59 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
Comment 1 stefan karlsson 2017-01-08 16:05:56 UTC
btw, the newest version seems to work as well, so maybe replace with:

url = 'http://zlib.net/fossils/zlib-1.2.10.tar.gz'

?
Comment 2 Sebastian Dröge (slomo) 2017-01-08 16:58:29 UTC
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?
Comment 3 stefan karlsson 2017-01-09 01:47:40 UTC
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
Comment 4 Sebastian Dröge (slomo) 2017-01-09 11:08:26 UTC
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