[MacPorts] #52897: libgpg-error @1.25_0: breaks gnupg21
MacPorts
noreply at macports.org
Wed Nov 16 21:33:15 CET 2016
#52897: libgpg-error @1.25_0: breaks gnupg21
------------------------+--------------------------------
Reporter: jdswinbank | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Keywords: | Port: libgpg-error
------------------------+--------------------------------
Following an upgrade to libgpg-error 1.25, I see the following:
{{{
$ port installed libgpg-error gnupg21
The following ports are currently installed:
gnupg21 @2.1.15_0+pinentry_mac (active)
libgpg-error @1.25_0 (active)
$ gpg-agent
Assertion failed: (res == 0), function enter_npth, file npth.c, line 123.
Abort trap: 6
}}}
The backtrace from gpg-agent shows this is coming from libgpg-error:
{{{
* frame #0: 0x00007fff923fadda libsystem_kernel.dylib`__pthread_kill +
10
frame #1: 0x00007fff924e6787 libsystem_pthread.dylib`pthread_kill + 90
frame #2: 0x00007fff92360420 libsystem_c.dylib`abort + 129
frame #3: 0x00007fff92327893 libsystem_c.dylib`__assert_rtn + 320
frame #4: 0x00000001001bb566 libnpth.0.dylib`enter_npth + 53
frame #5: 0x0000000100196284 libgpg-error.0.dylib`_gpgrt_lock_lock +
29
frame #6: 0x0000000100197923 libgpg-
error.0.dylib`_gpgrt__get_std_stream + 48
frame #7: 0x000000010002987c gpg-agent`_init_common_subsystems + 93
}}}
Unsurprisingly, this breaks any attempt by gpg2 to talk to the agent:
{{{
gpg: using pgp trust model
gpg: no running gpg-agent - starting '/opt/local/bin/gpg-agent'
gpg: removing stale lockfile (created by 49256)
gpg: waiting for the agent to come up ... (5s)
gpg: waiting for the agent to come up ... (4s)
gpg: waiting for the agent to come up ... (3s)
gpg: waiting for the agent to come up ... (2s)
gpg: waiting for the agent to come up ... (1s)
gpg: can't connect to the agent: IPC connect call failed
gpg: no running gpg-agent - starting '/opt/local/bin/gpg-agent'
}}}
(etc etc)
--
Ticket URL: <https://trac.macports.org/ticket/52897>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list