Date: Mon, 1 Aug 2016 23:16:41 +0200 From: Bertram Scharpf <lists@bertram-scharpf.de> To: freebsd-hackers@freebsd.org Subject: Re: [SOLVED] Segfault in OpenSSL even though GnuTLS demanded Message-ID: <20160801211641.GA43447@becker.bs.l> In-Reply-To: <7483738d-01e7-0bb2-81e9-9c26d8ef8c9f@FreeBSD.org> References: <20160728180255.GA79509@becker.bs.l> <599ca93e-31ed-fcb4-75de-7d05667d928e@FreeBSD.org> <20160728205516.GA94239@becker.bs.l> <b88fc3be-c10a-70b1-c985-f560ad86ecc0@FreeBSD.org> <20160728213717.GA98586@becker.bs.l> <7483738d-01e7-0bb2-81e9-9c26d8ef8c9f@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 28. Jul 2016, 17:56:46 -0400, Jung-uk Kim wrote: > On 07/28/16 05:37 PM, Bertram Scharpf wrote: > >>> On Thursday, 28. Jul 2016, 15:37:00 -0400, Jung-uk Kim wrote: > >>>> On 07/28/16 02:02 PM, Bertram Scharpf wrote: > >>>>> > >>>>> Program received signal SIGSEGV, Segmentation fault. > >>>>> [Switching to Thread 29403080 (LWP 101275/mcabber)] > >>>>> 0x285c1245 in OPENSSL_ia32_cpuid () from /usr/local/lib/libcrypto.so.8 > >>>> > >>>> Try "ldd /usr/local/lib/libloudmouth-1.so.0.1.0". It looks like a > >>>> Kerberos issue. > > > > So, how could I resolve this? > You may ask its maintainer (gnome@FreeBSD.org) to add USES+=gssapi and > add an option to select GSS-API from ports. I looked at the other 4(!) projects that set something like USES+=gssapi and copied that to loudmouth, and I even had to copy it to irssi. Now the segfault has gone away. The patch is below. I will not write a problem report as long as my running problem reports aren't deemed worthy of an answer. Bertram ________________________________________________________________________ diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile index d9a89fe..f7f9e45 100644 --- a/irc/irssi/Makefile +++ b/irc/irssi/Makefile @@ -43,6 +43,7 @@ TRUECOLOR_CONFIGURE_ENABLE= true-color CONFIGURE_ARGS+= --disable-ssl .else USE_OPENSSL= yes +USES+=gssapi:base,flags .endif post-patch: diff --git a/net-im/loudmouth/Makefile b/net-im/loudmouth/Makefile index ead1d4e..0a86d13 100644 --- a/net-im/loudmouth/Makefile +++ b/net-im/loudmouth/Makefile @@ -29,6 +29,8 @@ OPTIONS_DEFAULT=GNUTLS OPTIONS_RADIO= SSL OPTIONS_RADIO_SSL= GNUTLS OPENSSL +USES+=gssapi:base,flags + .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MGNUTLS} -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160801211641.GA43447>