git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Is support for 10.8 dropped?
@ 2018-04-05 19:48 Igor Korot
  2018-04-05 21:46 ` Eric Sunshine
  0 siblings, 1 reply; 22+ messages in thread
From: Igor Korot @ 2018-04-05 19:48 UTC (permalink / raw)
  To: git

Hi, ALL,
I am a successful user of git and my project is locad on GitHub (still
in development).

I have console git client installed on  all 3 major platforms -
Windows, Linux and Mac.

Up until recently everything was working fine. However about a month
ago I started experiencing issues with OSX.

I am running OSX 10.8 and initially I was receiving the following:

[quote]
fatal: unable to access
'https://github.com/oneeyeman1/dbhandler.git/': error:1407742E:SSL
routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
[/quote].

After asking on the stackoverflow I received a suggestion of updating
the git application.
I did that successfully) and now am getting the following:

[quote]
MyMac:dbhandler igorkorot$ /usr/local/git/bin/git pull
dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk
  Referenced from: /usr/local/git/libexec/git-core/git
  Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: ___strlcpy_chk
  Referenced from: /usr/local/git/libexec/git-core/git
  Expected in: /usr/lib/libSystem.B.dylib
error: fetch died of signal 5
[/quote]

Now my question is - how I can upgrade the git console client for my
OSX version?
It looks like all installers are written for 10.9+ and the only way to
work it is to update the OS?

Is there a version of the git console app for OSX 10.8?

Thank you.

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is support for 10.8 dropped?
  2018-04-05 19:48 Is support for 10.8 dropped? Igor Korot
@ 2018-04-05 21:46 ` Eric Sunshine
  2018-04-07  2:20   ` Igor Korot
  0 siblings, 1 reply; 22+ messages in thread
From: Eric Sunshine @ 2018-04-05 21:46 UTC (permalink / raw)
  To: Igor Korot; +Cc: git

On Thu, Apr 5, 2018 at 3:48 PM, Igor Korot <ikorot01@gmail.com> wrote:
> Is support for 10.8 dropped?

Until about a year ago, I was still periodically building Git from
source on MacOS 10.5, and there hasn't been any outright effort to
drop support for older MacOS, so I expect that 10.8 is still supported
by the Git project itself.

However, whether various packagers of (pre-built) Git support 10.8 is
a different matter.

> dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk
>   Referenced from: /usr/local/git/libexec/git-core/git
>   Expected in: /usr/lib/libSystem.B.dylib
> dyld: Symbol not found: ___strlcpy_chk
>   Referenced from: /usr/local/git/libexec/git-core/git
>   Expected in: /usr/lib/libSystem.B.dylib
>
> Now my question is - how I can upgrade the git console client for my
> OSX version?
> It looks like all installers are written for 10.9+ and the only way to
> work it is to update the OS?
>
> Is there a version of the git console app for OSX 10.8?

It's not clear what installer you used? Was it the package from
git-scm? Was it from Homebrew?

I would guess that, even if the git-scm installer no longer supports
10.8, it is likely that Homebrew does. Have you tried it?

If both those options fail, you can always build from source.

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is support for 10.8 dropped?
  2018-04-05 21:46 ` Eric Sunshine
@ 2018-04-07  2:20   ` Igor Korot
  2018-04-07  7:32     ` Eric Sunshine
  0 siblings, 1 reply; 22+ messages in thread
From: Igor Korot @ 2018-04-07  2:20 UTC (permalink / raw)
  To: Eric Sunshine; +Cc: git

Hi, Eric,

On Thu, Apr 5, 2018 at 5:46 PM, Eric Sunshine <sunshine@sunshineco.com> wrote:
> On Thu, Apr 5, 2018 at 3:48 PM, Igor Korot <ikorot01@gmail.com> wrote:
>> Is support for 10.8 dropped?
>
> Until about a year ago, I was still periodically building Git from
> source on MacOS 10.5, and there hasn't been any outright effort to
> drop support for older MacOS, so I expect that 10.8 is still supported
> by the Git project itself.

This is promising...

>
> However, whether various packagers of (pre-built) Git support 10.8 is
> a different matter.
>
>> dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk
>>   Referenced from: /usr/local/git/libexec/git-core/git
>>   Expected in: /usr/lib/libSystem.B.dylib
>> dyld: Symbol not found: ___strlcpy_chk
>>   Referenced from: /usr/local/git/libexec/git-core/git
>>   Expected in: /usr/lib/libSystem.B.dylib
>>
>> Now my question is - how I can upgrade the git console client for my
>> OSX version?
>> It looks like all installers are written for 10.9+ and the only way to
>> work it is to update the OS?
>>
>> Is there a version of the git console app for OSX 10.8?
>
> It's not clear what installer you used? Was it the package from
> git-scm? Was it from Homebrew?

I just tried the git-scm installer and got exactly the same error
during the runtime.

>
> I would guess that, even if the git-scm installer no longer supports
> 10.8, it is likely that Homebrew does. Have you tried it?

I don't want to pollute my system with Homebrew.

>
> If both those options fail, you can always build from source.

Where do I get the soure code? And how do I build it?
I guess I have only one option left. ;-)

