From owner-freebsd-ports@FreeBSD.ORG Fri May 29 22:16:37 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E2979389 for ; Fri, 29 May 2015 22:16:37 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from quine.pinyon.org (quine.pinyon.org [65.101.5.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B8D2C161B for ; Fri, 29 May 2015 22:16:37 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: by quine.pinyon.org (Postfix, from userid 122) id 8EE521602E2; Fri, 29 May 2015 15:16:36 -0700 (MST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on quine.pinyon.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from feyerabend.n1.pinyon.org (feyerabend.n1.pinyon.org [10.0.10.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by quine.pinyon.org (Postfix) with ESMTPSA id 83E06160219; Fri, 29 May 2015 15:16:33 -0700 (MST) Message-ID: <5568E541.4090309@pinyon.org> Date: Fri, 29 May 2015 15:16:33 -0700 From: "Russell L. Carter" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Kevin Oberman CC: FreeBSD Ports ML Subject: Re: 10/stable virtualbox-ose crashes References: <55689D79.3090907@pinyon.org> <5568B6FC.60700@pinyon.org> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 22:16:38 -0000 On 05/29/15 14:19, Kevin Oberman wrote: > On Fri, May 29, 2015 at 11:59 AM, Russell L. Carter > wrote: [...] > I maintain my packages with poudriere. I build the world+kernel on > another system and install via NFS onto the poudriere package builder. > poudriere keeps its own world in a chroot, of course. But it doesn't > build a kernel. Which src.conf should the PORTS_MODULES be added to? > > Thanks the help, > Russell > > > If you run stable or current, I would not use packages for kernel > modules. Build them from ports. They have nothing to link to, so the > issues with mixing ports and packages should not arise. > > I don't know any sane way other than this to deal with kernel modules on > stable or head. Ah. Now we get to the interesting problems. virtualbox-ose-kmod is a runtime dependency of virtualbox-ose, and my understanding was (maybe wrong?) that poudriere will build packages for all dependencies, and then pkg install virtualbox-ose will install those dependencies. src.conf's PORTS_MODULES updates the specified ports using the local ports tree, correct? I will need to ensure poudriere's ports tree is the same as /usr/ports. Then thinking about separate world/kernel and package builders, that begins to look very high maintenance. Both world and poudriere packages building should probably live on the same system. NFS installs would then require exporting /usr/ports on the world/pkgs build system so that clients could install the updated ports kernel modules specified in PORTS_MODULES. Still, the problem remains about how to make sure the right thing happens so that poudriere's kernel module packages built as dependencies don't conflict with PORTS_MODULES kernel modules. Gack. I give up for now. Russell > -- > Kevin Oberman, Network Engineer, Retired > E-mail: rkoberman@gmail.com