Builder curl-ares-solaris11-sparc Build #4222
Results:
Build successful
SourceStamp:
Project | curl |
Repository | https://github.com/curl/curl.git |
Branch | master |
Revision | a75110570a8427241c4128d3ac68a23d31ac0a71 |
Got Revision | a75110570a8427241c4128d3ac68a23d31ac0a71 |
Changes | 1 change |
BuildSlave:
unstable11sReason:
The SingleBranchScheduler scheduler named 'schedule-curl-ares-solaris11-sparc' triggered this build
Steps and Logfiles:
Build Properties:
Name | Value | Source |
---|---|---|
branch | master | Build |
builddir | /export/home/buildbot/slave/curl-ares-solaris11-sparc | slave |
buildername | curl-ares-solaris11-sparc | Builder |
buildnumber | 4222 | Build |
codebase | Build | |
got_revision | a75110570a8427241c4128d3ac68a23d31ac0a71 | Git |
osplatform | SPARC | SetPropertyFromCommand Step |
osrelease | 11 | SetPropertyFromCommand Step |
project | curl | Build |
repository | https://github.com/curl/curl.git | Build |
revision | a75110570a8427241c4128d3ac68a23d31ac0a71 | Build |
scheduler | schedule-curl-ares-solaris11-sparc | Scheduler |
slavename | unstable11s | BuildSlave |
workdir | /export/home/buildbot/slave/curl-ares-solaris11-sparc | slave (deprecated) |
Forced Build Properties:
Name | Label | Value |
---|
Responsible Users:
- Viktor Szakatscommit@vsz.me
Timing:
Start | Mon Jul 21 13:35:10 2025 |
End | Mon Jul 21 14:17:18 2025 |
Elapsed | 42 mins, 7 secs |
All Changes:
:
Change #240297
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Mon 21 Jul 2025 13:30:01 Repository https://github.com/curl/curl.git Project curl Branch master Revision a75110570a8427241c4128d3ac68a23d31ac0a71 Comments
windows: fix `if_nametoindex()` detection with autotools, improve with cmake - autotools: fix auto-detection on the Windows platform. It was mis-detected when targeting Windows XP/2003 64-bit. It was permanently undetected when building for Windows 32-bit. ``` lib/url.c: In function 'zonefrom_url': lib/url.c:1802:18: error: implicit declaration of function 'if_nametoindex' [-Wimplicit-function-declaration] 1802 | scopeidx = if_nametoindex(zoneid); | ^~~~~~~~~~~~~~ lib/url.c:1802:18: error: nested extern declaration of 'if_nametoindex' [-Werror=nested-externs] ``` Ref: https://github.com/curl/curl/actions/runs/16405598782/job/46351023138?pr=17982#step:10:29 Reported-by: LoRd_MuldeR Fixes #17979 Without this patch the workaround for the 8.15.0 release is: `export ac_cv_func_if_nametoindex=0` for Windows XP/2003 64-bit. Background: Checking for the `if_nametoindex()` function via `AC_CHECK_FUNCS()` (autotools) or `check_function_exists()` (cmake) do not work on Windows, for two reasons: - the function may be disabled at compile-time in Windows headers when targeting old Windows versions (XP or WS2003 in curl context) via `_WIN32_WINNT`. But it's always present in the system implib `iphlpapi` where these checks are looking. - for 32-bit Windows the function signature in the implib requires a 4-byte argument, while these checks always use no arguments, making them always fail. - cmake: call `if_nametoindex` dynamically with mingw-w64 v1.0. This mingw-w64 version lacks prototype and implib entry for it. - cmake: add auto-detection for Windows and use as a fallback for non-pre-fill cases. - cmake: disable pre-fill with `_CURL_PREFILL=OFF`. (for testing) - cmake: disable pre-fill for untested compilers. (i.e. non-MSVC, non-mingw64) - GHA/windows: make an autotools job build for Windows XP. Follow-up to 0d71b18153c8edb996738f8a362373fc72d0013b #17413 Closes #17982
Changed files
- .github/workflows/windows.yml
- CMakeLists.txt
- appveyor.yml
- configure.ac