From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.13]) by sourceware.org (Postfix) with ESMTPS id 768B03857032 for ; Mon, 10 Aug 2020 17:33:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 768B03857032 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=brian.inglis@systematicsw.ab.ca Received: from [192.168.1.104] ([24.64.172.44]) by shaw.ca with ESMTP id 5BgLkjAMWng7K5BgMkCAKH; Mon, 10 Aug 2020 11:33:58 -0600 X-Authority-Analysis: v=2.3 cv=ecemg4MH c=1 sm=1 tr=0 a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17 a=IkcTkHD0fZMA:10 a=UJ5Y5Z__AAAA:8 a=jChkm-x5hCMFubTIiR0A:9 a=QEXdDO2ut3YA:10 a=-nuATAkMhhWPdIrRzIKU:22 Reply-To: cygwin@cygwin.com Subject: Re: [ANNOUNCEMENT] Updated: curl 7.71.1-1 To: cygwin@cygwin.com References: <4f1d6241-c86b-f2f9-7b49-a9f5b998b0eb@SystematicSw.ab.ca> <53c7f2a7-3bd8-f90c-b574-969d6b31f300@cornell.edu> From: Brian Inglis Autocrypt: addr=Brian.Inglis@SystematicSw.ab.ca; prefer-encrypt=mutual; keydata= mDMEXopx8xYJKwYBBAHaRw8BAQdAnCK0qv/xwUCCZQoA9BHRYpstERrspfT0NkUWQVuoePa0 LkJyaWFuIEluZ2xpcyA8QnJpYW4uSW5nbGlzQFN5c3RlbWF0aWNTdy5hYi5jYT6IlgQTFggA PhYhBMM5/lbU970GBS2bZB62lxu92I8YBQJeinHzAhsDBQkJZgGABQsJCAcCBhUKCQgLAgQW AgMBAh4BAheAAAoJEB62lxu92I8Y0ioBAI8xrggNxziAVmr+Xm6nnyjoujMqWcq3oEhlYGAO WacZAQDFtdDx2koSVSoOmfaOyRTbIWSf9/Cjai29060fsmdsDLg4BF6KcfMSCisGAQQBl1UB BQEBB0Awv8kHI2PaEgViDqzbnoe8B9KMHoBZLS92HdC7ZPh8HQMBCAeIfgQYFggAJhYhBMM5 /lbU970GBS2bZB62lxu92I8YBQJeinHzAhsMBQkJZgGAAAoJEB62lxu92I8YZwUBAJw/74rF IyaSsGI7ewCdCy88Lce/kdwX7zGwid+f8NZ3AQC/ezTFFi5obXnyMxZJN464nPXiggtT9gN5 RSyTY8X+AQ== Organization: Systematic Software Message-ID: Date: Mon, 10 Aug 2020 11:33:57 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <53c7f2a7-3bd8-f90c-b574-969d6b31f300@cornell.edu> Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfL2sLDQHsdoZuQ05kuOxDKpGNqTqpZrtsK/fwTNFpWgzI9/WQW8NfSW5NiYQy+IXFLopWpzNjSa/BYj5pmVk2eb5Hy5V5x/lPj5uhglNG+k1hL6ICce6 ArsZGz376taCSobQsTHFk1Dqbav8K+pSburtbQDiVk0bWZoTWEZ+1rv7zoPnzsDlTiAbA4pNuqgt1g== X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_NUMSUBJECT, KAM_SHORT, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Aug 2020 17:34:03 -0000 On 2020-08-10 08:52, Ken Brown via Cygwin wrote: > On 8/9/2020 5:48 PM, Brian Inglis wrote: >> On 2020-08-09 12:28, Adam Dinwoodie wrote: >>> On Fri, 24 Jul 2020 at 13:56, Adam Dinwoodie wrote: >>>> In the failing case, the `/configure` stage includes the following >>>> text: `configure: Setting CURL_LDFLAGS to '-lcurl -lnghttp2 -lidn2 >>>> -lssh -lpsl -lssl -lcrypto -lldap -llber -lbrotlidec -lbrotlidec >>>> -lz'`; in the working case using -7.66.0-1, the corresponding line is >>>> just `configure: Setting CURL_LDFLAGS to '-lcurl'`. > [...] >> Meanwhile, that info likely comes from: >> >> $ tail -vn15 /lib/pkgconfig/libcurl.pc >> ==> /lib/pkgconfig/libcurl.pc <== >> # >> prefix=/usr >> exec_prefix=/usr >> libdir=${exec_prefix}/lib >> includedir=${prefix}/include >> supported_protocols="DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS LDAP LDAPS >> POP3 POP3S RTSP SCP SFTP SMB SMBS SMTP SMTPS TELNET TFTP" >> supported_features="SSL IPv6 UnixSockets libz brotli AsynchDNS IDN PSL NTLM >> NTLM_WB TLS-SRP HTTP2 HTTPS-proxy" >> >> Name: libcurl >> URL: https://curl.haxx.se/ >> Description: Library to transfer files with ftp, http, etc. >> Version: 7.71.1 >> Libs: -L${libdir} -lcurl >> Libs.private: -lnghttp2 -lidn2 -lssh -lpsl -lssl -lcrypto -lldap -llber >> -lbrotlidec -lbrotlidec -lz >> Cflags: -I${includedir} >> >> it looks like your git build should be using Libs for dynamic builds and adding >> Libs.private for static builds > If you look at configure.ac in the git sources, you'll see that it uses > curl-config, not pkg-config.  The former reports: > > $ curl-config --libs > -lcurl -lnghttp2 -lidn2 -lssh -lpsl -lssl -lcrypto -lldap -llber -lbrotlidec > -lbrotlidec -lz > > Yaakov's build of earlier versions of curl used a patch 7.33.0-libdeps.patch to > prevent the unnecessary libs from being listed.  He even had a comment at the > beginning of the patch, explaining the reason for it: "These are needed only for > static linking, but we build with --disable-static". I try to avoid looking at autotools plumbing if I can possibly avoid it! ;^> Someone cleaned up the approach used, as the patch did not apply and was dropped. If you look at my later post, cygport git build and tests worked for me with no problems other than at first missing some package build dependencies and in the end I was still missing a couple of perl module dependencies I cannot decode. I am waiting to hear back from the git maintainer when he has time. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in IEC units and prefixes, physical quantities in SI.]