maintainer-feedback requested: [Bug 259283] multimedia/libv4l download source from github always fails after 15 min, no alternative site

From: <>
Date: Tue, 19 Oct 2021 18:39:39 UTC
Bugzilla Automation <> has asked freebsd-multimedia
(Nobody) <> for maintainer-feedback:
Bug 259283: multimedia/libv4l download source from github always fails after 15
min, no alternative site

--- Description ---
FreeBSD hack.SFT.local 12.2-STABLE FreeBSD 12.2-STABLE r370671 GENERIC	amd64
(using 2021Q4 ports tree)

while attempting to build multimedia/v4l_compat for x11/mate (v4l_compat uses
libv4l downloads) the file at

repeatedly failed to complete the download.  it always stopped at about 100Mb
(total file size closer to 180Mb).  There was no alternative for download.

I have a shared host web server with a fat pipeline off site, and it was able
to download the entire file directly.  I then downloaded it from the shared
host locally (it takes around 30 minutes).  The port built as expected.  Github
was apparently cutting the file short after around 15 minutes of downloading,
with no ability to pick up where you left off.

Unfortunately, there are no other mirrors available for this file.  I attempted
'make fetch' more than once with similar results.  wget is unable to recover
from a partial download as the file size is not known during download.

because download from github is NOT reliable, please at least mirror this on
the repo and/or alter the priority of download so that a subsequent
fetch from a mirror repo actually works.

this is the typical build error:

===> Fetching all distfiles required by v4l_compat-1.20.0_2 for building
===>  Extracting for v4l_compat-1.20.0_2
=> SHA256 Checksum OK for hselasky-v4l-utils-v4l-utils-1.20.0_GH0.tar.gz.
=> SHA256 Checksum OK for hselasky-webcamd-v5.13.2.2_GH0.tar.gz.
=> SHA256 Checksum mismatch for torvalds-linux-v5.13-rc2_GH0.tar.gz.
===>  Refetch for 1 more times files:  torvalds-linux-v5.13-rc2_GH0.tar.gz 
===>  License GPLv2 LGPL21 accepted by the user
===>   v4l_compat-1.20.0_2 depends on file: /usr/local/sbin/pkg - found
=> torvalds-linux-v5.13-rc2_GH0.tar.gz doesn't seem to exist in
=> Attempting to fetch
=> Attempting to fetch
=> Couldn't fetch it - please try to retrieve this
=> port manually into /e-drive/distfiles/ and try again.
*** Error code 1