Bug 10562 - do_distrodata: distro_check: create_socket can't access Fedora or OpenSuSE source urls
Summary: do_distrodata: distro_check: create_socket can't access Fedora or OpenSuSE so...
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: High normal
Target Milestone: 2.2.1
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-10-31 22:19 UTC by Tracy Graydon
Modified: 2016-11-08 17:25 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

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