Thank you.

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is support for 10.8 dropped?
  2018-04-07  2:20   ` Igor Korot
@ 2018-04-07  7:32     ` Eric Sunshine
  2018-04-08 21:10       ` Igor Korot
  0 siblings, 1 reply; 22+ messages in thread
From: Eric Sunshine @ 2018-04-07  7:32 UTC (permalink / raw)
  To: Igor Korot; +Cc: git

On Fri, Apr 6, 2018 at 10:20 PM, Igor Korot <ikorot01@gmail.com> wrote:
>>> dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk
>>>   Referenced from: /usr/local/git/libexec/git-core/git
>>>   Expected in: /usr/lib/libSystem.B.dylib
>>
>> It's not clear what installer you used? Was it the package from
>> git-scm? Was it from Homebrew?
>
> I just tried the git-scm installer and got exactly the same error
> during the runtime.

Have you tried any of the suggestions at these pages for resolving this issue?

https://stackoverflow.com/questions/22920497/git-mountain-lion-dyld-lazy-symbol-binding-failed-symbol-not-found-str

https://stackoverflow.com/questions/20929689/git-commands-not-working-in-mac-terminal-dyld-symbol-not-found-strlcpy-ch

>> I would guess that, even if the git-scm installer no longer supports
>> 10.8, it is likely that Homebrew does. Have you tried it?
>
> I don't want to pollute my system with Homebrew.
>
>> If both those options fail, you can always build from source.
>
> Where do I get the soure code? And how do I build it?
> I guess I have only one option left. ;-)

Source code for the latest release is at:
https://github.com/git/git/archive/v2.17.0.zip

To build it, you'll need to have the MacOS Developer Tools installed.
It's also quite likely that you'll need to build some prerequisite
libraries; at minimum OpenSSL. You may be able to skip other libraries
if you don't care about the functionality. Build settings which you
may need to adjust to disable dependence on libraries in which you're
not interested are documented at the top of Makefile. Place overrides
for those settings in a file named config.mak in the git directory.

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is support for 10.8 dropped?
  2018-04-07  7:32     ` Eric Sunshine
@ 2018-04-08 21:10       ` Igor Korot
  2018-04-08 22:37         ` Igor Korot
  0 siblings, 1 reply; 22+ messages in thread
From: Igor Korot @ 2018-04-08 21:10 UTC (permalink / raw)
  To: Eric Sunshine; +Cc: git

Hi, Eric,
First of, I already have Xcode installed along with the Developer Tools.
Second, here is the list of the different dylib files I found on my system:

MyMac:/ igorkorot$ find . -name libSystem.B.dylib
./Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/usr/lib/libSystem.B.dylib
./Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/lib/libSystem.B.dylib
./Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib/libSystem.B.dylib
./usr/lib/libSystem.B.dylib

I'm hoping that the dylib in the MacOSX10.9 directory does have that
symbol and maybe if I can check I can export this directory and let
the linker pick it up.

And apparently I was wrong:

MyMac:/ igorkorot$ nm -gU
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib/libSystem.B.dylib
| grep strlcpy
MyMac:/ igorkorot$ nm -gU
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/lib/libSystem.B.dylib
| grep strlcpy
MyMac:/ igorkorot$

I can try to build from source as this becomes my last resort. ;-)

Thank you.


