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.12]) by sourceware.org (Postfix) with ESMTPS id D08863857C53 for ; Mon, 10 Aug 2020 03:32:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D08863857C53 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 4yYKkm4qb62br4yYLkRSm9; Sun, 09 Aug 2020 21:32:50 -0600 X-Authority-Analysis: v=2.3 cv=LKf9vKe9 c=1 sm=1 tr=0 a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17 a=IkcTkHD0fZMA:10 a=VwQbUJbxAAAA:8 a=UJ5Y5Z__AAAA:8 a=uLJA81zOXigswVl8kfwA:9 a=QEXdDO2ut3YA:10 a=5DmQJYoSOnoA:10 a=AjGcO6oz07-iQ99wixmX:22 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> 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: <63458018-e790-4878-c906-e6f7ea9d1b21@SystematicSw.ab.ca> Date: Sun, 9 Aug 2020 21:32:48 -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: <4f1d6241-c86b-f2f9-7b49-a9f5b998b0eb@SystematicSw.ab.ca> Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfONFtGWrsH4shaiKWXgQcs8hGbaq88bXIf2dd1HHJQ3Kxem5Gz79j2tdw09Pyqdg3hRjpeuskwMyzIeW/7TIYAZHgLjcoBhSZFv7qe1x5BwE2oBnZfn5 Mc6qC9aa7D/836jNxn97JIZqKKbuZV+TUXJ8KCtpcEOM2Ooh64lSJYFeMiLjS4+61GDYiXTQJpFohg== X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_NUMSUBJECT, KAM_SHORT, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham 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 03:32:54 -0000 On 2020-08-09 15:48, Brian Inglis wrote: > On 2020-08-09 12:28, Adam Dinwoodie wrote: >> On Fri, 24 Jul 2020 at 13:56, Adam Dinwoodie wrote: >>> On Mon, 20 Jul 2020 at 13:53, Brian Inglis wrote: >>>> The following packages have been uploaded to the Cygwin distribution: >>>> * curl 7.71.1 >>>> * libcurl4 7.71.1 >>>> * libcurl-devel 7.71.1 >>>> * libcurl-doc 7.71.1 > >>> This update appears to break parts of Git compilation that work using >>> {curl,libcurl4,libcurl-devel}-7.66.0-1. >>> >>> Simple test case and error output below, setup.log and cygcheck.out >>> attached; the setup.log includes a bunch of recent upgrades and >>> downgrades while I isolated the problem and confirmed the STC. >>> >>> Test case: From a Bash shell, run: `curl >>> https://git.kernel.org/pub/scm/git/git.git/snapshot/git-v2.27.0.tar.gz >>> | tar -xz && cd git-v2.27.0 && make configure && ./configure >>> --with-libpcre && make -j18 git-remote-http.exe`. This is a simplified >>> version of the normal Cygport build process for the Cygwin Git >>> packages. >>> >>> 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'`. >>> >>> The error output at the end of the build in the failing case is as below: >>> >>> ``` >>> LINK git-remote-http.exe >>> /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: >>> cannot find -lnghttp2 >>> /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: >>> cannot find -lidn2 >>> /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: >>> cannot find -lssh >>> /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: >>> cannot find -lpsl >>> /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: >>> cannot find -lldap >>> /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: >>> cannot find -llber >>> /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: >>> cannot find -lbrotlidec >>> /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: >>> cannot find -lbrotlidec >>> collect2: error: ld returned 1 exit status >>> make: *** [Makefile:2488: git-remote-http.exe] Error 1 >>> ``` >>> >>> For now I'm going to continue using the 7.66.0-1 packages; let me know >>> if I can help with working out what's going wrong here at all. > >> Is there anything further I can do to help investigate this regression >> in the Cygwin curl libraries? > > Your previous post never made it to me, either cygwin or cygwin-apps lists, > their archives, or mail-archives'. > Please check the archives and your email and repost. > > 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, so please check whether and how that is used, > and whether you have at least the runtime libs installed, and also the -devel > packages if you are building statically. > Static builds are not uncommon for test versions of package modules, as that > avoids issues with having to install package or dependency dynamic libraries > that may not yet be ready for prime time. > > I have never had any problems with packages using pkgconf/-config and never had > to look into it, so anyone with more knowledge and experience of issues there > should feel free to contribute. > > Trying to build with cygport: > > - it died silently as I did not have bash-completion-devel installed: could you > please perhaps move that pkg-config line into src-compile, so that cygport can > at least run, check, and complain about missing dependencies? > > - it complains that perl(DBD::SQLite) perl(IO::Pty) are not installed - how do > these and your other perl module dependencies map to Cygwin packages? > I also mean that in general - how can I map a perl module to a perl package and > vice versa - for future info? Build ran without problems other than above complaint, and some tests were skipped especially svn, cvs, p4, gitweb, those requiring explicit env settings, and some subtests failed: ... AR libgit.a LINK git-bugreport.exe LINK git-credential-store.exe LINK git-daemon.exe LINK git-fast-import.exe LINK git-http-backend.exe LINK git-remote-testsvn.exe LINK git-imap-send.exe LINK git-sh-i18n--envsubst.exe LINK git-shell.exe LINK git-http-fetch.exe LINK git-credential-cache.exe LINK git-http-push.exe LINK git-credential-cache--daemon.exe LINK git-remote-http.exe LINK git.exe ... Test Summary Report ------------------- t3070-wildmatch.sh (Wstat: 256 Tests: 1890 Failed: 44) Failed tests: 114, 116, 118, 120, 674, 676, 678, 680 734, 736, 738, 740, 744, 746, 748, 750 954, 956, 958, 960, 964, 966, 968, 970 974, 976, 978, 980, 1284, 1286, 1288, 1290 1374, 1376, 1378, 1380, 1414, 1416, 1418 1420, 1424, 1426, 1428, 1430 Non-zero exit status: 1 t5500-fetch-pack.sh (Wstat: 256 Tests: 372 Failed: 12) Failed tests: 145, 148, 164-165, 242, 245, 261-262, 339 342, 358-359 Non-zero exit status: 1 t5580-unc-paths.sh (Wstat: 256 Tests: 8 Failed: 3) Failed tests: 4, 6, 8 Non-zero exit status: 1 t5601-clone.sh (Wstat: 256 Tests: 104 Failed: 4) Failed tests: 62-64, 66 Non-zero exit status: 1 t7815-grep-binary.sh (Wstat: 0 Tests: 22 Failed: 0) TODO passed: 12 Files=908, Tests=22240, 17749 wallclock secs (12.25 usr 32.41 sys + 6979.47 cusr 28075.98 csys = 35100.10 CPU) Result: FAIL make[1]: *** [Makefile:52: prove] Error 1 make[1]: Target all not remade because of errors. make[1]: Leaving directory /mnt/c/Users/bwi/src/cygwin/git/git-2.28.0-1.x86_64/build/t make: *** [Makefile:2767: test] Error 2 -- 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.]