[2.6.0-beta1 & LibcxxOnOlderSystems] stack fails to build
Bjarne D Mathiesen
macintosh at mathiesen.info
Thu Sep 5 05:01:52 UTC 2019
Mojca Miklavec wrote:
> On Wed, 4 Sep 2019 at 11:29, Bjarne D Mathiesen wrote:
>> --with-gcc /usr/bin/gcc --allow-different-user
>>
>> I've also tried "port -t install stack +bootstrap"
>>
>> is "--with-gcc /usr/bin/gcc" the problem ?!?
>
> I thought this was fixed to point to the chosen compiler?
> But it's unlikely that this has anything to do with the problem.
>
>> and how do I solve it ?!? : port install libgcc ?!?
>
> Judging from the logs linked from
> https://ports.macports.org/port/stack/ it's likely this particular
> error:
>
> fatal: unable to access 'https://github.com/snoyberg/filelock.git/':
> error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert
> protocol version
>
>
> Some context from
> https://build.macports.org/builders/ports-10.8_x86_64_legacy-builder/builds/101522/steps/install-port/logs/stdio:
>
> Cloning 97e83ecc133cd60a99df8e1fa5a3c2739ad007dc from
> https://github.com/snoyberg/filelock.git
> Received ExitFailure 128 when running
> Raw command: /usr/bin/git clone
> https://github.com/snoyberg/filelock.git
> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_stack/stack/work/.tmp/with-repo21735/cloned
> Standard error:
> Cloning into '/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_stack/stack/work/.tmp/with-repo21735/cloned'...
> fatal: unable to access 'https://github.com/snoyberg/filelock.git/':
> error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert
> protocol version
>
> The built-in SSL support is no longer sufficient on < 10.9. Can you
> try if running /opt/local/bin/git/clone on the same repository works
> as expected?
> In case it does, the next question would be how to convince the build
> system to use git from a non-default location.
1) /usr/bin/git doesn't seem to exist on 10.6.8
2) port install git
3) which git => /macport/bin/git
4) #=> git clone https://github.com/snoyberg/filelock.git/
Cloning into 'filelock'...
remote: Enumerating objects: 13, done.
remote: Counting objects: 100% (13/13), done.
remote: Compressing objects: 100% (10/10), done.
Receiving objects: 100% (127/127), 24.31 KiB | 1.06 MiB/s, done.
remote: Total 127 (delta 2), reused 11 (delta 1), pack-reused 114
Resolving deltas: 100% (52/52), done.
5) symlink : ln -s /macports/bin/git /usr/bin/git
#=> ls -l /usr/bin/git
lrwxr-xr-x ... /usr/bin/git -> /macports/bin/git
6) port -cuvN install still immediately segfaults
It doesn't look as if it even reaches that "git clone ..." point
>
> Mojca
>
--
Bjarne D Mathiesen
Korsør ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et (næsten) M$-frit miljø
MacOS X 10.13.6 High Sierra :
17" 2011 MacBook Pro ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3
2012 Mac Pro ; 2 x 3.46GHz 6-Core Xeon ; 48GB
MacOS X 10.6.8 Snow Leopard :
Mac Mini ; 2GHz Core 2 Duo (64 bit) ; 4GB (3GB actual) 667MHz
Mac Mini ; 1.83GHz Core Duo (32 bit) ; 2GB 667Mhz
More information about the macports-dev
mailing list