On Sat, Apr 7, 2018 at 3:32 AM, Eric Sunshine <sunshine@sunshineco.com> wrote:
> On Fri, Apr 6, 2018 at 10:20 PM, Igor Korot <ikorot01@gmail.com> wrote:
>>>> dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk
>>>>   Referenced from: /usr/local/git/libexec/git-core/git
>>>>   Expected in: /usr/lib/libSystem.B.dylib
>>>
>>> It's not clear what installer you used? Was it the package from
>>> git-scm? Was it from Homebrew?
>>
>> I just tried the git-scm installer and got exactly the same error
>> during the runtime.
>
> Have you tried any of the suggestions at these pages for resolving this issue?
>
> https://stackoverflow.com/questions/22920497/git-mountain-lion-dyld-lazy-symbol-binding-failed-symbol-not-found-str
>
> https://stackoverflow.com/questions/20929689/git-commands-not-working-in-mac-terminal-dyld-symbol-not-found-strlcpy-ch
>
>>> I would guess that, even if the git-scm installer no longer supports
>>> 10.8, it is likely that Homebrew does. Have you tried it?
>>
>> I don't want to pollute my system with Homebrew.
>>
>>> If both those options fail, you can always build from source.
>>
>> Where do I get the soure code? And how do I build it?
>> I guess I have only one option left. ;-)
>
> Source code for the latest release is at:
> https://github.com/git/git/archive/v2.17.0.zip
>
> To build it, you'll need to have the MacOS Developer Tools installed.
> It's also quite likely that you'll need to build some prerequisite
> libraries; at minimum OpenSSL. You may be able to skip other libraries
> if you don't care about the functionality. Build settings which you
> may need to adjust to disable dependence on libraries in which you're
> not interested are documented at the top of Makefile. Place overrides
> for those settings in a file named config.mak in the git directory.

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is support for 10.8 dropped?
  2018-04-08 21:10       ` Igor Korot
@ 2018-04-08 22:37         ` Igor Korot
  2018-04-08 23:23           ` Eric Sunshine
  0 siblings, 1 reply; 22+ messages in thread
From: Igor Korot @ 2018-04-08 22:37 UTC (permalink / raw)
  To: Eric Sunshine; +Cc: git

Eric,
Sorry for multiple e-mails. I'm just trying to go thru with this.

This is what I tried:

[code]
MyMac:git-2.17.0 igorkorot$ make configure
GIT_VERSION = 2.17.0
    GEN configure
/bin/sh: autoconf: command not found
make: *** [configure] Error 127
MyMac:git-2.17.0 igorkorot$
[/code]

Does this mean that something is a miss?

Thank you.


On Sun, Apr 8, 2018 at 5:10 PM, Igor Korot <ikorot01@gmail.com> wrote:
> Hi, Eric,
> First of, I already have Xcode installed along with the Developer Tools.
> Second, here is the list of the different dylib files I found on my system:
>
> MyMac:/ igorkorot$ find . -name libSystem.B.dylib
> ./Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/usr/lib/libSystem.B.dylib
> ./Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/lib/libSystem.B.dylib
> ./Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib/libSystem.B.dylib
> ./usr/lib/libSystem.B.dylib
>
> I'm hoping that the dylib in the MacOSX10.9 directory does have that
> symbol and maybe if I can check I can export this directory and let
> the linker pick it up.
>
> And apparently I was wrong:
>
> MyMac:/ igorkorot$ nm -gU
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib/libSystem.B.dylib
> | grep strlcpy
> MyMac:/ igorkorot$ nm -gU
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/lib/libSystem.B.dylib
> | grep strlcpy
> MyMac:/ igorkorot$
>
> I can try to build from source as this becomes my last resort. ;-)
>
> Thank you.
>
>
> On Sat, Apr 7, 2018 at 3:32 AM, Eric Sunshine <sunshine@sunshineco.com> wrote:
>> On Fri, Apr 6, 2018 at 10:20 PM, Igor Korot <ikorot01@gmail.com> wrote:
>>>>> dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk
>>>>>   Referenced from: /usr/local/git/libexec/git-core/git
>>>>>   Expected in: /usr/lib/libSystem.B.dylib
>>>>
>>>> It's not clear what installer you used? Was it the package from
>>>> git-scm? Was it from Homebrew?
>>>
>>> I just tried the git-scm installer and got exactly the same error
>>> during the runtime.
>>
>> Have you tried any of the suggestions at these pages for resolving this issue?
>>
>> https://stackoverflow.com/questions/22920497/git-mountain-lion-dyld-lazy-symbol-binding-failed-symbol-not-found-str
>>
>> https://stackoverflow.com/questions/20929689/git-commands-not-working-in-mac-terminal-dyld-symbol-not-found-strlcpy-ch
>>
>>>> I would guess that, even if the git-scm installer no longer supports
>>>> 10.8, it is likely that Homebrew does. Have you tried it?
>>>
>>> I don't want to pollute my system with Homebrew.
>>>
>>>> If both those options fail, you can always build from source.
>>>
>>> Where do I get the soure code? And how do I build it?
>>> I guess I have only one option left. ;-)
>>
>> Source code for the latest release is at:
>> https://github.com/git/git/archive/v2.17.0.zip
>>
>> To build it, you'll need to have the MacOS Developer Tools installed.
>> It's also quite likely that you'll need to build some prerequisite
>> libraries; at minimum OpenSSL. You may be able to skip other libraries
>> if you don't care about the functionality. Build settings which you
>> may need to adjust to disable dependence on libraries in which you're
>> not interested are documented at the top of Makefile. Place overrides
>> for those settings in a file named config.mak in the git directory.

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is support for 10.8 dropped?
  2018-04-08 22:37         ` Igor Korot
@ 2018-04-08 23:23           ` Eric Sunshine
       [not found]             ` <CA+FnnTwvnA90nDARKW9r7p5iraoOGTvfDJ26n6Udc68bDSUASw@mail.gmail.com>
  0 siblings, 1 reply; 22+ messages in thread
From: Eric Sunshine @ 2018-04-08 23:23 UTC (permalink / raw)
  To: Igor Korot; +Cc: git

On Sun, Apr 8, 2018 at 6:37 PM, Igor Korot <ikorot01@gmail.com> wrote:
> MyMac:git-2.17.0 igorkorot$ make configure
> GIT_VERSION = 2.17.0
>     GEN configure
> /bin/sh: autoconf: command not found
> make: *** [configure] Error 127
>
> Does this mean that something is a miss?

That means that you don't have the Autoconf tools installed, but don't
worry about it since use of the 'configure' script it very optional in
this project. Git tends to build just fine on most platforms without
running 'configure'. You should be able to get by just by typing
"make" in the git directory after downloading the source.

And, as noted earlier, before running "make", you may need to create
config.mak to override some settings documented at the top of Makefile
(in particular, you may want to set NO_GETTEXT if you don't want to
install gettext and don't think you'll need it). As prerequisite,
you'll probably need to install OpenSSL.

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is support for 10.8 dropped?
       [not found]             ` <CA+FnnTwvnA90nDARKW9r7p5iraoOGTvfDJ26n6Udc68bDSUASw@mail.gmail.com>
@ 2018-04-08 23:59               ` Eric Sunshine
  2018-04-11  4:28                 ` Igor Korot
  0 siblings, 1 reply; 22+ messages in thread
From: Eric Sunshine @ 2018-04-08 23:59 UTC (permalink / raw)
  To: Igor Korot; +Cc: git

On Sun, Apr 8, 2018 at 7:55 PM, Igor Korot <ikorot01@gmail.com> wrote:
> On Sun, Apr 8, 2018, 6:23 PM Eric Sunshine <sunshine@sunshineco.com> wrote:
>> And, as noted earlier, before running "make", you may need to create
>> config.mak to override some settings documented at the top of Makefile
>> (in particular, you may want to set NO_GETTEXT if you don't want to
>> install gettext and don't think you'll need it). As prerequisite,
>> you'll probably need to install OpenSSL.
>
> Is there a way to check for OpenSSL presence?

Not sure what you're asking. Are you asking how to determine if you
already have OpenSSL built on your machine?

Note that you might be able to get by without installing OpenSSL since
Git will try to use Apple's "Common Crypto" instead, so you could
define NO_OPENSSL in config.mak and see if the project builds.

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is support for 10.8 dropped?
  2018-04-08 23:59               ` Eric Sunshine
