From owner-freebsd-ports@FreeBSD.ORG Tue May 15 22:07:55 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0FB5116A404 for ; Tue, 15 May 2007 22:07:55 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.freebsd.org (Postfix) with ESMTP id A4C6A13C45D for ; Tue, 15 May 2007 22:07:54 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so289318pyh for ; Tue, 15 May 2007 15:07:54 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=NhO+Ah7moe+EUbm3VKQu5QEGl+NdzuytpG7ktXRZtrlFp5q6ubQeAtRLUD7Dmpz089L8zEOeNf6B40i++2azHkFY31IacXkHRSkRie7xYihMpqVoYYSxia/iO7ie8lsVt21QpA2uL2g8rm2wVWqb4jDgHJvLl4p/4mohCUjw9LY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=RN977+3SozhTNJVdUYDNkEaWtRkLjgbKWYVnznAI9ZhmES13sFzDoC2ZB1nOc4IVEVOrCYnosBOButqIZxAfimh/a0yZ/yjpl36YS99kDNpI3E2cXAChI0Ctcqe47GnqdcNyLRcydbFnnDxxkQncGPMIG/K7GdW8Tsq9rbPx+/E= Received: by 10.65.210.18 with SMTP id m18mr1793379qbq.1179265181309; Tue, 15 May 2007 14:39:41 -0700 (PDT) Received: from roadrunner.q.local ( [85.180.170.96]) by mx.google.com with ESMTP id e14sm1147537qba.2007.05.15.14.39.38; Tue, 15 May 2007 14:39:40 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.14.1/8.14.1) with ESMTP id l4FKvd42013930; Tue, 15 May 2007 22:57:39 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.14.1/8.14.1/Submit) id l4FKvcw0013929; Tue, 15 May 2007 22:57:38 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Tue, 15 May 2007 22:57:38 +0200 From: Ulrich Spoerlein To: Stephen Montgomery-Smith Message-ID: <20070515205738.GH1462@roadrunner.q.local> Mail-Followup-To: Stephen Montgomery-Smith , "[LoN]Kamikaze" , Pav Lucistnik , freebsd-ports@freebsd.org, Kris Kennaway References: <464665D5.1090509@math.missouri.edu> <464676CC.2000203@math.missouri.edu> <46469BF5.9030603@math.missouri.edu> <1179058696.13237.3.camel@ikaros.oook.cz> <20070513101332.L82202@math.missouri.edu> <46479215.1080401@math.missouri.edu> <4647C4FB.9050607@math.missouri.edu> <4647F182.6000402@gmx.de> <46487491.6020806@math.missouri.edu> <46488168.3030300@math.missouri.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46488168.3030300@math.missouri.edu> Cc: "\[LoN\]Kamikaze" , Pav Lucistnik , freebsd-ports@freebsd.org, Kris Kennaway Subject: Re: Time to abandon recursive pulling of dependencies? 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: Tue, 15 May 2007 22:07:55 -0000 Stephen Montgomery-Smith wrote: > And also, the only reason it goes slow is because it has to do > (cd $$dir; make -V PKGNAME) > for every dir in _LIB_RUN_DEPENDS. But if instead we kept a file in /var/db/pkg called > something like +PACKAGE_NAMES, where as each port is created we add in a one line entry with > this mapping of origin to package name, then registration would take less than a second. It I also need to quickly look up origin -> pkgname and would suggest placing this in the INDEX file. Then you have the foundation in place to be able to run 'make vim-7.1.2.tbz' in, say, /usr/ports/ and it will first create gettext-x.y.tbz and stuff. Ie, it could resolve/build dependencies *before* even starting the build in editors/vim. This then quickly leads to parallel pkg builds working (think: make -j3 vim-7.x.y.tbz) Ulrich Spoerlein -- "The trouble with the dictionary is you have to know how the word is spelled before you can look it up to see how it is spelled." -- Will Cuppy