On Tue, Apr 23, 2019 at 6:55 PM Waldek Kozaczuk <jwkozac...@gmail.com> wrote:
> Hi, > > Could someone clean build tree on the build machine - './scripts/build > clean'? > I'll clean it to solve the problem this time, but since this is a script you're familiar with, can you please fix it? (see below my notes on what needs to be fixed) > > It looks like possible the website we download OpenJDK was not available > or something and left some garbage that now wget is not able to download > over (possibly our script has a bug there): > ... > wget -c -O upstream/openjdk8.tar.gz > https://cdn.azul.com/zulu/bin/zulu8.38.0.13-ca-jdk8.0.212-linux_x64.tar.gz > > --2019-04-23 01:03:41-- > https://cdn.azul.com/zulu/bin/zulu8.38.0.13-ca-jdk8.0.212-linux_x64.tar.gz > > Resolving cdn.azul.com (cdn.azul.com)... 52.222.163.210, 52.222.163.209, > 52.222.163.38, ... > Connecting to cdn.azul.com (cdn.azul.com)|52.222.163.210|:443... > connected. > - hide quoted text - > HTTP request sent, awaiting response... 416 Requested Range Not > Satisfiable > > The file is already fully retrieved; nothing to do. > This script is indeed buggy: Because "wget -c" writes to a generically named file "openjdk8.tar.gz", it assumes we are fetching the same file, and continue an interrupted download. But if the URL was different last time, resuming a download cannot work. The script needs to call the output file zulu8.38.0.13-ca-jdk8.0.212-linux_x64.tar.gz, not openjdk8.tar.gz, so it only resumes a download if it's still the same version. -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.