@ 2018-04-11  4:28                 ` Igor Korot
  2018-04-11  9:44                   ` Eric Sunshine
  0 siblings, 1 reply; 22+ messages in thread
From: Igor Korot @ 2018-04-11  4:28 UTC (permalink / raw)
  To: Eric Sunshine; +Cc: git

Hi, Eric,

Sorry for the long delay.

On Sun, Apr 8, 2018 at 7:59 PM, Eric Sunshine <sunshine@sunshineco.com> wrote:
> On Sun, Apr 8, 2018 at 7:55 PM, Igor Korot <ikorot01@gmail.com> wrote:
>> On Sun, Apr 8, 2018, 6:23 PM Eric Sunshine <sunshine@sunshineco.com> wrote:
>>> And, as noted earlier, before running "make", you may need to create
>>> config.mak to override some settings documented at the top of Makefile
>>> (in particular, you may want to set NO_GETTEXT if you don't want to
>>> install gettext and don't think you'll need it). As prerequisite,
>>> you'll probably need to install OpenSSL.
>>
>> Is there a way to check for OpenSSL presence?
>
> Not sure what you're asking. Are you asking how to determine if you
> already have OpenSSL built on your machine?

Yes, that's what I was asking...

>
> Note that you might be able to get by without installing OpenSSL since
> Git will try to use Apple's "Common Crypto" instead, so you could
> define NO_OPENSSL in config.mak and see if the project builds.

This is what I got trying to do just "make":

MyMac:git-2.17.0 igorkorot$ make
    * new build flags
    CC credential-store.o
In file included from credential-store.c:1:
In file included from ./cache.h:9:
./gettext.h:17:11: fatal error: 'libintl.h' file not found
#       include <libintl.h>
                ^
1 error generated.
make: *** [credential-store.o] Error 1

And I am also confused. Which file am I suppose to modify here?

MyMac:git-2.17.0 igorkorot$ ls -la conf*
-rwxr-xr-x@ 1 igorkorot  staff  74461 Apr  2 10:13 config.c
-rwxr-xr-x@ 1 igorkorot  staff   9888 Apr  2 10:13 config.h
-rwxr-xr-x@ 1 igorkorot  staff    540 Apr  2 10:13 config.mak.in
-rwxr-xr-x@ 1 igorkorot  staff  16940 Apr  2 10:13 config.mak.uname
-rwxr-xr-x@ 1 igorkorot  staff  37509 Apr  2 10:13 configure.ac
-rw-r--r--  1 igorkorot  staff  37500 Apr  8 18:52 configure.ac+

Thank you.

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is support for 10.8 dropped?
  2018-04-11  4:28                 ` Igor Korot
@ 2018-04-11  9:44                   ` Eric Sunshine
  2018-04-22  5:15                     ` Igor Korot
  0 siblings, 1 reply; 22+ messages in thread
From: Eric Sunshine @ 2018-04-11  9:44 UTC (permalink / raw)
  To: Igor Korot; +Cc: git

On Wed, Apr 11, 2018 at 12:28 AM, Igor Korot <ikorot01@gmail.com> wrote:
>>> Is there a way to check for OpenSSL presence?
>>
>> Not sure what you're asking. Are you asking how to determine if you
>> already have OpenSSL built on your machine?
>
> Yes, that's what I was asking...

Easiest way to determine it is to try to compile Git without setting NO_OPENSSL.

> This is what I got trying to do just "make":
>
> MyMac:git-2.17.0 igorkorot$ make
>     * new build flags
>     CC credential-store.o
> In file included from credential-store.c:1:
> In file included from ./cache.h:9:
> ./gettext.h:17:11: fatal error: 'libintl.h' file not found
> #       include <libintl.h>
>                 ^
> 1 error generated.

This is because you don't have gettext installed. You should be able
to set NO_GETTEXT to work around this.

> And I am also confused. Which file am I suppose to modify here?
>
> MyMac:git-2.17.0 igorkorot$ ls -la conf*
> -rwxr-xr-x@ 1 igorkorot  staff  74461 Apr  2 10:13 config.c
> -rwxr-xr-x@ 1 igorkorot  staff   9888 Apr  2 10:13 config.h
> -rwxr-xr-x@ 1 igorkorot  staff    540 Apr  2 10:13 config.mak.in
> -rwxr-xr-x@ 1 igorkorot  staff  16940 Apr  2 10:13 config.mak.uname
> -rwxr-xr-x@ 1 igorkorot  staff  37509 Apr  2 10:13 configure.ac
> -rw-r--r--  1 igorkorot  staff  37500 Apr  8 18:52 configure.ac+

You should create a new file named "config.mak". For instance, the
content of your config.mak file might be:

    NO_GETTEXT=Yes

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is support for 10.8 dropped?
  2018-04-11  9:44                   ` Eric Sunshine
