From owner-freebsd-ports@freebsd.org Tue Aug 2 01:50:37 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD32BBAAA42 for ; Tue, 2 Aug 2016 01:50:37 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B55CB196A for ; Tue, 2 Aug 2016 01:50:37 +0000 (UTC) (envelope-from julian@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B1441BAAA3C; Tue, 2 Aug 2016 01:50:37 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B06F6BAAA3A; Tue, 2 Aug 2016 01:50:37 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 81C3C1967; Tue, 2 Aug 2016 01:50:37 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-226-8.lns20.per1.internode.on.net [121.45.226.8]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id u721oVud006332 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 1 Aug 2016 18:50:34 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: [SOLVED] Segfault in OpenSSL even though ports GnuTLS demanded (irssi and loudmouth) To: freebsd-hackers@freebsd.org References: <20160728180255.GA79509@becker.bs.l> <599ca93e-31ed-fcb4-75de-7d05667d928e@FreeBSD.org> <20160728205516.GA94239@becker.bs.l> <20160728213717.GA98586@becker.bs.l> <7483738d-01e7-0bb2-81e9-9c26d8ef8c9f@FreeBSD.org> <20160801211641.GA43447@becker.bs.l> From: Julian Elischer Cc: vanilla@freebsd.org, "ports@FreeBSD.org" , Tijl Coosemans , gnome@freebsd.org Message-ID: Date: Tue, 2 Aug 2016 09:50:26 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160801211641.GA43447@becker.bs.l> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2016 01:50:37 -0000 On 2/08/2016 5:16 AM, Bertram Scharpf wrote: > 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.what Are your current reports? hmmm do I sense frustration? :-/ Please DO at least drop it into a bug report.. what are your other bug reports? I find the best way to get bug reports handled is to look in the history of the module concerned, e.g. https://svnweb.freebsd.org/ports/head/irc/irssi/ or https://svnweb.freebsd.org/ports/head/net-im/loudmouth/Makefile?view=log and see who has been working on it recently and email them directly with a pointer to the bug The bad part of how the project works is that there is no "manager" correlating bugs with people directly, so it's really easy to miss bug reports that you should be aware of. In this case I've cc'd the people who may best be able to evaluate your patch, and since it is simple and you've done he work one hopes that one of them will be able to comment and maybe even commit. Julian > > 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 > > .if ${PORT_OPTIONS:MGNUTLS} > >