Bug 208903

Summary: www/py-html5lib: fails to fetch when test option selected
Product: Ports & Packages Reporter: John Marino <marino>
Component: Individual Port(s)Assignee: Ruslan Makhmatkhanov <rm>
Status: Closed FIXED    
Severity: Affects Only Me CC: pkubaj
Priority: --- Flags: bugzilla: maintainer-feedback? (rm)
Version: Latest   
Hardware: Any   
OS: Any   

Description John Marino freebsd_committer freebsd_triage 2016-04-18 16:39:01 UTC
This port will not build if TEST option is selected due to fetch issues:

========================< phase : fetch           >========================
===>  License MIT accepted by the user
===>   py27-html5lib-0.9999999 depends on file: /usr/local/sbin/pkg - found
=> html5lib-0.999-testdata.tar.gz doesn't seem to exist in /distfiles/.
=> Attempting to fetch http://magemana.nl/ports/dist/html5lib-0.999-testdata.tar.gz
fetch: http://magemana.nl/ports/dist/html5lib-0.999-testdata.tar.gz: No route to host
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/html5lib-0.999-testdata.tar.gz
fetch: http://distcache.FreeBSD.org/ports-distfiles/html5lib-0.999-testdata.tar.gz: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /distfiles/ and try again.
*** Error code 1

Stop.
make: stopped in /xports/www/py-html5lib
===========================================================================

Finished: Monday, 18 APR 2016 at 15:31:08 UTC
Duration: 00:01:25
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-04-18 18:17:02 UTC
A commit references this bug:

Author: rm
Date: Mon Apr 18 18:16:12 UTC 2016
New revision: 413602
URL: https://svnweb.freebsd.org/changeset/ports/413602

Log:
  www/py-html5lib: drop TEST option

  Distfile with test data disappeared (along with the web-server), so drop the
  TEST option. It seems there are official tests at
  https://github.com/html5lib/html5lib-tests, so it should be switched to them
  someday.

  PR:		208903
  Reported by:	marino

Changes:
  head/www/py-html5lib/Makefile
  head/www/py-html5lib/distinfo
Comment 2 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2016-04-18 18:18:29 UTC
Thanks for heads-up, John. I dropped the option for the time being because the distfile is not under my control. There is seems official tests pack. I'll try to switch the port to using it instead.
Comment 3 Piotr Kubaj freebsd_committer freebsd_triage 2016-04-27 18:08:38 UTC
(In reply to Ruslan Makhmatkhanov from comment #2)
Can you MFC this? I'm currently having the same error on 2016Q2.
Comment 4 commit-hook freebsd_committer freebsd_triage 2016-04-29 05:35:30 UTC
A commit references this bug:

Author: rm
Date: Fri Apr 29 05:34:57 UTC 2016
New revision: 414256
URL: https://svnweb.freebsd.org/changeset/ports/414256

Log:
  MFH: r413602

  www/py-html5lib: drop TEST option

  Distfile with test data disappeared (along with the web-server), so drop the
  TEST option. It seems there are official tests at
  https://github.com/html5lib/html5lib-tests, so it should be switched to them
  someday.

  PR:		208903
  Reported by:	marino
  Approved by:	ports-secteam (blanket)

Changes:
_U  branches/2016Q2/
  branches/2016Q2/www/py-html5lib/Makefile
  branches/2016Q2/www/py-html5lib/distinfo
Comment 5 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2016-04-29 05:36:20 UTC
(In reply to commit-hook from comment #4)
Done