Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Feb 2025 12:49:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 284533] lang/erlang pubkey_os_cacerts:get(). failure
Message-ID:  <bug-284533-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284533

            Bug ID: 284533
           Summary: lang/erlang pubkey_os_cacerts:get(). failure
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: erlang@FreeBSD.org
          Reporter: p+freebsd@krvtz.net
             Flags: maintainer-feedback?(erlang@FreeBSD.org)
          Assignee: erlang@FreeBSD.org

$ pkg info erlang
erlang-26.2.5.6,4

Fails to load OS root certificates from /etc/ssl/certs:

 $ erl
Erlang/OTP 26 [erts-14.2.5.5] [source] [64-bit] [smp:8:8] [ds:8:8:10]
[async-threads:1] [jit:ns] [dtrace] [sharing-preserving]

Eshell V14.2.5.5 (press Ctrl+G to abort, type help(). for help)
1> pubkey_os_cacerts:get().
** exception error: no match of right hand side value undefined
     in function  pubkey_os_cacerts:get/0 (pubkey_os_cacerts.erl, line 39)
2>=20

This seems to be  preventing any other commands from working, e.g. mix:

$ env MIX_ENV=3Dprod /usr/local/bin/mix local.hex --force

12:47:36.934 [error] Task #PID<0.108.0> started from #PID<0.98.0> terminati=
ng
** (MatchError) no match of right hand side value: :undefined
    (public_key 1.15.1.4) pubkey_os_cacerts.erl:39: :pubkey_os_cacerts.get/0
    (mix 1.17.3) lib/mix/utils.ex:664: Mix.Utils.read_httpc/1
    (mix 1.17.3) lib/mix/utils.ex:576: anonymous fn/2 in Mix.Utils.read_pat=
h/2
    (elixir 1.17.3) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
    (elixir 1.17.3) lib/task/supervised.ex:36: Task.Supervised.reply/4
Function: #Function<5.4278606/0 in Mix.Utils.read_path/2>
    Args: []
** (EXIT from #PID<0.98.0>) an exception was raised:
    ** (MatchError) no match of right hand side value: :undefined
        (public_key 1.15.1.4) pubkey_os_cacerts.erl:39:
:pubkey_os_cacerts.get/0
        (mix 1.17.3) lib/mix/utils.ex:664: Mix.Utils.read_httpc/1
        (mix 1.17.3) lib/mix/utils.ex:576: anonymous fn/2 in
Mix.Utils.read_path/2
        (elixir 1.17.3) lib/task/supervised.ex:101:
Task.Supervised.invoke_mfa/2
        (elixir 1.17.3) lib/task/supervised.ex:36: Task.Supervised.reply/4

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-284533-7788>