On Fri, 24 Jul 2020 at 13:56, Adam Dinwoodie wrote: > > Hi Brian, > > 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.
Hi Brian, Is there anything further I can do to help investigate this regression in the Cygwin curl libraries? Kind regards, Adam -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple