Bug 10879 - Autobuilders fail to fetch from zlib.net
Summary: Autobuilders fail to fetch from zlib.net
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: High normal
Target Milestone: 2.3 M2
Assignee: Joshua Lock
QA Contact: Juan Ramos
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-01-05 11:33 UTC by Joshua Lock
Modified: 2017-03-28 19:59 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Lock 2017-01-05 11:33:05 UTC
Workers on both clusters fail to fetch from zlib.net:

ERROR: zlib-1.2.8-r0 do_checkuri: Fetcher failure for URL: 'http://www.zlib.net/zlib-1.2.8.tar.xz'. URL http://www.zlib.net/zlib-1.2.8.tar.xz doesn't work
ERROR: zlib-1.2.8-r0 do_checkuri: Function failed: do_checkuri
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-checkuri/build/build/tmp/work/i586-poky-linux/zlib/1.2.8-r0/temp/log.do_checkuri.1512
NOTE: recipe zlib-1.2.8-r0: task do_checkuri: Failed
ERROR: Task (/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-checkuri/build/meta/recipes-core/zlib/zlib_1.2.8.bb:do_checkuri) failed with exit code '1'

The same URL can be opened in my browser and fetched via wget on my workstation.

I tried fetching with wget on workers on both clusters and both failed:

fedora24.yocto.io:

[joshuagl@fedora24 ~]$ wget http://www.zlib.net/zlib-1.2.8.tar.xz#
--2017-01-05 10:52:17--  http://www.zlib.net/zlib-1.2.8.tar.xz
Resolving www.zlib.net (www.zlib.net)... 69.73.132.10
Connecting to www.zlib.net (www.zlib.net)|69.73.132.10|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-01-05 10:52:17 ERROR 404: Not Found.

opensuse132.yoctoproject.org

joshuagl@opensuse132:~> wget http://www.zlib.net/zlib-1.2.8.tar.xz
--2017-01-05 10:03:27--  http://www.zlib.net/zlib-1.2.8.tar.xz
Resolving www.zlib.net (www.zlib.net)... 69.73.132.10
Connecting to www.zlib.net (www.zlib.net)|69.73.132.10|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-01-05 10:03:28 ERROR 404: Not Found.
Comment 1 Ross Burton 2017-01-05 16:14:12 UTC
Those files appear to have been removed, and 1.2.10 is present instead.  Josh, can you try again with no mirrors or proxies?

I'm I'm right then I guess the zlib recipe should download from what appears to be official mirror on sourceforge: https://sourceforge.net/projects/libpng/files/zlib/
Comment 2 Michael Halstead 2017-01-05 16:22:25 UTC
The current version at http://zlib.net/zlib-1.2.10.tar.gz works.

Both http://www.zlib.net/zlib-1.2.8.tar.xz and the canonical URL, wget http://zlib.net/zlib-1.2.8.tar.gz, are 404 not found so it looks like the project has deleted that release.

http://downloads.yoctoproject.org/mirror/sources/zlib-1.2.8.tar.xz is available if we need that version exactly.
Comment 3 Joshua Lock 2017-01-05 16:25:56 UTC
I'll update the recipe to use the SF mirror
Comment 6 Juan Ramos 2017-03-28 19:59:32 UTC
Verified, zlib-1.2.8.tar.xz is available

jframo1x@jframo1:~$ wget http://www.zlib.net/zlib-1.2.8.tar.xz
--2017-03-28 13:56:39--  http://www.zlib.net/zlib-1.2.8.tar.xz
Resolving proxy-chain.intel.com (proxy-chain.intel.com)... 10.19.8.225
Connecting to proxy-chain.intel.com (proxy-chain.intel.com)|10.19.8.225|:911... connected.
Proxy request sent, awaiting response... 200 OK
Length: 450776 (440K) [application/x-xz]
Saving to: ‘zlib-1.2.8.tar.xz’

zlib-1.2.8.tar.xz   100%[===================>] 440.21K   452KB/s    in 1.0s    

2017-03-28 13:56:40 (452 KB/s) - ‘zlib-1.2.8.tar.xz’ saved [450776/450776]