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

Script fails unzipping zlib-1.2.13.tar.gz #205

Open
Maxhawkgt opened this issue Aug 27, 2023 · 3 comments
Open

Script fails unzipping zlib-1.2.13.tar.gz #205

Maxhawkgt opened this issue Aug 27, 2023 · 3 comments

Comments

@Maxhawkgt
Copy link

I tried manually using wget https://zlib.net/fossils/zlib-1.2.13.tar.gz and tar reported it was not a valid zip file. When I looked at the file it looks to be HTML code. Perhaps there's something going on with zlib.net, but this version seems to be ok: https://github.com/madler/zlib/releases/download/v1.2.13/zlib-1.2.13.tar.gz.

@meta456trader
Copy link

Same for me.
I manually downloaded zip file and copied into package folder and run script.
But it's only temp solution.
Has anyone fixed it?

@Maxhawkgt
Copy link
Author

I used the version that I listed above and it seemed to work, but no, it's not been fixed yet.

@xanadonf
Copy link

Seems like zlib download is restricted in some countries...

Switching to 1.3.1 was the right solution for me :

if build "zlib" "1.3.1"; then
  download "https://github.com/madler/zlib/releases/download/v$CURRENT_PACKAGE_VERSION/zlib-$CURRENT_PACKAGE_VERSION.tar.gz"
  execute ./configure --static --prefix="${WORKSPACE}"
  execute make -j $MJOBS
  execute make install
  build_done "zlib" $CURRENT_PACKAGE_VERSION
fi

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