Skip to contentSkip to conversation

git-2.30.0-rc1 - Transitive OpenLDAP requirement in libcurl

NOT BUG Randall S. Becker 2 participants 2 messages Dec 21, 2020 – Dec 22, 2020

lore
Share & tools
lore
#0 lore raw
Quoted 30 lines · On December 21, 2020 4:03 PM, I wrote:

To: 'Felipe Contreras' <[email protected]>; 'Junio C Hamano' <[email protected]>
Cc: '[email protected]' <[email protected]>
Subject: RE: [BUG] git-2.30.0-rc1 - Transitive OpenLDAP requirement in libcurl

Quoted 13 lines · Felipe Contreras

To: Randall S. Becker <[email protected]>; 'Junio C Hamano' <[email protected]>
Cc: [email protected]
Subject: RE: [BUG] git-2.30.0-rc1 - Transitive OpenLDAP requirement in libcurl

Quoted 5 lines · Randall S. Becker

git is the only product my group builds that uses libcurl. There is a less functional version of libcurl that comes with the operating system that we ignore. We are not linking with that version. The version of curl we have, we built but not since 2.29.2. So I'm confused.

Quoted 5 lines

Could be: b990f02fd8 (config.mak.uname: remove unused NEEDS_SSL_WITH_CURL flag, 2020-11-11)

It seems it was attempting to only remove NEEDS_SSL_WITH_CURL, which indeed wasn't used anymore, but it also removed:

I wondered about this one. I have rolled this back, with no positive effect. The 2.30.0-rc1 build works fine on the x86 platform (currently under test) but not on the Itanium (older) so I'm not suspecting this issue.

Quoted 8 lines
Quoted 1 line

#NO_CURL = YesPlease

We have been building with Curl for years, so probably not this.

Quoted 2 lines

I've no idea about these systems, but a quick search makes me wonder if perhaps this was not intended.

Is there some detection going on about OpenLDAP?

Well, looks like this probably an operator issue. I tried the build in a clean environment (our official Jenkins build environment) and 2.30.0-rc1 builds and is currently in testing on both NonStop platforms. Something is likely messed up in my clone. There's nothing in the environment that is weird. So it's obviously something I did, but I don't really know what (maybe git reset --hard master && git clean -dxf is not a sufficient reset).

Moving forward,
Randall

#1 lore raw
Quoted 7 lines · Randall S. Becker

Well, looks like this probably an operator issue. I tried the build in a clean environment (our official Jenkins build environment) and 2.30.0-rc1 builds and is currently in testing on both NonStop platforms. Something is likely messed up in my clone. There's nothing in the environment that is weird. So it's obviously something I did, but I don't really know what (maybe git reset --hard master && git clean -dxf is not a sufficient reset).

I was going to say that I don't see how you could link to the libcurl you have in /usr/local/lib.

From what I know of libraries not even this would link:

  #include <curl/curl.h>

  int main(void)
  {
          curl_easy_init();
          return 0;
  }

I would double check which libcurl library is actually being used the build environmen that works.

Cheers.

Signature · 1 line
Felipe Contreras