Builder curl-ares-solaris10-sparc Build #2920
Results:
Failed runtest
SourceStamp:
Project | curl |
Repository | https://github.com/curl/curl.git |
Branch | master |
Revision | dda251ef1020da07dc4640a225e01051cb977535 |
Got Revision | dda251ef1020da07dc4640a225e01051cb977535 |
Changes | 4 changes |
BuildSlave:
unstable10sReason:
The SingleBranchScheduler scheduler named 'schedule-curl-ares-solaris10-sparc' triggered this build
Steps and Logfiles:
Build Properties:
Name | Value | Source |
---|---|---|
branch | master | Build |
builddir | /export/home/buildbot-unstable10s/slave/curl-ares-solaris10-sparc | slave |
buildername | curl-ares-solaris10-sparc | Builder |
buildnumber | 2920 | Build |
codebase | Build | |
got_revision | dda251ef1020da07dc4640a225e01051cb977535 | Git |
osplatform | SPARC | SetPropertyFromCommand Step |
osrelease | 10 | SetPropertyFromCommand Step |
project | curl | Build |
repository | https://github.com/curl/curl.git | Build |
revision | dda251ef1020da07dc4640a225e01051cb977535 | Build |
scheduler | schedule-curl-ares-solaris10-sparc | Scheduler |
slavename | unstable10s | BuildSlave |
workdir | /export/home/buildbot-unstable10s/slave/curl-ares-solaris10-sparc | slave (deprecated) |
Forced Build Properties:
Name | Label | Value |
---|
Responsible Users:
- Daniel Stenbergdaniel@haxx.se
- Viktor Szakatscommit@vsz.me
Timing:
Start | Sat Aug 9 00:35:02 2025 |
End | Sat Aug 9 15:25:16 2025 |
Elapsed | 14 hrs, 50 mins, 13 secs |
All Changes:
:
Change #242437
Category curl Changed by Daniel Stenberg <daniel @haxx.se>Changed at Fri 08 Aug 2025 11:42:33 Repository https://github.com/curl/curl.git Project curl Branch master Revision 065a6531583d58b4f2fdf81e83863ccf3158ff7f Comments
tool_writeout: check gmtime return code too If the unlikely event happen that it fails, it returns NULL. CodeSonar is not happy unless we check for it. Closes #18225
Changed files
- src/tool_writeout.c
Change #242438
Category curl Changed by Daniel Stenberg <daniel @haxx.se>Changed at Fri 08 Aug 2025 11:43:28 Repository https://github.com/curl/curl.git Project curl Branch master Revision da27db068fc888d7091d34708096bc8083f46554 Comments
tool_operate: cleanups - move the state struct from config to global. It is used as a single instance anyway so might as well be a single one to save memory. - simplify and combine several conditions - set default retry delay inititally - use better struct field names to make it easier to understand their purposes - remove the state->outfiles field as it was not necessary - remove superfluous glob cleanup call - move conditions around to remove an indent level - move the ->url NULL check Takes single_transfer()'s complexity score down from 78 to 68. Closes #18226
Changed files
- src/tool_cfgable.c
- src/tool_cfgable.h
- src/tool_operate.c
- src/tool_operate.h
- src/tool_operhlp.c
Change #242500
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Fri 08 Aug 2025 20:08:31 Repository https://github.com/curl/curl.git Project curl Branch master Revision 8ec241bc990bc88c4f4f7275d81f9fb75b562a7a Comments
openssl: clear errors after a failed `d2i_X509()` Without it, subsequent OpenSSL API calls may fail with an error caught within the OpenSSL `d2i_X509()` (decode) call. It was seen to happen when importing from the Windows certificate store (e.g. with `--ca-native`), and any one of the certificates failed while decoding, then skipped. Behind the scene (and undocumented), the failed decode call is adding an error to an internal OpenSSL error queue. This error is picked up later, at the connect phase, by another OpenSSL API call, which happens to check the error queue, without clearing it first. It made the connect fail with the error collected earlier, while decoding the malformed and discarded certificate. Fix by explicitly clearing the error queue if the decode call fails. Ref: https://docs.openssl.org/3.5/man3/d2i_X509/ `-vvvv` output before this patch: ``` [0-0] == Info: successfully imported Windows ROOT store [0-0] == Info: successfully imported Windows CA store [0-0] == Info: [SSL] SSL_connect() -> err=-1, detail=1 [0-0] == Info: TLS connect error: error:068000DD:asn1 encoding routines::illegal padding [0-0] == Info: [SSL] cf_connect() -> 35, done=0 ``` Mainline OpenSSL (as of 3.5.2) and quictls (as of 3.3.0) are affected. LibreSSL is not affected. (I did not test BoringSSL and AWS-LC) Assisted-by: Stefan Eissing Reported-by: MichaĆ Petryka Fixes #18190 Closes #18228
Changed files
- lib/vtls/openssl.c
Change #242521
Category curl Changed by Viktor Szakats <commit @vsz.me>Changed at Fri 08 Aug 2025 23:36:30 Repository https://github.com/curl/curl.git Project curl Branch master Revision dda251ef1020da07dc4640a225e01051cb977535 Comments
cmake: define `WIN32_LEAN_AND_MEAN` for examples To build faster. Also syncing with autotools. Job | Before | After | :------------------ | -----: | ----: | dl-mingw 15 | 45s | 39s | dl-mingw 9.5.0 | 72s | 49s | dl-mingw 7.3.0 | 29s | 19s | dl-mingw 6.4.0 | 20s | 9s | Linux cross | 30s | 19s | MSVC UWP | 77s | 65s | MSVC x64 | 27s | 22s | VS2010 | 61s | 48s | VS2022 clang-cl | 226s | 195s | It also happens to fix what looks like a Windows SDK header bug seen with VS2019 on AppVeyor CI: ``` C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winscard.h(1422,1): error C2220: the following warning is treated as an error (compiling source file C:\projects\curl\docs\examples\block_ip.c) C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winscard.h(1422,1): warning C5031: #pragma warning(pop): likely mismatch, popping warning state pushed in different file (compiling source file C:\projects\curl\docs\examples\block_ip.c) C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winioctl.h : message : #pragma warning(push) (compiling source file C:\projects\curl\docs\examples\block_ip.c) C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\windows.h(254,17): warning C5031: #pragma warning(pop): likely mismatch, popping warning state pushed in different file (compiling source file C:\projects\curl\docs\examples\block_ip.c) C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winscard.h : message : #pragma warning(push) (compiling source file C:\projects\curl\docs\examples\block_ip.c) C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winsock2.h(4221,1): warning C5031: #pragma warning(pop): likely mismatch, popping warning state pushed in different file (compiling source file C:\projects\curl\docs\examples\block_ip.c) C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\windows.h : message : #pragma warning(push) (compiling source file C:\projects\curl\docs\examples\block_ip.c) C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winsock2.h : warning C5032: detected #pragma warning(push) with no corresponding #pragma warning(pop) (compiling source file C:\projects\curl\docs\examples\block_ip.c) ``` Ref: https://ci.appveyor.com/project/curlorg/curl/builds/52531106/job/66b6r098pll2le70#L312 Closes #18232
Changed files
- docs/examples/CMakeLists.txt