Bug 245237

Summary: ftp/curl: 7.69.1 broken when c-ares is used
Product: Ports & Packages Reporter: Michael Osipov <michael.osipov>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Some People CC: michael.osipov
Priority: --- Flags: bugzilla: maintainer-feedback? (sunpoet)
Version: Latest   
Hardware: Any   
OS: Any   

Description Michael Osipov 2020-04-01 15:26:59 UTC
Curl starts telling me:

> $ git pull
> warning: curl_multi_add_handle failed: Invalid easy handle
> fatal: konnte nicht auf 'https://gitbox.apache.org/repos/asf/maven.git/' zugreifen: failed to start HTTP request

This is the cause: https://github.com/curl/curl/issues/5097

Recompiling with the threaded resolver makes it work again. Here is a fix (https://github.com/curl/curl/commit/3bfda07004a5739fb306e55cb9529ba3de35fbdb) which can be applied until 7.69.2 is out.
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2020-04-02 12:23:47 UTC
Committed. Thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-04-02 12:25:14 UTC
A commit references this bug:

Author: sunpoet
Date: Thu Apr  2 12:23:36 UTC 2020
New revision: 530365
URL: https://svnweb.freebsd.org/changeset/ports/530365

Log:
  Fix runtime error (for CARES enabled and IPV6 disabled builds)

  - Bump PORTREVISION for package change

  Obtained from:	https://github.com/curl/curl/commit/3bfda07004a5739fb306e55cb9529ba3de35fbdb
  PR:		245237
  Reported by:	Michael Osipov <michael.osipov@siemens.com>

Changes:
  head/ftp/curl/Makefile
  head/ftp/curl/files/patch-lib-easy.c