Bug 10562

Summary: do_distrodata: distro_check: create_socket can't access Fedora or OpenSuSE source urls
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Tracy Graydon <tracy.graydon>
Component: Scripts and ToolsAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: High CC: joshuagloe, ross.burton, sgw
Version: unspecified   
Target Milestone: 2.2.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Tracy Graydon 2016-10-31 22:19:15 UTC
While running bitbake -k universe -c distrodata on morty release branch, the following errors occur for tar-1.29-r0 package:

WARNING: tar-1.29-r0 do_distrodata: distro_check: create_socket url http://archive.fedoraproject.org/pub/fedora/linux/releases/24/Fedora/source/SRPMS/ can't access
WARNING: tar-1.29-r0 do_distrodata: distro_check: create_socket url http://download.opensuse.org/update/13.2/rpm/src/ can't access

These specific links no longer exist.
Comment 1 Ross Burton 2016-11-03 17:59:20 UTC
I started to look at this and the Fedora case is very much non-trivial as they have re-organised their archive, but the bigger problem is that distrodata has been broken since the Python3 migration and it didn't appear to be collecting any data.

The ross/morty branch on poky-contrib has my WIP patch to fix distrodata, it doesn't fetch fedora or suse yet but it does fetch Debian and Ubuntu correctly.
Comment 2 Ross Burton 2016-11-04 10:37:35 UTC
I then rewrote most of the library...

Patch on the list.
Comment 3 Ross Burton 2016-11-08 17:25:06 UTC
Fixed in oe-core 58de12eaaac9c60bb8fc84a3a965ef86d2a39ae0.