Search Criteria
Package Details: mingw-w64-curl 8.11.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/mingw-w64-curl.git (read-only, click to copy) |
---|---|
Package Base: | mingw-w64-curl |
Description: | An URL retrival utility and library (mingw-w64) |
Upstream URL: | https://curl.haxx.se |
Licenses: | MIT |
Submitter: | Schala |
Maintainer: | maksverver |
Last Packager: | maksverver |
Votes: | 13 |
Popularity: | 0.75 |
First Submitted: | 2012-08-12 07:46 (UTC) |
Last Updated: | 2025-01-06 23:13 (UTC) |
Dependencies (10)
- mingw-w64-brotliAUR
- mingw-w64-crt (llvm-mingw-w64-toolchain-ucrt-binAUR, llvm-mingw-w64-toolchain-msvcrt-binAUR)
- mingw-w64-libidn2AUR
- mingw-w64-libnghttp2AUR
- mingw-w64-libpslAUR
- mingw-w64-libssh2AUR
- mingw-w64-opensslAUR
- mingw-w64-zlibAUR
- mingw-w64-zstdAUR
- mingw-w64-configureAUR (llvm-mingw-w64-configureAUR) (make)
Latest Comments
1 2 3 4 Next › Last »
maksverver commented on 2025-01-10 01:49 (UTC)
Another update: downgrading to mingw-w64-gcc-13.1.0-1 and mingw-w64-binutils-2.39-1 seems to fix the regression.
maksverver commented on 2025-01-07 19:36 (UTC) (edited on 2025-01-07 21:33 (UTC) by maksverver)
@kokokoshka: thanks for reporting. It looks like the breakage is caused by a regression in mingw-w64-openssl.
edit: I initially wrote that downgrading to mingw-w64-openssl-3.3.1 would solve the isuse but that doesn't appear to be the case. All rebuilds of older packages seem to have increased in size. Maybe it's due to a change in compiler settings. This might be quite annoying to debug...
kokokoshka commented on 2025-01-05 16:34 (UTC) (edited on 2025-01-05 17:23 (UTC) by kokokoshka)
Tried to use this library. Unfortunately, even test case don't work. Did the build on two different machines. On one it's partially works, but crashes after
curl_easy_init
call. On another it does following:In Windows it's crashes with unknown error too.
maksverver commented on 2024-09-03 00:54 (UTC)
Hi everyone. I just adopted this package and updated it to version 8.9.1.
I verified that basic functionality works with the following sample code (note that I changed the HTTPS url to HTTP, because certificates aren't located automatically):
To build and run a dynamically linked binary:
To build and run a statically linked binary:
Let me know if these use cases don't work, and feel free to suggest patches to improve the package.
MoSal commented on 2024-06-23 00:04 (UTC)
@maksverver
I'm aware. I just wanted to provide logs-like info instead of explaining basic stuff.
And it's all the product of pkg-config and co. I didn't fiddle with stuff until I arrived at the whopping 38 long list.
At the end of the day, I got a working static build. So, I'm good.
maksverver commented on 2024-06-22 21:29 (UTC) (edited on 2024-06-22 21:29 (UTC) by maksverver)
@MoSal: just FYI, the error you saw occurred because
-lcrypt32
must come after-lcrypto
.It's not really clear why removing
-lbcrypt
causes more libraries to be added to the link line, but maybe it's because some later configure test fails.The list of libraries is really redundant: you mentioned 25 before the change, and 38 after the change, but in reality there are only 19 unique ones, and although it's theoretically possible to create situations where libraries must be included more than once, this is very rare in practice, so the link line could be simplified a lot if only the libraries were listed in the correct order.
maksverver commented on 2024-06-22 21:08 (UTC)
@drakkan: The problem still persists for me after updating to version 8.8.0. I still recommend the CHOST patch as a workaround.
Note the line "checking whether we are cross compiling..." which is "no" for me, but "yes" for you (as it should). Check configure.log for the reason:
The issue exists only if Windows executables can be executed directly with e.g.
./conftest.exe
(i.e., without calling wine explicitly!) I'm guessing this doesn't work inside chroots, so you get the correct result because conftest.exe fails.MoSal commented on 2024-06-22 20:19 (UTC)
@drakkan
The other part of patch 4 and the other patch are still needed.
Note that they are not the only changes needed. My build script currently has this:
Removing libssh2 may not be required. I just removed it first while debugging and didn't add it back because I don't need it.
drakkan commented on 2024-06-22 14:23 (UTC) (edited on 2024-06-22 14:25 (UTC) by drakkan)
@maksverver I build in a chroot but it is not clean, wine is installed and I cannot reproduce the reported issue.
Please compare your configure output with mine
@MoSal, removed static build patches, they were very old, maybe they are not needed anymore
MoSal commented on 2024-06-20 20:23 (UTC) (edited on 2024-06-20 20:24 (UTC) by MoSal)
From
0004-more-static-fixes.patch
:What is this supposed to fix? Because it breaks static builds for me (linking libcurl against other software). Removing that part of the patch fixes the build.
Building without
libssh2
, and starting with-lcurl
, here is the broken vs. working param list (25-l
s vs 38-l
s)!Broken
Working
Error:
1 2 3 4 Next › Last »