Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 20.04 downloads a zero size zlib source code package #11478

Closed
1 of 2 tasks
Boulder08 opened this issue Apr 17, 2024 · 4 comments
Closed
1 of 2 tasks

Ubuntu 20.04 downloads a zero size zlib source code package #11478

Boulder08 opened this issue Apr 17, 2024 · 4 comments

Comments

@Boulder08
Copy link

Windows Version

Microsoft Windows [Version 10.0.19045.4291]

WSL Version

2.1.5.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.146.1-microsoft-standard-WSL2

Distro Version

Ubuntu 22.04

Other Software

No response

Repro Steps

I'm trying to build CoreELEC (https://wiki.coreelec.org/coreelec:build_ce). The process fails because apparently the zlib source package download fails and just produces a zero byte file. The build script tries two different locations and both have the same issue. With the same Ubuntu version running in VirtualBox, there are no issues whatsoever.

Running a simple wget https://zlib.net/fossils/zlib-1.3.1.tar.gz also produces a broken file.

Expected Behavior

The file should be about 1,5MB in size.

Actual Behavior

Zero size file is saved to the virtual disk.

Diagnostic Logs

No response

Copy link

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The scipt will output the path of the log file once done.

Once completed please upload the output files to this Github issue.

Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.

@zcobol
Copy link

zcobol commented Apr 17, 2024

zcobol@toto:~$ wget https://zlib.net/fossils/zlib-1.3.1.tar.gz
--2024-04-17 07:59:16--  https://zlib.net/fossils/zlib-1.3.1.tar.gz
Resolving zlib.net (zlib.net)... 85.187.148.2
Connecting to zlib.net (zlib.net)|85.187.148.2|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1512791 (1.4M) [application/x-gzip]
Saving to: ‘zlib-1.3.1.tar.gz’

zlib-1.3.1.tar.gz             100%[=================================================>]   1.44M  4.50MB/s    in 0.3s

2024-04-17 07:59:17 (4.50 MB/s) - ‘zlib-1.3.1.tar.gz’ saved [1512791/1512791]

Why is your download failing 🤔

@Boulder08
Copy link
Author

It started working after I was trying to reproduce it to get a log. Weird thing because I had attempted the download numerous times yesterday and today before that. I'll have to try again later.

@Boulder08
Copy link
Author

Boulder08 commented Apr 20, 2024

Unable to reproduce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants