[build2] build2 bootstrap n00b failures

Brendan Leber brendan at brendanleber.com
Tue Sep 27 20:07:59 UTC 2016


Karen,

Thanks!  That helped!  Once I got past the certificate error I had
another problem with an internal proxy server.  Just so others can
learn from my experience by using `tsocks' I was able to get around
the proxy server.  The command I used was:

$ tsocks bpkg-stage fetch --fetch-option --no-check-certificate

I've had to prepend `tsocks' to several commands but so far they've all worked.

B

On Tue, Sep 27, 2016 at 12:09 PM, karen.arutyunov
<karen.arutyunov at gmail.com> wrote:
> Hi Brendan,
>
>> Brendan Leber <brendan at brendanleber.com> wrote:
>>
>> The errors I'm getting are:
>>
>> $ bpkg-stage fetch
>> fetching cppget.org/alpha
>> error: unable to fetch https://pkg.cppget.org/1/alpha/repositories
>>  info: re-run with -v for more information
>>
>> $ bpkg-stage fetch -v
>> fetching cppget.org/alpha
>> info: using 'wget' as the fetch program, use --fetch to override
>> wget -U "bpkg/0.4.0 (GNU/Linux; +https://build2.org) libbpkg/0.4.0
>> libbutl/0.4.0 wget/1.17" -O -
>> https://pkg.cppget.org/1/alpha/repositories
>> --2016-09-27 10:33:03--  https://pkg.cppget.org/1/alpha/repositories
>> Resolving pkg.cppget.org (pkg.cppget.org)... 45.33.124.48,
>> 2600:3c00::f03c:91ff:fe37:1fbb
>> Connecting to pkg.cppget.org (pkg.cppget.org)|45.33.124.48|:443... connected.
>> ERROR: cannot verify pkg.cppget.org's certificate, issued by
>> ‘emailAddress=webfilteradmin at emc.com,CN=EMC SSL Decryption
>> Authority,OU=Global Security Organization,O=EMC
>> Corporation,L=Southborough,ST=Massachusetts,C=US’:
>>  Unable to locally verify the issuer's authority.
>> To connect to pkg.cppget.org insecurely, use `--no-check-certificate'.
>> info: using 'sha256sum' as the sha256 program, use --sha256 to override
>> sha256sum -b
>> error: unable to fetch https://pkg.cppget.org/1/alpha/repositories
>>  info: re-run with -v for more information
>>
>> Is there a way to disable the certificate check using bpkg-stage?
>
> You can disable certificate check passing --no-check-certificate option to wget:
>
> $ bpkg-stage fetch --fetch-option --no-check-certificate
>
> More information about passing additional options to the fetch program:
>
> $ bpkg-stage help common-options
>
> Best regards,
> Karen Arutyunov



-- 
C++ tries to guard against Murphy, not Machiavelli. - Damian Conway



More information about the users mailing list