From owner-freebsd-stable@FreeBSD.ORG Sat Jan 15 16:35:45 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 691311065674 for ; Sat, 15 Jan 2011 16:35:45 +0000 (UTC) (envelope-from lists@pingle.org) Received: from willow.pingle.org (willow.pingle.org [68.76.213.30]) by mx1.freebsd.org (Postfix) with ESMTP id 360428FC12 for ; Sat, 15 Jan 2011 16:35:44 +0000 (UTC) Received: from willow.pingle.org (unknown [127.0.0.1]) by willow.pingle.org (Postfix) with ESMTP id 97C391149D for ; Sat, 15 Jan 2011 11:20:36 -0500 (EST) X-Virus-Scanned: amavisd-new at pingle.org Received: from willow.pingle.org ([127.0.0.1]) by willow.pingle.org (willow.pingle.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 55foaJ+44jAy for ; Sat, 15 Jan 2011 11:20:34 -0500 (EST) Received: from [192.168.20.12] (hpcw.hpcisp.com [68.76.213.13]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jim) by willow.pingle.org (Postfix) with ESMTPSA id 7D0CF11497 for ; Sat, 15 Jan 2011 11:20:34 -0500 (EST) Message-ID: <4D31C94B.2030807@pingle.org> Date: Sat, 15 Jan 2011 11:20:27 -0500 From: Jim Pingle User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: FreeBSD References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: Policy on static linking ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jan 2011 16:35:45 -0000 On 1/15/2011 5:11 AM, Jean-Yves Avenard wrote: > If I compile openldap-client against openssl from ports, then it > creates massive problems elsewhere. [snip problems] > I dislike this method, because should openldap gets upgraded again and > be linked against openssl port, I will lock myself out of the machine > again due to sshd crashing. Just like what happened today :( Problems like that are why I do my package compiling in a jail, or a VM, and not on a live system. Jails are simple to setup these days and it's handy to be able to just blow away the jail and recreate it if things go wonky with dependencies when experimenting with package builds. (Or snapshot a VM before trying) I've taken a stab or two at compiling ports static in the past and also came up empty. It would be really nice to be able to build a single tbz package that would run once installed and that didn't have to pull down every other dependency individually. There are a number of ways that dependency tracking with packages can go sideways, and it isn't fun when trying to ensure that said packages install OK when transplanting them to other machines... Jim