Page MenuHome GnuPG

ssh.scm fails to import ecdsa key on macOS
Closed, ResolvedPublic

Description

There were a couple of problems for "make check" in 2.1.15 on macOS, but 2.1.16
has a new set of "make check" failures that did not affect 2.1.15. Main errors
seem to be

"gpg: can't connect to the agent: IPC connect call failed" and
"failed: gpg-connect-agent: no running gpg-agent"

Full build log
https://gist.github.com/ilovezfs/c5eaad1242b983b904429d8307e10ea1

"make check" begins at line 899:
https://gist.github.com/ilovezfs/c5eaad1242b983b904429d8307e10ea1#file-gistfile1-txt-L899

Details

Version
2.1.16

Event Timeline

ilovezfs set Version to 2.1.16.
ilovezfs added a subscriber: ilovezfs.

We see no such failures for our builds (on El Capitan and now on Sierra). We
use these configure flags for all our builds on macOS:

  ./configure --prefix=/Users/jenkins/prefix/native
  --enable-maintainer-mode \
  --enable-wks-tools --enable-g13 --enable-symcryptrun \
  --enable-gpg2-is-gpg --with-libiconv-prefix=/Users/jenkins/pkg
  'CFLAGS= -D_DARWIN_C_SOURCE=900000L -fPIC' \
  'CXXFLAGS= -D_DARWIN_C_SOURCE=900000L  -fPIC -std=c++11'

--enable-maintainer-mode should not be needed, it is only used to
re-create Makefile when they have been added and to enable more
warning flags.

werner added a project: MacOS.
werner added a subscriber: justus.

Everything looks fine now that I removed all of the dependencies and started
from a blank slate. Sorry for the noise.

So far I'm not seeing the old "FAIL: gpgtar.scm" and "FAIL: ssh.scm"

Were those specifically fixed in some new commit(s), or am I just lucky so far?

Thanks for the report.

I changed the title to reflect what I learned from the log.

Our test runs fine, here a recent the log:

http://jenkins.gnupg.org/job/gnupg/501/XTARGET=native,label=macos/consoleFull

I don't know how to compare the OS versions, but this is what I see:

$ uname -a
Darwin ... 16.0.0 Darwin Kernel Version 16.0.0: Mon Aug 29 17:56:20 PDT 2016;
root:xnu-3789.1.32~3/RELEASE_X86_64 x86_64
$ shasum /usr/bin/ssh-add
bdb1005292b0891edba78b3f1f00fe036c4e60f9 /usr/bin/ssh-add

Could you please arrange the tests to be called using 'make check verbose=2',
and post
the generated ssh.scm.log file? For reference, here is our log:

http://jenkins.gnupg.org/job/gnupg/XTARGET=native,label=macos/ws/obj/tests/openpgp/ssh-import.scm.log/*view*/

(Note that I just renamed the test to 'ssh-import.scm'.)

justus renamed this task from New "make check" failures (particularly IPC) on macOS for gnupg 2.1.16 to ssh.scm fails to import ecdsa key on macOS.Nov 28 2016, 2:27 PM

Also:

$ ssh -V
OpenSSH_7.2p2, LibreSSL 2.4.1

Here's the make check verbose=2 log for 2.1.18 on macOS 10.10.5 Yosemite:
https://gist.github.com/ilovezfs/d9de58955697858a1eb3c6d3a5e48bea

And ssh -V:
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011

justus added a project: Restricted Project.Feb 7 2017, 6:12 PM
justus removed a project: Restricted Project.