[MacPorts] #64389: curl_multi_info_read() returned {.msg = CURLMSG_DONE, .data.result = 3 (!= CURLE_OK)}, but the error buffer is not set. curl_easy_strerror(.data.result): URL using bad/illegal format or missing URL
MacPorts
noreply at macports.org
Sat Jan 8 20:10:48 UTC 2022
#64389: curl_multi_info_read() returned {.msg = CURLMSG_DONE, .data.result = 3 (!=
CURLE_OK)}, but the error buffer is not set.
curl_easy_strerror(.data.result): URL using bad/illegal format or missing
URL
------------------------+--------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.7.99
Keywords: | Port:
------------------------+--------------------
Livecheck seems to have a bug when checking an invalid URL. Here's an
example when livechecking the sunclock port which at the time of filing
this ticket is using the invalid URL "debian:s/sunclock":
{{{
$ port -d livecheck sunclock
DEBUG: Copying
/Users/rschmidt/Library/Preferences/com.apple.dt.Xcode.plist to
/opt/local/var/macports/home/Library/Preferences
DEBUG: Changing to port directory: /Users/rschmidt/macports/macports-
ports-ryandesign-fork/x11/sunclock
DEBUG: OS darwin/19.6.0 (macOS 10.15.7) arch i386
DEBUG: universal_variant is false, so not adding the default universal
variant
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback
portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback
portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: Starting logging for sunclock @3.57_1
DEBUG: macOS 10.15.7 (darwin/19.6.0) arch i386
DEBUG: MacPorts 2.7.99
DEBUG: Xcode 12.4
DEBUG: SDK 10.15
DEBUG: MACOSX_DEPLOYMENT_TARGET: 10.15
DEBUG: Executing org.macports.main (sunclock)
DEBUG: livecheck phase started at Sat Jan 8 14:07:27 CST 2022
DEBUG: Executing org.macports.livecheck (sunclock)
DEBUG: Port (livecheck) version is 3.57
DEBUG: Loading the defaults from '/Users/rschmidt/macports/macports-ports-
ryandesign-fork/_resources/port1.0/livecheck/fallback.tcl'
DEBUG: Fetching debian:s/sunclock
DEBUG: Using CURL options --append-http-header {Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8} --enable-
compression
Error: cannot check if sunclock was updated (curl_multi_info_read()
returned {.msg = CURLMSG_DONE, .data.result = 3 (!= CURLE_OK)}, but the
error buffer is not set. curl_easy_strerror(.data.result): URL using
bad/illegal format or missing URL)
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64389>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list