Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jan 2018 06:28:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 224854] ports-mgmt/fastest_sites: Fix broken runtime with newer bsd.sites.mk
Message-ID:  <bug-224854-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224854

            Bug ID: 224854
           Summary: ports-mgmt/fastest_sites: Fix broken runtime with
                    newer bsd.sites.mk
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://forums.freebsd.org/threads/63963/
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: wxs@FreeBSD.org
          Reporter: tobik@freebsd.org
                CC: wxs@FreeBSD.org
 Attachment #189356 maintainer-approval?(wxs@FreeBSD.org)
             Flags:
             Flags: maintainer-feedback?(wxs@FreeBSD.org)
          Assignee: wxs@FreeBSD.org
                CC: wxs@FreeBSD.org

Created attachment 189356
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D189356&action=
=3Dedit
fastest_sites.diff

fastest_sites can't parse entries like

https://archives.fedoraproject.org/pub/archive/fedora/linux/%SUBDIR%/:DEFAU=
LT,SOURCE

 =3D> Checking servers for MASTER_SITE_FEDORA_LINUX (6 servers)
Traceback (most recent call last):
  File "/usr/local/bin/fastest_sites", line 164, in <module>
    latency_list =3D FindFastest(varname, sitelist)
  File "/usr/local/bin/fastest_sites", line 110, in FindFastest
    AsyncConnect(url, callback)
  File "/usr/local/bin/fastest_sites", line 53, in __init__
    self.ParseURL()
  File "/usr/local/bin/fastest_sites", line 64, in ParseURL
    (scheme, remainder) =3D self._url.split(":", 2)
ValueError: too many values to unpack

Applying the attached patch fixes this.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224854-13>