Date: Tue, 19 Oct 2021 18:39:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259283 Bug ID: 259283 Summary: multimedia/libv4l download source from github always fails after 15 min, no alternative site Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: multimedia@FreeBSD.org Reporter: email@example.com Flags: maintainer-feedback?(multimedia@FreeBSD.org) Assignee: multimedia@FreeBSD.org 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 https://codeload.github.com/torvalds/linux/tar.gz/v5.13-rc2?dummy=/torvalds-linux-v5.13-rc2_GH0.tar.gz 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 freebsd.org 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-v184.108.40.206_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 /e-drive/distfiles/. => Attempting to fetch https://codeload.github.com/torvalds/linux/tar.gz/v5.13-rc2?dummy=/torvalds-linux-v5.13-rc2_GH0.tar.gz => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/torvalds-linux-v5.13-rc2_GH0.tar.gz => Couldn't fetch it - please try to retrieve this => port manually into /e-drive/distfiles/ and try again. *** Error code 1 -- You are receiving this mail because: You are the assignee for the bug.