@ 2018-04-22  5:15                     ` Igor Korot
  2018-04-22  5:37                       ` Eric Sunshine
  0 siblings, 1 reply; 22+ messages in thread
From: Igor Korot @ 2018-04-22  5:15 UTC (permalink / raw)
  To: Eric Sunshine; +Cc: git

Hi,
Sorry for the long delay. Been busy with life things.

I built git from sources. The build was successful.

[code]
MyMac:git-2.17.0 igorkorot$ cat config.mak
NO_GETTEXT=Yes
NO_OPENSSL=Yes
[/code]

Next I tried to do git pull for my project:

[code]
MyMac:dbhandler igorkorot$ /Users/igorkorot/git-2.17.0/git pull
fatal: unable to access
'https://github.com/oneeyeman1/dbhandler.git/': error:1407742E:SSL
routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
MyMac:dbhandler igorkorot$
[/code]

Thank you.


On Wed, Apr 11, 2018 at 5:44 AM, Eric Sunshine <sunshine@sunshineco.com> wrote:
> On Wed, Apr 11, 2018 at 12:28 AM, Igor Korot <ikorot01@gmail.com> wrote:
>>>> Is there a way to check for OpenSSL presence?
>>>
>>> Not sure what you're asking. Are you asking how to determine if you
>>> already have OpenSSL built on your machine?
>>
>> Yes, that's what I was asking...
>
> Easiest way to determine it is to try to compile Git without setting NO_OPENSSL.
>
>> This is what I got trying to do just "make":
>>
>> MyMac:git-2.17.0 igorkorot$ make
>>     * new build flags
>>     CC credential-store.o
>> In file included from credential-store.c:1:
>> In file included from ./cache.h:9:
>> ./gettext.h:17:11: fatal error: 'libintl.h' file not found
>> #       include <libintl.h>
>>                 ^
>> 1 error generated.
>
> This is because you don't have gettext installed. You should be able
> to set NO_GETTEXT to work around this.
>
>> And I am also confused. Which file am I suppose to modify here?
>>
>> MyMac:git-2.17.0 igorkorot$ ls -la conf*
>> -rwxr-xr-x@ 1 igorkorot  staff  74461 Apr  2 10:13 config.c
>> -rwxr-xr-x@ 1 igorkorot  staff   9888 Apr  2 10:13 config.h
>> -rwxr-xr-x@ 1 igorkorot  staff    540 Apr  2 10:13 config.mak.in
>> -rwxr-xr-x@ 1 igorkorot  staff  16940 Apr  2 10:13 config.mak.uname
>> -rwxr-xr-x@ 1 igorkorot  staff  37509 Apr  2 10:13 configure.ac
>> -rw-r--r--  1 igorkorot  staff  37500 Apr  8 18:52 configure.ac+
>
> You should create a new file named "config.mak". For instance, the
> content of your config.mak file might be:
>
>     NO_GETTEXT=Yes

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is support for 10.8 dropped?
  2018-04-22  5:15                     ` Igor Korot
@ 2018-04-22  5:37                       ` Eric Sunshine
  2018-04-22  7:10                         ` Perry Hutchison
  2018-04-23 16:31                         ` Igor Korot
  0 siblings, 2 replies; 22+ messages in thread
From: Eric Sunshine @ 2018-04-22  5:37 UTC (permalink / raw)
  To: Igor Korot; +Cc: git

On Sun, Apr 22, 2018 at 1:15 AM, Igor Korot <ikorot01@gmail.com> wrote:
> MyMac:git-2.17.0 igorkorot$ cat config.mak
> NO_GETTEXT=Yes
> NO_OPENSSL=Yes
>
> MyMac:dbhandler igorkorot$ /Users/igorkorot/git-2.17.0/git pull
> fatal: unable to access
> 'https://github.com/oneeyeman1/dbhandler.git/': error:1407742E:SSL
> routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
> MyMac:dbhandler igorkorot$

Try re-building with OpenSSL enabled (remove NO_OPENSSL from
config.make). You may need to build/install OpenSSL yourself to get
this to work.

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is support for 10.8 dropped?
  2018-04-22  5:37                       ` Eric Sunshine
@ 2018-04-22  7:10                         ` Perry Hutchison
  2018-04-22 17:49                           ` brian m. carlson
  2018-04-23 16:31                         ` Igor Korot
  1 sibling, 1 reply; 22+ messages in thread
From: Perry Hutchison @ 2018-04-22  7:10 UTC (permalink / raw)
  To: ikorot01; +Cc: git, sunshine

Eric Sunshine <sunshine@sunshineco.us> wrote:
> On Sun, Apr 22, 2018 at 1:15 AM, Igor Korot <ikorot01@gmail.com> wrote:
> > MyMac:git-2.17.0 igorkorot$ cat config.mak
> > NO_GETTEXT=Yes
> > NO_OPENSSL=Yes
> >
> > MyMac:dbhandler igorkorot$ /Users/igorkorot/git-2.17.0/git pull
> > fatal: unable to access
> > 'https://github.com/oneeyeman1/dbhandler.git/': error:1407742E:SSL
> > routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
> > MyMac:dbhandler igorkorot$
>
> Try re-building with OpenSSL enabled (remove NO_OPENSSL from
> config.make). You may need to build/install OpenSSL yourself to get
> this to work.

