From owner-freebsd-ports@FreeBSD.ORG Mon Aug 6 17:53:40 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 12A8C16A418 for ; Mon, 6 Aug 2007 17:53:40 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.kuban.ru (mail.kuban.ru [62.183.66.246]) by mx1.freebsd.org (Postfix) with ESMTP id 77E3913C46B for ; Mon, 6 Aug 2007 17:53:39 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bsam.ru ([85.172.12.83]) by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id l76HrKtS039773; Mon, 6 Aug 2007 21:53:30 +0400 (MSD) Received: (from bsam@localhost) by bsam.ru (8.14.1/8.14.1/Submit) id l76HrfIG001226; Mon, 6 Aug 2007 21:53:41 +0400 (MSD) (envelope-from bsam@ipt.ru) X-Authentication-Warning: bsam.ru: bsam set sender to bsam@ipt.ru using -f To: Alexander Leidinger References: <52921778@bsam.ru> <1186178328.46188.2.camel@ikaros.oook.cz> <86849396@bsam.ru> <20070806095553.l75rul9eok0kw004@webmail.leidinger.net> From: Boris Samorodov Date: Mon, 06 Aug 2007 21:53:41 +0400 In-Reply-To: <20070806095553.l75rul9eok0kw004@webmail.leidinger.net> (Alexander Leidinger's message of "Mon\, 06 Aug 2007 09\:55\:53 +0200") Message-ID: <88563594@bsam.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: emulation@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: Mon, 06 Aug 2007 17:53:40 -0000 On Mon, 06 Aug 2007 09:55:53 +0200 Alexander Leidinger wrote: > Quoting Boris Samorodov (from Sat, 04 Aug 2007 02:09:47 +04= 00): > [CCing emulation@...] > > On Fri, 03 Aug 2007 23:58:47 +0200 Pav Lucistnik wrote: > >> Boris Samorodov p=C3=AD=C5=A1e 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 chang= e. > > > >> 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=3D2.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. > It's not only a ldconfig problem, it's a generic problem. The gtk > ports run plugin detection programs (gtk-query-immodules-2.0-32 and > gdk-pixbuf-query-loaders-32) at installation time. Sure you are right. If we can solve this problem soon -- that will be great. > Do you think it is a problem when the non-default linux port is not > available as a package? No, the problem is in ability to run a linux binary. > Currently I don't think it is a big problem > (you can check the value of the sysctl and IGNORE if it is not ok). Agreed. WBR --=20 bsam