From owner-freebsd-arch@FreeBSD.ORG Thu Aug 25 18:16:02 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 290AB106564A for ; Thu, 25 Aug 2011 18:16:02 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id D50428FC12 for ; Thu, 25 Aug 2011 18:16:01 +0000 (UTC) Received: by qwc9 with SMTP id 9so1987817qwc.13 for ; Thu, 25 Aug 2011 11:16:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=M6c10ul+LR65am+MjXBHJF5F7ePn+ISZhpUZMdr8pb0=; b=OqNDKhrC61IrQBKuySG5xB1EoNCxC3TYxDUpW1dDKMr4F5p0gxx65dDf9htYBjvii8 SLeIngfF0iC51u4w5ljZhrwTmv+83Uds4sJKUlYWUNgBGmc5VBKKyO8QB8dsR9Dy05HH ywaIqZb6aEvaFDmXUod0v9ReF3E0SRCmDm3n0= MIME-Version: 1.0 Received: by 10.229.89.66 with SMTP id d2mr97273qcm.93.1314296161200; Thu, 25 Aug 2011 11:16:01 -0700 (PDT) Received: by 10.224.19.131 with HTTP; Thu, 25 Aug 2011 11:16:01 -0700 (PDT) In-Reply-To: <201108251716.p7PHFx2p055073@fire.js.berklix.net> References: <201108251716.p7PHFx2p055073@fire.js.berklix.net> Date: Thu, 25 Aug 2011 11:16:01 -0700 Message-ID: From: Garrett Cooper To: "Julian H. Stacey" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "Michael V. Buzuverov" , freebsd-arch@freebsd.org Subject: Re: FreeBSD problems and preliminary ways to solve X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Aug 2011 18:16:02 -0000 On Thu, Aug 25, 2011 at 10:15 AM, Julian H. Stacey wrote: > Hi, >> From: =A0 =A0 =A0 =A0 =3D?UTF-8?B?TWljaGFlbCBWLiBCdXp1dmVyb3Y=3D?=3D >> Date: =A0 =A0 =A0 =A0 Fri, 19 Aug 2011 07:48:48 +0400 > > =3D?UTF-8?B?TWljaGFlbCBWLiBCdXp1dmVyb3Y=3D?=3D wrote: >> --=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D1194597977=3D=3D >> Content-Type: text/plain; charset=3Dutf-8 >> Content-Transfer-Encoding: base64 > > Please do not post Ascii text with Base 64 ! > Though it works with > =A0http://lists.freebsd.org/pipermail/freebsd-arch/2011-August/011424.htm= l > It fails with > =A0http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D92494+0+archive/2011/fr= eebsd-arch/20110821.freebsd-arch > & fails with exmh-2.7.2 > =A0 =A0 =A0 =A0FreeBSD-8.2-RELEASE /usr/ports/mail/exmh2 > & ptobably fails with search engines later. > > I had to mouse copy:... > >> Now, package creation process is "build -> install -> package". I believ= e that sequence "build -> package -> install" >> is more correct and efficient. The problem is that pkg_install wasn't properly designed to deal with chrooted package environments, and instead everything is installed directly to the target system and packaged from the target system (chroot functionality is really broken in pkg_add // pkg_create provided the right inputs, despite it being documented in the manpage :)..). If you do build -> package -> install, people that use ports will grumble and moan about the additional overhead required copying and installing things. But we really need to get out of the building everything from scratch business and into binary package installation, so yes.. I think the above proposed workflow makes sense. Even though some might complain that builds are now taking longer, it adds a minimal amount of overhead to do the above flow and is just cleaner and saner than the backwards way we currently do things in ports. And a lot of this can be fixed externally if people add a minimum amount of intelligence to their build systems to fine tune their build dependencies, instead of hammer approaches like I've seen in some build systems where things are nuked and rebuilt from scratch every time the build is run. Thanks, -Garrett