Explanation:  "tlsv1 alert protocol version" means that the server
requires its clients to use a newer version of TLS than what was
used in the local build of git.

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is support for 10.8 dropped?
  2018-04-22  7:10                         ` Perry Hutchison
@ 2018-04-22 17:49                           ` brian m. carlson
  2018-04-23 16:39                             ` Igor Korot
  0 siblings, 1 reply; 22+ messages in thread
From: brian m. carlson @ 2018-04-22 17:49 UTC (permalink / raw)
  To: Perry Hutchison; +Cc: ikorot01, git, sunshine

[-- Attachment #1: Type: text/plain, Size: 1683 bytes --]

On Sun, Apr 22, 2018 at 12:10:20AM -0700, Perry Hutchison wrote:
> Eric Sunshine <sunshine@sunshineco.us> wrote:
> > On Sun, Apr 22, 2018 at 1:15 AM, Igor Korot <ikorot01@gmail.com> wrote:
> > > MyMac:git-2.17.0 igorkorot$ cat config.mak
> > > NO_GETTEXT=Yes
> > > NO_OPENSSL=Yes
> > >
> > > MyMac:dbhandler igorkorot$ /Users/igorkorot/git-2.17.0/git pull
> > > fatal: unable to access
> > > 'https://github.com/oneeyeman1/dbhandler.git/': error:1407742E:SSL
> > > routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
> > > MyMac:dbhandler igorkorot$
> >
> > Try re-building with OpenSSL enabled (remove NO_OPENSSL from
> > config.make). You may need to build/install OpenSSL yourself to get
> > this to work.
> 
> Explanation:  "tlsv1 alert protocol version" means that the server
> requires its clients to use a newer version of TLS than what was
> used in the local build of git.

I think the issue here is that you're using a crypto library which may
only support TLS 1.0 on 10.8[0].  GitHub requires TLS 1.2 as of
recently.  So this isn't really a problem with Git, so much as it's an
incompatibility between the version of the crypto library you're using
and GitHub.

I expect that due to the PCI DSS rules prohibiting new deployment of TLS
1.0, you'll continue to run into this issue more and more unless you
upgrade to an OS or crypto library that supports TLS 1.2.  As of June
30, TLS 1.0 will be pretty much dead on the Internet.

[0] I surmised this from https://www.ssllabs.com/ssltest/clients.html,
but I don't use macOS so can't speak for certain.
-- 
brian m. carlson: Houston, Texas, US
OpenPGP: https://keybase.io/bk2204

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 867 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is support for 10.8 dropped?
  2018-04-22  5:37                       ` Eric Sunshine
  2018-04-22  7:10                         ` Perry Hutchison
@ 2018-04-23 16:31                         ` Igor Korot
  2018-04-23 16:53                           ` Eric Sunshine
  1 sibling, 1 reply; 22+ messages in thread
From: Igor Korot @ 2018-04-23 16:31 UTC (permalink / raw)
  To: Eric Sunshine; +Cc: git

Hi, Eric,

On Sun, Apr 22, 2018 at 12:37 AM, Eric Sunshine <sunshine@sunshineco.com> wrote:
> On Sun, Apr 22, 2018 at 1:15 AM, Igor Korot <ikorot01@gmail.com> wrote:
>> MyMac:git-2.17.0 igorkorot$ cat config.mak
>> NO_GETTEXT=Yes
>> NO_OPENSSL=Yes
>>
>> MyMac:dbhandler igorkorot$ /Users/igorkorot/git-2.17.0/git pull
>> fatal: unable to access
>> 'https://github.com/oneeyeman1/dbhandler.git/': error:1407742E:SSL
>> routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
>> MyMac:dbhandler igorkorot$
>
> Try re-building with OpenSSL enabled (remove NO_OPENSSL from
> config.make). You may need to build/install OpenSSL yourself to get
> this to work.

2 things:
1. Is the file name "config.mak" or "config.make"?
2. Do I have to do "make clean" or just remove the line and o "make"?

Thank you.

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is support for 10.8 dropped?
  2018-04-22 17:49                           ` brian m. carlson
