Re: [CentOS] curl build system is broken and so is mock

2016-08-04 Thread m . roth
Always Learning wrote: > > On Thu, 2016-08-04 at 09:46 -0400, James B. Byrne wrote: >> On Wed, August 3, 2016 22:53, Alice Wonder wrote: >> > >> > I didn't realize ldd was recursive. I may have known that at one >> > point (been using linux since MK Linux DR3 and building RPMs since >> > 1999), but

Re: [CentOS] curl build system is broken and so is mock

2016-08-04 Thread Always Learning
On Thu, 2016-08-04 at 09:46 -0400, James B. Byrne wrote: > On Wed, August 3, 2016 22:53, Alice Wonder wrote: > > > > I didn't realize ldd was recursive. I may have known that at one > > point (been using linux since MK Linux DR3 and building RPMs since > > 1999), but have a head injury results in

Re: [CentOS] curl build system is broken and so is mock

2016-08-04 Thread James B. Byrne
On Wed, August 3, 2016 22:53, Alice Wonder wrote: > > I didn't realize ldd was recursive. I may have known that at one > point (been using linux since MK Linux DR3 and building RPMs since > 1999), but have a head injury results in memory problems with > pieces of knowledge I don't frequently use.

Re: [CentOS] curl build system is broken and so is mock

2016-08-03 Thread Alice Wonder
On 08/03/2016 07:53 PM, Alice Wonder wrote: On 08/03/2016 06:57 PM, Chris Adams wrote: Once upon a time, Alice Wonder said: So when building curl, it links curl against the libcurl in the buildroot and not against the libcurl it just compiled? No other packages I know of do that. No, that i

Re: [CentOS] curl build system is broken and so is mock

2016-08-03 Thread Alice Wonder
On 08/03/2016 06:57 PM, Chris Adams wrote: Once upon a time, Alice Wonder said: So when building curl, it links curl against the libcurl in the buildroot and not against the libcurl it just compiled? No other packages I know of do that. No, that is not what it does. If you posted the full l

Re: [CentOS] curl build system is broken and so is mock

2016-08-03 Thread Chris Adams
Once upon a time, Alice Wonder said: > So when building curl, it links curl against the libcurl in the > buildroot and not against the libcurl it just compiled? > > No other packages I know of do that. No, that is not what it does. If you posted the full ldd output like I asked, rather than gre

Re: [CentOS] curl build system is broken and so is mock

2016-08-03 Thread Alice Wonder
On 08/03/2016 06:40 PM, Chris Adams wrote: Once upon a time, Alice Wonder said: [alice@pern root]$ ldd builddir/build/BUILDROOT/curl-7.29.0-26.el7_2.awel.libre.0.x86_64/usr/bin/curl |grep crypto libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x7fb6e00a5000) libcrypto.so.10 =>

Re: [CentOS] curl build system is broken and so is mock

2016-08-03 Thread Chris Adams
Once upon a time, Alice Wonder said: > [alice@pern root]$ ldd > builddir/build/BUILDROOT/curl-7.29.0-26.el7_2.awel.libre.0.x86_64/usr/bin/curl > |grep crypto > libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x7fb6e00a5000) > libcrypto.so.10 => /lib64/libcrypto.so.10 (0x7fb6df3e8

Re: [CentOS] curl build system is broken and so is mock

2016-08-03 Thread Alice Wonder
On 08/03/2016 06:30 PM, Chris Adams wrote: Once upon a time, Alice Wonder said: [alice@pern ~]$ ldd /usr/bin/curl |grep crypto libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x7f452439) libcrypto.so.10 => /lib64/libcrypto.so.10 (0x7f45234ca000) What do the following

Re: [CentOS] curl build system is broken and so is mock

2016-08-03 Thread Chris Adams
Once upon a time, Alice Wonder said: > [alice@pern ~]$ ldd /usr/bin/curl |grep crypto > libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x7f452439) > libcrypto.so.10 => /lib64/libcrypto.so.10 (0x7f45234ca000) What do the following show: ldd /usr/bin/curl ldd /usr/lib64/l

Re: [CentOS] curl build system is broken and so is mock

2016-08-03 Thread Alice Wonder
On 08/03/2016 06:17 PM, Alice Wonder wrote: *snip* [alice@pern ~]$ ldd /usr/bin/curl |grep crypto libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x7f452439) libcrypto.so.10 => /lib64/libcrypto.so.10 (0x7f45234ca000) [alice@pern ~]$ rpm -qf /lib64/libcrypto.so.10 openssl-libs-1.

Re: [CentOS] curl build system is broken and so is mock

