NetBSD Problem Report #42448

From www@NetBSD.org  Mon Dec 14 08:29:09 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id E9EE263C3B5
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 14 Dec 2009 08:29:09 +0000 (UTC)
Message-Id: <20091214082909.9186963C3A9@www.NetBSD.org>
Date: Mon, 14 Dec 2009 08:29:09 +0000 (UTC)
From: jchome@jc-ix.net
Reply-To: jchome@jc-ix.net
To: gnats-bugs@NetBSD.org
Subject: linking erlang to pkgsrc openssl breaks ejabberd
X-Send-Pr-Version: www-1.0

>Number:         42448
>Category:       pkg
>Synopsis:       linking erlang to pkgsrc openssl breaks ejabberd
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 14 08:30:00 +0000 2009
>Closed-Date:    
>Last-Modified:  Wed Feb 03 08:56:58 +0000 2010
>Originator:     Frederic Jaeckel
>Release:        NetBSD 5.0-STABLE
>Organization:
>Environment:
NetBSD akihabara.jc-ix.net 5.0_STABLE NetBSD 5.0_STABLE (GENERIC) #0: Wed Jul  1 16:22:45 CEST 2009  root@akihabara.jc-ix.net:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
ejabberd crashed if I linked lang/erlang to security/openssl, both HEAD.
Using the base openssl libraries it's not a problem at all, there has to be something specific in the API. Maybe it's because lang/erlang is too old in pkgsrc. Maybe ejabberd should be updated too, but that depends on a newer erlang.
>How-To-Repeat:
cd /usr/pkgsrc;
cd lang/erlang;
PREFER.openssl=pkgsrc make install;
cd ../../chat/ejabberd;
make install;

--
configure and run ejabberd.
>Fix:
using base openssl.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: port-amd64-maintainer->pkg-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 14 Dec 2009 08:55:05 +0000
Responsible-Changed-Why:
pkgsrc issue.


State-Changed-From-To: open->feedback
State-Changed-By: obache@NetBSD.org
State-Changed-When: Sun, 20 Dec 2009 12:00:28 +0000
State-Changed-Why:
Did you just link lang/erlang to pkgsrc's openssl?
How about ejabberd also linked with pkgsrc's openssl?


From: Frederic Jaeckel <jchome@jc-ix.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/42448 (linking erlang to pkgsrc openssl breaks ejabberd)
Date: Sun, 20 Dec 2009 13:08:25 +0100

 --Sig_/Unzm/x9oKlarKTmY1utuRpf
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable

 On Sun, 20 Dec 2009 12:00:30 +0000 (UTC)
 obache@NetBSD.org wrote:

 > Synopsis: linking erlang to pkgsrc openssl breaks ejabberd
 >=20
 > State-Changed-From-To: open->feedback
 > State-Changed-By: obache@NetBSD.org
 > State-Changed-When: Sun, 20 Dec 2009 12:00:28 +0000
 > State-Changed-Why:
 > Did you just link lang/erlang to pkgsrc's openssl?
 > How about ejabberd also linked with pkgsrc's openssl?

 I of course linked both against pkgsrc's openssl.

 regards,
 Frederic

 --Sig_/Unzm/x9oKlarKTmY1utuRpf
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Disposition: attachment; filename=signature.asc

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.10 (Darwin)

 iEYEARECAAYFAksuE7kACgkQ33vaRvWgIxRqagCfaUZV/hVdlOjuY29JtO4elT+C
 7sgAoKV8Cr18WOKcvVZUDZgev5DGHJSj
 =qZHf
 -----END PGP SIGNATURE-----

 --Sig_/Unzm/x9oKlarKTmY1utuRpf--

State-Changed-From-To: feedback->open
State-Changed-By: obache@NetBSD.org
State-Changed-When: Sun, 20 Dec 2009 12:32:02 +0000
State-Changed-Why:
feedback was provided.


State-Changed-From-To: open->feedback
State-Changed-By: obache@NetBSD.org
State-Changed-When: Wed, 03 Feb 2010 08:40:21 +0000
State-Changed-Why:
Could you try with recent erlang?
(it seems that contains ssl linking related workaround)


From: Frederic Jaeckel <jchome@jc-ix.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/42448 (linking erlang to pkgsrc openssl breaks ejabberd)
Date: Wed, 3 Feb 2010 09:52:22 +0100

 --Sig_/z/TW3kym/_FrHhvjpLS_zaA
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable

 On Wed,  3 Feb 2010 08:40:23 +0000 (UTC)
 obache@NetBSD.org wrote:

 > Synopsis: linking erlang to pkgsrc openssl breaks ejabberd
 >=20
 > State-Changed-From-To: open->feedback
 > State-Changed-By: obache@NetBSD.org
 > State-Changed-When: Wed, 03 Feb 2010 08:40:21 +0000
 > State-Changed-Why:
 > Could you try with recent erlang?
 > (it seems that contains ssl linking related workaround)
 >=20
 >=20
 >=20
 If I'm using the newest lang/erlang of pksrc-current, with the newest ejabb=
 erd, ejabberd doesn't
 even start.

 # /etc/rc.d/ejabberd start
 Starting ejabberd: Kernel pid terminated (application_controller)
 ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})

 Sad. :/

 --Sig_/z/TW3kym/_FrHhvjpLS_zaA
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Disposition: attachment; filename=signature.asc

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.10 (GNU/Linux)

 iEYEARECAAYFAktpOUYACgkQ33vaRvWgIxTfRACcD608QsgsCfEbIq2kCIYdD+Js
 FjwAoJwRsx6veRqflI97u/kfSmjoXpPk
 =NpTZ
 -----END PGP SIGNATURE-----

 --Sig_/z/TW3kym/_FrHhvjpLS_zaA--

State-Changed-From-To: feedback->open
State-Changed-By: obache@NetBSD.org
State-Changed-When: Wed, 03 Feb 2010 08:56:58 +0000
State-Changed-Why:
problem still exists.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.