@ 2018-04-23 16:39                             ` Igor Korot
  0 siblings, 0 replies; 22+ messages in thread
From: Igor Korot @ 2018-04-23 16:39 UTC (permalink / raw)
  To: brian m. carlson, Perry Hutchison, Igor Korot, git, sunshine

Hi, Brian,

On Sun, Apr 22, 2018 at 12:49 PM, brian m. carlson
<sandals@crustytoothpaste.net> wrote:
> On Sun, Apr 22, 2018 at 12:10:20AM -0700, Perry Hutchison wrote:
>> Eric Sunshine <sunshine@sunshineco.us> wrote:
>> > On Sun, Apr 22, 2018 at 1:15 AM, Igor Korot <ikorot01@gmail.com> wrote:
>> > > MyMac:git-2.17.0 igorkorot$ cat config.mak
>> > > NO_GETTEXT=Yes
>> > > NO_OPENSSL=Yes
>> > >
>> > > MyMac:dbhandler igorkorot$ /Users/igorkorot/git-2.17.0/git pull
>> > > fatal: unable to access
>> > > 'https://github.com/oneeyeman1/dbhandler.git/': error:1407742E:SSL
>> > > routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
>> > > MyMac:dbhandler igorkorot$
>> >
>> > Try re-building with OpenSSL enabled (remove NO_OPENSSL from
>> > config.make). You may need to build/install OpenSSL yourself to get
>> > this to work.
>>
>> Explanation:  "tlsv1 alert protocol version" means that the server
>> requires its clients to use a newer version of TLS than what was
>> used in the local build of git.
>
> I think the issue here is that you're using a crypto library which may
> only support TLS 1.0 on 10.8[0].  GitHub requires TLS 1.2 as of
> recently.  So this isn't really a problem with Git, so much as it's an
> incompatibility between the version of the crypto library you're using
> and GitHub.
>
> I expect that due to the PCI DSS rules prohibiting new deployment of TLS
> 1.0, you'll continue to run into this issue more and more unless you
> upgrade to an OS or crypto library that supports TLS 1.2.  As of June
> 30, TLS 1.0 will be pretty much dead on the Internet.

Yes, openSSL on OSX 10.8 is old. I will t to update it tonight.
But as a developer I'm trying to stay with whatever OS provides.
Because upgrading will actually means that I will have to recompile an re-test
everything I made, since I will be working on a brand new system.

This is however is an unfortunate event when I will have to upgrade...

Than you.

>
> [0] I surmised this from https://www.ssllabs.com/ssltest/clients.html,
> but I don't use macOS so can't speak for certain.
> --
> brian m. carlson: Houston, Texas, US
> OpenPGP: https://keybase.io/bk2204

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is support for 10.8 dropped?
  2018-04-23 16:31                         ` Igor Korot
@ 2018-04-23 16:53                           ` Eric Sunshine
  2018-04-23 19:58                             ` Totsten Bögershausen
  0 siblings, 1 reply; 22+ messages in thread
From: Eric Sunshine @ 2018-04-23 16:53 UTC (permalink / raw)
  To: Igor Korot; +Cc: git

On Mon, Apr 23, 2018 at 12:31 PM, Igor Korot <ikorot01@gmail.com> wrote:
> 1. Is the file name "config.mak" or "config.make"?

"config.mak"

> 2. Do I have to do "make clean" or just remove the line and o "make"?

"make clean" would not hurt.

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is support for 10.8 dropped?
  2018-04-23 16:53                           ` Eric Sunshine
@ 2018-04-23 19:58                             ` Totsten Bögershausen
  2018-04-23 21:04                               ` Eric Sunshine
  0 siblings, 1 reply; 22+ messages in thread
From: Totsten Bögershausen @ 2018-04-23 19:58 UTC (permalink / raw)
  To: Eric Sunshine, Igor Korot; +Cc: git



On 2018-04-23 18:53, Eric Sunshine wrote:
> On Mon, Apr 23, 2018 at 12:31 PM, Igor Korot <ikorot01@gmail.com> wrote:
>> 1. Is the file name "config.mak" or "config.make"?
> 
> "config.mak"

I am confused, I have these file in my tree:
config.mak.in  config.mak.uname   Makefile
Setting options is documentend in Makefile

> 
>> 2. Do I have to do "make clean" or just remove the line and o "make"?
> 
> "make clean" would not hurt.

I would actually try to install openssl / openssl-dev (or however it is 
called) via "mac ports" or "home brew".

Both should work (but I don't have a system to test on)



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is support for 10.8 dropped?
  2018-04-23 19:58                             ` Totsten Bögershausen
@ 2018-04-23 21:04                               ` Eric Sunshine
  2018-04-23 21:21                                 ` Igor Korot
  0 siblings, 1 reply; 22+ messages in thread
From: Eric Sunshine @ 2018-04-23 21:04 UTC (permalink / raw)
  To: Totsten Bögershausen; +Cc: Igor Korot, git

On Mon, Apr 23, 2018 at 3:58 PM, Totsten Bögershausen <tboegi@web.de> wrote:
> On 2018-04-23 18:53, Eric Sunshine wrote:
>> On Mon, Apr 23, 2018 at 12:31 PM, Igor Korot <ikorot01@gmail.com> wrote:
>>> 1. Is the file name "config.mak" or "config.make"?
>>
>> "config.mak"
>
> I am confused, I have these file in my tree:
> config.mak.in  config.mak.uname   Makefile
> Setting options is documentend in Makefile

You can place custom build settings in a file named "config.mak" which
you create; it's not part of the distribution. The other files are not
intended for modification.

