From owner-freebsd-ports@FreeBSD.ORG Fri Aug 3 23:38:30 2007 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1A7616A417; Fri, 3 Aug 2007 23:38:30 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id B3C2F13C469; Fri, 3 Aug 2007 23:38:30 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from rot26.obsecurity.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id AD5E81A4D7E; Fri, 3 Aug 2007 16:37:53 -0700 (PDT) Received: by rot26.obsecurity.org (Postfix, from userid 1001) id D628BBB84; Fri, 3 Aug 2007 19:38:29 -0400 (EDT) Date: Fri, 3 Aug 2007 19:38:29 -0400 From: Kris Kennaway To: Boris Samorodov Message-ID: <20070803233829.GA71909@rot26.obsecurity.org> References: <52921778@bsam.ru> <1186178328.46188.2.camel@ikaros.oook.cz> <86849396@bsam.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86849396@bsam.ru> User-Agent: Mutt/1.4.2.3i Cc: pav@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: ldconfig when PACKAGE_BUILDING=YES (and linux ports) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2007 23:38:30 -0000 On Sat, Aug 04, 2007 at 02:09:47AM +0400, Boris Samorodov wrote: > On Fri, 03 Aug 2007 23:58:47 +0200 Pav Lucistnik wrote: > > Boris Samorodov p????e v so 04. 08. 2007 v 01:30 +0400: > > > > Seems that running ldconfig while building a package at package > > > cluster (i.e. when PACKAGE_BUILDING is defined) is quite useless. [1] > > > > > > To be more specific I'm interested at linux ports. ATM we run linux > > > ldconfig (using linuxulator) _at package building_. Hence to create a > > > package for FC6 port we should change compat.linux.osrelease (which I > > > don't like and try to avoid). If the "ldconfig" stage may be skipped > > > when PACKAGE_BUILDING is defined then things get way too easier both > > > for default kernel linux.osrelease and default linux_base port change. > > > I don't follow - what is the problem? > > An FC6 port can't be build (and more specific -- linux-fc6 ldconfig > doesn't run) with current default compat.linux.osrelease=2.4.2. So > this sysctl should be changed to 2.6.16 for package building sake. > When the default compat.linux.osrelease will be switched to 2.6.16 we > will get the other way round problem if we try to build and FC4 port. > > I don't like the status quo and want to find a way to siplify it. That's a kernel problem, not a ldconfig problem. Kris