2016-08-03 Thread Alice Wonder
On 08/03/2016 06:13 PM, Chris Adams wrote: Once upon a time, Alice Wonder said: Something in the curl build will always link the binary against OpenSSL if the openssl-lib package is present, and will always link the library against OpenSSL if any TLS option is enabled in the configure. No, it

Re: [CentOS] curl build system is broken and so is mock

2016-08-03 Thread Alice Wonder
On 08/03/2016 06:05 PM, Alice Wonder wrote: On 08/03/2016 05:54 PM, Alice Wonder wrote: On 08/03/2016 05:45 PM, Alice Wonder wrote: On 08/03/2016 05:33 PM, Thomas Eriksson wrote: On 08/03/2016 05:23 PM, Alice Wonder wrote: On 08/03/2016 05:20 PM, Alice Wonder wrote: On 08/03/2016 05:11 PM, A

Re: [CentOS] curl build system is broken and so is mock

2016-08-03 Thread Chris Adams
Once upon a time, Alice Wonder said: > Something in the curl build will always link the binary against > OpenSSL if the openssl-lib package is present, and will always link > the library against OpenSSL if any TLS option is enabled in the > configure. No, it doesn't. You can see this by looking

Re: [CentOS] curl build system is broken and so is mock

2016-08-03 Thread Alice Wonder
On 08/03/2016 05:54 PM, Alice Wonder wrote: On 08/03/2016 05:45 PM, Alice Wonder wrote: On 08/03/2016 05:33 PM, Thomas Eriksson wrote: On 08/03/2016 05:23 PM, Alice Wonder wrote: On 08/03/2016 05:20 PM, Alice Wonder wrote: On 08/03/2016 05:11 PM, Alice Wonder wrote: I'm having a major frustr

Re: [CentOS] curl build system is broken and so is mock

2016-08-03 Thread Alice Wonder
On 08/03/2016 05:45 PM, Alice Wonder wrote: On 08/03/2016 05:33 PM, Thomas Eriksson wrote: On 08/03/2016 05:23 PM, Alice Wonder wrote: On 08/03/2016 05:20 PM, Alice Wonder wrote: On 08/03/2016 05:11 PM, Alice Wonder wrote: I'm having a major frustration with curl. When building curl, if libs

Re: [CentOS] curl build system is broken and so is mock

2016-08-03 Thread Alice Wonder
On 08/03/2016 05:33 PM, Thomas Eriksson wrote: On 08/03/2016 05:23 PM, Alice Wonder wrote: On 08/03/2016 05:20 PM, Alice Wonder wrote: On 08/03/2016 05:11 PM, Alice Wonder wrote: I'm having a major frustration with curl. When building curl, if libssl.so.10 is present the curl binary WILL link

Re: [CentOS] curl build system is broken and so is mock

2016-08-03 Thread Chris Adams
Once upon a time, Thomas Eriksson said: > I haven't looked at how curl is built, butit is likely that the build > links against some other package that is, in turn, built against > OpenSSL. > > You would not need the openssl-devel package to do that, only the > runtime libraries. > > It looks li

Re: [CentOS] curl build system is broken and so is mock

2016-08-03 Thread Thomas Eriksson
On 08/03/2016 05:23 PM, Alice Wonder wrote: > On 08/03/2016 05:20 PM, Alice Wonder wrote: >> On 08/03/2016 05:11 PM, Alice Wonder wrote: >>> I'm having a major frustration with curl. >>> >>> When building curl, if libssl.so.10 is present the curl binary WILL link >>> against it. >> >> *snip* >> >>

Re: [CentOS] curl build system is broken and so is mock

2016-08-03 Thread Alice Wonder
On 08/03/2016 05:20 PM, Alice Wonder wrote: On 08/03/2016 05:11 PM, Alice Wonder wrote: I'm having a major frustration with curl. When building curl, if libssl.so.10 is present the curl binary WILL link against it. *snip* Go ahead and ldd on the CentOS curl binary and library - you will see

Re: [CentOS] curl build system is broken and so is mock

2016-08-03 Thread Alice Wonder
On 08/03/2016 05:11 PM, Alice Wonder wrote: I'm having a major frustration with curl. When building curl, if libssl.so.10 is present the curl binary WILL link against it. *snip* Go ahead and ldd on the CentOS curl binary and library - you will see openssl linked even though the spec file has

[CentOS] curl build system is broken and so is mock

2016-08-03 Thread Alice Wonder
I'm having a major frustration with curl. When building curl, if libssl.so.10 is present the curl binary WILL link against it. If curl is configured with an ssl option - the library WILL link against it. If you change the curl configuration options to use a different TLS library (e.g. nss li