> I would actually try to install openssl / openssl-dev (or however it is
> called) via "mac ports" or "home brew".
>
> Both should work (but I don't have a system to test on)

Igor indicated earlier[1] in the thread that he wanted to avoid
Homebrew (and Macports, etc., presumably). If he'd be willing to use
Homebrew, then easiest would be simply to install Git itself via
Homebrew: "brew install git"

[1]: https://public-inbox.org/git/CA+FnnTzfJMBuSMAD7PgUurRu8jOpirEgM6=+=i91zdGLWmfUpg@mail.gmail.com/

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is support for 10.8 dropped?
  2018-04-23 21:04                               ` Eric Sunshine
@ 2018-04-23 21:21                                 ` Igor Korot
  2018-04-23 23:16                                   ` Perry Hutchison
  0 siblings, 1 reply; 22+ messages in thread
From: Igor Korot @ 2018-04-23 21:21 UTC (permalink / raw)
  To: Eric Sunshine; +Cc: Totsten Bögershausen, git

Eric,

On Mon, Apr 23, 2018 at 4:04 PM, Eric Sunshine <sunshine@sunshineco.com> wrote:
> On Mon, Apr 23, 2018 at 3:58 PM, Totsten Bögershausen <tboegi@web.de> wrote:
>> On 2018-04-23 18:53, Eric Sunshine wrote:
>>> On Mon, Apr 23, 2018 at 12:31 PM, Igor Korot <ikorot01@gmail.com> wrote:
>>>> 1. Is the file name "config.mak" or "config.make"?
>>>
>>> "config.mak"
>>
>> I am confused, I have these file in my tree:
>> config.mak.in  config.mak.uname   Makefile
>> Setting options is documentend in Makefile
>
> You can place custom build settings in a file named "config.mak" which
> you create; it's not part of the distribution. The other files are not
> intended for modification.
>
>> I would actually try to install openssl / openssl-dev (or however it is
>> called) via "mac ports" or "home brew".
>>
>> Both should work (but I don't have a system to test on)
>
> Igor indicated earlier[1] in the thread that he wanted to avoid
> Homebrew (and Macports, etc., presumably). If he'd be willing to use
> Homebrew, then easiest would be simply to install Git itself via
> Homebrew: "brew install git"

Yes.
This laptop is old and doesn't have too big of a hard drive.
And I'm trying to create a big program

Thank you.

>
> [1]: https://public-inbox.org/git/CA+FnnTzfJMBuSMAD7PgUurRu8jOpirEgM6=+=i91zdGLWmfUpg@mail.gmail.com/

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is support for 10.8 dropped?
  2018-04-23 21:21                                 ` Igor Korot
@ 2018-04-23 23:16                                   ` Perry Hutchison
  2018-05-07 15:20                                     ` Igor Korot
  0 siblings, 1 reply; 22+ messages in thread
From: Perry Hutchison @ 2018-04-23 23:16 UTC (permalink / raw)
  To: ikorot01; +Cc: tboegi, git, sunshine

Igor Korot <ikorot01@gmail.com> wrote:
> This laptop is old and doesn't have too big of a hard drive.
> And I'm trying to create a big program

Building OpenSSL via homebrew or MacPorts would likely take less
space than building all of git that way, but if even that is
too much perhaps it is time to consider moving the development
environment onto an external hard drive (via USB, eSATA, or even
FireWire) -- the presumption being that the development environment
may not need to be lugged around when using the laptop as a laptop.

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is support for 10.8 dropped?
  2018-04-23 23:16                                   ` Perry Hutchison
@ 2018-05-07 15:20                                     ` Igor Korot
  0 siblings, 0 replies; 22+ messages in thread
From: Igor Korot @ 2018-05-07 15:20 UTC (permalink / raw)
  To: Perry Hutchison; +Cc: Totsten Bögershausen, git, sunshine

Hi guys,
I am going to try and build the OpenSSL and Git locally.
Search brought me here:
https://wiki.openssl.org/index.php/Compilation_and_Installation#OS_X.

Which options do I absolutely have to have for configuring OpenSSL?
Should I exclude "no--ssl2"? "no-ssl3"?

Thank you.


On Mon, Apr 23, 2018 at 6:16 PM, Perry Hutchison <perryh@pluto.rain.com> wrote:
> Igor Korot <ikorot01@gmail.com> wrote:
>> This laptop is old and doesn't have too big of a hard drive.
>> And I'm trying to create a big program
>
> Building OpenSSL via homebrew or MacPorts would likely take less
> space than building all of git that way, but if even that is
> too much perhaps it is time to consider moving the development
> environment onto an external hard drive (via USB, eSATA, or even
> FireWire) -- the presumption being that the development environment
> may not need to be lugged around when using the laptop as a laptop.

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2018-05-07 15:20 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-05 19:48 Is support for 10.8 dropped? Igor Korot
2018-04-05 21:46 ` Eric Sunshine
2018-04-07  2:20   ` Igor Korot
2018-04-07  7:32     ` Eric Sunshine
2018-04-08 21:10       ` Igor Korot
2018-04-08 22:37         ` Igor Korot
2018-04-08 23:23           ` Eric Sunshine
     [not found]             ` <CA+FnnTwvnA90nDARKW9r7p5iraoOGTvfDJ26n6Udc68bDSUASw@mail.gmail.com>
2018-04-08 23:59               ` Eric Sunshine
2018-04-11  4:28                 ` Igor Korot
2018-04-11  9:44                   ` Eric Sunshine
2018-04-22  5:15                     ` Igor Korot
2018-04-22  5:37                       ` Eric Sunshine
2018-04-22  7:10                         ` Perry Hutchison
2018-04-22 17:49                           ` brian m. carlson
2018-04-23 16:39                             ` Igor Korot
2018-04-23 16:31                         ` Igor Korot
2018-04-23 16:53                           ` Eric Sunshine
2018-04-23 19:58                             ` Totsten Bögershausen
2018-04-23 21:04                               ` Eric Sunshine
2018-04-23 21:21                                 ` Igor Korot
2018-04-23 23:16                                   ` Perry Hutchison
2018-05-07 15:20                                     ` Igor Korot

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).