Package Details: mingw-w64-zlib 1.3.1-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-zlib.git (read-only, click to copy)
Package Base: mingw-w64-zlib
Description: Compression library implementing the deflate compression method found in gzip and PKZIP (mingw-w64)
Upstream URL: http://www.zlib.net/
Licenses: zlib
Submitter: ekpyron
Maintainer: xantares
Last Packager: xantares
Votes: 47
Popularity: 0.83
First Submitted: 2012-03-22 22:55 (UTC)
Last Updated: 2024-01-23 19:51 (UTC)

Latest Comments

1 2 Next › Last »

marzeq commented on 2024-08-09 08:26 (UTC) (edited on 2024-08-09 08:31 (UTC) by marzeq)

curl is being blocked from downloading zlib-1.3.1.tar.gz (presumably by CloudFlare), see my output:

$ makepkg -S
==> Making package: mingw-w64-zlib 1.3.1-1 (Fri 09 Aug 2024 10:25:23 CEST)
==> Retrieving sources...
  -> Downloading zlib-1.3.1.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1491  100  1491    0     0   4472      0 --:--:-- --:--:-- --:--:--  4464
==> Validating source files with sha256sums...
    zlib-1.3.1.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!

$ ls
PKGBUILD  src  zlib-1.3.1.tar.gz

$ cat zlib-1.3.1.tar.gz

<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="robots" content="noindex, nofollow">
    <title>One moment, please...</title>
    <!-- ... -->
    </head>
<body>
  <!-- ... -->
</body>
</html>

mathiassteiger commented on 2023-08-23 14:10 (UTC)

tar.gz has moved from https://www.zlib.net/ to https://www.zlib.net/fossils/

svkampen commented on 2020-12-17 17:17 (UTC)

Oh, also, the sed command in build() uses -ie where it should probably use -i -e; the e is interpreted as a suffix instead of the -e flag.

svkampen commented on 2020-12-17 17:13 (UTC)

Building this fails for me:

Using ar
Checking for x86_64-pc-linux-gnu-gcc...
Checking for shared library support...
No shared library support; try without defining CC and CFLAGS
Building static library libz.a version 1.2.11 with x86_64-pc-linux-gnu-gcc.
Checking for size_t... No.
Checking for long long... Yes.
Failed to find a pointer-size integer type.
** ./configure aborting.

As you can see, it also seems to use the wrong compiler binary (the host gcc).

Adding CC=${_arch}-gcc before the ./configure command makes it build successfully.

Edric commented on 2015-05-13 15:40 (UTC)

Had the same problem, in the configure.log i seen it was trying to compile with native gcc and it was not installed. Installed gcc ... no more problem...

ekpyron commented on 2014-11-27 11:57 (UTC)

@beda121 Do you maybe have some weird CFLAGS set in /etc/makepkg.conf? Anyways I also never saw that error before, but I updated the PKGBUILD to not only override the CFLAGS during make, but also during ./configure - maybe that solves your problem?

beda121 commented on 2014-11-26 09:25 (UTC)

hi, I cannot compile it: Using ar Checking for x86_64-unknown-linux-gnu-gcc... Compiler error reporting is too harsh for ./configure (perhaps remove -Werror). ** ./configure aborting. Never seen this before.

ekpyron commented on 2014-10-30 14:53 (UTC)

@xantares I changed the flags, but I don't think it's a good idea to force the use of cmake as long as the package can be built without it.